/[svn]/ircd-hybrid/trunk/include/irc_string.h
ViewVC logotype

Diff of /ircd-hybrid/trunk/include/irc_string.h

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

revision 9876 by michael, Fri Jan 1 04:43:22 2021 UTC revision 9877 by michael, Sat Jan 9 14:20:00 2021 UTC
# Line 99  enum Line 99  enum
99    SERV_C    = 1 << 13,    SERV_C    = 1 << 13,
100    EOL_C     = 1 << 14,    EOL_C     = 1 << 14,
101    MWILD_C   = 1 << 15,    MWILD_C   = 1 << 15,
102    VCHAN_C   = 1 << 16    VCHAN_C   = 1 << 16,
103      USER2_C   = 1 << 17,
104  };  };
105    
106  #define IsVisibleChanChar(c)   (CharAttrs[(unsigned char)(c)] & VCHAN_C)  #define IsVisibleChanChar(c)   (CharAttrs[(unsigned char)(c)] & VCHAN_C)
107  #define IsHostChar(c)   (CharAttrs[(unsigned char)(c)] & HOST_C)  #define IsHostChar(c)   (CharAttrs[(unsigned char)(c)] & HOST_C)
108  #define IsUserChar(c)   (CharAttrs[(unsigned char)(c)] & USER_C)  #define IsUserChar(c)   (CharAttrs[(unsigned char)(c)] & USER_C)
109    #define IsUser2Char(c)  (CharAttrs[(unsigned char)(c)] & USER2_C)
110  #define IsChanPrefix(c) (CharAttrs[(unsigned char)(c)] & CHANPFX_C)  #define IsChanPrefix(c) (CharAttrs[(unsigned char)(c)] & CHANPFX_C)
111  #define IsChanChar(c)   (CharAttrs[(unsigned char)(c)] & CHAN_C)  #define IsChanChar(c)   (CharAttrs[(unsigned char)(c)] & CHAN_C)
112  #define IsKWildChar(c)  (CharAttrs[(unsigned char)(c)] & KWILD_C)  #define IsKWildChar(c)  (CharAttrs[(unsigned char)(c)] & KWILD_C)

Legend:
Removed from v.9876  
changed lines
  Added in v.9877

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