Skip to content
Snippets Groups Projects
Commit 813ab1af authored by Russell Bryant's avatar Russell Bryant
Browse files

fix asterisk header include format and add the doxygen header

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent d0b003a4
No related branches found
No related tags found
No related merge requests found
...@@ -16,6 +16,14 @@ ...@@ -16,6 +16,14 @@
* at the top of the source tree. * 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 <sys/types.h>
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
...@@ -30,17 +38,15 @@ ...@@ -30,17 +38,15 @@
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#include <pthread.h> #include <pthread.h>
#include <asterisk/cli.h>
#include <asterisk/http.h> #include "asterisk/cli.h"
#include <asterisk/utils.h> #include "asterisk/http.h"
#include <asterisk/strings.h> #include "asterisk/utils.h"
#include "asterisk/strings.h"
#define MAX_PREFIX 80 #define MAX_PREFIX 80
#define DEFAULT_PREFIX "asterisk" #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 { struct ast_http_server_instance {
FILE *f; FILE *f;
int fd; int fd;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment