X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/84c7cad404a6073453edcb2045a57642d5744811..3261ecc2503f45394eb3b9df97c36b08fb14fb1d:/stglibs/srvconf.lib/parsers/chg_admin.h?ds=sidebyside diff --git a/stglibs/srvconf.lib/parsers/chg_admin.h b/stglibs/srvconf.lib/parsers/chg_admin.h index 9fd38104..7041aa8e 100644 --- a/stglibs/srvconf.lib/parsers/chg_admin.h +++ b/stglibs/srvconf.lib/parsers/chg_admin.h @@ -34,22 +34,7 @@ namespace STG namespace CHG_ADMIN { -class PARSER: public STG::PARSER -{ -public: - PARSER(SIMPLE::CALLBACK f, void * data); - int ParseStart(const char * el, const char ** attr); - void ParseEnd(const char * el); - -private: - SIMPLE::CALLBACK callback; - void * data; - int depth; - - void ParseAnswer(const char * el, const char ** attr); -}; - -std::string Serialize(const ADMIN_CONF_RES & conf); +std::string Serialize(const ADMIN_CONF_RES & conf, const std::string & encoding); } // namespace CHG_ADMIN } // namespace STG