From 0b4543113982c5d81c71d3b0250ed68fb13e75ae Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Mon, 4 Apr 2005 12:30:03 +0000 Subject: hostthre.c: destroy_thread_data() made public. Called from url.c: Curl_disconnect(). --- lib/hostip.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/hostip.h') diff --git a/lib/hostip.h b/lib/hostip.h index 0b06bae6a..16a607abf 100644 --- a/lib/hostip.h +++ b/lib/hostip.h @@ -240,6 +240,12 @@ struct Curl_dns_entry * Curl_cache_addr(struct SessionHandle *data, Curl_addrinfo *addr, char *hostname, int port); +/* + * Curl_destroy_thread_data() cleans up async resolver data. + * Complementary of ares_destroy. + */ +void Curl_destroy_thread_data(struct Curl_async *async); + #ifndef INADDR_NONE #define CURL_INADDR_NONE (in_addr_t) ~0 #else -- cgit v1.2.3