X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=endpoint.h;h=a336beb97ac741f8fe56ff1a178c8fc7142ce6e0;hp=e556bf3e0c211579f351dfe8d548c4ed61f1deb2;hb=cbe9d412a37e75b61cc74e8a65b0293923eb5160;hpb=559ff64e3062b70f27ddceba825f40642a6c5725 diff --git a/endpoint.h b/endpoint.h index e556bf3..a336beb 100644 --- a/endpoint.h +++ b/endpoint.h @@ -1,6 +1,6 @@ /*****************************************************************************\ ** ** -** PBX4Linux ** +** Linux Call Router ** ** ** **---------------------------------------------------------------------------** ** Copyright: Andreas Eversberg ** @@ -22,7 +22,7 @@ struct port_list { class Endpoint { public: - Endpoint(int port_id, int call_id); + Endpoint(unsigned long port_id, unsigned long join_id); ~Endpoint(); class Endpoint *next; /* next in list */ unsigned long ep_serial; /* a unique serial to identify */ @@ -33,11 +33,11 @@ class Endpoint /* port relation */ struct port_list *ep_portlist; /* link to list of ports */ - struct port_list *portlist_new(unsigned long port_id, int port_type); + struct port_list *portlist_new(unsigned long port_id, int port_type, int earlyb); void free_portlist(struct port_list *portlist); - /* call relation */ - unsigned long ep_call_id; /* link to call */ + /* join relation */ + unsigned long ep_join_id; /* link to join */ /* if still used by threads */ int ep_use;