X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/84c7cad404a6073453edcb2045a57642d5744811..34d407f7df45b5faaa25a92a04e8582f95162f31:/stglibs/srvconf.lib/parsers/chg_admin.h 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