mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-04 01:40:12 +00:00
Implemented in-memory SQl database
This commit is contained in:
parent
b29f28ca0b
commit
f4ae0571ae
11 changed files with 795 additions and 597 deletions
|
|
@ -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_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue