diff options
author | Test_User <hax@andrewyu.org> | 2024-06-14 02:51:58 -0400 |
---|---|---|
committer | Test_User <hax@andrewyu.org> | 2024-06-14 02:51:58 -0400 |
commit | 35c5a9f9adab04b821896978520af643ea8b697f (patch) | |
tree | ee474fe3e1b54f4e497e5dffa391fba6937d45f3 /protocols.h | |
parent | dadd3396cf719e1ce659926833efd1e17064f2d5 (diff) | |
download | haxircd-35c5a9f9adab04b821896978520af643ea8b697f.tar.gz haxircd-35c5a9f9adab04b821896978520af643ea8b697f.zip |
Basic channel tracking added
Diffstat (limited to 'protocols.h')
-rw-r--r-- | protocols.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols.h b/protocols.h index c9fcc58..91b0110 100644 --- a/protocols.h +++ b/protocols.h @@ -26,6 +26,7 @@ #pragma once +#include "general_network.h" #include "server_network.h" struct protocol { @@ -41,6 +42,10 @@ struct protocol { void (*propagate_remove_user)(struct string from, struct user_info *info, struct string reason); void (*propagate_kill_user)(struct string from, struct string source, struct user_info *info, struct string reason); + void (*propagate_set_channel)(struct string from, struct channel_info *channel, char is_new_channel, size_t user_count, struct user_info **users); + void (*propagate_join_channel)(struct string from, struct channel_info *channel, size_t user_count, struct user_info **users); + void (*propagate_part_channel)(struct string from, struct channel_info *channel, struct user_info *user, struct string reason); + void (*do_unlink)(struct string from, struct server_info *a, struct server_info *b); }; |