summaryrefslogtreecommitdiff
path: root/main/pbx.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/pbx.c')
-rw-r--r--main/pbx.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/main/pbx.c b/main/pbx.c
index 1de2f09b0..5fb02016b 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -3967,15 +3967,15 @@ static char *handle_set_global(struct ast_cli_entry *e, int cmd, struct ast_cli_
* CLI entries for upper commands ...
*/
static struct ast_cli_entry pbx_cli[] = {
- AST_CLI(handle_show_applications, "Shows registered dialplan applications"),
- AST_CLI(handle_show_functions, "Shows registered dialplan functions"),
- AST_CLI(handle_show_switches, "Show alternative switches"),
- AST_CLI(handle_show_hints, "Show dialplan hints"),
- AST_CLI(handle_show_globals, "Show global dialplan variables"),
- AST_CLI(handle_show_function, "Describe a specific dialplan function"),
- AST_CLI(handle_show_application, "Describe a specific dialplan application"),
- AST_CLI(handle_set_global, "Set global dialplan variable"),
- AST_CLI(handle_show_dialplan, "Show dialplan"),
+ AST_CLI_DEFINE(handle_show_applications, "Shows registered dialplan applications"),
+ AST_CLI_DEFINE(handle_show_functions, "Shows registered dialplan functions"),
+ AST_CLI_DEFINE(handle_show_switches, "Show alternative switches"),
+ AST_CLI_DEFINE(handle_show_hints, "Show dialplan hints"),
+ AST_CLI_DEFINE(handle_show_globals, "Show global dialplan variables"),
+ AST_CLI_DEFINE(handle_show_function, "Describe a specific dialplan function"),
+ AST_CLI_DEFINE(handle_show_application, "Describe a specific dialplan application"),
+ AST_CLI_DEFINE(handle_set_global, "Set global dialplan variable"),
+ AST_CLI_DEFINE(handle_show_dialplan, "Show dialplan"),
};
static void unreference_cached_app(struct ast_app *app)