X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/76fb825a64343da7a8aa9b16c5dbcab709504832..3f044094a85b8542286107bd6a9da921fc990681:/stglibs/srvconf.lib/parsers/get_users.h diff --git a/stglibs/srvconf.lib/parsers/get_users.h b/stglibs/srvconf.lib/parsers/get_users.h index ea9966ee..d1289e3a 100644 --- a/stglibs/srvconf.lib/parsers/get_users.h +++ b/stglibs/srvconf.lib/parsers/get_users.h @@ -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;