aboutsummaryrefslogtreecommitdiff
path: root/protocols.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols.h')
-rw-r--r--protocols.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols.h b/protocols.h
index 6589af3..410bfb1 100644
--- a/protocols.h
+++ b/protocols.h
@@ -26,10 +26,14 @@
#pragma once
+#include <stddef.h>
+
+#include "haxstring.h"
#include "general_network.h"
#include "server_network.h"
struct protocol {
+ int (*init)(void);
void * (*handle_connection)(void *info);
void * (*autoconnect)(void *config);
void (*update_propagations)(void);