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.) --- ahost.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ahost.c') diff --git a/ahost.c b/ahost.c index e381c19..1e6cc8b 100644 --- a/ahost.c +++ b/ahost.c @@ -47,7 +47,7 @@ struct in6_addr }; #endif -static void callback(void *arg, int status, struct hostent *host); +static void callback(void *arg, int status, int timeouts, struct hostent *host); static void usage(void); int main(int argc, char **argv) @@ -142,7 +142,7 @@ int main(int argc, char **argv) return 0; } -static void callback(void *arg, int status, struct hostent *host) +static void callback(void *arg, int status, int timeouts, struct hostent *host) { char **p; -- cgit v1.2.3