1 /*****************************************************************************\
5 **---------------------------------------------------------------------------**
6 ** Copyright: Andreas Eversberg **
8 ** Endpoint header file **
10 \*****************************************************************************/
13 /* structure of port_list */
15 struct port_list *next;
16 unsigned long port_id;
20 /* structure of an Enpoint */
24 Endpoint(int port_id, int call_id);
26 class Endpoint *next; /* next in list */
27 unsigned long 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 long port_id, int port_type);
36 void free_portlist(struct port_list *portlist);
39 unsigned long ep_call_id; /* link to call */
41 /* if still used by threads */
44 /* application indipendant states */
45 int ep_park; /* indicates that the epoint is parked */
46 unsigned char ep_park_callid[8];
50 extern class Endpoint *epoint_first;
52 class Endpoint *find_epoint_id(unsigned long epoint_id);