aboutsummaryrefslogtreecommitdiffstats
path: root/pbx/pbx_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'pbx/pbx_config.c')
-rwxr-xr-xpbx/pbx_config.c29
1 files changed, 16 insertions, 13 deletions
diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c
index e43f2e1bf..1bcb2f515 100755
--- a/pbx/pbx_config.c
+++ b/pbx/pbx_config.c
@@ -19,6 +19,7 @@
/*! \file
*
* \brief Populate and remember extensions from static config file
+ *
*
*/
@@ -120,14 +121,16 @@ static char reload_extensions_help[] =
* Implementation of functions provided by this module
*/
-/*
+/*!
* REMOVE INCLUDE command stuff
*/
static int handle_context_dont_include(int fd, int argc, char *argv[])
{
- if (argc != 5) return RESULT_SHOWUSAGE;
+ if (argc != 5)
+ return RESULT_SHOWUSAGE;
- if (strcmp(argv[3], "in")) return RESULT_SHOWUSAGE;
+ if (strcmp(argv[3], "in"))
+ return RESULT_SHOWUSAGE;
if (!ast_context_remove_include(argv[4], argv[2], registrar)) {
ast_cli(fd, "We are not including '%s' in '%s' now\n",
@@ -361,7 +364,7 @@ static char *complete_context_dont_include(char *line, char *word,
return NULL;
}
-/*
+/*!
* REMOVE EXTENSION command stuff
*/
static int handle_context_remove_extension(int fd, int argc, char *argv[])
@@ -701,7 +704,7 @@ static char *complete_context_remove_extension(char *line, char *word, int pos,
return NULL;
}
-/*
+/*!
* Include context ...
*/
static int handle_context_add_include(int fd, int argc, char *argv[])
@@ -913,8 +916,8 @@ static char *complete_context_add_include(char *line, char *word, int pos,
return NULL;
}
-/*
- * 'save dialplan' CLI command implementation functions ...
+/*!
+ * \brief 'save dialplan' CLI command implementation functions ...
*/
static int handle_save_dialplan(int fd, int argc, char *argv[])
{
@@ -1151,8 +1154,8 @@ static int handle_save_dialplan(int fd, int argc, char *argv[])
return RESULT_SUCCESS;
}
-/*
- * ADD EXTENSION command stuff
+/*!
+ * \brief ADD EXTENSION command stuff
*/
static int handle_context_add_extension(int fd, int argc, char *argv[])
{
@@ -1239,7 +1242,7 @@ static int handle_context_add_extension(int fd, int argc, char *argv[])
return RESULT_SUCCESS;
}
-/* add extension 6123,1,Dial,IAX/212.71.138.13/6123 into local */
+/*! add extension 6123,1,Dial,IAX/212.71.138.13/6123 into local */
static char *complete_context_add_extension(char *line, char *word,
int pos, int state)
{
@@ -1284,7 +1287,7 @@ static char *complete_context_add_extension(char *line, char *word,
return NULL;
}
-/*
+/*!
* IGNOREPAT CLI stuff
*/
static int handle_context_add_ignorepat(int fd, int argc, char *argv[])
@@ -1542,7 +1545,7 @@ static char *complete_context_remove_ignorepat(char *line, char *word,
return NULL;
}
-/*
+/*!
* CLI entries for commands provided by this module
*/
static struct ast_cli_entry context_dont_include_cli =
@@ -1583,7 +1586,7 @@ static struct ast_cli_entry reload_extensions_cli =
{ { "extensions", "reload", NULL}, handle_reload_extensions,
"Reload extensions and *only* extensions", reload_extensions_help };
-/*
+/*!
* Standard module functions ...
*/
int unload_module(void)