summaryrefslogtreecommitdiff
path: root/include/asterisk/http.h
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2007-06-07 23:07:25 +0000
committerRussell Bryant <russell@russellbryant.com>2007-06-07 23:07:25 +0000
commit1d57ccb6f70f41fb1a50fa9546b8a380bc234d5c (patch)
tree63511aee5f2aa3d7e507b9e82756c21260f94d8b /include/asterisk/http.h
parent0ac54224864a78d53827944aa1ebb0e79b526a61 (diff)
Fix a bunch of doxygen errors and document more things
(issue #9842, snuffy) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68339 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/http.h')
-rw-r--r--include/asterisk/http.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/http.h b/include/asterisk/http.h
index 9508188ab..9d92ef5a7 100644
--- a/include/asterisk/http.h
+++ b/include/asterisk/http.h
@@ -141,9 +141,11 @@ int ssl_setup(struct tls_config *cfg);
return the content, allocated with malloc(). Status should be changed to reflect
the status of the request if it isn't 200 and title may be set to a malloc()'d string
to an appropriate title for non-200 responses. Content length may also be specified.
+\verbatim
The return value may include additional headers at the front and MUST include a blank
line with \r\n to provide separation between user headers and content (even if no
content is specified)
+\endverbatim
*/
typedef struct ast_str *(*ast_http_callback)(struct sockaddr_in *requestor, const char *uri, struct ast_variable *params, int *status, char **title, int *contentlength);