|
|
@ -56,7 +56,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
struct send_request { |
|
|
|
struct send_request { |
|
|
|
/* Remaining data to send */ |
|
|
|
/* Remaining data to send */ |
|
|
|
const char *data; |
|
|
|
const unsigned char *data; |
|
|
|
int len; |
|
|
|
int len; |
|
|
|
|
|
|
|
|
|
|
|
/* Next request in queue */ |
|
|
|
/* Next request in queue */ |
|
|
@ -88,11 +88,11 @@ struct query { |
|
|
|
time_t timeout; |
|
|
|
time_t timeout; |
|
|
|
|
|
|
|
|
|
|
|
/* Query buf with length at beginning, for TCP transmission */ |
|
|
|
/* Query buf with length at beginning, for TCP transmission */ |
|
|
|
char *tcpbuf; |
|
|
|
unsigned char *tcpbuf; |
|
|
|
int tcplen; |
|
|
|
int tcplen; |
|
|
|
|
|
|
|
|
|
|
|
/* Arguments passed to ares_send() (qbuf points into tcpbuf) */ |
|
|
|
/* Arguments passed to ares_send() (qbuf points into tcpbuf) */ |
|
|
|
const char *qbuf; |
|
|
|
const unsigned char *qbuf; |
|
|
|
int qlen; |
|
|
|
int qlen; |
|
|
|
ares_callback callback; |
|
|
|
ares_callback callback; |
|
|
|
void *arg; |
|
|
|
void *arg; |
|
|
|