/[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 2407 by michael, Wed Jul 17 20:29:02 2013 UTC revision 2408 by michael, Thu Jul 18 19:57:58 2013 UTC
# Line 286  Line 286 
286  #define SetSendqBlocked(x)      ((x)->flags |= FLAGS_BLOCKED)  #define SetSendqBlocked(x)      ((x)->flags |= FLAGS_BLOCKED)
287  #define ClearSendqBlocked(x)    ((x)->flags &= ~FLAGS_BLOCKED)  #define ClearSendqBlocked(x)    ((x)->flags &= ~FLAGS_BLOCKED)
288    
289    /** Return non-zero if the client ignores flood limits. */
290    #define IsTrusted(x)            ((x)->status & \
291            (STAT_CONNECTING | STAT_HANDSHAKE | STAT_ME | STAT_SERVER))
292    
293    
294  /*! \brief addr_mask_type enumeration */  /*! \brief addr_mask_type enumeration */
295  enum addr_mask_type  enum addr_mask_type
# Line 325  struct ListTask Line 329  struct ListTask
329   */   */
330  struct Connection  struct Connection
331  {  {
332    dlink_node   lclient_node;    dlink_node   lclient_node, node;
333    struct Connection  *con_next;      /**< Next connection with queued data */    struct Connection  *con_next;      /**< Next connection with queued data */
334    struct Connection **con_prev;    /**< What points to us */    struct Connection **con_prev;    /**< What points to us */
335    
# Line 480  extern struct split_nuh_item *find_accep Line 484  extern struct split_nuh_item *find_accep
484                                            int (*)(const char *, const char *));                                            int (*)(const char *, const char *));
485  extern void del_accept(struct split_nuh_item *, struct Client *);  extern void del_accept(struct split_nuh_item *, struct Client *);
486  extern void del_all_accepts(struct Client *);  extern void del_all_accepts(struct Client *);
487  extern void exit_client(struct Client *, struct Client *, const char *);  extern int exit_client(struct Client *, struct Client *, const char *);
488  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);
489  extern int exit_client_msg(struct Client *, struct Client *, const char *, ...);  extern int exit_client_msg(struct Client *, struct Client *, const char *, ...);
490  extern void client_drop_sendq(struct Connection *);  extern void client_drop_sendq(struct Connection *);

Legend:
Removed from v.2407  
changed lines
  Added in v.2408

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