#include <db_cxx.h> void DbEnv::set_lk_modes(u_int32_t);
void DbEnv::set_lk_modes(u_int32_t);
Set the number of lock modes to be recognized by the lock table (including the not-granted mode). If no value is specified, the value DB_LOCK_RW_N is used.