summaryrefslogtreecommitdiffstats
path: root/libasyncns/asyncns.h
diff options
context:
space:
mode:
Diffstat (limited to 'libasyncns/asyncns.h')
-rw-r--r--libasyncns/asyncns.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libasyncns/asyncns.h b/libasyncns/asyncns.h
index a57be52..b316668 100644
--- a/libasyncns/asyncns.h
+++ b/libasyncns/asyncns.h
@@ -141,6 +141,9 @@ asyncns_getaddrinfo_done(). Make sure to use this functions instead of
the libc's freeaddrinfo()! */
void asyncns_freeaddrinfo(struct addrinfo *ai);
+/** Free the answer data as returned by asyncns_res_done().*/
+void asyncns_freeanswer(unsigned char *answer);
+
/** Returns non-zero when the query operation specified by q has been completed */
int asyncns_isdone(asyncns_t *asyncns, asyncns_query_t*q);