#include "parser.h"
+#include <string>
+
class PARSER_SEND_MESSAGE: public PARSER
{
public:
- typedef int (* CALLBACK)(const char * answer, void * data);
+ typedef void (* CALLBACK)(bool result, const std::string& reason, void * data);
PARSER_SEND_MESSAGE();
int ParseStart(const char * el, const char ** attr);