mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-10 14:51:09 +00:00
Repair // comments to /* */ comments (bug #3347)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4806 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
//! Max num of schedule structs
|
||||
/*! Max num of schedule structs */
|
||||
/*!
|
||||
* The max number of schedule structs to keep around
|
||||
* for use. Undefine to disable schedule structure
|
||||
@@ -29,14 +29,14 @@ extern "C" {
|
||||
|
||||
struct sched_context;
|
||||
|
||||
//! New schedule context
|
||||
/*! New schedule context */
|
||||
/* !
|
||||
* Create a scheduling context
|
||||
* Returns a malloc'd sched_context structure, NULL on failure
|
||||
*/
|
||||
extern struct sched_context *sched_context_create(void);
|
||||
|
||||
//! destroys a schedule context
|
||||
/*! destroys a schedule context */
|
||||
/*!
|
||||
* \param c Context to free
|
||||
* Destroys (free's) the given sched_context structure
|
||||
@@ -44,7 +44,7 @@ extern struct sched_context *sched_context_create(void);
|
||||
*/
|
||||
void sched_context_destroy(struct sched_context *c);
|
||||
|
||||
//! callback for a cheops scheduler
|
||||
/*! callback for a cheops scheduler */
|
||||
/*!
|
||||
* A cheops scheduler callback takes a pointer with callback data and
|
||||
* returns a 0 if it should not be run again, or non-zero if it should be
|
||||
@@ -53,7 +53,7 @@ void sched_context_destroy(struct sched_context *c);
|
||||
typedef int (*ast_sched_cb)(void *data);
|
||||
#define AST_SCHED_CB(a) ((ast_sched_cb)(a))
|
||||
|
||||
//!Adds a scheduled event
|
||||
/*!Adds a scheduled event */
|
||||
/*!
|
||||
* \param con Schduler context to add
|
||||
* \param when how many milliseconds to wait for event to occur
|
||||
@@ -66,7 +66,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);
|
||||
|
||||
//! Deletes a scheduled event
|
||||
/*! Deletes a scheduled event */
|
||||
/*!
|
||||
* \param con scheduling context to delete item from
|
||||
* \param id ID of the scheduled item to delete
|
||||
@@ -76,7 +76,7 @@ extern int ast_sched_add(struct sched_context *con, int when, ast_sched_cb callb
|
||||
*/
|
||||
extern int ast_sched_del(struct sched_context *con, int id);
|
||||
|
||||
//! Determines number of seconds until the next outstanding event to take place
|
||||
/*! Determines number of seconds until the next outstanding event to take place */
|
||||
/*!
|
||||
* \param con context to act upon
|
||||
* Determine the number of seconds until the next outstanding event
|
||||
@@ -87,7 +87,7 @@ extern int ast_sched_del(struct sched_context *con, int id);
|
||||
*/
|
||||
extern int ast_sched_wait(struct sched_context *con);
|
||||
|
||||
//! Runs the queue
|
||||
/*! Runs the queue */
|
||||
/*!
|
||||
* \param con Scheduling context to run
|
||||
* Run the queue, executing all callbacks which need to be performed
|
||||
@@ -95,7 +95,7 @@ extern int ast_sched_wait(struct sched_context *con);
|
||||
*/
|
||||
extern int ast_sched_runq(struct sched_context *con);
|
||||
|
||||
//!Dumps the scheduler contents
|
||||
/*!Dumps the scheduler contents */
|
||||
/*!
|
||||
* \param con Context to dump
|
||||
* Debugging: Dump the contents of the scheduler to stderr
|
||||
|
Reference in New Issue
Block a user