1 /*****************************************************************************\
3 ** Linux Call Router **
5 **---------------------------------------------------------------------------**
6 ** Copyright: Andreas Eversberg **
8 ** Endpoint header file **
10 \*****************************************************************************/
13 /* structure of port_list */
15 struct port_list *next;
18 int early_b; /* if patterns are available */
21 /* structure of an Enpoint */
25 Endpoint(unsigned int port_id, unsigned int join_id);
27 class Endpoint *next; /* next in list */
28 unsigned int ep_serial; /* a unique serial to identify */
30 /* applocaton relation */
31 class EndpointApp *ep_app; /* link to application class */
34 struct port_list *ep_portlist; /* link to list of ports */
35 struct port_list *portlist_new(unsigned int port_id, int port_type, int earlyb);
36 void free_portlist(struct port_list *portlist);
39 unsigned int ep_join_id; /* link to join */
41 /* if still used by threads */
43 struct lcr_work ep_delete;
45 /* application indipendant states */
46 int ep_park; /* indicates that the epoint is parked */
47 unsigned char ep_park_callid[8];
51 extern class Endpoint *epoint_first;
53 class Endpoint *find_epoint_id(unsigned int epoint_id);