aboutsummaryrefslogtreecommitdiff
path: root/server-connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'server-connection.h')
-rw-r--r--server-connection.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/server-connection.h b/server-connection.h
new file mode 100644
index 0000000..71447ff
--- /dev/null
+++ b/server-connection.h
@@ -0,0 +1,12 @@
+#ifndef H_SERVER_CONNECTION
+#define H_SERVER_CONNECTION
+
+#include <sds/sds.h>
+
+#define vh_user 0
+#define vh_path 1
+#define vh_error 2
+
+void on_connection(const char* client, const int fd_client, sds **vhosts, const int vhostsc);
+
+#endif