X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=remote.h;h=f7afa6a42a9e2b2663eac241b261e334c4b9abfc;hp=f39245b33280a3e4239f0d9bac04196a73d80bc6;hb=7f0d14c706328e1ff74fe8b8c16ae54407cc8055;hpb=3a8f58ec8946b7f1683208d1cc3b054486f12e6c diff --git a/remote.h b/remote.h index f39245b..f7afa6a 100644 --- a/remote.h +++ b/remote.h @@ -1,20 +1,21 @@ +extern unsigned int new_remote; /* GSM port class */ -class Premote : public PmISDN +class Premote : public Port { public: - Premote(int type, struct mISDNport *mISDNport, char *portname, struct port_settings *settings, int channel, int exclusive, int mode, int remote_id); + Premote(int type, char *portname, struct port_settings *settings, struct interface *interface, int remote_id); ~Premote(); - unsigned int p_m_r_ref; - int p_m_r_remote_id; /* remote instance (socket) */ - char p_m_r_remote_app[32]; - unsigned int p_m_r_handle; /* 0, if no bchannel is exported */ + unsigned int p_r_ref; + int p_r_remote_id; /* remote instance (socket) */ + char p_r_remote_app[32]; + int p_r_tones; int message_epoint(unsigned int epoint_id, int message_id, union parameter *param); void message_remote(int message_type, union parameter *param); - int hunt_bchannel(void); + int bridge_rx(unsigned char *data, int len); };