mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-11 15:18:38 +00:00
Fix some incorrect documentation of sched_thread functions.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@214650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -349,8 +349,8 @@ struct ast_sched_thread *ast_sched_thread_destroy(struct ast_sched_thread *st);
|
|||||||
* \param cb the function to call when the scheduled time arrives
|
* \param cb the function to call when the scheduled time arrives
|
||||||
* \param data the parameter to pass to the scheduler callback
|
* \param data the parameter to pass to the scheduler callback
|
||||||
*
|
*
|
||||||
* \retval 0 success
|
* \retval -1 Failure
|
||||||
* \retval non-zero failure
|
* \retval >=0 Sched ID of added task
|
||||||
*/
|
*/
|
||||||
int ast_sched_thread_add(struct ast_sched_thread *st, int when, ast_sched_cb cb,
|
int ast_sched_thread_add(struct ast_sched_thread *st, int when, ast_sched_cb cb,
|
||||||
const void *data);
|
const void *data);
|
||||||
@@ -369,8 +369,8 @@ int ast_sched_thread_add(struct ast_sched_thread *st, int when, ast_sched_cb cb,
|
|||||||
* non-zero means re-schedule using the time provided when the scheduler
|
* non-zero means re-schedule using the time provided when the scheduler
|
||||||
* entry was first created.
|
* entry was first created.
|
||||||
*
|
*
|
||||||
* \retval 0 success
|
* \retval -1 Failure
|
||||||
* \retval non-zero failure
|
* \retval >=0 Sched ID of added task
|
||||||
*/
|
*/
|
||||||
int ast_sched_thread_add_variable(struct ast_sched_thread *st, int when, ast_sched_cb cb,
|
int ast_sched_thread_add_variable(struct ast_sched_thread *st, int when, ast_sched_cb cb,
|
||||||
const void *data, int variable);
|
const void *data, int variable);
|
||||||
|
Reference in New Issue
Block a user