aboutsummaryrefslogtreecommitdiffstats
path: root/hook.h
diff options
context:
space:
mode:
Diffstat (limited to 'hook.h')
-rw-r--r--hook.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/hook.h b/hook.h
index 68624f1605..6aa36fc7ff 100644
--- a/hook.h
+++ b/hook.h
@@ -8,4 +8,9 @@
*/
const char *find_hook(const char *name);
+/**
+ * A boolean version of find_hook()
+ */
+int hook_exists(const char *hookname);
+
#endif