3 #ifndef ADNS_INTERNAL_H_INCLUDED
4 #define ADNS_INTERNAL_H_INCLUDED
11 #define MAXUDPRETRIES 10
12 #define UDPRETRYMS 2000
16 adns_query next
, back
;
17 adns_query parent
, child
;
20 int flags
, udpretries
, server
;
21 struct timeval timeout
;
27 adns_initflags iflags
;
28 struct { adns_query head
, tail
; } input
, timew
, childw
, output
;
30 int qbufavail
, tcpbufavail
, tcpbufused
, tcpbufdone
;
36 struct timeval timeout
;
37 struct { adns_query head
, tail
; } connw
;
38 } servers
[MAXSERVERS
];