summaryrefslogtreecommitdiff
path: root/pbx
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2006-12-06 07:28:56 +0000
committerRussell Bryant <russell@russellbryant.com>2006-12-06 07:28:56 +0000
commit17a2888d2ecce2be86805e0350fa68c6a2298b71 (patch)
tree27838547cec4633c54c59f30624fe0e640633c38 /pbx
parenta44e55a3f3efdc5dde27954dfcf5e1e5da579971 (diff)
Staticize one, and Constify a bunch of usage strings for CLI commands.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx')
-rw-r--r--pbx/pbx_dundi.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c
index 91fb8955c..44f6c2c38 100644
--- a/pbx/pbx_dundi.c
+++ b/pbx/pbx_dundi.c
@@ -2631,71 +2631,71 @@ static int dundi_show_precache(int fd, int argc, char *argv[])
#undef FORMAT2
}
-static char debug_usage[] =
+static const char debug_usage[] =
"Usage: dundi debug\n"
" Enables dumping of DUNDi packets for debugging purposes\n";
-static char no_debug_usage[] =
+static const char no_debug_usage[] =
"Usage: dundi no debug\n"
" Disables dumping of DUNDi packets for debugging purposes\n";
-static char store_history_usage[] =
+static const char store_history_usage[] =
"Usage: dundi store history\n"
" Enables storing of DUNDi requests and times for debugging\n"
"purposes\n";
-static char no_store_history_usage[] =
+static const char no_store_history_usage[] =
"Usage: dundi no store history\n"
" Disables storing of DUNDi requests and times for debugging\n"
"purposes\n";
-static char show_peers_usage[] =
+static const char show_peers_usage[] =
"Usage: dundi show peers\n"
" Lists all known DUNDi peers.\n";
-static char show_trans_usage[] =
+static const char show_trans_usage[] =
"Usage: dundi show trans\n"
" Lists all known DUNDi transactions.\n";
-static char show_mappings_usage[] =
+static const char show_mappings_usage[] =
"Usage: dundi show mappings\n"
" Lists all known DUNDi mappings.\n";
-static char show_precache_usage[] =
+static const char show_precache_usage[] =
"Usage: dundi show precache\n"
" Lists all known DUNDi scheduled precache updates.\n";
-static char show_entityid_usage[] =
+static const char show_entityid_usage[] =
"Usage: dundi show entityid\n"
" Displays the global entityid for this host.\n";
-static char show_peer_usage[] =
+static const char show_peer_usage[] =
"Usage: dundi show peer [peer]\n"
" Provide a detailed description of a specifid DUNDi peer.\n";
-static char show_requests_usage[] =
+static const char show_requests_usage[] =
"Usage: dundi show requests\n"
" Lists all known pending DUNDi requests.\n";
-static char lookup_usage[] =
+static const char lookup_usage[] =
"Usage: dundi lookup <number>[@context] [bypass]\n"
" Lookup the given number within the given DUNDi context\n"
"(or e164 if none is specified). Bypasses cache if 'bypass'\n"
"keyword is specified.\n";
-static char precache_usage[] =
+static const char precache_usage[] =
"Usage: dundi precache <number>[@context]\n"
" Lookup the given number within the given DUNDi context\n"
"(or e164 if none is specified) and precaches the results to any\n"
"upstream DUNDi push servers.\n";
-static char query_usage[] =
+static const char query_usage[] =
"Usage: dundi query <entity>[@context]\n"
" Attempts to retrieve contact information for a specific\n"
"DUNDi entity identifier (EID) within a given DUNDi context (or\n"
"e164 if none is specified).\n";
-static char flush_usage[] =
+static const char flush_usage[] =
"Usage: dundi flush [stats]\n"
" Flushes DUNDi answer cache, used primarily for debug. If\n"
"'stats' is present, clears timer statistics instead of normal\n"