git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed traff type descritpion.
[stg.git]
/
stglibs
/
srvconf.lib
/
parsers
/
get_user.h
diff --git
a/stglibs/srvconf.lib/parsers/get_user.h
b/stglibs/srvconf.lib/parsers/get_user.h
index 519d67b6587c0a0425b89cb3d40542b03d1699d4..99163c376bd2b5a2e57706ce184dfa40a7d963d9 100644
(file)
--- a/
stglibs/srvconf.lib/parsers/get_user.h
+++ b/
stglibs/srvconf.lib/parsers/get_user.h
@@
-43,6
+43,7
@@
public:
virtual ~PARSER();
int ParseStart(const char * el, const char ** attr);
void ParseEnd(const char * el);
virtual ~PARSER();
int ParseStart(const char * el, const char ** attr);
void ParseEnd(const char * el);
+ void Failure(const std::string & reason) { callback(false, reason, info, data); }
private:
PROPERTY_PARSERS propertyParsers;
private:
PROPERTY_PARSERS propertyParsers;
@@
-55,6
+56,8
@@
private:
void ParseUser(const char * el, const char ** attr);
void ParseUserParams(const char * el, const char ** attr);
void ParseUser(const char * el, const char ** attr);
void ParseUserParams(const char * el, const char ** attr);
+ void ParseAuthBy(const char * el, const char ** attr);
+ void ParseServices(const char * el, const char ** attr);
};
} // namespace GET_USER
};
} // namespace GET_USER