aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/signal.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-09-16 02:30:36 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-09-16 02:30:36 +0800
commit0d711632f22b2720df09cf5b61e535abd92e4943 (patch)
tree4f44a85808c0abff07c9149524c375f9359e0330 /openbsc/include/openbsc/signal.h
parente09919bc70c5c37a6d09b6419778af69c2eb00cc (diff)
msc: Send a signal when the connections to the MSC dropped
Send a signal, this way another module can close all connections to the MSC and all local channels.
Diffstat (limited to 'openbsc/include/openbsc/signal.h')
-rw-r--r--openbsc/include/openbsc/signal.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/signal.h b/openbsc/include/openbsc/signal.h
index 9c9d64573..40766dbf2 100644
--- a/openbsc/include/openbsc/signal.h
+++ b/openbsc/include/openbsc/signal.h
@@ -1,6 +1,7 @@
/* Generic signalling/notification infrastructure */
/* (C) 2009-2010 by Holger Hans Peter Freyther <zecke@selfish.org>
* (C) 2009 by Harald Welte <laforge@gnumonks.org>
+ * (C) 2010 by On-Waves
* All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify
@@ -45,6 +46,7 @@ enum signal_subsystems {
SS_NS,
SS_IPAC_NWL,
SS_RF,
+ SS_MSC,
};
/* SS_PAGING signals */
@@ -180,4 +182,16 @@ struct ns_signal_data {
uint8_t cause;
};
+/* MSC signals */
+enum signal_msc {
+ S_MSC_LOST,
+ S_MSC_CONNECTED,
+};
+
+struct osmo_msc_data;
+struct msc_signal_data {
+ struct osmo_msc_data *data;
+};
+
+
#endif