aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-14 11:19:07 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-14 11:19:07 +0200
commit80b584bbe72c2d5aee39e521a33ec2c25962d77a (patch)
treee2a0ed5848e0943332285991e0087ddc1176aa61 /openbsc/include/openbsc
parent15c21e8eecf14abf80114ba302a003e6d30b6be7 (diff)
[bsc_msc_ip] Implement a simple RF lock command interface
Right now this is using unix domain sockets and it only supports query, on and off as commands. In the future we want to have a vty<->snmp bridge or at least more status exposed via snmp.
Diffstat (limited to 'openbsc/include/openbsc')
-rw-r--r--openbsc/include/openbsc/Makefile.am2
-rw-r--r--openbsc/include/openbsc/bsc_msc_rf.h20
2 files changed, 21 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/Makefile.am b/openbsc/include/openbsc/Makefile.am
index 25e3f4dd9..e4d1107c1 100644
--- a/openbsc/include/openbsc/Makefile.am
+++ b/openbsc/include/openbsc/Makefile.am
@@ -6,7 +6,7 @@ noinst_HEADERS = abis_nm.h abis_rsl.h db.h gsm_04_08.h gsm_data.h \
bsc_rll.h mncc.h transaction.h ussd.h gsm_04_80.h \
silent_call.h mgcp.h meas_rep.h rest_octets.h \
system_information.h handover.h mgcp_internal.h \
- vty.h bssap.h bsc_msc.h bsc_nat.h
+ vty.h bssap.h bsc_msc.h bsc_nat.h bsc_msc_rf.h
openbsc_HEADERS = gsm_04_08.h meas_rep.h bsc_api.h
openbscdir = $(includedir)/openbsc
diff --git a/openbsc/include/openbsc/bsc_msc_rf.h b/openbsc/include/openbsc/bsc_msc_rf.h
new file mode 100644
index 000000000..2d611c59b
--- /dev/null
+++ b/openbsc/include/openbsc/bsc_msc_rf.h
@@ -0,0 +1,20 @@
+#ifndef BSC_MSC_RF
+#define BSC_MSC_RF
+
+#include <osmocore/write_queue.h>
+
+struct gsm_network;
+
+struct bsc_msc_rf {
+ struct bsc_fd listen;
+ struct gsm_network *gsm_network;
+};
+
+struct bsc_msc_rf_conn {
+ struct write_queue queue;
+ struct gsm_network *gsm_network;
+};
+
+struct bsc_msc_rf *bsc_msc_rf_create(const char *path, struct gsm_network *net);
+
+#endif