aboutsummaryrefslogtreecommitdiff
path: root/contrib/unbound/util/fptr_wlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/unbound/util/fptr_wlist.h')
-rw-r--r--contrib/unbound/util/fptr_wlist.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/unbound/util/fptr_wlist.h b/contrib/unbound/util/fptr_wlist.h
index 653f8f0e75d4..39e3f2d7f21b 100644
--- a/contrib/unbound/util/fptr_wlist.h
+++ b/contrib/unbound/util/fptr_wlist.h
@@ -234,6 +234,15 @@ int fptr_whitelist_modenv_attach_sub(int (*fptr)(
uint16_t qflags, int prime, int valrec, struct module_qstate** newq));
/**
+ * Check function pointer whitelist for module_env add_sub callback values.
+ *
+ * @param fptr: function pointer to check.
+ * @return false if not in whitelist.
+ */
+int fptr_whitelist_modenv_add_sub(int (*fptr)(struct module_qstate* qstate,
+ struct query_info* qinfo, uint16_t qflags, int prime, int valrec,
+ struct module_qstate** newq, struct mesh_state** sub));
+/**
* Check function pointer whitelist for module_env kill_sub callback values.
*
* @param fptr: function pointer to check.