summaryrefslogtreecommitdiffstats
path: root/rfc1035/rfc1035.h
diff options
context:
space:
mode:
authorSam Varshavchik2020-05-07 22:49:32 -0400
committerSam Varshavchik2020-05-07 22:49:32 -0400
commitc9982ab6a25c0cd95bfc0867dc8cab991786ddb5 (patch)
treeef5010016d5c2a6afbcd54a583c8d0c045f87006 /rfc1035/rfc1035.h
parent531c5ca6c1290dfc036f6149199cb9c19ba23ab1 (diff)
downloadcourier-libs-c9982ab6a25c0cd95bfc0867dc8cab991786ddb5.tar.bz2
More simultaneous DNS query support.
Diffstat (limited to 'rfc1035/rfc1035.h')
-rw-r--r--rfc1035/rfc1035.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/rfc1035/rfc1035.h b/rfc1035/rfc1035.h
index ee85101..9a92c1b 100644
--- a/rfc1035/rfc1035.h
+++ b/rfc1035/rfc1035.h
@@ -228,6 +228,22 @@ int rfc1035_resolve_cname(
#define RFC1035_X_RANDOMIZE 1 /* Randomize query results */
+/*
+** rfc1035_resolve_cname_multiple is a version of rfc1035_resolve_cname
+** that accepts an array of qtypes, and issues a query for each qtype.
+**
+** qtypes points to a 0-terminated list of RRs.
+*/
+int rfc1035_resolve_cname_multiple(struct rfc1035_res *res,
+ char *namebuf,
+ /* RFC1035_MAXNAMESIZE buffer with
+ ** the name to query */
+ unsigned char *qtypes,
+ unsigned qclass,
+ struct rfc1035_reply **ptr,
+ int x_flags);
+
+
/*
** Always call replyfree when done.
*/