OpenFusion/src/db/internal.hpp
dongresource 2dbe2629c1 Tweak CNShared
* Separate pruning frequency from timeout
* Pluralize CNShared map: login -> logins
* Increase connection timeout to 15 minutes
* Do not deallocate a nullptr in playerEnter()
* Kill connections rejected by playerEnter()
* Remove redundant inclusions of mutex headers in a few places
2022-07-31 03:19:27 +02:00

10 lines
136 B
C++

#pragma once
#include "db/Database.hpp"
#include <sqlite3.h>
extern std::mutex dbCrit;
extern sqlite3 *db;
using namespace Database;