aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-05-12 04:23:55 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-05-12 04:23:55 +0000
commit57f1c73396a098a4ae9b93db577f7f13d4bf3a74 (patch)
treeea489daf4f7d64dce260b9e4c59e413de180437a /include
parent11dc83355e514517f8a7e5bb6b5a9de05a41dca0 (diff)
Use zaptel timers to wake up processes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1002 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-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