/[svn]/ircd-hybrid/branches/8.2.x/include/client.h
ViewVC logotype

Diff of /ircd-hybrid/branches/8.2.x/include/client.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8915 by michael, Sat Jan 19 00:11:37 2019 UTC revision 8916 by michael, Sun Apr 21 22:49:51 2019 UTC
# Line 273  struct ListTask Line 273  struct ListTask
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    
# Line 298  struct Connection Line 298  struct Connection
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 */
# Line 325  struct Connection Line 325  struct Connection
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;
# Line 360  struct Client Line 360  struct Client
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 */

Legend:
Removed from v.8915  
changed lines
  Added in v.8916

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28