aboutsummaryrefslogtreecommitdiffstats
path: root/http.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-26 16:48:47 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-26 16:48:47 +0000
commit90c64e1e8b39ebf387b351dc0c9c419b163e2620 (patch)
treef3ba7156f0aeb09343977062bd987e59c559ec26 /http.c
parentce80e21bd8f90e4915b328ef8fc05a3825688eeb (diff)
fix asterisk header include format and add the doxygen header
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15024 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'http.c')
-rw-r--r--http.c20
1 files changed, 13 insertions, 7 deletions
diff --git a/http.c b/http.c
index c840464f6..fca076327 100644
--- a/http.c
+++ b/http.c
@@ -16,6 +16,14 @@
* at the top of the source tree.
*/
+/*!
+ * \file
+ * \brief http server
+ *
+ * This program implements a tiny http server supporting the "get" method
+ * only and was inspired by micro-httpd by Jef Poskanzer
+ */
+
#include <sys/types.h>
#include <stdio.h>
#include <unistd.h>
@@ -30,17 +38,15 @@
#include <errno.h>
#include <fcntl.h>
#include <pthread.h>
-#include <asterisk/cli.h>
-#include <asterisk/http.h>
-#include <asterisk/utils.h>
-#include <asterisk/strings.h>
+
+#include "asterisk/cli.h"
+#include "asterisk/http.h"
+#include "asterisk/utils.h"
+#include "asterisk/strings.h"
#define MAX_PREFIX 80
#define DEFAULT_PREFIX "asterisk"
-/* This program implements a tiny http server supporting the "get" method
- only and was inspired by micro-httpd by Jef Poskanzer */
-
struct ast_http_server_instance {
FILE *f;
int fd;