metaforce/hecl/lib/database/sqlite_hecl_vfs.h

22 lines
483 B
C
Raw Normal View History

#ifndef SQLITE_HECL_VFS
#define SQLITE_HECL_VFS
#ifdef __cplusplus
extern "C" {
#endif
2015-05-22 08:21:44 +00:00
#include <stdio.h>
#include <stdlib.h>
2015-05-22 08:21:44 +00:00
#include <stdbool.h>
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);
#ifdef __cplusplus
}
#endif
#endif // SQLITE_HECL_VFS