273 |
unsigned int hash_index; /**< The hash bucket we are currently in */ |
unsigned int hash_index; /**< The hash bucket we are currently in */ |
274 |
unsigned int users_min; |
unsigned int users_min; |
275 |
unsigned int users_max; |
unsigned int users_max; |
276 |
unsigned int created_min; |
unsigned int created_min; /**< Real time */ |
277 |
unsigned int created_max; |
unsigned int created_max; /**< Real time */ |
278 |
unsigned int topicts_min; |
unsigned int topicts_min; /**< Real time */ |
279 |
unsigned int topicts_max; |
unsigned int topicts_max; /**< Real time */ |
280 |
char topic[TOPICLEN + 1]; |
char topic[TOPICLEN + 1]; |
281 |
}; |
}; |
282 |
|
|
298 |
unsigned int random_ping; /**< Holding a 32bit value used for PING cookies */ |
unsigned int random_ping; /**< Holding a 32bit value used for PING cookies */ |
299 |
|
|
300 |
uintmax_t serial; /**< Used to enforce 1 send per nick */ |
uintmax_t serial; /**< Used to enforce 1 send per nick */ |
301 |
uintmax_t lasttime; /**< Last time data read from socket */ |
uintmax_t lasttime; /**< Last time data read from socket; real time XXX */ |
302 |
uintmax_t firsttime; /**< Time client was created */ |
uintmax_t firsttime; /**< Time client was created; real time XXX */ |
303 |
uintmax_t since; /**< Last time we parsed something */ |
uintmax_t since; /**< Last time we parsed something; real time XXX */ |
304 |
uintmax_t last_caller_id_time; |
uintmax_t last_caller_id_time; /**< Monotonic time */ |
305 |
uintmax_t first_received_message_time; |
uintmax_t first_received_message_time; /**< Monotonic time */ |
306 |
uintmax_t last_privmsg; /**< Last time we got a PRIVMSG */ |
uintmax_t last_privmsg; /**< Last time we got a PRIVMSG; monotonic time */ |
307 |
uintmax_t last_join_time; /**< When this client last joined a channel */ |
uintmax_t last_join_time; /**< When this client last joined a channel; monotonic time */ |
308 |
uintmax_t last_leave_time; /**< When this client last left a channel */ |
uintmax_t last_leave_time; /**< When this client last left a channel; monotonic time */ |
309 |
|
|
310 |
unsigned int join_leave_count; /**< Count of JOIN/LEAVE in less than MIN_JOIN_LEAVE_TIME seconds */ |
unsigned int join_leave_count; /**< Count of JOIN/LEAVE in less than MIN_JOIN_LEAVE_TIME seconds */ |
311 |
unsigned int oper_warn_count_down; /**< Warn opers of this possible spambot every time this gets to 0 */ |
unsigned int oper_warn_count_down; /**< Warn opers of this possible spambot every time this gets to 0 */ |
325 |
struct |
struct |
326 |
{ |
{ |
327 |
unsigned int count; /**< How many AWAY/INVITE/KNOCK/NICK requests client has sent */ |
unsigned int count; /**< How many AWAY/INVITE/KNOCK/NICK requests client has sent */ |
328 |
uintmax_t last_attempt; /**< Last time the AWAY/INVITE/KNOCK/NICK request was issued */ |
uintmax_t last_attempt; /**< Last time the AWAY/INVITE/KNOCK/NICK request was issued; monotonic time */ |
329 |
} away, invite, knock, nick; |
} away, invite, knock, nick; |
330 |
|
|
331 |
struct AuthRequest *auth; |
struct AuthRequest *auth; |
360 |
struct Client *servptr; /**< Points to server this Client is on */ |
struct Client *servptr; /**< Points to server this Client is on */ |
361 |
struct Client *from; /**< == self, if Local Client, *NEVER* NULL! */ |
struct Client *from; /**< == self, if Local Client, *NEVER* NULL! */ |
362 |
|
|
363 |
uintmax_t tsinfo; /**< TS on the nick, SVINFO on server */ |
uintmax_t tsinfo; /**< Timestamp on this nick; real time */ |
364 |
|
|
365 |
unsigned int flags; /**< Client flags */ |
unsigned int flags; /**< Client flags */ |
366 |
unsigned int umodes; /**< User modes this client has set */ |
unsigned int umodes; /**< User modes this client has set */ |