diff options
author | dimitri staessens <[email protected]> | 2017-01-04 15:25:15 +0100 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2017-01-04 15:59:41 +0100 |
commit | 4384cd203a958373cf0ab959afb688f9eeba05fc (patch) | |
tree | 8190cda7271de35bae0725240e29ea33fce1ddc3 /src/ipcpd/ipcp.h | |
parent | bbabc773eccf7fe414428b3c8e4a7d3521ca7582 (diff) | |
download | ouroboros-4384cd203a958373cf0ab959afb688f9eeba05fc.tar.gz ouroboros-4384cd203a958373cf0ab959afb688f9eeba05fc.zip |
ipcpd: Add boot and shutdown operations
These operations separe the starting and joining of the main ipcp
threads into ipcp_boot() and ipcp_shutdown() operations. This allows
the proper cleanup of user data and user threads after the IPCP is
requested to shut down.
Diffstat (limited to 'src/ipcpd/ipcp.h')
-rw-r--r-- | src/ipcpd/ipcp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ipcpd/ipcp.h b/src/ipcpd/ipcp.h index 6910115e..ae5a56da 100644 --- a/src/ipcpd/ipcp.h +++ b/src/ipcpd/ipcp.h @@ -55,6 +55,10 @@ struct ipcp { int ipcp_init(enum ipcp_type type, struct ipcp_ops * ops); +int ipcp_boot(void); + +void ipcp_shutdown(void); + void ipcp_fini(void); void ipcp_set_state(enum ipcp_state state); |