bitflags! {
pub struct Flags: u32 {
const DB_NONE = 0x00000000;
const DB_AGGRESSIVE = 0x00000001;
const DB_ARCH_ABS = 0x00000001;
const DB_ARCH_DATA = 0x00000002;
const DB_ARCH_LOG = 0x00000004;
const DB_ARCH_REMOVE = 0x00000008;
const DB_AUTO_COMMIT = 0x00000100;
const DB_CDB_ALLDB = 0x00000040;
const DB_CHKSUM = 0x00000008;
const DB_CKP_INTERNAL = 0x00000002;
const DB_CREATE = 0x00000001;
const DB_CURSOR_BULK = 0x00000001;
const DB_CURSOR_TRANSIENT = 0x00000004;
const DB_CXX_NO_EXCEPTIONS = 0x00000002;
const DB_DIRECT = 0x00000010;
const DB_DIRECT_DB = 0x00000080;
const DB_DSYNC_DB = 0x00000200;
const DB_DUP = 0x00000010;
const DB_DUPSORT = 0x00000004;
const DB_DURABLE_UNKNOWN = 0x00000020;
const DB_ENCRYPT = 0x00000001;
const DB_ENCRYPT_AES = 0x00000001;
const DB_EXCL = 0x00000040;
const DB_EXTENT = 0x00000040;
const DB_FAILCHK = 0x00000020;
const DB_FAST_STAT = 0x00000001;
const DB_FCNTL_LOCKING = 0x00000800;
const DB_FLUSH = 0x00000001;
const DB_FORCE = 0x00000001;
const DB_FOREIGN_ABORT = 0x00000001;
const DB_FOREIGN_CASCADE = 0x00000002;
const DB_FOREIGN_NULLIFY = 0x00000004;
const DB_FREELIST_ONLY = 0x00000001;
const DB_FREE_SPACE = 0x00000002;
const DB_IGNORE_LEASE = 0x00002000;
const DB_IMMUTABLE_KEY = 0x00000002;
const DB_INIT_CDB = 0x00000040;
const DB_INIT_LOCK = 0x00000080;
const DB_INIT_LOG = 0x00000100;
const DB_INIT_MPOOL = 0x00000200;
const DB_INIT_REP = 0x00000400;
const DB_INIT_TXN = 0x00000800;
const DB_INORDER = 0x00000020;
const DB_JOIN_NOSORT = 0x00000001;
const DB_LOCKDOWN = 0x00001000;
const DB_LOCK_NOWAIT = 0x00000001;
const DB_LOCK_RECORD = 0x00000002;
const DB_LOCK_SET_TIMEOUT = 0x00000004;
const DB_LOCK_SWITCH = 0x00000008;
const DB_LOCK_UPGRADE = 0x00000010;
const DB_LOG_AUTO_REMOVE = 0x00000001;
const DB_LOG_CHKPNT = 0x00000002;
const DB_LOG_COMMIT = 0x00000004;
const DB_LOG_DIRECT = 0x00000002;
const DB_LOG_DSYNC = 0x00000004;
const DB_LOG_IN_MEMORY = 0x00000008;
const DB_LOG_NOCOPY = 0x00000008;
const DB_LOG_NOT_DURABLE = 0x00000010;
const DB_LOG_WRNOSYNC = 0x00000020;
const DB_LOG_ZERO = 0x00000010;
const DB_MPOOL_CREATE = 0x00000001;
const DB_MPOOL_DIRTY = 0x00000002;
const DB_MPOOL_DISCARD = 0x00000001;
const DB_MPOOL_EDIT = 0x00000004;
const DB_MPOOL_FREE = 0x00000008;
const DB_MPOOL_LAST = 0x00000010;
const DB_MPOOL_NEW = 0x00000020;
const DB_MPOOL_NOFILE = 0x00000001;
const DB_MPOOL_NOLOCK = 0x00000002;
const DB_MPOOL_TRY = 0x00000040;
const DB_MPOOL_UNLINK = 0x00000002;
const DB_MULTIPLE = 0x00000800;
const DB_MULTIPLE_KEY = 0x00004000;
const DB_MULTIVERSION = 0x00000004;
const DB_MUTEX_ALLOCATED = 0x00000001;
const DB_MUTEX_LOCKED = 0x00000002;
const DB_MUTEX_LOGICAL_LOCK = 0x00000004;
const DB_MUTEX_PROCESS_ONLY = 0x00000008;
const DB_MUTEX_SELF_BLOCK = 0x00000010;
const DB_MUTEX_SHARED = 0x00000020;
const DB_NOLOCKING = 0x00000400;
const DB_NOMMAP = 0x00000008;
const DB_NOORDERCHK = 0x00000002;
const DB_NOPANIC = 0x00000800;
const DB_NO_AUTO_COMMIT = 0x00001000;
const DB_ODDFILESIZE = 0x00000080;
const DB_ORDERCHKONLY = 0x00000004;
const DB_OVERWRITE = 0x00001000;
const DB_PANIC_ENVIRONMENT = 0x00002000;
const DB_PRINTABLE = 0x00000008;
const DB_PRIVATE = 0x00002000;
const DB_PR_PAGE = 0x00000010;
const DB_PR_RECOVERYTEST = 0x00000020;
const DB_RDONLY = 0x00000400;
const DB_RDWRMASTER = 0x00002000;
const DB_READ_COMMITTED = 0x00000400;
const DB_READ_UNCOMMITTED = 0x00000200;
const DB_RECNUM = 0x00000040;
const DB_RECOVER = 0x00000002;
const DB_RECOVER_FATAL = 0x00004000;
const DB_REGION_INIT = 0x00004000;
const DB_REGISTER = 0x00008000;
const DB_RENUMBER = 0x00000080;
const DB_REPMGR_CONF_2SITE_STRICT = 0x00000001;
const DB_REPMGR_PEER = 0x00000001;
const DB_REP_ANYWHERE = 0x00000001;
const DB_REP_CLIENT = 0x00000001;
const DB_REP_CONF_BULK = 0x00000002;
const DB_REP_CONF_DELAYCLIENT = 0x00000004;
const DB_REP_CONF_INMEM = 0x00000008;
const DB_REP_CONF_LEASE = 0x00000010;
const DB_REP_CONF_NOAUTOINIT = 0x00000020;
const DB_REP_CONF_NOWAIT = 0x00000040;
const DB_REP_ELECTION = 0x00000004;
const DB_REP_MASTER = 0x00000002;
const DB_REP_NOBUFFER = 0x00000002;
const DB_REP_PERMANENT = 0x00000004;
const DB_REP_REREQUEST = 0x00000008;
const DB_REVSPLITOFF = 0x00000100;
const DB_RMW = 0x00001000;
const DB_RPCCLIENT = 0x00000001;
const DB_SALVAGE = 0x00000040;
const DB_SA_SKIPFIRSTKEY = 0x00000080;
const DB_SA_UNKNOWNKEY = 0x00000100;
const DB_SEQ_DEC = 0x00000001;
const DB_SEQ_INC = 0x00000002;
const DB_SEQ_RANGE_SET = 0x00000004;
const DB_SEQ_WRAP = 0x00000008;
const DB_SEQ_WRAPPED = 0x00000010;
const DB_SET_LOCK_TIMEOUT = 0x00000001;
const DB_SET_REG_TIMEOUT = 0x00000004;
const DB_SET_TXN_NOW = 0x00000008;
const DB_SET_TXN_TIMEOUT = 0x00000002;
const DB_SHALLOW_DUP = 0x00000100;
const DB_SNAPSHOT = 0x00000200;
const DB_STAT_ALL = 0x00000004;
const DB_STAT_CLEAR = 0x00000001;
const DB_STAT_LOCK_CONF = 0x00000008;
const DB_STAT_LOCK_LOCKERS = 0x00000010;
const DB_STAT_LOCK_OBJECTS = 0x00000020;
const DB_STAT_LOCK_PARAMS = 0x00000040;
const DB_STAT_MEMP_HASH = 0x00000008;
const DB_STAT_MEMP_NOERROR = 0x00000010;
const DB_STAT_SUBSYSTEM = 0x00000002;
const DB_ST_DUPOK = 0x00000200;
const DB_ST_DUPSET = 0x00000400;
const DB_ST_DUPSORT = 0x00000800;
const DB_ST_IS_RECNO = 0x00001000;
const DB_ST_OVFL_LEAF = 0x00002000;
const DB_ST_RECNUM = 0x00004000;
const DB_ST_RELEN = 0x00008000;
const DB_ST_TOPLEVEL = 0x00010000;
const DB_SYSTEM_MEM = 0x00010000;
const DB_THREAD = 0x00000010;
const DB_TIME_NOTGRANTED = 0x00008000;
const DB_TRUNCATE = 0x00004000;
const DB_TXN_NOSYNC = 0x00000001;
const DB_TXN_NOT_DURABLE = 0x00000002;
const DB_TXN_NOWAIT = 0x00000010;
const DB_TXN_SNAPSHOT = 0x00000002;
const DB_TXN_SYNC = 0x00000004;
const DB_TXN_WAIT = 0x00000008;
const DB_TXN_WRITE_NOSYNC = 0x00000020;
const DB_UNREF = 0x00020000;
const DB_UPGRADE = 0x00000001;
const DB_USE_ENVIRON = 0x00000004;
const DB_USE_ENVIRON_ROOT = 0x00000008;
const DB_VERB_DEADLOCK = 0x00000001;
const DB_VERB_FILEOPS = 0x00000002;
const DB_VERB_FILEOPS_ALL = 0x00000004;
const DB_VERB_RECOVERY = 0x00000008;
const DB_VERB_REGISTER = 0x00000010;
const DB_VERB_REPLICATION = 0x00000020;
const DB_VERB_REPMGR_CONNFAIL = 0x00000040;
const DB_VERB_REPMGR_MISC = 0x00000080;
const DB_VERB_REP_ELECT = 0x00000100;
const DB_VERB_REP_LEASE = 0x00000200;
const DB_VERB_REP_MISC = 0x00000400;
const DB_VERB_REP_MSGS = 0x00000800;
const DB_VERB_REP_SYNC = 0x00001000;
const DB_VERB_REP_TEST = 0x00002000;
const DB_VERB_WAITSFOR = 0x00004000;
const DB_VERIFY = 0x00000002;
const DB_VERIFY_PARTITION = 0x00040000;
const DB_WRITECURSOR = 0x00000008;
const DB_WRITELOCK = 0x00000010;
const DB_WRITEOPEN = 0x00008000;
const DB_YIELDCPU = 0x00010000;
}
}