From 47d7e30f6acb1c170c8e5e15f2656b89a33384f7 Mon Sep 17 00:00:00 2001 From: Test_User Date: Mon, 10 Jun 2024 23:20:14 -0400 Subject: Mostly complete user tracking added --- protocols.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'protocols.h') diff --git a/protocols.h b/protocols.h index 3b4aca3..723d971 100644 --- a/protocols.h +++ b/protocols.h @@ -33,10 +33,12 @@ struct protocol { void * (*autoconnect)(void *config); void (*update_propagations)(void); - void (*propagate_new_server)(struct string from, struct string attached_to, struct string sid, struct server_info *info); + 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_new_user)(struct string from, struct user_info *info); + void (*propagate_remove_user)(struct string from, struct user_info *info, struct string reason); - void (*do_unlink)(struct server_info *a, struct server_info *b); + void (*do_unlink)(struct string from, struct server_info *a, struct server_info *b); }; #ifdef USE_HAXIRCD_PROTOCOL -- cgit v1.2.3