3 $Date: 2010/09/10 05:02:08 $
14 #define ADM_LOGIN_LEN (32)
15 #define ADM_PASSWD_LEN (32)
16 //-----------------------------------------------------------------------------
31 : userStat((p & 0x00000003) >> 0x00),
32 userConf((p & 0x0000000C) >> 0x02),
33 userCash((p & 0x00000030) >> 0x04),
34 userPasswd((p & 0x000000C0) >> 0x06),
35 userAddDel((p & 0x00000300) >> 0x08),
36 adminChg((p & 0x00000C00) >> 0x0A),
37 tariffChg((p & 0x00003000) >> 0x0C),
38 serviceChg((p & 0x0000C000) >> 0x0E),
39 corpChg((p & 0x00030000) >> 0x10)
42 uint32_t ToInt() const;
43 void FromInt(uint32_t p);
55 //-----------------------------------------------------------------------------
61 password("* NO PASSWORD *")
63 ADMIN_CONF(const ADMIN_CONF & rvalue)
66 password(rvalue.password)
68 ADMIN_CONF(const PRIV & pr, const std::string & l, const std::string & p)
77 //-----------------------------------------------------------------------------
79 #include "admin_conf.inc.h"