package phashtbl
Module Phashtbl.StrKeyToStrValSource
open_new filename creates a new persistent hashtbl. dbm will create filename.dir and filename.pag files.
open_existing filename opens an existing persistent hashtbl for reading and writing. The files filename.dir and filename.pag must already exist.
add pht key value binds key to value in pht. Raises Dbm_error if key is already bound in pht.
replace pht key value binds key to value in pht. If pht already contains a binding for key, that previous binding is discarded and replaced by value.
remove pht key removes key and its bound value from pht. If key is unbound in pht, raises Dbm_error.
find pht key finds the value bound to key in pht or raises Not_found if key is unbound.
iter f pht calls f key value on each (key, value) binding from pht.