summaryrefslogtreecommitdiff
path: root/include/asterisk/channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/channel.h')
-rwxr-xr-xinclude/asterisk/channel.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index c67dd58c4..97f8af91f 100755
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -112,6 +112,9 @@ struct ast_channel {
struct ast_filestream *stream;
/*! Original writer format */
int oldwriteformat;
+
+ /*! Timing fd */
+ int timingfd;
/*! State of line -- Don't write directly, use ast_setstate */
@@ -669,6 +672,10 @@ int ast_autoservice_start(struct ast_channel *chan);
/*! Stop servicing a channel for us... Returns -1 on error or if channel has been hungup */
int ast_autoservice_stop(struct ast_channel *chan);
+/* If built with zaptel optimizations, force a scheduled expiration on the
+ timer fd */
+int ast_settimeout(struct ast_channel *c, int ms);
+
/* Misc. functions below */
//! Waits for activity on a group of channels