std::string password;
double cash;
double credit;
+ time_t creditExpire;
double lastCash;
double prepaidTraff;
int down;
int GetServerInfo();
int CheckUser(const char * login, const char * password);
- char * GetStrError();
- int GetError();
+ const std::string & GetStrError() const;
+ int GetError();
int Start(const char *el, const char **attr);
void End(const char *el);
int parseDepth;
USERDATA ud;
- char errorMsg[MAX_ERR_STR_LEN];
- int error;
- XML_Parser parser;
+ std::string errorMsg;
+ int error;
+ XML_Parser parser;
RecvUserDataCb_t RecvUserDataCb;
RecvUserDataCb_t RecvGetUserDataCb;