diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-30 14:29:53 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-30 15:11:29 +0800 |
commit | 2f4dbebb207d4d35b89320de041ea9cee8a7f81e (patch) | |
tree | 70924bba00f92726ec9d3b5007843c0aa419f477 /openbsc/include/openbsc/osmo_bsc_rf.h | |
parent | 5950236b5e1bd54bde2cf3740115f4f9cc518b21 (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.h | 20 |
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 |