diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-04-13 18:46:35 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-04-13 18:46:35 +0000 |
commit | a5898b4c0d9f7147f38315d743ca62c16e2ac85c (patch) | |
tree | ed66eb46d3b93acb448045522a038880b557ffee /include | |
parent | 30a4d0bfa84b4ac6d7a2e43a265a7bb47db657ac (diff) |
Add sched_when function (bug #4022)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5466 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-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) * |