From 0d711632f22b2720df09cf5b61e535abd92e4943 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 16 Sep 2010 02:30:36 +0800 Subject: 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. --- openbsc/include/openbsc/signal.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'openbsc/include/openbsc/signal.h') 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 * (C) 2009 by Harald Welte + * (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 -- cgit v1.2.3