diff options
author | Test_User <hax@andrewyu.org> | 2024-06-10 23:20:14 -0400 |
---|---|---|
committer | Test_User <hax@andrewyu.org> | 2024-06-10 23:20:14 -0400 |
commit | 47d7e30f6acb1c170c8e5e15f2656b89a33384f7 (patch) | |
tree | d5b8c7e0641b77647b6e44c4c37ed4664e468299 /protocols.h | |
parent | 5534441086cee3130c95460e22ed29bff44cbaef (diff) | |
download | haxircd-47d7e30f6acb1c170c8e5e15f2656b89a33384f7.tar.gz haxircd-47d7e30f6acb1c170c8e5e15f2656b89a33384f7.zip |
Mostly complete user tracking added
Diffstat (limited to 'protocols.h')
-rw-r--r-- | protocols.h | 6 |
1 files changed, 4 insertions, 2 deletions
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 |