-bool ProcessSetUser(const std::string & server,
- int port,
- const std::string & admLogin,
- const std::string & admPasswd,
- const std::string & user,
- const USER_CONF_RES & conf,
- const USER_STAT_RES & stat);
+int ProcessAuthBy(const std::string &server,
+ int port,
+ const std::string &admLogin,
+ const std::string &admPasswd,
+ const std::string &login,
+ void * data);