#include <WordDBCache.h>
Definition at line 220 of file WordDBCache.h.
Public Member Functions | |
int | Add (char *key, int key_size, char *data, int data_size) |
int | AddFile (String &filename) |
int | CacheCompare (int(*compare)(WordContext *, const WordDBCacheEntry *, const WordDBCacheEntry *)) |
int | CacheFlush () |
int | CacheWrite (const String &filename) |
int | Full () const |
int | Merge (WordDB &db) |
int | Merge (const String &filea, const String &fileb, const String &tmpname) |
int | Merge () |
int | ReadEntry (FILE *fp, WordDBCacheEntry &entry, unsigned char *&buffer, unsigned int &buffer_size) |
WordDBCaches (WordList *nwords, int nfile_max, int size_hint, int nsize_max) | |
int | WriteEntry (FILE *fp, WordDBCacheEntry &entry, unsigned char *&buffer, unsigned int &buffer_size) |
~WordDBCaches () | |
Private Attributes | |
WordDBCache | cache |
off_t | file_max |
WordDB * | files |
WordLock * | lock |
off_t | size |
off_t | size_max |
WordList * | words |