#include <db_cxx.h>typedef u_int32_t (*h_hash_fcn)(const void *, u_int32_t); void DbInfo::set_h_hash(h_hash_fcn);
If a hash method is specified, hash_open will attempt to determine if the hash method specified is the same as the one with which the database was created, and will fail if it detects that it is not.