/[svn]/branches/newio/include/client.h
ViewVC logotype

Diff of /branches/newio/include/client.h

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

revision 2395 by michael, Sat Jul 13 22:13:28 2013 UTC revision 2396 by michael, Mon Jul 15 19:51:03 2013 UTC
# Line 376  struct Connection Line 376  struct Connection
376      uint64_t bytes;             /**< Statistics: total bytes sent/received */      uint64_t bytes;             /**< Statistics: total bytes sent/received */
377    } recv, send;    } recv, send;
378    
   struct Client   *client;    /**< Client associated with connection */  
379    struct AuthRequest *auth;    struct AuthRequest *auth;
380    struct Listener *listener;   /**< listener accepted from */    struct Listener *listener;   /**< listener accepted from */
381    dlink_list        acceptlist; /**< clients I'll allow to talk to me */    dlink_list        acceptlist; /**< clients I'll allow to talk to me */
# Line 388  struct Connection Line 387  struct Connection
387    int               country_id; /**< ID corresponding to a ISO 3166 country code */    int               country_id; /**< ID corresponding to a ISO 3166 country code */
388    
389    char              *passwd;    char              *passwd;
390    fde_t             fd;  
391    /* Anti-flood stuff. We track how many messages were parsed and how    /* Anti-flood stuff. We track how many messages were parsed and how
392     * many we were allowed in the current second, and apply a simple     * many we were allowed in the current second, and apply a simple
393     * decay to avoid flooding.     * decay to avoid flooding.
# Line 482  extern void del_all_accepts(struct Clien Line 481  extern void del_all_accepts(struct Clien
481  extern void exit_client(struct Client *, struct Client *, const char *);  extern void exit_client(struct Client *, struct Client *, const char *);
482  extern int vexit_client_msg(struct Client *, struct Client *, const char *, va_list);  extern int vexit_client_msg(struct Client *, struct Client *, const char *, va_list);
483  extern int exit_client_msg(struct Client *, struct Client *, const char *, ...);  extern int exit_client_msg(struct Client *, struct Client *, const char *, ...);
484    extern void add_client_to_list(struct Client *);
485    extern void remove_client_from_list(struct Client *);
486  extern void check_conf_klines(void);  extern void check_conf_klines(void);
487  extern void client_init(void);  extern void client_init(void);
488  extern void dead_link_on_write(struct Client *, int);  extern void dead_link_on_write(struct Client *, int);

Legend:
Removed from v.2395  
changed lines
  Added in v.2396

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