Add sched_when function (bug #4022)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2005-04-13 18:46:35 +00:00
parent 42da18ec5f
commit 8d1744dd29
3 changed files with 33 additions and 1 deletions

View File

@@ -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)
*