aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-12 23:44:20 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-12 23:44:20 +0000
commitdaf95de377fff18af5b9d9c24f1a8f353a1f465c (patch)
treeb4f451a9593bedd2c9171dc8d03ca89228930385
parent8a1c2d1509f49f43f4fdb91ec7e314eb553203f8 (diff)
Doxygen fixes.
Also fix a common typo I kept seeing (arguement) in various files. Closes issue #11222, patch by snuffy (with arguement > argument by me). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89202 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_unistim.c2
-rw-r--r--include/asterisk/cli.h14
-rw-r--r--include/asterisk/config.h2
-rw-r--r--include/asterisk/pbx.h2
-rw-r--r--include/asterisk/stringfields.h4
-rw-r--r--main/ast_expr2f.c4
-rw-r--r--pbx/pbx_lua.c2
-rw-r--r--res/res_clioriginate.c4
-rw-r--r--res/res_config_sqlite.c6
-rw-r--r--res/res_convert.c6
-rw-r--r--res/res_crypto.c12
-rw-r--r--res/res_features.c2
-rw-r--r--res/res_monitor.c4
13 files changed, 35 insertions, 29 deletions
diff --git a/channels/chan_unistim.c b/channels/chan_unistim.c
index 37a2f5910..f96eb360c 100644
--- a/channels/chan_unistim.c
+++ b/channels/chan_unistim.c
@@ -386,7 +386,7 @@ struct unistim_line {
ast_mutex_t lock;
/*! Like 200 */
char name[80];
- /*! Like USTM/200@black */
+ /*! Like USTM/200\@black */
char fullname[80];
/*! pointer to our current connection, channel... */
struct unistim_subchannel *subs[MAX_SUBS];
diff --git a/include/asterisk/cli.h b/include/asterisk/cli.h
index f478c4eb0..d0db49f48 100644
--- a/include/asterisk/cli.h
+++ b/include/asterisk/cli.h
@@ -220,6 +220,8 @@ char *ast_cli_complete(const char *word, char *const choices[], int pos);
/*!
* \brief Interprets a command
* Interpret a command s, sending output to fd
+ * \param fd pipe
+ * \param s incoming string
* \retval 0 on success
* \retval -1 on failure
*/
@@ -227,14 +229,16 @@ int ast_cli_command(int fd, const char *s);
/*!
* \brief Executes multiple CLI commands
- * Interpret strings separated by '\0' and execute each one, sending output to fd
+ * Interpret strings separated by NULL and execute each one, sending output to fd
+ * \param fd pipe
* \param size is the total size of the string
+ * \param s incoming string
* \retval number of commands executed
*/
int ast_cli_command_multiple(int fd, size_t size, const char *s);
/*! \brief Registers a command or an array of commands
- * \param e which cli entry to register
+ * \param e which cli entry to register.
* Register your own command
* \retval 0 on success
* \retval -1 on failure
@@ -252,7 +256,7 @@ int ast_cli_register_multiple(struct ast_cli_entry *e, int len);
* \brief Unregisters a command or an array of commands
* \param e which cli entry to unregister
* Unregister your own command. You must pass a completed ast_cli_entry structure
- * \return 0.
+ * \return 0
*/
int ast_cli_unregister(struct ast_cli_entry *e);
@@ -280,14 +284,14 @@ int ast_cli_generatornummatches(const char *, const char *);
*
* The first entry (offset 0) of the result is the longest common substring
* in the results, useful to extend the string that has been completed.
- * Subsequent entries are all possible values, followe by a NULL.
+ * Subsequent entries are all possible values, followed by a NULL.
* All strings and the array itself are malloc'ed and must be freed
* by the caller.
*/
char **ast_cli_completion_matches(const char *, const char *);
/*!
- * \brief Command completion for the list of active channels
+ * \brief Command completion for the list of active channels.
*
* This can be called from a CLI command completion function that wants to
* complete from the list of active channels. 'rpos' is the required
diff --git a/include/asterisk/config.h b/include/asterisk/config.h
index 613867937..2064ba5e3 100644
--- a/include/asterisk/config.h
+++ b/include/asterisk/config.h
@@ -113,7 +113,7 @@ struct ast_variable *ast_category_root(struct ast_config *config, char *cat);
/*! \brief Goes through categories
* \param config Which config structure you wish to "browse"
* \param prev A pointer to a previous category.
- * This funtion is kind of non-intuitive in it's use. To begin, one passes NULL as the second arguement. It will return a pointer to the string of the first category in the file. From here on after, one must then pass the previous usage's return value as the second pointer, and it will return a pointer to the category name afterwards.
+ * This function is kind of non-intuitive in it's use. To begin, one passes NULL as the second argument. It will return a pointer to the string of the first category in the file. From here on after, one must then pass the previous usage's return value as the second pointer, and it will return a pointer to the category name afterwards.
*
* \retval a category on success
* \retval NULL on failure/no-more-categories
diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h
index 645c8eedd..3479d6f2b 100644
--- a/include/asterisk/pbx.h
+++ b/include/asterisk/pbx.h
@@ -529,6 +529,8 @@ int ast_extension_cmp(const char *a, const char *b);
* \param exten new extension to add
* \param priority priority of new extension
* \param callerid callerid of extension
+ * \param found
+ * \param combined_find_spawn
*
* This adds a new extension to the asterisk extension list.
*
diff --git a/include/asterisk/stringfields.h b/include/asterisk/stringfields.h
index efa290593..5fe0fc30f 100644
--- a/include/asterisk/stringfields.h
+++ b/include/asterisk/stringfields.h
@@ -303,8 +303,8 @@ int __ast_string_field_init(struct ast_string_field_mgr *mgr,
\param x Pointer to a structure containing fields
\param field Name of the field to set
\param fmt printf-style format string
- \param args1 arguement one
- \param args2 arguement two
+ \param args1 argument one
+ \param args2 argument two
\return nothing
*/
#define ast_string_field_build_va(x, field, fmt, args1, args2) \
diff --git a/main/ast_expr2f.c b/main/ast_expr2f.c
index c9ae8defd..a39af463f 100644
--- a/main/ast_expr2f.c
+++ b/main/ast_expr2f.c
@@ -2774,7 +2774,7 @@ YY_BUFFER_STATE ast_yy_scan_buffer (char * base, yy_size_t size , yyscan_t yys
/** Setup the input buffer state to scan a string. The next call to ast_yylex() will
* scan from a @e copy of @a str.
- * @param str a NUL-terminated string to scan
+ * @param yy_str a NUL-terminated string to scan
* @param yyscanner The scanner object.
* @return the newly allocated buffer state object.
* @note If you want to scan bytes that may contain NUL values, then use
@@ -2950,7 +2950,7 @@ void ast_yyset_lineno (int line_number , yyscan_t yyscanner)
}
/** Set the current column.
- * @param line_number
+ * @param column_no
* @param yyscanner The scanner object.
*/
void ast_yyset_column (int column_no , yyscan_t yyscanner)
diff --git a/pbx/pbx_lua.c b/pbx/pbx_lua.c
index 0465ff972..c4701b3d0 100644
--- a/pbx/pbx_lua.c
+++ b/pbx/pbx_lua.c
@@ -868,9 +868,9 @@ static char *lua_read_extensions_file(lua_State *L, long *size)
* \brief Load the extensions.lua file from the internal buffer
*
* \param L the lua_State to use
+ * \param chan channel to work on
*
* This function also sets up some constructs used by the extensions.lua file.
- *
* In the event of an error, an error string will be pushed onto the lua stack.
*
* \retval 0 success
diff --git a/res/res_clioriginate.c b/res/res_clioriginate.c
index a0e598434..09cde4d7c 100644
--- a/res/res_clioriginate.c
+++ b/res/res_clioriginate.c
@@ -117,9 +117,9 @@ static char *orig_exten(int fd, const char *chan, const char *data)
* \brief handle for orgination app or exten.
* \param e pointer to the CLI structure to initialize
* \param cmd operation to execute
- * \param a structure that contains either application or extension arguements
+ * \param a structure that contains either application or extension arguments
* \retval CLI_SUCCESS on success.
- * \retval CLI_SHOWUSAGE on failure.
+ * \retval CLI_SHOWUSAGE on failure.
*/
static char *handle_orig(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
{
diff --git a/res/res_config_sqlite.c b/res/res_config_sqlite.c
index ae44caf8f..d05a38237 100644
--- a/res/res_config_sqlite.c
+++ b/res/res_config_sqlite.c
@@ -448,9 +448,9 @@ static int realtime_destroy_handler(const char *database, const char *table,
/*!
* \brief Asterisk callback function for the CLI status command.
*
- * \param fd file descriptor provided by Asterisk to use with ast_cli()
- * \param argc number of arguments
- * \param argv arguments list
+ * \param e CLI command
+ * \param cmd
+ * \param a CLI argument list
* \return RESULT_SUCCESS
*/
static char *handle_cli_show_sqlite_status(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a);
diff --git a/res/res_convert.c b/res/res_convert.c
index 974cf6ab7..c91c5e7ee 100644
--- a/res/res_convert.c
+++ b/res/res_convert.c
@@ -58,9 +58,9 @@ static int split_ext(char *filename, char **name, char **ext)
/*!
* \brief Convert a file from one format to another
- * \param fd file descriptor
- * \param argc no arguements
- * \param argv list of arguements
+ * \param e CLI entry
+ * \param cmd command number
+ * \param a list of cli arguments
* \retval CLI_SUCCESS on success.
* \retval CLI_SHOWUSAGE or CLI_FAILURE on failure.
*/
diff --git a/res/res_crypto.c b/res/res_crypto.c
index b32837b34..e76cab2e8 100644
--- a/res/res_crypto.c
+++ b/res/res_crypto.c
@@ -494,9 +494,9 @@ static void md52sum(char *sum, unsigned char *md5)
/*!
* \brief show the list of RSA keys
- * \param fd file descriptor
- * \param argc no of arguements
- * \param argv list of arguements
+ * \param e CLI command
+ * \param cmd
+ * \param a list of CLI arguments
* \return RESULT_SUCCESS
*/
static char *handle_cli_keys_show(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
@@ -540,9 +540,9 @@ static char *handle_cli_keys_show(struct ast_cli_entry *e, int cmd, struct ast_c
/*!
* \brief initialize all RSA keys
- * \param fd file descriptor
- * \param argc no of arguements
- * \param argv list of arguements
+ * \param e CLI command
+ * \param cmd
+ * \param a list of CLI arguments
* \return RESULT_SUCCESS
*/
static char *handle_cli_keys_init(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
diff --git a/res/res_features.c b/res/res_features.c
index e4fec5305..56053f91d 100644
--- a/res/res_features.c
+++ b/res/res_features.c
@@ -2583,7 +2583,7 @@ static int action_bridge(struct mansession *s, const struct message *m)
*
* Check right usage, lock parking lot, display parked calls, unlock parking lot list.
* \retval CLI_SUCCESS on success.
- * \retval CLI_SHOWUSAGE on incorrect number of arguements.
+ * \retval CLI_SHOWUSAGE on incorrect number of arguments.
* \retval NULL when tab completion is used.
*/
static char *handle_parkedcalls(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
diff --git a/res/res_monitor.c b/res/res_monitor.c
index ec770ea61..3a5aa5914 100644
--- a/res/res_monitor.c
+++ b/res/res_monitor.c
@@ -80,7 +80,7 @@ static char *monitor_descrip = " Monitor([file_format[:urlbase],[fname_base],[o
" and a target mixed file name which is the same as the leg file names\n"
" only without the in/out designator.\n"
" If MONITOR_EXEC_ARGS is set, the contents will be passed on as\n"
-" additional arguements to MONITOR_EXEC\n"
+" additional arguments to MONITOR_EXEC\n"
" Both MONITOR_EXEC and the Mix flag can be set from the\n"
" administrator interface\n"
"\n"
@@ -419,7 +419,7 @@ int ast_monitor_change_fname(struct ast_channel *chan, const char *fname_base, i
/*!
* \brief Start monitor
* \param chan
- * \param data arguements passed fname|options
+ * \param data arguments passed fname|options
* \retval 0 on success.
* \retval -1 on failure.
*/