git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reset should be virtual.
[stg.git]
/
stglibs
/
srvconf.lib
/
parsers
/
auth_by.h
diff --git
a/stglibs/srvconf.lib/parsers/auth_by.h
b/stglibs/srvconf.lib/parsers/auth_by.h
index f285d2bfb1039f5c11bd5c4b849bbf8c2bbd19ae..31f85769e5302417f8a915a76b7ddd89293db1ac 100644
(file)
--- a/
stglibs/srvconf.lib/parsers/auth_by.h
+++ b/
stglibs/srvconf.lib/parsers/auth_by.h
@@
-38,6
+38,7
@@
public:
PARSER(CALLBACK f, void * data);
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:
CALLBACK callback;