aboutsummaryrefslogtreecommitdiff
path: root/protocols.h
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2024-06-14 11:17:21 -0400
committerTest_User <hax@andrewyu.org>2024-06-14 11:17:21 -0400
commit1328829eef7a1beb6e7558f60cbe9d1c3935d97a (patch)
treedad162b85ef951027fe800858ba95af19f78385a /protocols.h
parent80bd818208729b24262141b9068c427f9d8a097a (diff)
downloadhaxircd-1328829eef7a1beb6e7558f60cbe9d1c3935d97a.tar.gz
haxircd-1328829eef7a1beb6e7558f60cbe9d1c3935d97a.zip
Psuedoclients
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);