sqlite3_pcache_methods2

CAPI3REF: Application Defined Page Cache.

extern (C) __gshared nothrow
struct sqlite3_pcache_methods2 {
int iVersion;
void* pArg;
int function(void*) xInit;
void function(void*) xShutdown;
sqlite3_pcache* function(int szPage, int szExtra, int bPurgeable) xCreate;
void function(sqlite3_pcache*, int nCachesize) xCachesize;
int function(sqlite3_pcache*) xPagecount;
sqlite3_pcache_page* function(sqlite3_pcache*, uint key, int createFlag) xFetch;
void function(sqlite3_pcache*, sqlite3_pcache_page*, int discard) xUnpin;
void function(sqlite3_pcache*, sqlite3_pcache_page*, uint oldKey, uint newKey) xRekey;
void function(sqlite3_pcache*, uint iLimit) xTruncate;
void function(sqlite3_pcache*) xDestroy;
void function(sqlite3_pcache*) xShrink;
}

Meta