aboutsummaryrefslogtreecommitdiff
path: root/util/fptr_wlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/fptr_wlist.h')
-rw-r--r--util/fptr_wlist.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/util/fptr_wlist.h b/util/fptr_wlist.h
index a0d9867554b5..fb2475cce109 100644
--- a/util/fptr_wlist.h
+++ b/util/fptr_wlist.h
@@ -279,6 +279,22 @@ int fptr_whitelist_mod_init(int (*fptr)(struct module_env* env, int id));
int fptr_whitelist_mod_deinit(void (*fptr)(struct module_env* env, int id));
/**
+ * Check function pointer whitelist for module startup call values.
+ *
+ * @param fptr: function pointer to check.
+ * @return false if not in whitelist.
+ */
+int fptr_whitelist_mod_startup(int (*fptr)(struct module_env* env, int id));
+
+/**
+ * Check function pointer whitelist for module destartup call values.
+ *
+ * @param fptr: function pointer to check.
+ * @return false if not in whitelist.
+ */
+int fptr_whitelist_mod_destartup(void (*fptr)(struct module_env* env, int id));
+
+/**
* Check function pointer whitelist for module operate call values.
*
* @param fptr: function pointer to check.