|
|
@ -72,7 +72,7 @@ typedef int (*ast_sched_cb)(void *data);
|
|
|
|
extern int ast_sched_add(struct sched_context *con, int when, ast_sched_cb callback, void *data);
|
|
|
|
extern int ast_sched_add(struct sched_context *con, int when, ast_sched_cb callback, void *data);
|
|
|
|
|
|
|
|
|
|
|
|
/*!Adds a scheduled event with rescheduling support
|
|
|
|
/*!Adds a scheduled event with rescheduling support
|
|
|
|
* \param con Scehduler context to add
|
|
|
|
* \param con Scheduler context to add
|
|
|
|
* \param when how many milliseconds to wait for event to occur
|
|
|
|
* \param when how many milliseconds to wait for event to occur
|
|
|
|
* \param callback function to call when the amount of time expires
|
|
|
|
* \param callback function to call when the amount of time expires
|
|
|
|
* \param data data to pass to the callback
|
|
|
|
* \param data data to pass to the callback
|
|
|
|