1 #ifndef __STG_STGLIBS_SRVCONF_PARSER_AUTH_BY_H__
2 #define __STG_STGLIBS_SRVCONF_PARSER_AUTH_BY_H__
4 #include "stg/parser.h"
9 class PARSER_AUTH_BY: public PARSER
12 typedef std::vector<std::string> INFO;
13 typedef void (* CALLBACK)(const INFO & info, void * data);
16 int ParseStart(const char *el, const char **attr);
17 void ParseEnd(const char *el);
18 void SetCallback(CALLBACK f, void * data);