]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - include/client.h
Some global structs cleaned up a bit in their initalization and declarations.
[irc/rqf/shadowircd.git] / include / client.h
index 94256ade42979f4d660216f36e6fbd9c5c016796..6f3d62a095f1c44a6244b284aa93068d77d5f0e8 100644 (file)
@@ -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 */\r
-       void *targets[10];              /* targets were aware of */\r
-       rb_uint8_t targinfo[2]; /* cyclic array, no in use */\r
+       /* 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