FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kPageCache_AllocatePage ( kPageCache  cache,
kSize  pageIndex,
kPageCacheItem page 
)

Adds a page associated with the specified page index to the page cache.

If there is a page already associated with the specified page index, it will be replaced.

If there are no free pages available, the least recently used page will be replaced.

Parameters
cachekPageCache object.
pageIndexPage index.
pageReceives a reference to the new page cache entry.
Returns
Operation status.