Small. Fast. Reliable.
Choose any three.

SQLite C 接口

自定义页缓存对象
Custom Page Cache Object

typedef struct sqlite3_pcache_page sqlite3_pcache_page;
struct sqlite3_pcache_page {
  void *pBuf;        /* 页的内容 The content of the page */
  void *pExtra;      /* 页相关的扩展信息 Extra information associated with the page */
};

sqlite3_pcache_page对象表示了页缓存中的一个页面。页缓存会为这个对象分配实例。各种页缓存的函数都使用指向这个对象的指针作为参数或者返回值。
The sqlite3_pcache_page object represents a single page in the page cache. The page cache will allocate instances of this object. Various methods of the page cache use pointers to instances of this object as parameters or as their return value.

更多信息参见sqlite3_pcache_methods2
See sqlite3_pcache_methods2 for additional information.

另行参见ObjectsConstantsFunctions的列表。
See also lists of Objects, Constants, and Functions.