sudo and doxygen

This commit is contained in:
2020-06-01 23:23:23 +02:00
parent 3387aa7ca1
commit fda48edaf0
9 changed files with 237 additions and 23 deletions

View File

@@ -6,10 +6,29 @@
class session_manager_ssl : public session_manager
{
public:
/**
* @brief session_manager_ssl
* Object that gide a secure session
* @param fd File desccriptor used in the ssl conexion
*/
session_manager_ssl(SSL* fd);
int read_data(char* input, int size);
int write_data(std::string output);
private:
/**
* @brief read_data
* Recive data from a secure socket
* @param input Buffer to deposite the info
* @param size Max size of a info readed
* @return Number of bytes readed
*/
int read_data(char* input, int size);
/**
* @brief write_data
* Write data using a secure socket
* @param output
* String to have te info to send
* @return Number of bytes writed
*/
int write_data(std::string output);
SSL* sfd;
};