X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=gsm_bs.h;h=45bf0835e990bc4a17b90e3c6611b8f80d8a8bdd;hp=ba2d6967d7a4d1de7db60b9e04c6d3eeb4451332;hb=042a9564c2891a20dc45aa92a78117912cd55f00;hpb=a12d7eee22a72f4c999535892763dde15212e89e diff --git a/gsm_bs.h b/gsm_bs.h index ba2d696..45bf083 100644 --- a/gsm_bs.h +++ b/gsm_bs.h @@ -1,5 +1,6 @@ extern "C" { #include +#include } /* GSM port class */ @@ -9,6 +10,9 @@ class Pgsm_bs : public Pgsm Pgsm_bs(int type, struct mISDNport *mISDNport, char *portname, struct port_settings *settings, int channel, int exclusive, int mode); ~Pgsm_bs(); + unsigned char *p_m_g_dtmf; /* DTMF tone generation (MS only) */ + int p_m_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); void stop_dtmf_ind(unsigned int msg_type, unsigned int callref, struct gsm_mncc *mncc); @@ -22,3 +26,7 @@ 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); + +extern "C" { +int mncc_send(struct gsm_network *instance, int msg_type, void *data); +};