X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/8b2d407ef1f52d42ca30d8f5e23c7a4277a2acd5..01ee16d4dc8527fce90f353b60d3df9c313f54ce:/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);