]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/parsers/get_users.h
Improved CHG_USER.
[stg.git] / stglibs / srvconf.lib / parsers / get_users.h
index ea9966eee6bdf49f9828bd3bc2a216e6cbf4a90a..d1289e3abe22ceb1051f3c7b167755b0404880d7 100644 (file)
@@ -1,4 +1,3 @@
-
 /*
  *    This program is free software; you can redistribute it and/or modify
  *    it under the terms of the GNU General Public License as published by
@@ -23,8 +22,8 @@
 #ifndef __STG_STGLIBS_SRVCONF_PARSER_GET_USERS_H__
 #define __STG_STGLIBS_SRVCONF_PARSER_GET_USERS_H__
 
-#include "parser.h"
-#include "parser_get_user.h"
+#include "base.h"
+#include "get_user.h"
 
 #include "stg/servconf_types.h"
 
@@ -38,10 +37,9 @@ namespace GET_USERS
 class PARSER: public STG::PARSER
 {
 public:
-    PARSER();
+    PARSER(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;