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 //-----------------------------------------------------------------------------
82 ADMIN_CONF_RES(const ADMIN_CONF_RES & rhs)
85 password(rhs.password)
87 ADMIN_CONF_RES & operator=(const ADMIN_CONF_RES & rhs)
91 password = rhs.password;
95 RESETABLE<std::string> login;
96 RESETABLE<std::string> password;
99 #include "admin_conf.inc.h"