X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fdbsetup.h;h=84ae8151af1880d8d01976a456c87ffcebdf18cd;hb=e662ea47fba8715474851ceebacba400984ee433;hp=2738e5a31e940a08646acf0b5d94f4d4e06ece58;hpb=278ee758050cb7772cd95946688c5b40104f4d8b;p=fms.git diff --git a/include/dbsetup.h b/include/dbsetup.h index 2738e5a..84ae815 100644 --- a/include/dbsetup.h +++ b/include/dbsetup.h @@ -1,9 +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_