#include <map>
#include <utility>
-#include <cstddef>
#include <strings.h>
}
-GET_USER::PARSER::PARSER()
- : callback(NULL),
- data(NULL),
+GET_USER::PARSER::PARSER(CALLBACK f, void * d)
+ : callback(f),
+ data(d),
depth(0),
parsingAnswer(false)
{
if (!TryParse(propertyParsers, ToLower(el), attr))
error = "Invalid parameter.";
}
-//-----------------------------------------------------------------------------
-void GET_USER::PARSER::SetCallback(CALLBACK f, void * d)
-{
-callback = f;
-data = d;
-}