3  $Date: 2010/09/10 05:02:08 $
 
  14 #define ADM_LOGIN_LEN   (32)
 
  15 #define ADM_PASSWD_LEN  (32)
 
  16 //-----------------------------------------------------------------------------
 
  29         : userStat((p & 0x0003) >> 0x00),
 
  30           userConf((p & 0x000C) >> 0x02),
 
  31           userCash((p & 0x0030) >> 0x04),
 
  32           userPasswd((p & 0x00C0) >> 0x06),
 
  33           userAddDel((p & 0x0300) >> 0x08),
 
  34           adminChg((p & 0x0C00) >> 0x0A),
 
  35           tariffChg((p & 0x3000) >> 0x0C)
 
  38     uint16_t ToInt() const;
 
  39     void FromInt(uint16_t p);
 
  49 //-----------------------------------------------------------------------------
 
  55           password("* NO PASSWORD *")
 
  57     ADMIN_CONF(const ADMIN_CONF & rvalue)
 
  60           password(rvalue.password)
 
  62     ADMIN_CONF(const PRIV & pr, const std::string & l, const std::string & p)
 
  71 //-----------------------------------------------------------------------------
 
  73 #include "admin_conf.inc.h"