aboutsummaryrefslogtreecommitdiff
path: root/protocols.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols.h')
-rw-r--r--protocols.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/protocols.h b/protocols.h
index e17db75..ca69aac 100644
--- a/protocols.h
+++ b/protocols.h
@@ -53,6 +53,7 @@ struct protocol {
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_cert)(struct string from, struct user_info *info, struct string cert, 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);
@@ -73,6 +74,7 @@ struct protocol {
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_cert)(struct string from, struct user_info *info, struct string cert, 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);
@@ -88,6 +90,7 @@ struct protocol {
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_cert)(struct string from, struct user_info *info, struct string cert, 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);
@@ -110,6 +113,7 @@ void protocols_propagate_kill_user(struct string from, struct string source, str
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_cert(struct string from, struct user_info *info, struct string cert, 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);
@@ -129,6 +133,7 @@ void protocols_handle_kill_user(struct string from, struct string source, struct
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_cert(struct string from, struct user_info *info, struct string cert, 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);
@@ -142,6 +147,7 @@ void protocols_fail_rename_user(struct string from, struct user_info *info, stru
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_cert(struct string from, struct user_info *info, struct string cert, 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);