summaryrefslogtreecommitdiffstats
path: root/gsm_bs.h
diff options
context:
space:
mode:
authorAndreas Eversberg2011-09-02 11:08:56 +0200
committerAndreas Eversberg2011-09-02 11:08:56 +0200
commit97aa0881beacf536e3a2296381c055887583db8f (patch)
tree70ea6d838cbe6b788761d61adca7215bc0c268b8 /gsm_bs.h
parentFixed broken timeout condition (diff)
downloadlcr-97aa0881beacf536e3a2296381c055887583db8f.tar.gz
lcr-97aa0881beacf536e3a2296381c055887583db8f.tar.xz
lcr-97aa0881beacf536e3a2296381c055887583db8f.zip
Support of GSM uses socket interface for both network and mobileHEADmaster
There is no linking of any osmocomBB source code required. In order to use osmocomBB or OpenBSC, just enable the interface, as described in defaults/interface.conf. At osmocomBB/mobile or at OpenBSC, just use the option "-m" to enable the socket interface. Enable GSM at LCR with "./configure --with-gsm-ms --with-gsm-bs".
Diffstat (limited to 'gsm_bs.h')
-rw-r--r--gsm_bs.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/gsm_bs.h b/gsm_bs.h
index 45bf083..a57b7c7 100644
--- a/gsm_bs.h
+++ b/gsm_bs.h
@@ -1,7 +1,3 @@
-extern "C" {
-#include <openbsc/gsm_data.h>
-#include <openbsc/mncc.h>
-}
/* GSM port class */
class Pgsm_bs : public Pgsm
@@ -22,11 +18,8 @@ class Pgsm_bs : public Pgsm
int message_epoint(unsigned int epoint_id, int message_id, union parameter *param);
};
-int handle_gsm_bs(void);
int gsm_bs_conf(struct gsm_conf *gsm_conf, char *conf_error);
int gsm_bs_exit(int rc);
int gsm_bs_init(void);
-extern "C" {
-int mncc_send(struct gsm_network *instance, int msg_type, void *data);
-};
+int message_bsc(struct lcr_gsm *lcr_gsm, int msg_type, void *arg);