]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/configproto.h
Store parser answer in configproto.
[stg.git] / projects / stargazer / plugins / configuration / sgconfig / configproto.h
index 623254ac1a0eee515d0e1e07a81efe4383a11253..b50b434aa80993bedf15830888b6dde8ab5daf80 100644 (file)
@@ -87,6 +87,7 @@ private:
     int             SendDataAnswer(int sock, const std::string & answer);
     int             SendError(int sock, const std::string & text);
     void            WriteLogAccessFailed(uint32_t ip);
+    const std::string & GetDataAnswer() const { return dataAnswer; }
 
     int             ParseCommand();
 
@@ -100,6 +101,7 @@ private:
     int                         state;
     ADMIN *                     currAdmin;
     PLUGIN_LOGGER &             logger;
+    std::string                 dataAnswer;
 
     int                         listenSocket;