ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/include/send.h
(Generate patch)

Comparing ircd-hybrid/trunk/include/send.h (file contents):
Revision 2865 by michael, Sun Jan 19 14:35:22 2014 UTC vs.
Revision 2867 by michael, Sun Jan 19 16:58:07 2014 UTC

# Line 29 | Line 29
29  
30   #include "fdlist.h"
31  
32 + #define NOCAPS  0 /* no caps */
33 +
34   #define ALL_MEMBERS  0
35   #define NON_CHANOPS  1
36   #define ONLY_CHANOPS_VOICED  2
37   #define ONLY_CHANOPS 3
38   #define ONLY_SERVERS 4 /* for channel_mode.c */
39  
40 < #define L_ALL   0
41 < #define L_OPER  1
42 < #define L_ADMIN 2
43 <
44 < #define SEND_NOTICE 1
45 < #define SEND_GLOBAL 2
46 < #define SEND_LOCOPS 3
47 <
48 < #define NOCAPS          0               /* no caps */
49 < #define NOFLAGS         0               /* no flags */
40 > enum
41 > {
42 >  L_ALL   = 0,
43 >  L_OPER  = 1,
44 >  L_ADMIN = 2
45 > };
46 >
47 > enum
48 > {
49 >  SEND_NOTICE = 1,
50 >  SEND_GLOBAL = 2,
51 >  SEND_LOCOPS = 3
52 > };
53  
54   /* used when sending to #mask or $mask */
55 < #define MATCH_SERVER  1
56 < #define MATCH_HOST    2
57 <
55 > enum
56 > {
57 >  MATCH_SERVER = 1,
58 >  MATCH_HOST   = 2
59 > };
60  
61   /*
62   * struct decls

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)