aboutsummaryrefslogtreecommitdiff
path: root/protocols.h
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2024-06-10 04:45:33 -0400
committerTest_User <hax@andrewyu.org>2024-06-10 04:45:33 -0400
commit0bc78fc2d38c2ed79eb0e990c08aee9474f7ae60 (patch)
treec29bec6561aba396c7769d6f7e236dc2877bd338 /protocols.h
parent525b2239812c815bf414d948e09c70f6b6ea2d31 (diff)
downloadhaxircd-0bc78fc2d38c2ed79eb0e990c08aee9474f7ae60.tar.gz
haxircd-0bc78fc2d38c2ed79eb0e990c08aee9474f7ae60.zip
Basic server tracking added
Diffstat (limited to 'protocols.h')
-rw-r--r--protocols.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols.h b/protocols.h
index ae06ebf..b91a6bf 100644
--- a/protocols.h
+++ b/protocols.h
@@ -26,9 +26,14 @@
#pragma once
+#include "server_network.h"
+
struct protocol {
void * (*handle_connection)(void *info);
void * (*autoconnect)(void *config);
+ void (*update_propagations)(void);
+
+ void (*do_unlink)(struct server_info *a, struct server_info *b);
};
#ifdef USE_HAXIRCD_PROTOCOL