chiark / gitweb /
util: Use BSD queue.h for phase hook lists
[secnet.git] / secnet.h
index 7fbe157cfd1e231d4c0e00c16aa2ffc130c9f58b..54f5d073b8f27f8e3f6cccf62e6b016a883b5d51 100644 (file)
--- a/secnet.h
+++ b/secnet.h
@@ -268,6 +268,8 @@ bool_t remove_hook(uint32_t phase, hook_fn *f, void *state);
 extern uint32_t current_phase;
 extern void enter_phase(uint32_t new_phase);
 
+void phase_hooks_init(void); /* for main() only */
+
 /* Some features (like netlink 'soft' routes) require that secnet
    retain root privileges.  They should indicate that here when
    appropriate. */