1 #ifndef HOOK_H
2 #define HOOK_H
3 
4 /*
5  * Returns the path to the hook file, or NULL if the hook is missing
6  * or disabled. Note that this points to static storage that will be
7  * overwritten by further calls to find_hook and run_hook_*.
8  */
9 const char *find_hook(const char *name);
10 
11 /**
12  * A boolean version of find_hook()
13  */
14 int hook_exists(const char *hookname);
15 
16 #endif
17