X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/cd64751cac4c56591bee9b0a9c2a626ce40e67db..0093be0eb4dbe201a7d63da1de47f98c68987b1d:/stglibs/srvconf.lib/include/stg/parser_get_users.h?ds=inline diff --git a/stglibs/srvconf.lib/include/stg/parser_get_users.h b/stglibs/srvconf.lib/include/stg/parser_get_users.h index 57907026..35fcd126 100644 --- a/stglibs/srvconf.lib/include/stg/parser_get_users.h +++ b/stglibs/srvconf.lib/include/stg/parser_get_users.h @@ -45,13 +45,13 @@ private: PARSER_GET_USER userParser; INFO info; int depth; + bool parsingAnswer; std::string error; void AddUser(const PARSER_GET_USER::INFO & userInfo); void SetError(const std::string & e) { error = e; } - void ParseUsers(const char * el, const char ** attr); - static void UserCallback(const PARSER_GET_USER::INFO & info, void * data); + static void UserCallback(bool result, const std::string& reason, const PARSER_GET_USER::INFO & info, void * data); }; #endif