version 0.3.29
[fms.git] / include / dbsetup.h
index 84ae815..4b61a50 100644 (file)
@@ -3,12 +3,14 @@
 \r
 #include <string>\r
 \r
+#include "db/sqlite3db.h"\r
+\r
 // opens database and creates tables and initial inserts if necessary\r
-void SetupDB();\r
+void SetupDB(SQLite3DB::DB *db);\r
 // verifies DB isn't corrupt\r
-const bool VerifyDB();\r
+const bool VerifyDB(SQLite3DB::DB *db);\r
 \r
 // returns result of PRAGMA integrity_check\r
-const std::string TestDBIntegrity();\r
+const std::string TestDBIntegrity(SQLite3DB::DB *db);\r
 \r
 #endif // _dbsetup_\r