summaryrefslogtreecommitdiff
path: root/include/asterisk/channel_pvt.h
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2001-03-10 19:12:11 +0000
committerMark Spencer <markster@digium.com>2001-03-10 19:12:11 +0000
commit7157261be4bc6700118cb8a405302a61a8d91c8b (patch)
treec16bdd5583e05977a7893075e3b541e1a3afa073 /include/asterisk/channel_pvt.h
parent22318b627d954c5a555abe5a5b002af5855e5023 (diff)
Version 0.1.7 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/channel_pvt.h')
-rwxr-xr-xinclude/asterisk/channel_pvt.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asterisk/channel_pvt.h b/include/asterisk/channel_pvt.h
index 8657d4d58..7fc464ebb 100755
--- a/include/asterisk/channel_pvt.h
+++ b/include/asterisk/channel_pvt.h
@@ -24,6 +24,14 @@ extern "C" {
struct ast_channel_pvt {
/* Private data used by channel backend */
void *pvt;
+ /* Write translation path */
+ struct ast_trans_pvt *writetrans;
+ /* Read translation path */
+ struct ast_trans_pvt *readtrans;
+ /* Raw read format */
+ int rawreadformat;
+ /* Raw write format */
+ int rawwriteformat;
/* Send a literal DTMF digit */
int (*send_digit)(struct ast_channel *chan, char digit);
/* Call a given phone number (address, etc), but don't
@@ -39,6 +47,10 @@ struct ast_channel_pvt {
int (*write)(struct ast_channel *chan, struct ast_frame *frame);
/* Display or transmit text */
int (*send_text)(struct ast_channel *chan, char *text);
+ /* Handle an exception, reading a frame */
+ struct ast_frame * (*exception)(struct ast_channel *chan);
+ /* Bridge two channels of the same type together */
+ int (*bridge)(struct ast_channel *c0, struct ast_channel *c1, int flags, struct ast_frame **fo, struct ast_channel **rc);
};
/* Create a channel structure */