From f4aabcee62890b7c3e999e188ab72752fbb20b79 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 13 Feb 1999 20:15:36 +0000 Subject: Perform gracious shutdown upon receipt of SIGTERM. Finally we can test the whole protocol shutdown code... :) --- nest/protocol.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'nest/protocol.h') 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 -- cgit v1.2.3