summaryrefslogtreecommitdiffstats
path: root/gsm_ms.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_ms.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_ms.h')
-rw-r--r--gsm_ms.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/gsm_ms.h b/gsm_ms.h
index e30f2fd..70ea825 100644
--- a/gsm_ms.h
+++ b/gsm_ms.h
@@ -1,10 +1,3 @@
-#ifndef _GNU_SOURCE
-#define _GNU_SOURCE
-#endif
-extern "C" {
-#include <osmocom/bb/common/osmocom_data.h>
-#include <osmocom/bb/mobile/mncc.h>
-}
/* GSM port class */
class Pgsm_ms : public Pgsm
@@ -26,10 +19,10 @@ class Pgsm_ms : public Pgsm
int message_epoint(unsigned int epoint_id, int message_id, union parameter *param);
};
-int handle_gsm_ms(int *quit);
int gsm_ms_conf(struct gsm_conf *gsm_conf, char *conf_error);
int gsm_ms_exit(int rc);
int gsm_ms_init(void);
int gsm_ms_new(const char *name);
int gsm_ms_delete(const char *name);
+int message_ms(struct lcr_gsm *lcr_gsm, int msg_type, void *arg);