]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/configproto.h
Added a function to check user existance.
[stg.git] / projects / stargazer / plugins / configuration / sgconfig / configproto.h
index 4b93d675a00eba551d0d02836df58038d1a621b6..206e543bcadd598368893e789804067db05afc6e 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);
     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();
 
 
     int             ParseCommand();
 
@@ -100,6 +101,7 @@ private:
     int                         state;
     ADMIN *                     currAdmin;
     PLUGIN_LOGGER &             logger;
     int                         state;
     ADMIN *                     currAdmin;
     PLUGIN_LOGGER &             logger;
+    std::string                 dataAnswer;
 
     int                         listenSocket;
 
 
     int                         listenSocket;