3 #ifndef ADNS_INTERNAL_H_INCLUDED
4 #define ADNS_INTERNAL_H_INCLUDED
9 #define MAXUDPRETRIES 10
10 #define UDPRETRYMS 2000
14 adns_query next
, back
;
15 adns_query parent
, child
;
17 stuct adns_answer
*answer
;
18 int flags
, udpretries
, server
;
19 struct timeval timeout
;
25 struct { adns_query head
, tail
} input
, timew
, childw
, output
;
27 int qbufavail
, tcpbufavail
, tcpbufused
, tcpbufdone
;
33 struct timeval timeout
;
34 struct { adns_query head
, tail
} connw
;
35 } servers
[MAXSERVERS
];