X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=gsm.h;h=4959e00948855cf8533427e4b69ab8e39dcc7d82;hp=15477efb4f138d7d7cea373ea52bdf3cf9e8a622;hb=a498faceb2af635bd8e8c60ef87fe1a1afbd4b1d;hpb=ab670ecfdc8c7e299bc1b9ddea014980ad7637fa diff --git a/gsm.h b/gsm.h index 15477ef..4959e00 100644 --- a/gsm.h +++ b/gsm.h @@ -33,9 +33,11 @@ class Pgsm : public PmISDN Pgsm(int type, struct mISDNport *mISDNport, char *portname, struct port_settings *settings, int channel, int exclusive, int mode); ~Pgsm(); + struct lcr_work p_m_g_delete; /* timer for audio transmission */ unsigned int p_m_g_callref; /* ref by OpenBSC */ unsigned int p_m_g_mode; /* data/transparent mode */ int p_m_g_gsm_b_sock; /* gsm bchannel socket */ + struct lcr_fd p_m_g_gsm_b_fd; /* event node */ int p_m_g_gsm_b_index; /* gsm bchannel socket index to use */ int p_m_g_gsm_b_active; /* gsm bchannel socket is activated */ struct lcr_msg *p_m_g_notify_pending; /* queue for NOTIFY if not connected */ @@ -72,11 +74,9 @@ class Pgsm : public PmISDN void message_disconnect(unsigned int epoint_id, int message_id, union parameter *param); void message_release(unsigned int epoint_id, int message_id, union parameter *param); int message_epoint(unsigned int epoint_id, int message_id, union parameter *param); - int handler(void); }; -extern char *gsm_conf_error; -int gsm_conf(struct gsm_conf *gsm_conf); +int gsm_conf(struct gsm_conf *gsm_conf, char *conf_error); int handle_gsm(void); int gsm_exit(int rc); int gsm_init(void);