X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/8b2d407ef1f52d42ca30d8f5e23c7a4277a2acd5..c3b507d1eb8a82f9eda3a5e7f7b2dd2f2e9bb4c0:/stglibs/srvconf.lib/include/stg/parser_send_message.h diff --git a/stglibs/srvconf.lib/include/stg/parser_send_message.h b/stglibs/srvconf.lib/include/stg/parser_send_message.h index d14153e0..9b3ca5ef 100644 --- a/stglibs/srvconf.lib/include/stg/parser_send_message.h +++ b/stglibs/srvconf.lib/include/stg/parser_send_message.h @@ -24,10 +24,12 @@ #include "parser.h" +#include + 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);