hash_s Struct Reference

The abstract hash type. More...

#include <hash_ops.h>

Data Fields

GDBM_FILE db
 We use a GDBM file as a hash, so we don't have to have all data in memory.
GDBM_FILE to_delete
 Storage for transactional DELETE.
char * filename
 Allocated copy of the filename, if HASH_REMEMBER_FILENAME was set.

Detailed Description

The abstract hash type.

Definition at line 27 of file hash_ops.h.


Field Documentation

GDBM_FILE hash_s::db

We use a GDBM file as a hash, so we don't have to have all data in memory.

Definition at line 31 of file hash_ops.h.

Referenced by hsh__close(), hsh__collect_garbage(), hsh__fetch(), hsh__first(), hsh__new(), hsh__next(), and hsh__store().

Allocated copy of the filename, if HASH_REMEMBER_FILENAME was set.

Definition at line 40 of file hash_ops.h.

Referenced by hsh__close(), and hsh__new().

GDBM_FILE hash_s::to_delete

Storage for transactional DELETE.

Eg on commit only when everything was ok we may remove the used copyfrom entries; here we store the keys to remove.

Definition at line 38 of file hash_ops.h.

Referenced by hsh__close(), hsh__collect_garbage(), and hsh__register_delete().


The documentation for this struct was generated from the following file:

Generated for fsvs by  doxygen 1.6.1