//-----------------------------------------------------------------------------
SERVCONF::SERVCONF()
: currParser(NULL),
- parseDepth(0),
error(0),
RecvUserDataCb(NULL),
RecvGetUserDataCb(NULL),
parser = XML_ParserCreate(NULL);
}
//-----------------------------------------------------------------------------
+SERVCONF::~SERVCONF()
+{
+XML_ParserFree(parser);
+}
+//-----------------------------------------------------------------------------
void SERVCONF::SetServer(const char * server)
{
nt.SetServer(server);
//-----------------------------------------------------------------------------
int SERVCONF::Start(const char *el, const char **attr)
{
-printfd(__FILE__, "<%s>\n", el);
currParser->ParseStart(el, attr);
return 0;
}