summaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
authorMax Christian Pohle2021-11-25 14:37:41 +0100
committerMax Christian Pohle2021-11-25 14:37:41 +0100
commit0ac71ac773d3740b380f3cb48ab970cf1fd364be (patch)
treef2444a3e5883c533cac38dec757546364154c973 /main.h
parentdb864e290ba1ec4acd74371b150e7770585ef284 (diff)
downloadohmycgi-0ac71ac773d3740b380f3cb48ab970cf1fd364be.tar.bz2
ohmycgi-0ac71ac773d3740b380f3cb48ab970cf1fd364be.zip
Daemonize and allow the build of .debug and .release versions
Diffstat (limited to 'main.h')
-rw-r--r--main.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.h b/main.h
index 6588a40..af156f6 100644
--- a/main.h
+++ b/main.h
@@ -48,6 +48,7 @@
48#include <arpa/inet.h> 48#include <arpa/inet.h>
49#include <fcntl.h> 49#include <fcntl.h>
50#include <sys/stat.h> 50#include <sys/stat.h>
51#include <syslog.h>
51// #include <pthread.h> // maybe later 52// #include <pthread.h> // maybe later
52// }}} 53// }}}
53 54
@@ -83,4 +84,4 @@ void next_part(Http_Header * http_header, const char * content, size_t content_s
83void send_answer(Http_Header * http_header, int fd_socket); 84void send_answer(Http_Header * http_header, int fd_socket);
84void parse_http(size_t new_socket, char * request, size_t request_length); 85void parse_http(size_t new_socket, char * request, size_t request_length);
85 86
86// modeline for vim: shiftwidth=2 tabstop=2 number foldmethod=marker 87// modeline for vim: shiftwidth=2 tabstop=2 number foldmethod=marker foldenable
..