#ifndef MSQL_ACCES_H #define MSQL_ACCES_H #include "data_acces.h" #include #include #include #include #include class msql_acces : public data_acces { public: msql_acces(); std::string get_passwd(std::string username); std::list get_pinfo(); std::list get_uinfo(); void write_install(std::string package, std::string user); void write_remove(std::string); bool get_package_exists(std::string package); void create_user(std::string user, std::string pass, bool admin); void remove_user(std::string user); private: sql::Connection *con; sql::Driver *driver; }; #endif // MSQL_ACCES_H