mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-10 11:50:53 +00:00
add syntax to api structures, use them for usage returns, do more checking on valid usage and cleanup some output of api commands.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3001 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
2b53e80e34
commit
c822f94125
6 files changed
+83
-82
No files matched your search
@@ -33,7 +33,6 @@
|
||||
|
||||
static const char modname[] = "mod_dptools";
|
||||
|
||||
|
||||
static void transfer_function(switch_core_session_t *session, char *data)
|
||||
{
|
||||
int argc;
|
||||
@@ -133,7 +132,7 @@ static switch_api_interface_t dptools_api_interface = {
|
||||
/*.interface_name */ "strftime",
|
||||
/*.desc */ "strftime",
|
||||
/*.function */ strftime_api_function,
|
||||
/*.syntax */ NULL,
|
||||
/*.syntax */ "strftime <format_string>",
|
||||
/*.next */ NULL
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user