diff --git a/http.c b/http.c index c840464f654dd655e6295c27f5c6ee2c2f4f2694..fca076327736e05a7ead995a99af05c5ca20f400 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;