IMPL(const std::string & server, uint16_t port,
const std::string & login, const std::string & password);
- int ServerInfo(SERVER_INFO::CALLBACK f, void * data);
-
const std::string & GetStrError() const;
static void Start(void * data, const char * el, const char ** attr);
static void End(void * data, const char * el);
int SERVCONF::ServerInfo(SERVER_INFO::CALLBACK f, void * data)
{
- return pImpl->ServerInfo(f, data);
+return Exec<SERVER_INFO::PARSER>("<GetServerInfo/>", f, data);
}
int SERVCONF::CheckUser(const std::string & login, const std::string & password, CHECK_USER::CALLBACK f, void * data)
nt.SetRxCallback(this, AnsRecv);
}
//-----------------------------------------------------------------------------
-int SERVCONF::IMPL::ServerInfo(SERVER_INFO::CALLBACK f, void * data)
-{
-return Exec<SERVER_INFO::PARSER>("<GetServerInfo/>", f, data);
-}
-//-----------------------------------------------------------------------------
void SERVCONF::IMPL::Start(void * data, const char * el, const char ** attr)
{
PARSER * currParser = static_cast<PARSER *>(data);