Add files via upload

This commit is contained in:
Chris-bot374
2024-07-06 11:57:40 +02:00
committed by GitHub
parent b0606de4af
commit 460dda6d21
6 changed files with 630 additions and 0 deletions

18
src/Core/DBLogin.hpp Normal file
View File

@@ -0,0 +1,18 @@
#ifndef _DBLOGIN_HPP_
#define _DBLOGIN_HPP_
#include "DBHandler.hpp"
class DBLogin : public DBHandler {
public:
DBLogin(std::string connStr);
/*
return 1 if admin | 0 if not admin | -1 if failed
*/
int checkValidLogin(int id, std::string pw);
};
#endif