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

Comparing:
ircd-hybrid-7.3/include/client.h (file contents), Revision 1124 by michael, Mon Feb 7 11:45:27 2011 UTC vs.
ircd-hybrid-8/include/client.h (file contents), Revision 1157 by michael, Tue Aug 9 22:03:59 2011 UTC

# Line 310 | Line 310 | struct LocalUser
310  
311   #define CAP_MULTI_PREFIX  0x00000001
312  
313 + #define HasCap(x, y) ((x)->localClient->cap_active & (y))
314 +
315   /* housekeeping flags */
316   #define FLAGS_PINGSENT      0x0000000000000001 /* Unreplied ping sent                      */
317   #define FLAGS_DEADSOCKET    0x0000000000000002 /* Local socket is dead--Exiting soon       */
# Line 344 | Line 346 | struct LocalUser
346   #define FLAGS_PINGWARNING   0x0000000040000000 /* unreplied ping warning already sent      */
347   #define FLAGS_FINISHED_AUTH 0x0000000080000000 /* Client has been released from auth       */
348   #define FLAGS_FLOOD_NOTICED 0x0000000100000000
349 + #define FLAGS_SERVICE       0x0000000200000000 /* Client/server is a network service       */
350  
351  
352   /* umodes, settable flags */
# Line 495 | Line 498 | struct LocalUser
498   #define SetPingCookie(x)        ((x)->flags |= FLAGS_PING_COOKIE)
499   #define IsHidden(x)             ((x)->flags &  FLAGS_HIDDEN)
500   #define SetHidden(x)            ((x)->flags |= FLAGS_HIDDEN)
501 + #define IsService(x)            ((x)->flags &  FLAGS_SERVICE)
502 + #define SetService(x)           ((x)->flags |= FLAGS_SERVICE)
503  
504   #define IsSendqBlocked(x)       ((x)->flags &  FLAGS_BLOCKED)
505   #define SetSendqBlocked(x)      ((x)->flags |= FLAGS_BLOCKED)

Diff Legend

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