aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/bsc_msc_rf.h
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/bsc_msc_rf.h
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/bsc_msc_rf.h')
-rw-r--r--openbsc/include/openbsc/bsc_msc_rf.h20
1 files changed, 20 insertions, 0 deletions
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