X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/84c7cad404a6073453edcb2045a57642d5744811..f8ca79f0620b6738a4714f1ccadf6a1c9ac73947:/stglibs/srvconf.lib/parsers/chg_admin.h?ds=inline 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