summaryrefslogtreecommitdiffstats
path: root/gsm_ms.h
diff options
context:
space:
mode:
authorAndreas Eversberg2010-05-31 18:45:02 +0200
committerAndreas Eversberg2010-05-31 18:45:02 +0200
commita12d7eee22a72f4c999535892763dde15212e89e (patch)
tree32e20ad128c8bba3c80441ca771da8aa0c4fd5f2 /gsm_ms.h
parentFixed LCR to work with the current API of OpenBSC. (diff)
downloadlcr-a12d7eee22a72f4c999535892763dde15212e89e.tar.gz
lcr-a12d7eee22a72f4c999535892763dde15212e89e.tar.xz
lcr-a12d7eee22a72f4c999535892763dde15212e89e.zip
Splitted GSM support into BS (network) and MS (mobile) part.
Diffstat (limited to 'gsm_ms.h')
-rw-r--r--gsm_ms.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/gsm_ms.h b/gsm_ms.h
new file mode 100644
index 0000000..f3b5e5d
--- /dev/null
+++ b/gsm_ms.h
@@ -0,0 +1,24 @@
+extern "C" {
+#include <osmocom/osmocom_data.h>
+#include <osmocom/mncc.h>
+}
+
+/* GSM port class */
+class Pgsm_ms : public Pgsm
+{
+ public:
+ Pgsm_ms(int type, struct mISDNport *mISDNport, char *portname, struct port_settings *settings, int channel, int exclusive, int mode);
+ ~Pgsm_ms();
+
+ void setup_ind(unsigned int msg_type, unsigned int callref, struct gsm_mncc *mncc);
+ void message_setup(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 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_delete(const char *name);
+