Lines 49-57
Link Here
|
49 |
#include <res.h> |
49 |
#include <res.h> |
50 |
|
50 |
|
51 |
/* Forward declerations */ |
51 |
/* Forward declerations */ |
52 |
void unrealdns_cb_iptoname(void *arg, int status, struct hostent *he); |
52 |
void unrealdns_cb_iptoname(void *arg, int status, int timeouts, struct hostent *he); |
53 |
void unrealdns_cb_nametoip_verify(void *arg, int status, struct hostent *he); |
53 |
void unrealdns_cb_nametoip_verify(void *arg, int status, int timeouts, struct hostent *he); |
54 |
void unrealdns_cb_nametoip_link(void *arg, int status, struct hostent *he); |
54 |
void unrealdns_cb_nametoip_link(void *arg, int status, int timeouts, struct hostent *he); |
55 |
void unrealdns_delasyncconnects(void); |
55 |
void unrealdns_delasyncconnects(void); |
56 |
static unsigned int unrealdns_haship(void *binaryip, int length); |
56 |
static unsigned int unrealdns_haship(void *binaryip, int length); |
57 |
static void unrealdns_addtocache(char *name, void *binaryip, int length); |
57 |
static void unrealdns_addtocache(char *name, void *binaryip, int length); |
Lines 240-246
Link Here
|
240 |
#endif |
240 |
#endif |
241 |
} |
241 |
} |
242 |
|
242 |
|
243 |
void unrealdns_cb_iptoname(void *arg, int status, struct hostent *he) |
243 |
void unrealdns_cb_iptoname(void *arg, int status, int timeouts, struct hostent *he) |
244 |
{ |
244 |
{ |
245 |
DNSReq *r = (DNSReq *)arg; |
245 |
DNSReq *r = (DNSReq *)arg; |
246 |
DNSReq *newr; |
246 |
DNSReq *newr; |
Lines 290-296
Link Here
|
290 |
} |
290 |
} |
291 |
|
291 |
|
292 |
|
292 |
|
293 |
void unrealdns_cb_nametoip_verify(void *arg, int status, struct hostent *he) |
293 |
void unrealdns_cb_nametoip_verify(void *arg, int status, int timeouts, struct hostent *he) |
294 |
{ |
294 |
{ |
295 |
DNSReq *r = (DNSReq *)arg; |
295 |
DNSReq *r = (DNSReq *)arg; |
296 |
aClient *acptr = r->cptr; |
296 |
aClient *acptr = r->cptr; |
Lines 363-369
Link Here
|
363 |
unrealdns_freeandremovereq(r); |
363 |
unrealdns_freeandremovereq(r); |
364 |
} |
364 |
} |
365 |
|
365 |
|
366 |
void unrealdns_cb_nametoip_link(void *arg, int status, struct hostent *he) |
366 |
void unrealdns_cb_nametoip_link(void *arg, int status, int timeouts, struct hostent *he) |
367 |
{ |
367 |
{ |
368 |
DNSReq *r = (DNSReq *)arg; |
368 |
DNSReq *r = (DNSReq *)arg; |
369 |
int n; |
369 |
int n; |