aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/osmo_bsc_rf.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-09-16 00:01:43 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-09-16 00:01:43 +0800
commit98d949b02f9ebcc50b45158103eb891945d76911 (patch)
treec4e17ea0639c3b01c0ab6d46c842289eddff1564 /openbsc/include/openbsc/osmo_bsc_rf.h
parent4f5421a482bec60f146a582ae0e94e0b00af2953 (diff)
bsc: Rename the RF Ctl interface to match master
Diffstat (limited to 'openbsc/include/openbsc/osmo_bsc_rf.h')
-rw-r--r--openbsc/include/openbsc/osmo_bsc_rf.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/osmo_bsc_rf.h b/openbsc/include/openbsc/osmo_bsc_rf.h
new file mode 100644
index 000000000..0c9ba32f5
--- /dev/null
+++ b/openbsc/include/openbsc/osmo_bsc_rf.h
@@ -0,0 +1,22 @@
+#ifndef BSC_MSC_RF
+#define BSC_MSC_RF
+
+#include <osmocore/write_queue.h>
+
+struct gsm_network;
+
+struct osmo_bsc_rf {
+ /* the value of signal.h */
+ int policy;
+ struct bsc_fd listen;
+ struct gsm_network *gsm_network;
+};
+
+struct osmo_bsc_rf_conn {
+ struct write_queue queue;
+ struct osmo_bsc_rf *rf;
+};
+
+struct osmo_bsc_rf *osmo_bsc_rf_create(const char *path, struct gsm_network *net);
+
+#endif