aboutsummaryrefslogtreecommitdiff
path: root/launch-socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'launch-socket.h')
-rwxr-xr-xlaunch-socket.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/launch-socket.h b/launch-socket.h
new file mode 100755
index 0000000..0f87b5d
--- /dev/null
+++ b/launch-socket.h
@@ -0,0 +1,17 @@
+#ifndef launch_socket_h
+#define launch_socket_h
+#include <unistd.h>
+#include <bits/pthreadtypes.h>
+#include <pthread.h>
+#include <netinet/in.h>
+#include <stdio.h>
+#include <sys/socket.h>
+#include <poll.h>
+#include <stdbool.h>
+#include <string.h>
+#include <Server.h>
+
+void server_close_socket(struct Server *server);
+
+pthread_t launch_socket(struct Server *server);
+#endif