/[svn]/ircd-hybrid-8/include/client.h
ViewVC logotype

Diff of /ircd-hybrid-8/include/client.h

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

revision 1311 by michael, Wed Mar 21 17:48:54 2012 UTC revision 1312 by michael, Mon Mar 26 16:07:20 2012 UTC
# Line 34  Line 34 
34  #include "ircd_defs.h"  #include "ircd_defs.h"
35  #include "dbuf.h"  #include "dbuf.h"
36  #include "channel.h"  #include "channel.h"
 #include "irc_res.h"  
37    
38  #define HOSTIPLEN       53 /* sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255.ipv6") */  #define HOSTIPLEN       53 /* sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255.ipv6") */
39  #define PASSWDLEN       20  #define PASSWDLEN       20
 #define CIPHERKEYLEN    64 /* 512bit */  
40  #define IDLEN           12 /* this is the maximum length, not the actual  #define IDLEN           12 /* this is the maximum length, not the actual
41                                generated length; DO NOT CHANGE! */                                generated length; DO NOT CHANGE! */
42    
# Line 152  struct LocalUser Line 150  struct LocalUser
150    unsigned int registration;    unsigned int registration;
151    unsigned int cap_client;    /**< Client capabilities (from us) */    unsigned int cap_client;    /**< Client capabilities (from us) */
152    unsigned int cap_active;    /**< Active capabilities (to us) */    unsigned int cap_active;    /**< Active capabilities (to us) */
153      unsigned int       caps;       /**< capabilities bit-field */
154    
155    unsigned int operflags;     /**< IRC Operator privilege flags */    unsigned int operflags;     /**< IRC Operator privilege flags */
156    unsigned int random_ping; /**< Holding a 32bit value used for PING cookies */    unsigned int random_ping; /**< Holding a 32bit value used for PING cookies */
# Line 200  struct LocalUser Line 199  struct LocalUser
199    int               aftype;    /**< Makes life easier for DNS res in IPV6 */    int               aftype;    /**< Makes life easier for DNS res in IPV6 */
200    
201    char              *passwd;    char              *passwd;
   unsigned int       caps;       /**< capabilities bit-field */  
   unsigned int       enc_caps;   /**< cipher capabilities bit-field */  
   
202    fde_t             fd;    fde_t             fd;
203    
204    /* Anti-flood stuff. We track how many messages were parsed and how    /* Anti-flood stuff. We track how many messages were parsed and how

Legend:
Removed from v.1311  
changed lines
  Added in v.1312

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