summaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
new file mode 100644
index 0000000..f29100a
--- /dev/null
+++ b/src/net.h
@@ -0,0 +1,10 @@
+#ifndef OXEN_NET_H
+#define OXEN_NET_H
+
+#define MAX_PLAYERS 10
+
+int server_start(const char* port);
+int* server_get_players(int serversock, const uint8_t count);
+int client_connect_server(const char* host, const char* port);
+
+#endif // OXEN_NET_H