1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
bitflags! {
    /// Flags accepted by various BDB library calls.
    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_BACKUP_CLEAN = 0x00000002;
        const DB_BACKUP_FILES = 0x00000008;
        const DB_BACKUP_NO_LOGS = 0x00000010;
        const DB_BACKUP_SINGLE_DIR = 0x00000020;
        const DB_BACKUP_UPDATE = 0x00000040;
        const DB_BOOTSTRAP_HELPER = 0x00000001;
        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 = 0x00000008;
        const DB_CXX_NO_EXCEPTIONS = 0x00000002;
        const DB_DATABASE_LOCKING = 0x00000080;
        const DB_DIRECT = 0x00000020;
        const DB_DIRECT_DB = 0x00000200;
        const DB_DSYNC_DB = 0x00000400;
        const DB_DUP = 0x00000010;
        const DB_DUPSORT = 0x00000002;
        const DB_DURABLE_UNKNOWN = 0x00000040;
        const DB_ENCRYPT = 0x00000001;
        const DB_ENCRYPT_AES = 0x00000001;
        const DB_EXCL = 0x00000004;
        const DB_EXTENT = 0x00000100;
        const DB_FAILCHK = 0x00000010;
        const DB_FAILCHK_ISALIVE = 0x00000040;
        const DB_FAST_STAT = 0x00000001;
        const DB_FCNTL_LOCKING = 0x00000800;
        const DB_FLUSH = 0x00000002;
        const DB_FORCE = 0x00000001;
        const DB_FORCESYNC = 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_GROUP_CREATOR = 0x00000002;
        const DB_HOTBACKUP_IN_PROGRESS = 0x00000800;
        const DB_IGNORE_LEASE = 0x00001000;
        const DB_IMMUTABLE_KEY = 0x00000002;
        const DB_INIT_CDB = 0x00000080;
        const DB_INIT_LOCK = 0x00000100;
        const DB_INIT_LOG = 0x00000200;
        const DB_INIT_MPOOL = 0x00000400;
        const DB_INIT_MUTEX = 0x00000800;
        const DB_INIT_REP = 0x00001000;
        const DB_INIT_TXN = 0x00002000;
        const DB_INORDER = 0x00000020;
        const DB_INTERNAL_PERSISTENT_DB = 0x00001000;
        const DB_INTERNAL_TEMPORARY_DB = 0x00002000;
        const DB_JOIN_NOSORT = 0x00000001;
        const DB_LEGACY = 0x00000004;
        const DB_LOCAL_SITE = 0x00000008;
        const DB_LOCKDOWN = 0x00004000;
        const DB_LOCK_CHECK = 0x00000001;
        const DB_LOCK_IGNORE_REC = 0x00000002;
        const DB_LOCK_NOWAIT = 0x00000004;
        const DB_LOCK_RECORD = 0x00000008;
        const DB_LOCK_SET_TIMEOUT = 0x00000010;
        const DB_LOCK_SWITCH = 0x00000020;
        const DB_LOCK_UPGRADE = 0x00000040;
        const DB_LOG_AUTO_REMOVE = 0x00000001;
        const DB_LOG_CHKPNT = 0x00000001;
        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_NO_DATA = 0x00000002;
        const DB_LOG_VERIFY_CAF = 0x00000001;
        const DB_LOG_VERIFY_DBFILE = 0x00000002;
        const DB_LOG_VERIFY_ERR = 0x00000004;
        const DB_LOG_VERIFY_FORWARD = 0x00000008;
        const DB_LOG_VERIFY_INTERR = 0x00000010;
        const DB_LOG_VERIFY_PARTIAL = 0x00000020;
        const DB_LOG_VERIFY_VERBOSE = 0x00000040;
        const DB_LOG_VERIFY_WARNING = 0x00000080;
        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 = 0x00000004;
        const DB_MPOOL_TRY = 0x00000040;
        const DB_MPOOL_UNLINK = 0x00000002;
        const DB_MULTIPLE = 0x00000800;
        const DB_MULTIPLE_KEY = 0x00004000;
        const DB_MULTIVERSION = 0x00000008;
        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_NOERROR = 0x00004000;
        const DB_NOFLUSH = 0x00001000;
        const DB_NOLOCKING = 0x00002000;
        const DB_NOMMAP = 0x00000010;
        const DB_NOORDERCHK = 0x00000002;
        const DB_NOPANIC = 0x00004000;
        const DB_NOSYNC = 0x00000001;
        const DB_NO_AUTO_COMMIT = 0x00008000;
        const DB_NO_CHECKPOINT = 0x00008000;
        const DB_ODDFILESIZE = 0x00000080;
        const DB_ORDERCHKONLY = 0x00000004;
        const DB_OVERWRITE = 0x00008000;
        const DB_PANIC_ENVIRONMENT = 0x00010000;
        const DB_PRINTABLE = 0x00000008;
        const DB_PRIVATE = 0x00010000;
        const DB_PR_PAGE = 0x00000010;
        const DB_PR_RECOVERYTEST = 0x00000020;
        const DB_RDONLY = 0x00000400;
        const DB_RDWRMASTER = 0x00010000;
        const DB_READ_COMMITTED = 0x00000400;
        const DB_READ_UNCOMMITTED = 0x00000200;
        const DB_RECNUM = 0x00000040;
        const DB_RECOVER = 0x00000002;
        const DB_RECOVER_FATAL = 0x00020000;
        const DB_REGION_INIT = 0x00020000;
        const DB_REGISTER = 0x00040000;
        const DB_RENUMBER = 0x00000080;
        const DB_REPMGR_CONF_2SITE_STRICT = 0x00000001;
        const DB_REPMGR_CONF_ELECTIONS = 0x00000002;
        const DB_REPMGR_NEED_RESPONSE = 0x00000001;
        const DB_REPMGR_PEER = 0x00000010;
        const DB_REP_ANYWHERE = 0x00000001;
        const DB_REP_CLIENT = 0x00000001;
        const DB_REP_CONF_AUTOINIT = 0x00000004;
        const DB_REP_CONF_AUTOROLLBACK = 0x00000008;
        const DB_REP_CONF_BULK = 0x00000010;
        const DB_REP_CONF_DELAYCLIENT = 0x00000020;
        const DB_REP_CONF_INMEM = 0x00000040;
        const DB_REP_CONF_LEASE = 0x00000080;
        const DB_REP_CONF_NOWAIT = 0x00000100;
        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 = 0x00002000;
        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_ALLOC = 0x00000008;
        const DB_STAT_CLEAR = 0x00000001;
        const DB_STAT_LOCK_CONF = 0x00000010;
        const DB_STAT_LOCK_LOCKERS = 0x00000020;
        const DB_STAT_LOCK_OBJECTS = 0x00000040;
        const DB_STAT_LOCK_PARAMS = 0x00000080;
        const DB_STAT_MEMP_HASH = 0x00000010;
        const DB_STAT_MEMP_NOERROR = 0x00000020;
        const DB_STAT_SUBSYSTEM = 0x00000002;
        const DB_STAT_SUMMARY = 0x00000010;
        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 = 0x00080000;
        const DB_THREAD = 0x00000020;
        const DB_TIME_NOTGRANTED = 0x00040000;
        const DB_TRUNCATE = 0x00020000;
        const DB_TXN_BULK = 0x00000010;
        const DB_TXN_FAMILY = 0x00000040;
        const DB_TXN_NOSYNC = 0x00000001;
        const DB_TXN_NOT_DURABLE = 0x00000004;
        const DB_TXN_NOWAIT = 0x00000002;
        const DB_TXN_SNAPSHOT = 0x00000004;
        const DB_TXN_SYNC = 0x00000008;
        const DB_TXN_WAIT = 0x00000080;
        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_BACKUP = 0x00000001;
        const DB_VERB_DEADLOCK = 0x00000002;
        const DB_VERB_FILEOPS = 0x00000004;
        const DB_VERB_FILEOPS_ALL = 0x00000008;
        const DB_VERB_RECOVERY = 0x00000010;
        const DB_VERB_REGISTER = 0x00000020;
        const DB_VERB_REPLICATION = 0x00000040;
        const DB_VERB_REPMGR_CONNFAIL = 0x00000080;
        const DB_VERB_REPMGR_MISC = 0x00000100;
        const DB_VERB_REP_ELECT = 0x00000200;
        const DB_VERB_REP_LEASE = 0x00000400;
        const DB_VERB_REP_MISC = 0x00000800;
        const DB_VERB_REP_MSGS = 0x00001000;
        const DB_VERB_REP_SYNC = 0x00002000;
        const DB_VERB_REP_SYSTEM = 0x00004000;
        const DB_VERB_REP_TEST = 0x00008000;
        const DB_VERB_WAITSFOR = 0x00010000;
        const DB_VERIFY = 0x00000002;
        const DB_VERIFY_PARTITION = 0x00040000;
        const DB_WRITECURSOR = 0x00000010;
        const DB_WRITELOCK = 0x00000020;
        const DB_WRITEOPEN = 0x00040000;
        const DB_XA_CREATE = 0x00000001;
        const DB_YIELDCPU = 0x00080000;
    }
}