extern (C) __gshared nothrow
struct sqlite3_io_methods {
int function(sqlite3_file*) xClose;
int function(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst) xRead;
int function(sqlite3_file*, const void*, int iAmt, sqlite3_int64 iOfst) xWrite;
int function(sqlite3_file*, sqlite3_int64 size) xTruncate;
int function(sqlite3_file*, int flags) xSync;
int function(sqlite3_file*, sqlite3_int64* pSize) xFileSize;
int function(sqlite3_file*, int) xLock;
int function(sqlite3_file*, int) xUnlock;
int function(sqlite3_file*, int* pResOut) xCheckReservedLock;
int function(sqlite3_file*, int op, void* pArg) xFileControl;
int function(sqlite3_file*) xSectorSize;
int function(sqlite3_file*) xDeviceCharacteristics;
int function(sqlite3_file*, int iPg, int pgsz, int, void**) xShmMap;
int function(sqlite3_file*, int offset, int n, int flags) xShmLock;
void function(sqlite3_file*) xShmBarrier;
int function(sqlite3_file*, int deleteFlag) xShmUnmap;
int function(sqlite3_file*, sqlite3_int64 iOfst, int iAmt, void** pp) xFetch;
int function(sqlite3_file*, sqlite3_int64 iOfst, void* p) xUnfetch;
}
CAPI3REF: OS Interface File Virtual Methods Object