]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/include/stg/parser_send_message.h
[NY] Made NETUNIT private.
[stg.git] / stglibs / srvconf.lib / include / stg / parser_send_message.h
index d14153e0d2377f951c62cb186dfb35ea9aa5e375..9b3ca5efe2ffb8824b8215373a8e05ad3cf62bbe 100644 (file)
 
 #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);