From 50ba81cd230f9054fa7c45cb4202ce8720c502b3 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Fri, 28 Sep 2007 14:46:51 +0000 Subject: Make the query callbacks return the number of timeouts that happened during the execution of a query, and update documentation accordingly. (Patch from the Google tree.) --- ares_private.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ares_private.h') diff --git a/ares_private.h b/ares_private.h index dd9070a..e6ecaa2 100644 --- a/ares_private.h +++ b/ares_private.h @@ -152,6 +152,7 @@ struct query { /* Next query in chain */ struct query *next; + int timeouts; /* number of timeouts we saw for this request */ }; /* Per-server state for a query */ @@ -195,6 +196,8 @@ struct ares_channeldata { int ndots; int udp_port; int tcp_port; + int socket_send_buffer_size; + int socket_receive_buffer_size; char **domains; int ndomains; struct apattern *sortlist; -- cgit v1.2.3