summaryrefslogtreecommitdiff
path: root/pythonmod/pythonmod_utils.h
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2015-04-26 11:23:26 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2015-04-26 11:23:26 +0000
commitd3348d437fb0408bc24892ebd0b035686c294705 (patch)
tree01c1d94467622a175fad10cd34a2f6f05d32c1b7 /pythonmod/pythonmod_utils.h
parent54dd3272da3f4a5fda7dd6ac359b7cf68e21a796 (diff)
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 a901f391a460b..768eb46de6ac9 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 */