[asterisk-commits] dlee: branch dlee/ari-url-shuffle r391733 - in /team/dlee/ari-url-shuffle: in...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 13 17:00:41 CDT 2013


Author: dlee
Date: Thu Jun 13 17:00:39 2013
New Revision: 391733

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=391733
Log:
cleanup

Modified:
    team/dlee/ari-url-shuffle/include/asterisk/stasis_http.h
    team/dlee/ari-url-shuffle/rest-api-templates/stasis_http_resource.h.mustache

Modified: team/dlee/ari-url-shuffle/include/asterisk/stasis_http.h
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ari-url-shuffle/include/asterisk/stasis_http.h?view=diff&rev=391733&r1=391732&r2=391733
==============================================================================
--- team/dlee/ari-url-shuffle/include/asterisk/stasis_http.h (original)
+++ team/dlee/ari-url-shuffle/include/asterisk/stasis_http.h Thu Jun 13 17:00:39 2013
@@ -82,7 +82,7 @@
 	 * See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html */
 	int response_code;
 	/*! Corresponding text for the response code */
-	const char *response_text; // Shouldn't http.c handle this?
+	const char *response_text; /* Shouldn't http.c handle this? */
 	/*! Flag to indicate that no further response is needed */
 	int no_response:1;
 };
@@ -170,15 +170,6 @@
 	struct ast_json *message);
 
 /*!
- * \internal
- * \brief Stasis WebSocket connection handler
- * \param session WebSocket session.
- * \param parameters HTTP \c GET parameters.
- * \param headers HTTP headers.
- */
-void stasis_websocket_callback(struct ast_websocket *session, struct ast_variable *parameters, struct ast_variable *headers);
-
-/*!
  * \brief The stock message to return when out of memory.
  *
  * The refcount is NOT bumped on this object, so ast_json_ref() if you want to

Modified: team/dlee/ari-url-shuffle/rest-api-templates/stasis_http_resource.h.mustache
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ari-url-shuffle/rest-api-templates/stasis_http_resource.h.mustache?view=diff&rev=391733&r1=391732&r2=391733
==============================================================================
--- team/dlee/ari-url-shuffle/rest-api-templates/stasis_http_resource.h.mustache (original)
+++ team/dlee/ari-url-shuffle/rest-api-templates/stasis_http_resource.h.mustache Thu Jun 13 17:00:39 2013
@@ -57,9 +57,9 @@
  * {{{notes}}}
 {{/notes}}
  *
- * \param headers HTTP headers
- * \param args Swagger parameters
- * \param[out] response HTTP response
+ * \param headers HTTP headers.
+ * \param args Swagger parameters.
+ * \param[out] response HTTP response.
  */
 void stasis_http_{{c_nickname}}(struct ast_variable *headers, struct ast_{{c_nickname}}_args *args, struct stasis_http_response *response);
 {{/is_req}}
@@ -71,8 +71,9 @@
  * {{{notes}}}
 {{/notes}}
  *
- * \param headers HTTP headers
- * \param args Swagger parameters
+ * \param session ARI WebSocket.
+ * \param headers HTTP headers.
+ * \param args Swagger parameters.
  */
 void ari_websocket_{{c_nickname}}(struct ari_websocket_session *session, struct ast_variable *headers, struct ast_{{c_nickname}}_args *args);
 {{/is_websocket}}




More information about the asterisk-commits mailing list