summaryrefslogtreecommitdiffstats
path: root/bchannel.h
diff options
context:
space:
mode:
authorSuper User2008-06-06 15:18:59 +0200
committerSuper User2008-06-06 15:18:59 +0200
commitcbc232643c7b26d64204ba7f6151007e9c0267e4 (patch)
treede9d04deac87922f6e8a6a6e0f1e4654d12a0706 /bchannel.h
parentfixed bad bug in opening bchannel (diff)
downloadlcr-cbc232643c7b26d64204ba7f6151007e9c0267e4.tar.gz
lcr-cbc232643c7b26d64204ba7f6151007e9c0267e4.tar.xz
lcr-cbc232643c7b26d64204ba7f6151007e9c0267e4.zip
work on chan_lcr: bridging works, interface selection possible
modified: Makefile modified: apppbx.cpp modified: apppbx.h modified: bchannel.c modified: bchannel.h modified: chan_lcr.c modified: chan_lcr.h modified: dss1.cpp modified: genext.c modified: joinremote.cpp modified: joinremote.h modified: mISDN.cpp modified: mISDN.h modified: macro.h modified: main.c modified: message.h modified: options.c modified: options.h modified: socket_server.c
Diffstat (limited to 'bchannel.h')
-rw-r--r--bchannel.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/bchannel.h b/bchannel.h
index b3d950d..bcd5241 100644
--- a/bchannel.h
+++ b/bchannel.h
@@ -30,9 +30,6 @@ struct bchannel {
int b_crypt_len;
int b_crypt_type;
unsigned char b_crypt_key[128];
-
- void (*rx_data)(struct bchannel *bchannel, unsigned char *data, int len);
- void (*rx_dtmf)(struct bchannel *bchannel, char tone);
};
@@ -45,6 +42,7 @@ int bchannel_create(struct bchannel *channel);
void bchannel_activate(struct bchannel *channel, int activate);
void bchannel_transmit(struct bchannel *channel, unsigned char *data, int len);
void bchannel_join(struct bchannel *channel, unsigned short id);
+void bchannel_dtmf(struct bchannel *channel, int on);
int bchannel_handle(void);
struct bchannel *find_bchannel_handle(unsigned long handle);
//struct bchannel *find_bchannel_ref(unsigned long ref);