summaryrefslogtreecommitdiffstats
path: root/remote.h
blob: f39245b33280a3e4239f0d9bac04196a73d80bc6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

/* GSM port class */
class Premote : public PmISDN
{
	public:
	Premote(int type, struct mISDNport *mISDNport, char *portname, struct port_settings *settings, int channel, int exclusive, int mode, 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 */

	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);
};