#include <WordDBCache.h>
Definition at line 65 of file WordDBCache.h.
Public Member Functions | |
int | Absolute () |
int | Add (char *key, int key_size, char *data, int data_size) |
int | Allocate (int size) |
int | Empty () |
int | Entries (WordDBCacheEntry *&nentries, int &nentries_length) |
int | Flush () |
int | GetMax () const |
int | Pool (char *&npool, int &npool_length) |
int | Relative () |
int | ResizeEntries () |
int | ResizePool (int wanted) |
int | SetCompare (int(*ncompare)(WordContext *, const WordDBCacheEntry *, const WordDBCacheEntry *)) |
int | SetMax (int max) |
int | Sort () |
WordDBCache (WordContext *ncontext) | |
~WordDBCache () | |
Private Attributes | |
int(* | compare )(WordContext *, const WordDBCacheEntry *, const WordDBCacheEntry *) |
WordContext * | context |
WordDBCacheEntry * | entries |
int | entries_length |
int | entries_size |
char * | pool |
int | pool_length |
int | pool_max |
int | pool_size |