projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added exporting/importing bchannel stacks to the remote application
[lcr.git]
/
endpoint.h
diff --git
a/endpoint.h
b/endpoint.h
index
506689a
..
a336beb
100644
(file)
--- a/
endpoint.h
+++ b/
endpoint.h
@@
-1,6
+1,6
@@
/*****************************************************************************\
** **
/*****************************************************************************\
** **
-**
PBX4Linux
**
+**
Linux Call Router
**
** **
**---------------------------------------------------------------------------**
** Copyright: Andreas Eversberg **
** **
**---------------------------------------------------------------------------**
** Copyright: Andreas Eversberg **
@@
-15,13
+15,14
@@
struct port_list {
struct port_list *next;
unsigned long port_id;
int port_type;
struct port_list *next;
unsigned long port_id;
int port_type;
+ int early_b; /* if patterns are available */
};
/* structure of an Enpoint */
class Endpoint
{
public:
};
/* structure of an Enpoint */
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 */
~Endpoint();
class Endpoint *next; /* next in list */
unsigned long ep_serial; /* a unique serial to identify */
@@
-32,11
+33,11
@@
class Endpoint
/* port relation */
struct port_list *ep_portlist; /* link to list of ports */
/* 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);
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;
/* if still used by threads */
int ep_use;