Remove the last commit, because it was in the wrong branch.
[lcr.git] / gsm_bs.h
1 extern "C" {
2 #include <openbsc/gsm_data.h>
3 }
4
5 /* GSM port class */
6 class Pgsm_bs : public Pgsm
7 {
8         public:
9         Pgsm_bs(int type, struct mISDNport *mISDNport, char *portname, struct port_settings *settings, int channel, int exclusive, int mode);
10         ~Pgsm_bs();
11
12         void setup_ind(unsigned int msg_type, unsigned int callref, struct gsm_mncc *mncc);
13         void start_dtmf_ind(unsigned int msg_type, unsigned int callref, struct gsm_mncc *mncc);
14         void stop_dtmf_ind(unsigned int msg_type, unsigned int callref, struct gsm_mncc *mncc);
15         void hold_ind(unsigned int msg_type, unsigned int callref, struct gsm_mncc *mncc);
16         void retr_ind(unsigned int msg_type, unsigned int callref, struct gsm_mncc *mncc);
17         void message_setup(unsigned int epoint_id, int message_id, union parameter *param);
18         int message_epoint(unsigned int epoint_id, int message_id, union parameter *param);
19 };
20
21 int handle_gsm_bs(void);
22 int gsm_bs_conf(struct gsm_conf *gsm_conf, char *conf_error);
23 int gsm_bs_exit(int rc);
24 int gsm_bs_init(void);