Revised SQL setup script, and the script function

This commit is contained in:
Kayne Ruse
2014-04-20 23:11:46 +10:00
parent f315f4bf35
commit f56cb58dfb
3 changed files with 65 additions and 46 deletions
+1 -1
View File
@@ -26,6 +26,6 @@
#include <string>
int runSQLScript(sqlite3* db, std::string fname);
int runSQLScript(sqlite3* db, std::string fname, int (*callback)(void*,int,char**,char**) = nullptr, void* argPtr = nullptr);
#endif