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 | |
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')
-rw-r--r-- | openbsc/include/openbsc/Makefile.am | 3 | ||||
-rw-r--r-- | openbsc/include/openbsc/osmo_bsc_rf.h | 20 |
2 files changed, 22 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/Makefile.am b/openbsc/include/openbsc/Makefile.am index 465b21a11..96abc751f 100644 --- a/openbsc/include/openbsc/Makefile.am +++ b/openbsc/include/openbsc/Makefile.am @@ -9,7 +9,8 @@ noinst_HEADERS = abis_nm.h abis_rsl.h db.h gsm_04_08.h gsm_data.h \ vty.h socket.h \ crc24.h gprs_bssgp.h gprs_llc.h gprs_ns.h gprs_gmm.h \ gb_proxy.h gprs_sgsn.h gsm_04_08_gprs.h sgsn.h \ - gprs_ns_frgre.h auth.h osmo_msc.h bsc_msc.h bsc_nat.h + gprs_ns_frgre.h auth.h osmo_msc.h bsc_msc.h bsc_nat.h \ + osmo_bsc_rf.h openbsc_HEADERS = gsm_04_08.h meas_rep.h bsc_api.h openbscdir = $(includedir)/openbsc 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 |