diff options
author | Mark Spencer <markster@digium.com> | 2005-04-13 18:46:35 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2005-04-13 18:46:35 +0000 |
commit | 8d1744dd292fa84b615ccf30b849fdcccfafc3a8 (patch) | |
tree | ed66eb46d3b93acb448045522a038880b557ffee /include/asterisk | |
parent | 42da18ec5f2d9a20782078637bd303bb10691c3d (diff) |
Add sched_when function (bug #4022)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk')
-rwxr-xr-x | include/asterisk/sched.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asterisk/sched.h b/include/asterisk/sched.h index 40cc391e6..a97dce8d6 100755 --- a/include/asterisk/sched.h +++ b/include/asterisk/sched.h @@ -102,6 +102,13 @@ extern int ast_sched_runq(struct sched_context *con); */ extern void ast_sched_dump(struct sched_context *con); +/*!Returns the number of seconds before an event takes place */ +/*! + * \param con Context to use + * \param id Id to dump + */ +extern long ast_sched_when(struct sched_context *con,int id); + /* *! Convenience macro for objects and reference (add) * |