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 formatting.
[stg.git]
/
stglibs
/
srvconf.lib
/
parsers
/
chg_user.h
diff --git
a/stglibs/srvconf.lib/parsers/chg_user.h
b/stglibs/srvconf.lib/parsers/chg_user.h
index c3ec1888118f9f5ffb62a90adebb4fb0e99d3bed..9f8e6b031bdca9b7539d74d301f2b9e498ee5262 100644
(file)
--- a/
stglibs/srvconf.lib/parsers/chg_user.h
+++ b/
stglibs/srvconf.lib/parsers/chg_user.h
@@
-26,6
+26,9
@@
#include "stg/servconf_types.h"
#include "stg/servconf_types.h"
+struct USER_CONF_RES;
+struct USER_STAT_RES;
+
namespace STG
{
namespace CHG_USER
namespace STG
{
namespace CHG_USER
@@
-34,18
+37,20
@@
namespace CHG_USER
class PARSER: public STG::PARSER
{
public:
class PARSER: public STG::PARSER
{
public:
- PARSER(CALLBACK f, void * data);
+ PARSER(
SIMPLE::
CALLBACK f, void * data);
int ParseStart(const char * el, const char ** attr);
void ParseEnd(const char * el);
private:
int ParseStart(const char * el, const char ** attr);
void ParseEnd(const char * el);
private:
- CALLBACK callback;
+
SIMPLE::
CALLBACK callback;
void * data;
int depth;
void ParseAnswer(const char * el, const char ** attr);
};
void * data;
int depth;
void ParseAnswer(const char * el, const char ** attr);
};
+std::string Serialize(const USER_CONF_RES & conf, const USER_STAT_RES & stat);
+
} // namespace CHG_USER
} // namespace STG
} // namespace CHG_USER
} // namespace STG