Don't try to install default/gsm.conf as it was removed.
[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         unsigned char *p_m_g_dtmf; /* DTMF tone generation (MS only) */
13         int p_m_g_dtmf_index; /* DTMF tone generation index */
14
15         void setup_ind(unsigned int msg_type, unsigned int callref, struct gsm_mncc *mncc);
16         void start_dtmf_ind(unsigned int msg_type, unsigned int callref, struct gsm_mncc *mncc);
17         void stop_dtmf_ind(unsigned int msg_type, unsigned int callref, struct gsm_mncc *mncc);
18         void hold_ind(unsigned int msg_type, unsigned int callref, struct gsm_mncc *mncc);
19         void retr_ind(unsigned int msg_type, unsigned int callref, struct gsm_mncc *mncc);
20         void message_setup(unsigned int epoint_id, int message_id, union parameter *param);
21         int message_epoint(unsigned int epoint_id, int message_id, union parameter *param);
22 };
23
24 int handle_gsm_bs(void);
25 int gsm_bs_conf(struct gsm_conf *gsm_conf, char *conf_error);
26 int gsm_bs_exit(int rc);
27 int gsm_bs_init(void);
28
29 extern "C" {
30 int mncc_send(struct gsm_network *instance, int msg_type, void *data);
31 };