[svn-commits] dlee: branch dlee/stasis-app r381818 - in /team/dlee/stasis-app: apps/ tests/
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Feb 20 08:35:37 CST 2013
Author: dlee
Date: Wed Feb 20 08:35:33 2013
New Revision: 381818
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=381818
Log:
Yet more cleanup
Modified:
team/dlee/stasis-app/apps/app_stasis.c
team/dlee/stasis-app/tests/test_app_stasis.c
Modified: team/dlee/stasis-app/apps/app_stasis.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-app/apps/app_stasis.c?view=diff&rev=381818&r1=381817&r2=381818
==============================================================================
--- team/dlee/stasis-app/apps/app_stasis.c (original)
+++ team/dlee/stasis-app/apps/app_stasis.c Wed Feb 20 08:35:33 2013
@@ -42,7 +42,7 @@
/*** DOCUMENTATION
<application name="Stasis" language="en_US">
- <synopsis>Invoke an extenal Stasis application.</synopsis>
+ <synopsis>Invoke an external Stasis application.</synopsis>
<syntax>
<parameter name="app_name" required="true">
<para>Name of the application to invoke.</para>
@@ -52,21 +52,29 @@
</parameter>
</syntax>
<description>
- <para>Invoke an extenal Stasis application.</para>
+ <para>
+ Invoke an external Stasis application.
+ </para>
</description>
</application>
***/
-/*! Maximum number of arguments for the Stasis dialplan application */
+/*! \brief Maximum number of arguments for the Stasis dialplan application */
#define MAX_ARGS 128
-/*! Dialplan application name */
+/*! \brief Dialplan application name */
static const char *stasis = "Stasis";
-/*! Number of buckets for the Stasis application hash table. Remember to keep it a prime number! */
+/*!
+ * \brief Number of buckets for the Stasis application hash table. Remember to
+ * keep it a prime number!
+ */
#define APPS_NUM_BUCKETS 127
-/*! Stasis application container. Please call stasis_apps() instead. */
+/*!
+ * \brief Stasis application container. Please call stasis_apps() instead of
+ * directly accessing.
+ */
struct ao2_container *__stasis_apps;
/*! Ref-counting accessor for the stasis applications container */
@@ -76,7 +84,7 @@
return __stasis_apps;
}
-/*! Stasis application ref */
+/*! \brief Stasis application ref */
struct stasis_app {
/*! Name of the Stasis application */
char *name;
@@ -84,7 +92,9 @@
stasis_app_handler handler;
/*! Opaque data to hand to callback function. */
void *data;
- /*! When set, /c app_stasis should exit and continue in the dialplan */
+ /*!
+ * When set, /c app_stasis should exit and continue in the dialplan.
+ */
int continue_to_dialplan:1;
};
Modified: team/dlee/stasis-app/tests/test_app_stasis.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-app/tests/test_app_stasis.c?view=diff&rev=381818&r1=381817&r2=381818
==============================================================================
--- team/dlee/stasis-app/tests/test_app_stasis.c (original)
+++ team/dlee/stasis-app/tests/test_app_stasis.c Wed Feb 20 08:35:33 2013
@@ -98,7 +98,6 @@
RAII_VAR(struct ast_json *, message, NULL, ast_json_unref);
int res;
-
switch (cmd) {
case TEST_INIT:
info->name = __func__;
@@ -133,7 +132,6 @@
RAII_VAR(struct ast_json *, message, NULL, ast_json_unref);
RAII_VAR(struct ast_json *, expected_message2, NULL, ast_json_unref);
int res;
-
switch (cmd) {
case TEST_INIT:
More information about the svn-commits
mailing list