4 #include "protocol/protocol.h" 7 #include "server/log/logger.h" 9 #include <boost/filesystem.hpp> 17 void save_text_message(text_request_ptr message);
18 std::deque<text_response_ptr> get_history(identifier_t roomid);
20 void add_logins(std::string login, identifier_t logi_id, std::string password);
22 identifier_t get_loginid(std::string login)
const;
24 identifier_t check_client(std::string login, std::string password)
const;
28 sqlite3* db_ptr = NULL;
29 static std::string create_table_history;
30 static std::string create_table_logins;
34 using database_ptr = std::shared_ptr<Database>;
Definition: database.h:11
Database()
Database::Database.
Definition: database.cpp:25