]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/parsers/chg_admin.h
Merge branch 'stg-2.409-radius'
[stg.git] / stglibs / srvconf.lib / parsers / chg_admin.h
index 9fd38104aa51312195650fb9c9072e3aaa780693..7041aa8ef60e34ebc9cb4350db3351ffd2f9915d 100644 (file)
@@ -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