]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/configproto.h
Added stream encryption/decryption tests.
[stg.git] / projects / stargazer / plugins / configuration / sgconfig / configproto.h
index 7f6929fe5ba986395fa0a19fed8e6163eadb6330..4b93d675a00eba551d0d02836df58038d1a621b6 100644 (file)
@@ -84,13 +84,12 @@ private:
     int             RecvLoginS(int sock);
     int             SendLoginSAnswer(int sock, int err);
     int             RecvData(int sock);
     int             RecvLoginS(int sock);
     int             SendLoginSAnswer(int sock, int err);
     int             RecvData(int sock);
-    int             SendDataAnswer(int sock);
-    void            SendError(const char * text);
+    int             SendDataAnswer(int sock, const std::string & answer);
+    int             SendError(int sock, const std::string & text);
     void            WriteLogAccessFailed(uint32_t ip);
 
     int             ParseCommand();
 
     void            WriteLogAccessFailed(uint32_t ip);
 
     int             ParseCommand();
 
-    std::list<std::string>      answerList;
     std::list<std::string>      requestList;
     uint32_t                    adminIP;
     std::string                 adminLogin;
     std::list<std::string>      requestList;
     uint32_t                    adminIP;
     std::string                 adminLogin;