aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/channel_pvt.h
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2002-06-19 02:35:40 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2002-06-19 02:35:40 +0000
commita6b48f353a2b6e799b893cb0cce4db6ccacd9a03 (patch)
tree3ff15e070e8ca74e6aca37f815772ec2f59b4e2f /include/asterisk/channel_pvt.h
parent086b38c816adbabf3451bf9b7adee64bf2cb9c9b (diff)
Version 0.1.12 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@462 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/channel_pvt.h')
-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 *);