#ifndef CONEXION_H #define CONEXION_H #include "config_reader.h" class conexion { public: conexion(config_reader &conf); virtual ssize_t read_string(std::string &entrada, int size); virtual ssize_t write_string(std::string entrada); bool check_pass(std::string usernem, std::string pass); protected: config_reader *config; int fd; }; #endif // CONEXION_H