diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-11-30 19:37:18 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-12-01 17:58:26 +0530 |
commit | 3961fcc0313f1d87ab64806638e416f2603e7345 (patch) | |
tree | 8e19c889f458c8747e2c947c577c4b22490d3a21 /openbsc/include | |
parent | b84ddfc22f60ed42c0c0ee5367c42a56157a7c75 (diff) |
Introduce new S_GLOBAL_SHUTDOWN signal
This is used to notify various parts of OpenBSC that we're shutting
down.
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/signal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/signal.h b/openbsc/include/openbsc/signal.h index 5156fcb79..d59bb9726 100644 --- a/openbsc/include/openbsc/signal.h +++ b/openbsc/include/openbsc/signal.h @@ -40,6 +40,7 @@ enum signal_subsystems { SS_LCHAN, SS_SUBSCR, SS_SCALL, + SS_GLOBAL, }; /* SS_PAGING signals */ @@ -99,6 +100,10 @@ enum signal_scall { S_SCALL_DETACHED, }; +enum signal_global { + S_GLOBAL_SHUTDOWN, +}; + typedef int signal_cbfn(unsigned int subsys, unsigned int signal, void *handler_data, void *signal_data); |