Package dbh-devel

Header files for disk based hash library

http://dbh.sourceforge.net/

This package includes the static libraries and header files you will need
to compile applications for dbh.

Library Functions (Section 3)
dbh
Disk Based Hashtables (DBH) 64 bit Library to create and manage hash tables residing on disk. Associations are made between keys and values so that for a given...
dbh_close
dbh_close will close the DBHashTable file (thus flushing io buffer). dbh_destroy will close an open DBHashTable and erase the file from disk. Convenience...
dbh_erase
Mark the record currently loaded into memory as erased. If no record is currently loaded, behaviour is undefined. This is the opposite of dbh_erase (). Mark the...
dbh_find
Find the top level subtree FILE_POINTER for the currently loaded record, but ignoring the last n branches on top record.
dbh_genkey
dbh_genkey and dbh_genkey2 obtain a key from a secuential series of natural numbers (positive integers without zero) which does not conserve the order of the...
dbh_load
dbh_load will load a record using the currently set key. This function will also load erased values, except that it will return 0. dbh_load_address will load a...
dbh_macros
Convenience macros to retrieve DBHashTable structure elements.Dbh_keylength () This macro returns the keylenth in bytes associated to the DBHashTable. The value...
dbh_open
dbh_open () opens an existing DBHashTable at path in read/write mode while dbh_openR () will open in read-only mode. To create, initialize and open a new...
dbh_regen_sweep
Regenerate the DBHashTable eliminating erased records and optimizing disk access and speed for sweep access using dbh_regen_sweep and for fanout access using...
dbh_set_data
The dbh_set_data function copies the user data into the current DBHashTable record and along with function dbh_set_key makes the current DBHashTable record...
dbh_set_size
Function dbh_set_size defines the maximum amount of memory to be allocated to the DBHashTable records. This is nonvolatile information which need to be set only...
dbh_sweep
dbh_foreach_sweep applies function operate to each member of the hash, following a sweep trajectory. Sweep is done by traversing the DBHashTable in a vertical...
dbh_update
dbh_update will update the current record in memory to the disk based hash. This function will update erased records as well as unerased records, but if an...