X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fdbsetup.h;h=84ae8151af1880d8d01976a456c87ffcebdf18cd;hb=e662ea47fba8715474851ceebacba400984ee433;hp=e3618d63c41342f59da021f2dd35f37f26b59b7b;hpb=dec33c63afafabf83c3039e916725cac6faef9b3;p=fms.git diff --git a/include/dbsetup.h b/include/dbsetup.h index e3618d6..84ae815 100644 --- a/include/dbsetup.h +++ b/include/dbsetup.h @@ -1,7 +1,14 @@ #ifndef _dbsetup_ #define _dbsetup_ +#include + // opens database and creates tables and initial inserts if necessary void SetupDB(); +// verifies DB isn't corrupt +const bool VerifyDB(); + +// returns result of PRAGMA integrity_check +const std::string TestDBIntegrity(); #endif // _dbsetup_