X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/505c5339f941fb3ded1f5ddfd69ef40288ede30b..7bab07d4d30245bf5ba272b236dc7b1c1e309c4d:/include/client.h diff --git a/include/client.h b/include/client.h index 94256ad..6f3d62a 100644 --- a/include/client.h +++ b/include/client.h @@ -254,7 +254,7 @@ struct LocalUser /* time challenge response is valid for */ time_t chal_time; - int ctrlfd; /* For servers: + rb_fde_t *ctrlF; /* For servers: control fd used for sending commands to servlink */ @@ -287,17 +287,15 @@ struct LocalUser unsigned long random_ping; auth_request_t *auth_request; - /* target change stuff */ - void *targets[10]; /* targets were aware of */ - rb_uint8_t targinfo[2]; /* cyclic array, no in use */ + /* target change stuff */ + uint32_t targets[10]; /* targets were aware of (fnv32(use_id(target_p))) */ + unsigned int targinfo[2]; /* cyclic array, no in use */ time_t target_last; /* last time we cleared a slot */ list_client_t *safelist_data; char *mangledhost; /* non-NULL if host mangling module loaded and applicable to this client */ - - struct rb_sockaddr_storage *lip; /* alloc before auth/freed after auth */ }; struct PreClient