aboutsummaryrefslogtreecommitdiff
path: root/protocols.h
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2024-06-15 14:16:50 -0400
committerTest_User <hax@andrewyu.org>2024-06-15 14:16:50 -0400
commit88f9b2248bfb016514e340ee5eb81df7337fcc94 (patch)
treee206d68ce2dddd539f0694b85e04e2a49337b700 /protocols.h
parent8dca8643675830723d37f064d5417fb3e035385e (diff)
downloadhaxircd-88f9b2248bfb016514e340ee5eb81df7337fcc94.tar.gz
haxircd-88f9b2248bfb016514e340ee5eb81df7337fcc94.zip
Improvements and the start of reloadable modules
Diffstat (limited to 'protocols.h')
-rw-r--r--protocols.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols.h b/protocols.h
index 4665dad..915bb96 100644
--- a/protocols.h
+++ b/protocols.h
@@ -38,6 +38,8 @@ struct protocol {
void * (*autoconnect)(void *config);
void (*update_propagations)(void);
+ void (*propagate)(struct string from, struct string msg);
+
void (*propagate_new_server)(struct string from, struct string attached_to, struct server_info *info);
void (*propagate_unlink_server)(struct string from, struct server_info *a, struct server_info *b, size_t protocol);