#define U_MAX_BITS 17
#define U_MAX 131072 /* 2^17 */
-/* Client fd hash table size, used in hash.c */
-#define CLI_FD_MAX 4096
+/* Client connid hash table size, used in hash.c */
+#define CLI_CONNID_MAX 4096
/* Channel hash table size, hash.c/s_debug.c */
#define CH_MAX_BITS 16
extern struct ConfItem *hash_find_resv(const char *name);
extern void clear_resv_hash(void);
-void add_to_cli_fd_hash(struct Client *client_p);
-void del_from_cli_fd_hash(struct Client *client_p);
-struct Client *find_cli_fd_hash(int fd);
+void add_to_cli_connid_hash(struct Client *client_p);
+void del_from_cli_connid_hash(struct Client *client_p);
+struct Client *find_cli_connid_hash(int connid);
+
+void add_to_zconnid_hash(struct Client *client_p);
+void del_from_zconnid_hash(struct Client *client_p);
extern void hash_stats(struct Client *);