summaryrefslogtreecommitdiff
path: root/app/v3_c/src/include/dispatcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/v3_c/src/include/dispatcher.h')
-rw-r--r--app/v3_c/src/include/dispatcher.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/v3_c/src/include/dispatcher.h b/app/v3_c/src/include/dispatcher.h
new file mode 100644
index 0000000..a3e779a
--- /dev/null
+++ b/app/v3_c/src/include/dispatcher.h
@@ -0,0 +1,13 @@
+#ifndef DISPATCHER_H
+#define DISPATCHER_H
+
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+
+int initDispatcher();
+int requestDispatcher(int sockfd, struct sockaddr_in *addr, socklen_t *addrlen );
+void freeDispatcher();
+
+#endif