Fixed audio bridge to mISDN ports
[lcr.git] / appbridge.h
1 /*****************************************************************************\
2 **                                                                           **
3 ** Linux Call Router                                                         **
4 **                                                                           **
5 **---------------------------------------------------------------------------**
6 ** Copyright: Andreas Eversberg                                              **
7 **                                                                           **
8 ** EndpointAppBridge header file                                             **
9 **                                                                           **
10 \*****************************************************************************/ 
11
12
13 extern class EndpointAppBridge *appbridge_first;
14
15 /* structure of an EndpointAppBridge */
16 class EndpointAppBridge : public EndpointApp
17 {
18         public:
19         EndpointAppBridge(class Endpoint *epoint, int origin);
20         ~EndpointAppBridge();
21
22         class EndpointAppBridge *next;  /* next in list of apps */
23
24         /* messages */
25         void port_setup(struct port_list *portlist, int message_type, union parameter *param);
26         void port_release(struct port_list *portlist, int message_type, union parameter *param);
27         void port_other(struct port_list *portlist, int message_type, union parameter *param);
28         void ea_message_port(unsigned int port_id, int message, union parameter *param);
29         struct interface *hunt_interface(char *ifname);
30
31         void trace_header(const char *name, int direction);
32 };
33
34
35