diff options
author | Test_User <hax@andrewyu.org> | 2024-06-24 11:08:29 -0400 |
---|---|---|
committer | Test_User <hax@andrewyu.org> | 2024-06-24 11:08:50 -0400 |
commit | d095efe06273ec29bdc07c2cc522d6fe5a793550 (patch) | |
tree | 0eab2d9999ae71d5cff1ae682b54d17ad8aa98b5 /protocols.h | |
parent | 7b3767d3988c3bb9c96f049ca8e5a829917c8426 (diff) | |
download | haxircd-d095efe06273ec29bdc07c2cc522d6fe5a793550.tar.gz haxircd-d095efe06273ec29bdc07c2cc522d6fe5a793550.zip |
The start of some services, inspircd3 support extra broken for now
Diffstat (limited to 'protocols.h')
-rw-r--r-- | protocols.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/protocols.h b/protocols.h index 7f84e63..e17db75 100644 --- a/protocols.h +++ b/protocols.h @@ -52,6 +52,8 @@ struct protocol { void (*propagate_kill_user)(struct string from, struct string source, struct user_info *info, struct string reason); void (*propagate_oper_user)(struct string from, struct user_info *info, struct string type, struct string reason); + void (*propagate_set_account)(struct string from, struct user_info *info, struct string account, struct string source); + 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); @@ -70,6 +72,8 @@ struct protocol { void (*handle_kill_user)(struct string from, struct string source, struct user_info *info, struct string reason); int (*handle_oper_user)(struct string from, struct user_info *info, struct string type, struct string reason); + int (*handle_set_account)(struct string from, struct user_info *info, struct string account, struct string source); + int (*handle_set_channel)(struct string from, struct channel_info *channel, char is_new_channel, size_t user_count, struct user_info **users); int (*handle_join_channel)(struct string from, struct channel_info *channel, size_t user_count, struct user_info **users, char propagate); void (*handle_part_channel)(struct string from, struct channel_info *channel, struct user_info *user, struct string reason); @@ -83,6 +87,8 @@ struct protocol { void (*fail_rename_user)(struct string from, struct user_info *info, struct string nick, size_t timestamp, struct string timestamp_str); void (*fail_oper_user)(struct string from, struct user_info *info, struct string type, struct string source); + void (*fail_set_account)(struct string from, struct user_info *info, struct string account, struct string source); + void (*fail_set_channel)(struct string from, struct channel_info *channel, char is_new_channel, size_t user_count, struct user_info **users); void (*fail_join_channel)(struct string from, struct channel_info *channel, size_t user_count, struct user_info **users, char propagate); // ^^^^ @@ -103,6 +109,8 @@ void protocols_propagate_remove_user(struct string from, struct user_info *info, void protocols_propagate_kill_user(struct string from, struct string source, struct user_info *info, struct string reason); void protocols_propagate_oper_user(struct string from, struct user_info *info, struct string type, struct string source); +void protocols_propagate_set_account(struct string from, struct user_info *info, struct string account, struct string source); + void protocols_propagate_set_channel(struct string from, struct channel_info *channel, char is_new_channel, size_t user_count, struct user_info **users); void protocols_propagate_join_channel(struct string from, struct channel_info *channel, size_t user_count, struct user_info **users, char propagate); void protocols_propagate_part_channel(struct string from, struct channel_info *channel, struct user_info *user, struct string reason); @@ -120,6 +128,8 @@ void protocols_handle_remove_user(struct string from, struct user_info *info, st void protocols_handle_kill_user(struct string from, struct string source, struct user_info *info, struct string reason); int protocols_handle_oper_user(struct string from, struct user_info *info, struct string type, struct string source); +int protocols_handle_set_account(struct string from, struct user_info *info, struct string account, struct string source); + int protocols_handle_set_channel(struct string from, struct channel_info *channel, char is_new_channel, size_t user_count, struct user_info **users); int protocols_handle_join_channel(struct string from, struct channel_info *channel, size_t user_count, struct user_info **users, char propagate); void protocols_handle_part_channel(struct string from, struct channel_info *channel, struct user_info *user, struct string reason); @@ -131,6 +141,8 @@ void protocols_fail_new_user(struct string from, struct user_info *info); void protocols_fail_rename_user(struct string from, struct user_info *info, struct string nick, size_t timestamp, struct string timestamp_str); void protocols_fail_oper_user(struct string from, struct user_info *info, struct string type, struct string source); +void protocols_fail_set_account(struct string from, struct user_info *info, struct string account, struct string source); + void protocols_fail_set_channel(struct string from, struct channel_info *channel, char is_new_channel, size_t user_count, struct user_info **users); void protocols_fail_join_channel(struct string from, struct channel_info *channel, size_t user_count, struct user_info **users, char propagate); |