chiark / gitweb /
polypath: Close parent's socket in child
[secnet.git] / secnet.h
index ecbc9de8a502841ff72b1ae42480cb99974100b4..76db6038c9e1ce9433849a1dabcfe609da221788 100644 (file)
--- a/secnet.h
+++ b/secnet.h
@@ -270,6 +270,7 @@ extern uint32_t current_phase;
 extern void enter_phase(uint32_t new_phase);
 
 void phase_hooks_init(void); /* for main() only */
+void clear_phase_hooks(uint32_t phase); /* for afterfork() */
 
 /* Some features (like netlink 'soft' routes) require that secnet
    retain root privileges.  They should indicate that here when