mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 02:26:23 +00:00
Fix some doxygen, typos and whitespace
This commit is contained in:
@@ -167,12 +167,12 @@ struct aco_file {
|
||||
};
|
||||
|
||||
struct aco_info {
|
||||
const char *module; /*!< The name of the module whose config is being processed */
|
||||
unsigned int hidden:1; /*!< If enabled, this config item is hidden from users */
|
||||
aco_pre_apply_config pre_apply_config; /*!< A callback called after processing, but before changes are applied */
|
||||
const char *module; /*!< The name of the module whose config is being processed */
|
||||
unsigned int hidden:1; /*!< If enabled, this config item is hidden from users */
|
||||
aco_pre_apply_config pre_apply_config; /*!< A callback called after processing, but before changes are applied */
|
||||
aco_post_apply_config post_apply_config;/*!< A callback called after changes are applied */
|
||||
aco_snapshot_alloc snapshot_alloc; /*!< Allocate an object to hold all global configs and item containers */
|
||||
struct ao2_global_obj *global_obj; /*!< The global object array that holds the user-defined config object */
|
||||
aco_snapshot_alloc snapshot_alloc; /*!< Allocate an object to hold all global configs and item containers */
|
||||
struct ao2_global_obj *global_obj; /*!< The global object array that holds the user-defined config object */
|
||||
struct aco_info_internal *internal;
|
||||
struct aco_file *files[]; /*!< An array of aco_files to process */
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#define EVENTLOG "event_log"
|
||||
#define QUEUELOG "queue_log"
|
||||
#define QUEUELOG "queue_log"
|
||||
|
||||
#define DEBUG_M(a) { \
|
||||
a; \
|
||||
@@ -55,7 +55,7 @@ extern "C" {
|
||||
#define AST_CALLID_BUFFER_LENGTH 13
|
||||
|
||||
enum ast_logger_results {
|
||||
AST_LOGGER_SUCCESS = 0, /*!< Log channel was created or deleted successfully*/
|
||||
AST_LOGGER_SUCCESS = 0, /*!< Log channel was created or deleted successfully */
|
||||
AST_LOGGER_FAILURE = 1, /*!< Log channel already exists for create or doesn't exist for deletion of log channel */
|
||||
AST_LOGGER_DECLINE = -1, /*!< Log channel request was not accepted */
|
||||
AST_LOGGER_ALLOC_ERROR = -2 /*!< filename allocation error */
|
||||
@@ -68,7 +68,7 @@ enum ast_logger_results {
|
||||
on which log you wish to output to. These are implemented as macros, that
|
||||
will provide the function with the needed arguments.
|
||||
|
||||
\param level Type of log event
|
||||
\param level Type of log event
|
||||
\param file Will be provided by the AST_LOG_* macro
|
||||
\param line Will be provided by the AST_LOG_* macro
|
||||
\param function Will be provided by the AST_LOG_* macro
|
||||
@@ -162,7 +162,9 @@ void __attribute__((format(printf, 5, 6))) ast_queue_log(const char *queuename,
|
||||
*
|
||||
* \details This works like ast_log, but prints verbose messages to the console depending on verbosity level set.
|
||||
*
|
||||
* \code
|
||||
* ast_verbose(VERBOSE_PREFIX_3 "Whatever %s is happening\n", "nothing");
|
||||
* \endcode
|
||||
*
|
||||
* This will print the message to the console if the verbose level is set to a level >= 3
|
||||
*
|
||||
@@ -224,9 +226,9 @@ void ast_console_toggle_mute(int fd, int silent);
|
||||
|
||||
/*!
|
||||
* \brief enables or disables logging of a specified level to the console
|
||||
* fd specifies the index of the console receiving the level change
|
||||
* level specifies the index of the logging level being toggled
|
||||
* state indicates whether logging will be on or off (0 for off, 1 for on)
|
||||
* \param fd specifies the index of the console receiving the level change
|
||||
* \param level specifies the index of the logging level being toggled
|
||||
* \param state indicates whether logging will be on or off (0 for off, 1 for on)
|
||||
*/
|
||||
void ast_console_toggle_loglevel(int fd, int level, int state);
|
||||
|
||||
@@ -365,7 +367,7 @@ const char *ast_logger_get_dateformat(void);
|
||||
ast_callid ast_create_callid(void);
|
||||
|
||||
/*!
|
||||
* \brief extracts the callerid from the thread
|
||||
* \brief extracts the callid from the thread
|
||||
*
|
||||
* \retval Non-zero Call id related to the thread
|
||||
* \retval 0 if no call_id is present in the thread
|
||||
|
@@ -340,10 +340,6 @@ int ast_refer_notify_transfer_request(struct ast_channel *originating_chan, cons
|
||||
const char *protocol_id, struct ast_channel *dest, struct ast_refer_params *params,
|
||||
enum ast_control_transfer state);
|
||||
|
||||
/*!
|
||||
* @}
|
||||
*/
|
||||
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user