2015-05-18 09:29:23 +00:00
|
|
|
#ifndef SQLITE_HECL_VFS
|
|
|
|
#define SQLITE_HECL_VFS
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2015-05-22 08:21:44 +00:00
|
|
|
#include <stdio.h>
|
2015-05-18 09:29:23 +00:00
|
|
|
#include <stdlib.h>
|
2015-05-22 08:21:44 +00:00
|
|
|
#include <stdbool.h>
|
|
|
|
|
2015-05-18 09:29:23 +00:00
|
|
|
typedef void(*TCloseCallback)(void* buf, size_t bufLen, void* ctx);
|
|
|
|
int sqlite_hecl_mem_vfs_register(TCloseCallback closeCb, void* ctx);
|
2015-05-22 08:21:44 +00:00
|
|
|
int sqlite_hecl_memlba_vfs_register(void* headBuf);
|
|
|
|
void sqlite_hecl_memlba_make(FILE* fout, void* bufin, size_t bufinLen, bool bigEndian);
|
2015-05-18 09:29:23 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // SQLITE_HECL_VFS
|