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.2/include/client.h (file contents):
Revision 503 by michael, Fri Mar 3 19:53:47 2006 UTC vs.
Revision 650 by michael, Thu Jun 8 07:00:17 2006 UTC

# Line 332 | Line 332 | struct LocalUser
332   #define CAP_MULTI_PREFIX  0x00000001
333  
334   /* housekeeping flags */
335 < #define FLAGS_PINGSENT    0x00000001 /* Unreplied ping sent                      */
336 < #define FLAGS_DEADSOCKET  0x00000002 /* Local socket is dead--Exiting soon       */
337 < #define FLAGS_KILLED      0x00000004 /* Prevents "QUIT" from being sent for this */
338 < #define FLAGS_CLOSING     0x00000008 /* set when closing to suppress errors      */
339 < #define FLAGS_GOTID       0x00000010 /* successful ident lookup achieved         */
340 < #define FLAGS_NEEDID      0x00000020 /* I-lines say must use ident return        */
341 < #define FLAGS_SENDQEX     0x00000040 /* Sendq exceeded                           */
342 < #define FLAGS_IPHASH      0x00000080 /* iphashed this client                     */
343 < #define FLAGS_CRYPTIN     0x00000100 /* incoming data must be decrypted          */
344 < #define FLAGS_CRYPTOUT    0x00000200 /* outgoing data must be encrypted          */
345 < #define FLAGS_WAITAUTH    0x00000400 /* waiting for CRYPTLINK AUTH command       */
346 < #define FLAGS_SERVLINK    0x00000800 /* servlink has servlink process            */
347 < #define FLAGS_MARK        0x00001000 /* marked client                            */
348 < #define FLAGS_CANFLOOD    0x00002000 /* client has the ability to flood          */
349 < #define FLAGS_EXEMPTGLINE 0x00004000 /* client can't be G-lined                  */
350 < #define FLAGS_EXEMPTKLINE 0x00008000 /* client is exempt from kline              */
351 < #define FLAGS_NOLIMIT     0x00010000 /* client is exempt from limits             */
352 < #define FLAGS_RESTRICTED  0x00020000 /* client cannot op others                  */
353 < #define FLAGS_PING_COOKIE 0x00040000 /* PING Cookie                              */
354 < #define FLAGS_IDLE_LINED  0x00080000 /* client is exempt from idle-time limits   */
355 < #define FLAGS_IP_SPOOFING 0x00100000 /* client IP is spoofed                     */
356 < #define FLAGS_FLOODDONE   0x00200000 /* Flood grace period has been ended.       */
357 < #define FLAGS_EOB         0x00400000 /* server has received EOB                  */
358 < #define FLAGS_HIDDEN      0x00800000 /* a hidden server. not shown in /links     */
359 < #define FLAGS_BLOCKED     0x01000000 /* must wait for COMM_SELECT_WRITE          */
360 < #define FLAGS_SBLOCKED    0x02000000 /* slinkq is blocked                        */
361 < #define FLAGS_USERHOST    0x04000000 /* client is in userhost hash               */
362 < #define FLAGS_BURSTED     0x08000000 /* user was already bursted                 */
363 < #define FLAGS_EXEMPTRESV  0x10000000 /* client is exempt from RESV               */
364 < #define FLAGS_GOTUSER     0x20000000 /* if we received a USER command            */
365 < #define FLAGS_PINGWARNING 0x40000000 /* unreplied ping warning already sent      */
366 < /*                        0x80000000  */
335 > #define FLAGS_PINGSENT      0x00000001 /* Unreplied ping sent                      */
336 > #define FLAGS_DEADSOCKET    0x00000002 /* Local socket is dead--Exiting soon       */
337 > #define FLAGS_KILLED        0x00000004 /* Prevents "QUIT" from being sent for this */
338 > #define FLAGS_CLOSING       0x00000008 /* set when closing to suppress errors      */
339 > #define FLAGS_GOTID         0x00000010 /* successful ident lookup achieved         */
340 > #define FLAGS_NEEDID        0x00000020 /* I-lines say must use ident return        */
341 > #define FLAGS_SENDQEX       0x00000040 /* Sendq exceeded                           */
342 > #define FLAGS_IPHASH        0x00000080 /* iphashed this client                     */
343 > #define FLAGS_CRYPTIN       0x00000100 /* incoming data must be decrypted          */
344 > #define FLAGS_CRYPTOUT      0x00000200 /* outgoing data must be encrypted          */
345 > #define FLAGS_WAITAUTH      0x00000400 /* waiting for CRYPTLINK AUTH command       */
346 > #define FLAGS_SERVLINK      0x00000800 /* servlink has servlink process            */
347 > #define FLAGS_MARK          0x00001000 /* marked client                            */
348 > #define FLAGS_CANFLOOD      0x00002000 /* client has the ability to flood          */
349 > #define FLAGS_EXEMPTGLINE   0x00004000 /* client can't be G-lined                  */
350 > #define FLAGS_EXEMPTKLINE   0x00008000 /* client is exempt from kline              */
351 > #define FLAGS_NOLIMIT       0x00010000 /* client is exempt from limits             */
352 > #define FLAGS_RESTRICTED    0x00020000 /* client cannot op others                  */
353 > #define FLAGS_PING_COOKIE   0x00040000 /* PING Cookie                              */
354 > #define FLAGS_IDLE_LINED    0x00080000 /* client is exempt from idle-time limits   */
355 > #define FLAGS_IP_SPOOFING   0x00100000 /* client IP is spoofed                     */
356 > #define FLAGS_FLOODDONE     0x00200000 /* Flood grace period has been ended.       */
357 > #define FLAGS_EOB           0x00400000 /* server has received EOB                  */
358 > #define FLAGS_HIDDEN        0x00800000 /* a hidden server. not shown in /links     */
359 > #define FLAGS_BLOCKED       0x01000000 /* must wait for COMM_SELECT_WRITE          */
360 > #define FLAGS_SBLOCKED      0x02000000 /* slinkq is blocked                        */
361 > #define FLAGS_USERHOST      0x04000000 /* client is in userhost hash               */
362 > #define FLAGS_BURSTED       0x08000000 /* user was already bursted                 */
363 > #define FLAGS_EXEMPTRESV    0x10000000 /* client is exempt from RESV               */
364 > #define FLAGS_GOTUSER       0x20000000 /* if we received a USER command            */
365 > #define FLAGS_PINGWARNING   0x40000000 /* unreplied ping warning already sent      */
366 > #define FLAGS_FINISHED_AUTH 0x80000000 /* Client has been released from auth       */
367  
368  
369   /* umodes, settable flags */
# Line 416 | Line 416 | struct LocalUser
416  
417  
418   /* flags macros. */
419 + #define IsAuthFinished(x)       ((x)->flags & FLAGS_FINISHED_AUTH)
420   #define IsDead(x)               ((x)->flags & FLAGS_DEADSOCKET)
421   #define SetDead(x)              ((x)->flags |= FLAGS_DEADSOCKET)
422   #define IsClosing(x)            ((x)->flags & FLAGS_CLOSING)

Diff Legend

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