aboutsummaryrefslogtreecommitdiffstats
path: root/main/db.c
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-19 18:29:40 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-19 18:29:40 +0000
commitd542122e6a00ac0c2ee0f5178a2b3682f0fd48c3 (patch)
tree449c79f9794d0470ca27cb420554eb128bee9d9e /main/db.c
parent4723d35127a1da861d28ce2ae2ee0e8bbd7c3e7b (diff)
Convert NEW_CLI to AST_CLI.
Closes issue #11039, as suggested by seanbright. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86536 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/db.c')
-rw-r--r--main/db.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/main/db.c b/main/db.c
index 58245c255..ba322d2a4 100644
--- a/main/db.c
+++ b/main/db.c
@@ -549,12 +549,12 @@ void ast_db_freetree(struct ast_db_entry *dbe)
}
struct ast_cli_entry cli_database[] = {
- NEW_CLI(handle_cli_database_show, "Shows database contents"),
- NEW_CLI(handle_cli_database_showkey, "Shows database contents"),
- NEW_CLI(handle_cli_database_get, "Gets database value"),
- NEW_CLI(handle_cli_database_put, "Adds/updates database value"),
- NEW_CLI(handle_cli_database_del, "Removes database key/value"),
- NEW_CLI(handle_cli_database_deltree, "Removes database keytree/values")
+ AST_CLI(handle_cli_database_show, "Shows database contents"),
+ AST_CLI(handle_cli_database_showkey, "Shows database contents"),
+ AST_CLI(handle_cli_database_get, "Gets database value"),
+ AST_CLI(handle_cli_database_put, "Adds/updates database value"),
+ AST_CLI(handle_cli_database_del, "Removes database key/value"),
+ AST_CLI(handle_cli_database_deltree, "Removes database keytree/values")
};
static int manager_dbput(struct mansession *s, const struct message *m)