1 #include "stg/parser_auth_by.h"
3 #include <strings.h> // strcasecmp
5 PARSER_AUTH_BY::PARSER_AUTH_BY()
11 //-----------------------------------------------------------------------------
12 int PARSER_AUTH_BY::ParseStart(const char *el, const char **attr)
17 if (strcasecmp(el, "AuthorizedBy") != 0)
24 if (strcasecmp(el, "Auth") == 0)
26 if (attr && attr[0] && attr[1] && strcasecmp(attr[0], "name") == 0)
27 info.push_back(attr[1]);
34 //-----------------------------------------------------------------------------
35 void PARSER_AUTH_BY::ParseEnd(const char * /*el*/)
41 //-----------------------------------------------------------------------------
42 void PARSER_AUTH_BY::SetCallback(CALLBACK f, void * data)