Merge branch 'develop'
[lcr.git] / gsm_ms.h
1 extern "C" {
2 #include <osmocom/osmocom_data.h>
3 #include <osmocom/mncc.h>
4 }
5
6 /* GSM port class */
7 class Pgsm_ms : public Pgsm
8 {
9         public:
10         Pgsm_ms(int type, struct mISDNport *mISDNport, char *portname, struct port_settings *settings, int channel, int exclusive, int mode);
11         ~Pgsm_ms();
12
13         void setup_ind(unsigned int msg_type, unsigned int callref, struct gsm_mncc *mncc);
14         void message_setup(unsigned int epoint_id, int message_id, union parameter *param);
15         int message_epoint(unsigned int epoint_id, int message_id, union parameter *param);
16 };
17
18 int handle_gsm_ms(void);
19 int gsm_ms_conf(struct gsm_conf *gsm_conf, char *conf_error);
20 int gsm_ms_exit(int rc);
21 int gsm_ms_init(void);
22 int gsm_ms_new(const char *name, const char *socket_path);
23 int gsm_ms_delete(const char *name);
24