322
351
HostDBInfo *insert(unsigned int attl);
324
void init(char *hostname, int len, int aip, int port, INK_MD5 & amd5,
353
void init(const char *hostname, int len, sockaddr const* ip, INK_MD5 & amd5,
325
354
Continuation * cont, void *pDS = 0, bool is_srv = false, int timeout = 0);
326
355
int make_get_message(char *buf, int len);
327
356
int make_put_message(HostDBInfo * r, Continuation * c, char *buf, int len);
330
Continuation(NULL), ip(0), ttl(0), port(0),
331
360
is_srv_lookup(false), dns_lookup_timeout(0),
333
362
from_cont(0), probe_depth(0), namelen(0), missing(false), force_dns(false), round_robin(false) {
334
364
memset(name, 0, MAXDNAME);