diff options
author | Martin Mares <mj@ucw.cz> | 1999-02-13 20:15:36 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-02-13 20:15:36 +0000 |
commit | f4aabcee62890b7c3e999e188ab72752fbb20b79 (patch) | |
tree | 99daddcfbae637f7801f8b70b42ee2b5c9e91178 /nest/protocol.h | |
parent | 7f3d1a0850ff7f240b2f240db6d44b3a5dee6d48 (diff) |
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.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nest/protocol.h b/nest/protocol.h index f6facea6..8a27350c 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 |