version 0.3.28
[fms.git] / include / dbsetup.h
index e3618d6..84ae815 100644 (file)
@@ -1,7 +1,14 @@
 #ifndef _dbsetup_\r
 #define _dbsetup_\r
 \r
+#include <string>\r
+\r
 // opens database and creates tables and initial inserts if necessary\r
 void SetupDB();\r
+// verifies DB isn't corrupt\r
+const bool VerifyDB();\r
+\r
+// returns result of PRAGMA integrity_check\r
+const std::string TestDBIntegrity();\r
 \r
 #endif // _dbsetup_\r