X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=gsm_bs.h;h=afb04159391b32b105361d7650edd09dfe3a31cc;hp=5575daa1470da1d8393a0d3d2c1b7ad18ababcde;hb=155d3b5a1d18ea9563226b833b5099a2f4f153e0;hpb=d67fcefab05e9aa89e6e72a5f2aae10a5404c5e5 diff --git a/gsm_bs.h b/gsm_bs.h index 5575daa..afb0415 100644 --- a/gsm_bs.h +++ b/gsm_bs.h @@ -6,6 +6,7 @@ class Pgsm_bs : public Pgsm Pgsm_bs(int type, char *portname, struct port_settings *settings, struct interface *interface); ~Pgsm_bs(); + char p_g_bs_name[32]; unsigned char *p_g_dtmf; /* DTMF tone generation (MS only) */ int p_g_dtmf_index; /* DTMF tone generation index */ @@ -22,6 +23,8 @@ class Pgsm_bs : public Pgsm int gsm_bs_conf(struct gsm_conf *gsm_conf, char *conf_error); int gsm_bs_exit(int rc); -int gsm_bs_init(struct interface *interface); +int gsm_bs_init(void); +int gsm_bs_new(struct interface *interface); +int gsm_bs_delete(const char *name); -int message_bsc(struct lcr_gsm *lcr_gsm, int msg_type, void *arg); +int message_bsc(class Pgsm_bs *pgsm_bs, struct lcr_gsm *lcr_gsm, int msg_type, void *arg);