aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/osmo_bsc_rf.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-06-30 14:29:53 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-30 15:11:29 +0800
commit2f4dbebb207d4d35b89320de041ea9cee8a7f81e (patch)
tree70924bba00f92726ec9d3b5007843c0aa419f477 /openbsc/include/openbsc/osmo_bsc_rf.h
parent5950236b5e1bd54bde2cf3740115f4f9cc518b21 (diff)
osmo-bsc: Start adding code for the osmo_bsc..
This adds the unix domain socket rf control protocol into the new subdirectory.
Diffstat (limited to 'openbsc/include/openbsc/osmo_bsc_rf.h')
-rw-r--r--openbsc/include/openbsc/osmo_bsc_rf.h20
1 files changed, 20 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..163e55cc8
--- /dev/null
+++ b/openbsc/include/openbsc/osmo_bsc_rf.h
@@ -0,0 +1,20 @@
+#ifndef OSMO_BSC_RF
+#define OSMO_BSC_RF
+
+#include <osmocore/write_queue.h>
+
+struct gsm_network;
+
+struct osmo_bsc_rf {
+ struct bsc_fd listen;
+ struct gsm_network *gsm_network;
+};
+
+struct osmo_bsc_rf_conn {
+ struct write_queue queue;
+ struct gsm_network *gsm_network;
+};
+
+struct osmo_bsc_rf *osmo_bsc_rf_create(const char *path, struct gsm_network *net);
+
+#endif