projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make LCR compile with latest osmocomBB code.
[lcr.git]
/
gsm_ms.h
diff --git
a/gsm_ms.h
b/gsm_ms.h
index
3e9794f
..
e30f2fd
100644
(file)
--- a/
gsm_ms.h
+++ b/
gsm_ms.h
@@
-1,3
+1,6
@@
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE
+#endif
extern "C" {
#include <osmocom/bb/common/osmocom_data.h>
#include <osmocom/bb/mobile/mncc.h>
extern "C" {
#include <osmocom/bb/common/osmocom_data.h>
#include <osmocom/bb/mobile/mncc.h>
@@
-23,10
+26,10
@@
class Pgsm_ms : public Pgsm
int message_epoint(unsigned int epoint_id, int message_id, union parameter *param);
};
int message_epoint(unsigned int epoint_id, int message_id, union parameter *param);
};
-int handle_gsm_ms(
void
);
+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_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
, const char *socket_path
);
+int gsm_ms_new(const char *name);
int gsm_ms_delete(const char *name);
int gsm_ms_delete(const char *name);