summaryrefslogtreecommitdiff
path: root/pythonmod/pythonmod.h
diff options
context:
space:
mode:
Diffstat (limited to 'pythonmod/pythonmod.h')
-rw-r--r--pythonmod/pythonmod.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/pythonmod/pythonmod.h b/pythonmod/pythonmod.h
index 991ae51a20a74..ae8af27eb22b4 100644
--- a/pythonmod/pythonmod.h
+++ b/pythonmod/pythonmod.h
@@ -74,4 +74,12 @@ int python_inplace_cb_reply_generic(struct query_info* qinfo,
struct edns_data* edns, struct edns_option** opt_list_out,
struct comm_reply* repinfo, struct regional* region, int id,
void* python_callback);
+
+/** Declared here for fptr_wlist access. The definition is in interface.i. */
+int python_inplace_cb_query_generic(
+ struct query_info* qinfo, uint16_t flags, struct module_qstate* qstate,
+ struct sockaddr_storage* addr, socklen_t addrlen,
+ uint8_t* zone, size_t zonelen, struct regional* region, int id,
+ void* python_callback);
+
#endif /* PYTHONMOD_H */