X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fdbsetup.h;h=4b61a507384c0d083a4cb17085b2529d92c46d7b;hb=109c20e6f822c6efa465af31249e5608469253b6;hp=84ae8151af1880d8d01976a456c87ffcebdf18cd;hpb=30c26abc85a6331fecdcb6b03813710bfbc63d3f;p=fms.git diff --git a/include/dbsetup.h b/include/dbsetup.h index 84ae815..4b61a50 100644 --- a/include/dbsetup.h +++ b/include/dbsetup.h @@ -3,12 +3,14 @@ #include +#include "db/sqlite3db.h" + // opens database and creates tables and initial inserts if necessary -void SetupDB(); +void SetupDB(SQLite3DB::DB *db); // verifies DB isn't corrupt -const bool VerifyDB(); +const bool VerifyDB(SQLite3DB::DB *db); // returns result of PRAGMA integrity_check -const std::string TestDBIntegrity(); +const std::string TestDBIntegrity(SQLite3DB::DB *db); #endif // _dbsetup_