chiark
/
gitweb
/
~mdw
/
adns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support and test iteration; test return in different order.
[adns]
/
src
/
internal.h
diff --git
a/src/internal.h
b/src/internal.h
index dadd854a88e42c05b75a88471bc446f90ba21988..e6b16aaa9c4bd6eb62bab47f739ba05355309668 100644
(file)
--- a/
src/internal.h
+++ b/
src/internal.h
@@
-158,7
+158,7
@@
struct adns__query {
struct { allocnode *head, *tail; } allocations;
int interim_allocd;
void *final_allocspace;
struct { allocnode *head, *tail; } allocations;
int interim_allocd;
void *final_allocspace;
-
+
const typeinfo *typei;
byte *query_dgram;
int query_dglen;
const typeinfo *typei;
byte *query_dgram;
int query_dglen;
@@
-264,6
+264,7
@@
struct adns__state {
FILE *diagfile;
int configerrno;
struct { adns_query head, tail; } timew, childw, output;
FILE *diagfile;
int configerrno;
struct { adns_query head, tail; } timew, childw, output;
+ adns_query forallnext;
int nextid, udpsocket, tcpsocket;
vbuf tcpsend, tcprecv;
int nservers, nsortlist, nsearchlist, searchndots, tcpserver;
int nextid, udpsocket, tcpsocket;
vbuf tcpsend, tcprecv;
int nservers, nsortlist, nsearchlist, searchndots, tcpserver;