X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=gsm_bs.h;h=81e1f139ba60cca3d9022bfed39d550d86216dc3;hp=fd56efe52fb78c681c85b471d6da92e05423e570;hb=ef0eddbfec88fb7ce5f92e2a04ab000ac0fa91d2;hpb=7308159228add750d8c3729846d950de5599a9e5 diff --git a/gsm_bs.h b/gsm_bs.h index fd56efe..81e1f13 100644 --- a/gsm_bs.h +++ b/gsm_bs.h @@ -1,16 +1,13 @@ -extern "C" { -#include -} /* GSM port class */ class Pgsm_bs : public Pgsm { public: - Pgsm_bs(int type, struct mISDNport *mISDNport, char *portname, struct port_settings *settings, int channel, int exclusive, int mode); + Pgsm_bs(int type, char *portname, struct port_settings *settings, struct interface *interface); ~Pgsm_bs(); - unsigned char *p_m_g_dtmf; /* DTMF tone generation (MS only) */ - int p_m_g_dtmf_index; /* DTMF tone generation index */ + unsigned char *p_g_dtmf; /* DTMF tone generation (MS only) */ + int p_g_dtmf_index; /* DTMF tone generation index */ void setup_ind(unsigned int msg_type, unsigned int callref, struct gsm_mncc *mncc); void start_dtmf_ind(unsigned int msg_type, unsigned int callref, struct gsm_mncc *mncc); @@ -21,7 +18,8 @@ class Pgsm_bs : public Pgsm int message_epoint(unsigned int epoint_id, int message_id, union parameter *param); }; -int handle_gsm_bs(void); int gsm_bs_conf(struct gsm_conf *gsm_conf, char *conf_error); int gsm_bs_exit(int rc); -int gsm_bs_init(void); +int gsm_bs_init(struct interface *interface); + +int message_bsc(struct lcr_gsm *lcr_gsm, int msg_type, void *arg);