6 #include "../acl_cpp_define.hpp" 7 #include "../stdlib/string.hpp" 45 size_t build_query(
char* buf,
size_t size);
46 size_t build_query4ptr(
const struct in_addr addr,
char* buf,
size_t size);
47 bool parse_request(
const void* buf,
size_t len);
82 size_t build_reply(
const std::vector<string>& addrs,
83 char* buf,
size_t size);
84 bool parse_reply(
const void* buf,
size_t len);
91 std::vector<string> addrs4a_;
92 std::vector<string> addrs4aaaa_;
93 std::vector<string> cnames_;
HTTP_API void const char * name
rfc1035_type_t get_type(void) const
unsigned short get_qid(void) const
rfc1035_type_t get_type(void) const
unsigned short get_qid(void) const
const char * get_name(void) const
const char * get_name(void) const