-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathjoin.h
39 lines (29 loc) · 1.33 KB
/
join.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*****************************************************************************\
** **
** Linux Call Router **
** **
**---------------------------------------------------------------------------**
** Copyright: Andreas Eversberg **
** **
** join header file **
** **
\*****************************************************************************/
enum { JOIN_TYPE_NONE, JOIN_TYPE_PBX};
/* join
*
* abstraction for pbx calls and asterisk calls
*/
class Join
{
public:
Join();
virtual ~Join();
class Join *next; /* next node in list of joins */
virtual void message_epoint(unsigned int epoint_id, int message, union parameter *param);
unsigned int j_type; /* join type (pbx or asterisk) */
unsigned int j_serial; /* serial/unique number of join */
};
void join_free(void);
extern class Join *join_first;
class Join *find_join_id(unsigned int join_id);
extern unsigned int join_serial;