提交 9f37a5f7 authored 作者: blu's avatar blu

init

上级 b6eadb7d
......@@ -11,10 +11,15 @@ extern "C" {
#include "../vendor/sqlite/sqlite3.h"
}
#include "json.hpp"
using json = nlohmann::json;
namespace DB {
typedef int (*callback)(void*,int,char**,char**);
int exec(void *pUserData, char* fileName, const char* stmt, callback cb);
int getSlices(void *pUser, int iid, const char *fileName);
int getInfo(void *info, int active, const char*fileName);
int clearTable(const char *tableName, const char* fileName);
int setInfo(void* info, const char*fileName);
}
#endif
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论