]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/parsers/chg_user.h
Use simple parser fro CHG_ADMIN.
[stg.git] / stglibs / srvconf.lib / parsers / chg_user.h
index 424866bcf06354740a024aec1a3ee4a0019d16c4..6bc76fde869bc00cfe22f5efd5d9b858dd544b62 100644 (file)
@@ -34,13 +34,12 @@ namespace CHG_USER
 class PARSER: public STG::PARSER
 {
 public:
-    PARSER();
+    PARSER(SIMPLE::CALLBACK f, void * data);
     int  ParseStart(const char * el, const char ** attr);
     void ParseEnd(const char * el);
-    void SetCallback(CALLBACK f, void * data);
 
 private:
-    CALLBACK callback;
+    SIMPLE::CALLBACK callback;
     void * data;
     int depth;