X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=include%2Fdbsetup.h;h=84ae8151af1880d8d01976a456c87ffcebdf18cd;hp=2738e5a31e940a08646acf0b5d94f4d4e06ece58;hb=30c26abc85a6331fecdcb6b03813710bfbc63d3f;hpb=56f67ecca96efc7b72d03c95c8c42cfb66e31468 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_