projects
/
fms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version 0.3.29
[fms.git]
/
include
/
dbsetup.h
diff --git
a/include/dbsetup.h
b/include/dbsetup.h
index
84ae815
..
4b61a50
100644
(file)
--- a/
include/dbsetup.h
+++ b/
include/dbsetup.h
@@
-3,12
+3,14
@@
\r
#include <string>
\r
\r
\r
#include <string>
\r
\r
+#include "db/sqlite3db.h"
\r
+
\r
// opens database and creates tables and initial inserts if necessary
\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
// 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
\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
\r
#endif // _dbsetup_
\r