Implemented in-memory SQl database

This commit is contained in:
Luca Deri 2025-08-19 23:04:13 +02:00
parent b29f28ca0b
commit f4ae0571ae
11 changed files with 795 additions and 597 deletions

View file

@ -26,15 +26,12 @@
/* General purpose in-memory databsed based on SQLite */
class InMemorySQLiteDB {
class InMemorySQLiteDB : public SQLiteStoreManager {
private:
sqlite3 *db;
public:
InMemorySQLiteDB();
InMemorySQLiteDB(NetworkInterface *iface);
~InMemorySQLiteDB();
int execSQLQuery(lua_State *vm, const char *sql);
};
#endif /* _IN_MEMORY_SQLITE_DB_H_ */