aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/signal.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-11-30 19:37:18 +0100
committerHarald Welte <laforge@gnumonks.org>2009-12-01 17:58:26 +0530
commit3961fcc0313f1d87ab64806638e416f2603e7345 (patch)
tree8e19c889f458c8747e2c947c577c4b22490d3a21 /openbsc/include/openbsc/signal.h
parentb84ddfc22f60ed42c0c0ee5367c42a56157a7c75 (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/openbsc/signal.h')
-rw-r--r--openbsc/include/openbsc/signal.h5
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);