/[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 5985 by michael, Thu Apr 23 17:27:17 2015 UTC revision 5986 by michael, Tue May 26 18:55:38 2015 UTC
# Line 110  struct MaskItem; Line 110  struct MaskItem;
110  #define FLAGS_IPHASH         0x00000040U  /**< Iphashed this client */  #define FLAGS_IPHASH         0x00000040U  /**< Iphashed this client */
111  #define FLAGS_MARK           0x00000080U  /**< Marked client */  #define FLAGS_MARK           0x00000080U  /**< Marked client */
112  #define FLAGS_CANFLOOD       0x00000100U  /**< Client has the ability to flood */  #define FLAGS_CANFLOOD       0x00000100U  /**< Client has the ability to flood */
113  #define FLAGS_EXEMPTKLINE    0x00000200U  /**< Client is exempt from kline */  #define FLAGS_EXEMPTKLINE    0x00000200U  /**< Client is exempt from k-lines */
114  #define FLAGS_NOLIMIT        0x00000400U  /**< Client is exempt from limits */  #define FLAGS_NOLIMIT        0x00000400U  /**< Client is exempt from limits */
115  #define FLAGS_PING_COOKIE    0x00000800U  /**< PING Cookie */  #define FLAGS_PING_COOKIE    0x00000800U  /**< PING Cookie */
116  #define FLAGS_FLOODDONE      0x00001000U  /**< Flood grace period has been ended. */  #define FLAGS_FLOODDONE      0x00001000U  /**< Flood grace period has been ended. */
# Line 126  struct MaskItem; Line 126  struct MaskItem;
126  #define FLAGS_SERVICE        0x00400000U  /**< Client/server is a network service */  #define FLAGS_SERVICE        0x00400000U  /**< Client/server is a network service */
127  #define FLAGS_SSL            0x00800000U  /**< User is connected via TLS/SSL */  #define FLAGS_SSL            0x00800000U  /**< User is connected via TLS/SSL */
128  #define FLAGS_SQUIT          0x01000000U  #define FLAGS_SQUIT          0x01000000U
129    #define FLAGS_EXEMPTXLINE    0x02000000U  /**< Client is exempt from x-lines */
130    
131  #define HasFlag(x, y) ((x)->flags &   (y))  #define HasFlag(x, y) ((x)->flags &   (y))
132  #define AddFlag(x, y) ((x)->flags |=  (y))  #define AddFlag(x, y) ((x)->flags |=  (y))
# Line 238  struct MaskItem; Line 239  struct MaskItem;
239    
240  #define IsExemptKline(x)        ((x)->flags & FLAGS_EXEMPTKLINE)  #define IsExemptKline(x)        ((x)->flags & FLAGS_EXEMPTKLINE)
241  #define SetExemptKline(x)       ((x)->flags |= FLAGS_EXEMPTKLINE)  #define SetExemptKline(x)       ((x)->flags |= FLAGS_EXEMPTKLINE)
242    #define IsExemptXline(x)        ((x)->flags & FLAGS_EXEMPTXLINE)
243    #define SetExemptXline(x)       ((x)->flags |= FLAGS_EXEMPTXLINE)
244  #define IsExemptLimits(x)       ((x)->flags & FLAGS_NOLIMIT)  #define IsExemptLimits(x)       ((x)->flags & FLAGS_NOLIMIT)
245  #define SetExemptLimits(x)      ((x)->flags |= FLAGS_NOLIMIT)  #define SetExemptLimits(x)      ((x)->flags |= FLAGS_NOLIMIT)
246  #define IsExemptResv(x)         ((x)->flags & FLAGS_EXEMPTRESV)  #define IsExemptResv(x)         ((x)->flags & FLAGS_EXEMPTRESV)

Legend:
Removed from v.5985  
changed lines
  Added in v.5986

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