summaryrefslogtreecommitdiffstats
path: root/pythonmod/pythonmod_utils.h
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2015-04-26 11:23:26 +0000
committerdes <des@FreeBSD.org>2015-04-26 11:23:26 +0000
commitfe0c01d26579d19ddf439fb46ef0bd3cc2bc7f4c (patch)
tree01c1d94467622a175fad10cd34a2f6f05d32c1b7 /pythonmod/pythonmod_utils.h
parentcabe860377233bc13a6d101fdb59bb834cab980a (diff)
downloadFreeBSD-src-fe0c01d26579d19ddf439fb46ef0bd3cc2bc7f4c.zip
FreeBSD-src-fe0c01d26579d19ddf439fb46ef0bd3cc2bc7f4c.tar.gz
import unbound 1.5.2
Diffstat (limited to 'pythonmod/pythonmod_utils.h')
-rw-r--r--pythonmod/pythonmod_utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pythonmod/pythonmod_utils.h b/pythonmod/pythonmod_utils.h
index a901f39..768eb46 100644
--- a/pythonmod/pythonmod_utils.h
+++ b/pythonmod/pythonmod_utils.h
@@ -42,6 +42,7 @@
#define PYTHONMOD_UTILS_H
#include "util/module.h"
+struct delegpt_addr;
/**
* Store the reply_info and query_info pair in message cache (qstate->msg_cache)
@@ -86,4 +87,7 @@ int createResponse(struct module_qstate* qstate, sldns_buffer* pkt);
*/
void reply_addr2str(struct comm_reply* reply, char* dest, int maxlen);
+/* Convert target->addr to string */
+void delegpt_addr_addr2str(struct delegpt_addr* target, char *dest, int maxlen);
+
#endif /* PYTHONMOD_UTILS_H */
OpenPOWER on IntegriCloud