From 97aa0881beacf536e3a2296381c055887583db8f Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Fri, 2 Sep 2011 11:08:56 +0200 Subject: Support of GSM uses socket interface for both network and mobile 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". --- gsm_ms.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'gsm_ms.h') 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 -#include -} /* 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); -- cgit v1.2.3-55-g7522