summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2002-06-19 02:35:40 +0000
committerMark Spencer <markster@digium.com>2002-06-19 02:35:40 +0000
commited6b4c821e61d95afb7aefd2ca9b179a1a6d98c9 (patch)
tree3ff15e070e8ca74e6aca37f815772ec2f59b4e2f /include/asterisk
parentede7bca2a7f0c64b0244626bbbbfbcc4dbd946eb (diff)
Version 0.1.12 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk')
-rwxr-xr-xinclude/asterisk/channel_pvt.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/asterisk/channel_pvt.h b/include/asterisk/channel_pvt.h
index 0085762fd..99515611f 100755
--- a/include/asterisk/channel_pvt.h
+++ b/include/asterisk/channel_pvt.h
@@ -24,6 +24,8 @@ extern "C" {
struct ast_channel_pvt {
/*! Private data used by channel backend */
void *pvt;
+ struct ast_frame *readq;
+ int alertpipe[2];
/*! Write translation path */
struct ast_trans_pvt *writetrans;
/*! Read translation path */
@@ -67,7 +69,14 @@ struct ast_channel_pvt {
//! Create a channel structure
/*! Returns NULL on failure to allocate */
-struct ast_channel *ast_channel_alloc(void);
+struct ast_channel *ast_channel_alloc(int needalertpipe);
+
+/*! Queue an outgoing frame, locking if necessary */
+int ast_queue_frame(struct ast_channel *chan, struct ast_frame *f, int lock);
+
+int ast_queue_hangup(struct ast_channel *chan, int lock);
+
+int ast_queue_control(struct ast_channel *chan, int control, int lock);
//! Free a channel structure
void ast_channel_free(struct ast_channel *);