first commit, base server

This commit is contained in:
2020-05-08 12:43:46 +02:00
commit e5078b4969
23 changed files with 955 additions and 0 deletions

21
msql_acces.h Normal file
View File

@@ -0,0 +1,21 @@
#ifndef MSQL_ACCES_H
#define MSQL_ACCES_H
#include "data_acces.h"
#include <cppconn/driver.h>
#include <cppconn/exception.h>
#include <cppconn/resultset.h>
#include <cppconn/statement.h>
#include <cppconn/prepared_statement.h>
class msql_acces : public data_acces
{
public:
msql_acces();
std::string get_passwd(std::string username);
private:
sql::Connection *con;
sql::Driver *driver;
};
#endif // MSQL_ACCES_H