summaryrefslogtreecommitdiffstats
path: root/nest/protocol.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-02-13 21:15:36 +0100
committerMartin Mares <mj@ucw.cz>1999-02-13 21:15:36 +0100
commitf4aabcee62890b7c3e999e188ab72752fbb20b79 (patch)
tree99daddcfbae637f7801f8b70b42ee2b5c9e91178 /nest/protocol.h
parent7f3d1a0850ff7f240b2f240db6d44b3a5dee6d48 (diff)
downloadbird-f4aabcee62890b7c3e999e188ab72752fbb20b79.tar
bird-f4aabcee62890b7c3e999e188ab72752fbb20b79.zip
Perform gracious shutdown upon receipt of SIGTERM. Finally we can
test the whole protocol shutdown code... :)
Diffstat (limited to 'nest/protocol.h')
-rw-r--r--nest/protocol.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/nest/protocol.h b/nest/protocol.h
index f6facea..8a27350 100644
--- a/nest/protocol.h
+++ b/nest/protocol.h
@@ -46,6 +46,7 @@ void protos_postconfig(struct config *);
void protos_commit(struct config *);
void protos_start(void);
void protos_dump_all(void);
+void protos_shutdown(void);
extern list protocol_list;
@@ -188,4 +189,10 @@ void proto_notify_state(struct proto *p, unsigned state);
extern struct proto_config *cf_dev_proto;
+/*
+ * Callback to sysdep code when shutdown is finished
+ */
+
+void protos_shutdown_notify(void);
+
#endif