aboutsummaryrefslogtreecommitdiff
path: root/protocols.h
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2024-06-13 01:36:55 -0400
committerTest_User <hax@andrewyu.org>2024-06-13 01:36:55 -0400
commitd20eea410dafb444e3bdfa5fab44d166ea588304 (patch)
tree35ccda5d6495b630956b9243dacb39959c06e274 /protocols.h
parent74937a810bff43ba7ce20a8a64149ffd3ab896e9 (diff)
downloadhaxircd-d20eea410dafb444e3bdfa5fab44d166ea588304.tar.gz
haxircd-d20eea410dafb444e3bdfa5fab44d166ea588304.zip
nick and kill support
Diffstat (limited to 'protocols.h')
-rw-r--r--protocols.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols.h b/protocols.h
index 723d971..c9fcc58 100644
--- a/protocols.h
+++ b/protocols.h
@@ -34,9 +34,12 @@ struct protocol {
void (*update_propagations)(void);
void (*propagate_new_server)(struct string from, struct string attached_to, struct server_info *info);
- void (*propagate_unlink)(struct string from, struct server_info *a, struct server_info *b, size_t protocol);
+ void (*propagate_unlink_server)(struct string from, struct server_info *a, struct server_info *b, size_t protocol);
+
void (*propagate_new_user)(struct string from, struct user_info *info);
+ void (*propagate_rename_user)(struct string from, struct user_info *info, struct string nick, size_t timestamp, struct string timestamp_str);
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 (*do_unlink)(struct string from, struct server_info *a, struct server_info *b);
};