summaryrefslogtreecommitdiffstats
path: root/rfc1035/rfc1035.h
diff options
context:
space:
mode:
authorSam Varshavchik2020-04-07 20:59:34 -0400
committerSam Varshavchik2020-04-07 20:59:34 -0400
commit703dee83914cd7398eb3ddb800a1727f60defd97 (patch)
tree08ddfa8cd2a73ded4694818b0011770423936233 /rfc1035/rfc1035.h
parent9cef0af75486f68720a813b03ec8e69848c6b04a (diff)
downloadcourier-libs-703dee83914cd7398eb3ddb800a1727f60defd97.tar.bz2
Add rfc1035_udp_query_response_alloc_bis.
Diffstat (limited to 'rfc1035/rfc1035.h')
-rw-r--r--rfc1035/rfc1035.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/rfc1035/rfc1035.h b/rfc1035/rfc1035.h
index 2123c2a..ee85101 100644
--- a/rfc1035/rfc1035.h
+++ b/rfc1035/rfc1035.h
@@ -616,6 +616,13 @@ void rfc1035_ifconf_free(struct rfc1035_ifconf *ifconf_list);
** Outstanding UDP queries.
*/
+ /* common query buffer */
+
+struct querybuf {
+ char qbuf[512];
+ unsigned qbuflen;
+ } ;
+
struct rfc1035_udp_query_response;
/* How many queries, and the queries */
@@ -645,6 +652,10 @@ rfc1035_udp_query_response_alloc(const char **queries,
const unsigned *querylens,
int n_queries);
+struct rfc1035_udp_query_responses *
+rfc1035_udp_query_response_alloc_bis(struct querybuf *queries,
+ int n_queries);
+
/*
** Send all queries via UDPs, wait for responses.
**