summaryrefslogtreecommitdiffstats
path: root/proxy.h
diff options
context:
space:
mode:
authorSimon Rettberg2014-03-15 01:49:50 +0100
committerSimon Rettberg2014-03-15 01:49:50 +0100
commitbedd2e7ccb1595c23e159eaa952ae1b0b5a3d2ad (patch)
treec7d1995a09f6ed0c4e6873252e957d72f5d07d07 /proxy.h
downloadldadp-bedd2e7ccb1595c23e159eaa952ae1b0b5a3d2ad.tar.gz
ldadp-bedd2e7ccb1595c23e159eaa952ae1b0b5a3d2ad.tar.xz
ldadp-bedd2e7ccb1595c23e159eaa952ae1b0b5a3d2ad.zip
Lean and mean initial commit
Not much functionality yet
Diffstat (limited to 'proxy.h')
-rw-r--r--proxy.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/proxy.h b/proxy.h
new file mode 100644
index 0000000..032ebe4
--- /dev/null
+++ b/proxy.h
@@ -0,0 +1,14 @@
+#ifndef _PROXY_H_
+#define _PROXY_H_
+
+#include "types.h"
+
+void proxy_init();
+
+int proxy_fromClient(epoll_client_t *client, const size_t maxLen);
+
+void proxy_removeClient(const epoll_client_t *client);
+
+int proxy_fromServer(epoll_server_t *server, const size_t maxLen);
+
+#endif