libdb_sys/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/libdb-sys-9fc98a4a0e38f712/out/
ffi.rs

1/* automatically generated by rust-bindgen */
2
3pub const _SYS_TYPES_H: u32 = 1;
4pub const _FEATURES_H: u32 = 1;
5pub const _DEFAULT_SOURCE: u32 = 1;
6pub const __GLIBC_USE_ISOC2X: u32 = 0;
7pub const __USE_ISOC11: u32 = 1;
8pub const __USE_ISOC99: u32 = 1;
9pub const __USE_ISOC95: u32 = 1;
10pub const __USE_POSIX_IMPLICITLY: u32 = 1;
11pub const _POSIX_SOURCE: u32 = 1;
12pub const _POSIX_C_SOURCE: u32 = 200809;
13pub const __USE_POSIX: u32 = 1;
14pub const __USE_POSIX2: u32 = 1;
15pub const __USE_POSIX199309: u32 = 1;
16pub const __USE_POSIX199506: u32 = 1;
17pub const __USE_XOPEN2K: u32 = 1;
18pub const __USE_XOPEN2K8: u32 = 1;
19pub const _ATFILE_SOURCE: u32 = 1;
20pub const __WORDSIZE: u32 = 64;
21pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1;
22pub const __SYSCALL_WORDSIZE: u32 = 64;
23pub const __TIMESIZE: u32 = 64;
24pub const __USE_MISC: u32 = 1;
25pub const __USE_ATFILE: u32 = 1;
26pub const __USE_FORTIFY_LEVEL: u32 = 0;
27pub const __GLIBC_USE_DEPRECATED_GETS: u32 = 0;
28pub const __GLIBC_USE_DEPRECATED_SCANF: u32 = 0;
29pub const _STDC_PREDEF_H: u32 = 1;
30pub const __STDC_IEC_559__: u32 = 1;
31pub const __STDC_IEC_60559_BFP__: u32 = 201404;
32pub const __STDC_IEC_559_COMPLEX__: u32 = 1;
33pub const __STDC_IEC_60559_COMPLEX__: u32 = 201404;
34pub const __STDC_ISO_10646__: u32 = 201706;
35pub const __GNU_LIBRARY__: u32 = 6;
36pub const __GLIBC__: u32 = 2;
37pub const __GLIBC_MINOR__: u32 = 35;
38pub const _SYS_CDEFS_H: u32 = 1;
39pub const __glibc_c99_flexarr_available: u32 = 1;
40pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI: u32 = 0;
41pub const __HAVE_GENERIC_SELECTION: u32 = 1;
42pub const _BITS_TYPES_H: u32 = 1;
43pub const _BITS_TYPESIZES_H: u32 = 1;
44pub const __OFF_T_MATCHES_OFF64_T: u32 = 1;
45pub const __INO_T_MATCHES_INO64_T: u32 = 1;
46pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 1;
47pub const __STATFS_MATCHES_STATFS64: u32 = 1;
48pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64: u32 = 1;
49pub const __FD_SETSIZE: u32 = 1024;
50pub const _BITS_TIME64_H: u32 = 1;
51pub const __clock_t_defined: u32 = 1;
52pub const __clockid_t_defined: u32 = 1;
53pub const __time_t_defined: u32 = 1;
54pub const __timer_t_defined: u32 = 1;
55pub const _BITS_STDINT_INTN_H: u32 = 1;
56pub const __BIT_TYPES_DEFINED__: u32 = 1;
57pub const _ENDIAN_H: u32 = 1;
58pub const _BITS_ENDIAN_H: u32 = 1;
59pub const __LITTLE_ENDIAN: u32 = 1234;
60pub const __BIG_ENDIAN: u32 = 4321;
61pub const __PDP_ENDIAN: u32 = 3412;
62pub const _BITS_ENDIANNESS_H: u32 = 1;
63pub const __BYTE_ORDER: u32 = 1234;
64pub const __FLOAT_WORD_ORDER: u32 = 1234;
65pub const LITTLE_ENDIAN: u32 = 1234;
66pub const BIG_ENDIAN: u32 = 4321;
67pub const PDP_ENDIAN: u32 = 3412;
68pub const BYTE_ORDER: u32 = 1234;
69pub const _BITS_BYTESWAP_H: u32 = 1;
70pub const _BITS_UINTN_IDENTITY_H: u32 = 1;
71pub const _SYS_SELECT_H: u32 = 1;
72pub const __sigset_t_defined: u32 = 1;
73pub const __timeval_defined: u32 = 1;
74pub const _STRUCT_TIMESPEC: u32 = 1;
75pub const FD_SETSIZE: u32 = 1024;
76pub const _BITS_PTHREADTYPES_COMMON_H: u32 = 1;
77pub const _THREAD_SHARED_TYPES_H: u32 = 1;
78pub const _BITS_PTHREADTYPES_ARCH_H: u32 = 1;
79pub const __SIZEOF_PTHREAD_MUTEX_T: u32 = 40;
80pub const __SIZEOF_PTHREAD_ATTR_T: u32 = 56;
81pub const __SIZEOF_PTHREAD_RWLOCK_T: u32 = 56;
82pub const __SIZEOF_PTHREAD_BARRIER_T: u32 = 32;
83pub const __SIZEOF_PTHREAD_MUTEXATTR_T: u32 = 4;
84pub const __SIZEOF_PTHREAD_COND_T: u32 = 48;
85pub const __SIZEOF_PTHREAD_CONDATTR_T: u32 = 4;
86pub const __SIZEOF_PTHREAD_RWLOCKATTR_T: u32 = 8;
87pub const __SIZEOF_PTHREAD_BARRIERATTR_T: u32 = 4;
88pub const _THREAD_MUTEX_INTERNAL_H: u32 = 1;
89pub const __PTHREAD_MUTEX_HAVE_PREV: u32 = 1;
90pub const __have_pthread_attr_t: u32 = 1;
91pub const _INTTYPES_H: u32 = 1;
92pub const _STDINT_H: u32 = 1;
93pub const __GLIBC_USE_LIB_EXT2: u32 = 0;
94pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 0;
95pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X: u32 = 0;
96pub const __GLIBC_USE_IEC_60559_EXT: u32 = 0;
97pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 0;
98pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X: u32 = 0;
99pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 0;
100pub const _BITS_WCHAR_H: u32 = 1;
101pub const _BITS_STDINT_UINTN_H: u32 = 1;
102pub const INT8_MIN: i32 = -128;
103pub const INT16_MIN: i32 = -32768;
104pub const INT32_MIN: i32 = -2147483648;
105pub const INT8_MAX: u32 = 127;
106pub const INT16_MAX: u32 = 32767;
107pub const INT32_MAX: u32 = 2147483647;
108pub const UINT8_MAX: u32 = 255;
109pub const UINT16_MAX: u32 = 65535;
110pub const UINT32_MAX: u32 = 4294967295;
111pub const INT_LEAST8_MIN: i32 = -128;
112pub const INT_LEAST16_MIN: i32 = -32768;
113pub const INT_LEAST32_MIN: i32 = -2147483648;
114pub const INT_LEAST8_MAX: u32 = 127;
115pub const INT_LEAST16_MAX: u32 = 32767;
116pub const INT_LEAST32_MAX: u32 = 2147483647;
117pub const UINT_LEAST8_MAX: u32 = 255;
118pub const UINT_LEAST16_MAX: u32 = 65535;
119pub const UINT_LEAST32_MAX: u32 = 4294967295;
120pub const INT_FAST8_MIN: i32 = -128;
121pub const INT_FAST16_MIN: i64 = -9223372036854775808;
122pub const INT_FAST32_MIN: i64 = -9223372036854775808;
123pub const INT_FAST8_MAX: u32 = 127;
124pub const INT_FAST16_MAX: u64 = 9223372036854775807;
125pub const INT_FAST32_MAX: u64 = 9223372036854775807;
126pub const UINT_FAST8_MAX: u32 = 255;
127pub const UINT_FAST16_MAX: i32 = -1;
128pub const UINT_FAST32_MAX: i32 = -1;
129pub const INTPTR_MIN: i64 = -9223372036854775808;
130pub const INTPTR_MAX: u64 = 9223372036854775807;
131pub const UINTPTR_MAX: i32 = -1;
132pub const PTRDIFF_MIN: i64 = -9223372036854775808;
133pub const PTRDIFF_MAX: u64 = 9223372036854775807;
134pub const SIG_ATOMIC_MIN: i32 = -2147483648;
135pub const SIG_ATOMIC_MAX: u32 = 2147483647;
136pub const SIZE_MAX: i32 = -1;
137pub const WINT_MIN: u32 = 0;
138pub const WINT_MAX: u32 = 4294967295;
139pub const ____gwchar_t_defined: u32 = 1;
140pub const __PRI64_PREFIX: &'static [u8; 2usize] = b"l\0";
141pub const __PRIPTR_PREFIX: &'static [u8; 2usize] = b"l\0";
142pub const PRId8: &'static [u8; 2usize] = b"d\0";
143pub const PRId16: &'static [u8; 2usize] = b"d\0";
144pub const PRId32: &'static [u8; 2usize] = b"d\0";
145pub const PRId64: &'static [u8; 3usize] = b"ld\0";
146pub const PRIdLEAST8: &'static [u8; 2usize] = b"d\0";
147pub const PRIdLEAST16: &'static [u8; 2usize] = b"d\0";
148pub const PRIdLEAST32: &'static [u8; 2usize] = b"d\0";
149pub const PRIdLEAST64: &'static [u8; 3usize] = b"ld\0";
150pub const PRIdFAST8: &'static [u8; 2usize] = b"d\0";
151pub const PRIdFAST16: &'static [u8; 3usize] = b"ld\0";
152pub const PRIdFAST32: &'static [u8; 3usize] = b"ld\0";
153pub const PRIdFAST64: &'static [u8; 3usize] = b"ld\0";
154pub const PRIi8: &'static [u8; 2usize] = b"i\0";
155pub const PRIi16: &'static [u8; 2usize] = b"i\0";
156pub const PRIi32: &'static [u8; 2usize] = b"i\0";
157pub const PRIi64: &'static [u8; 3usize] = b"li\0";
158pub const PRIiLEAST8: &'static [u8; 2usize] = b"i\0";
159pub const PRIiLEAST16: &'static [u8; 2usize] = b"i\0";
160pub const PRIiLEAST32: &'static [u8; 2usize] = b"i\0";
161pub const PRIiLEAST64: &'static [u8; 3usize] = b"li\0";
162pub const PRIiFAST8: &'static [u8; 2usize] = b"i\0";
163pub const PRIiFAST16: &'static [u8; 3usize] = b"li\0";
164pub const PRIiFAST32: &'static [u8; 3usize] = b"li\0";
165pub const PRIiFAST64: &'static [u8; 3usize] = b"li\0";
166pub const PRIo8: &'static [u8; 2usize] = b"o\0";
167pub const PRIo16: &'static [u8; 2usize] = b"o\0";
168pub const PRIo32: &'static [u8; 2usize] = b"o\0";
169pub const PRIo64: &'static [u8; 3usize] = b"lo\0";
170pub const PRIoLEAST8: &'static [u8; 2usize] = b"o\0";
171pub const PRIoLEAST16: &'static [u8; 2usize] = b"o\0";
172pub const PRIoLEAST32: &'static [u8; 2usize] = b"o\0";
173pub const PRIoLEAST64: &'static [u8; 3usize] = b"lo\0";
174pub const PRIoFAST8: &'static [u8; 2usize] = b"o\0";
175pub const PRIoFAST16: &'static [u8; 3usize] = b"lo\0";
176pub const PRIoFAST32: &'static [u8; 3usize] = b"lo\0";
177pub const PRIoFAST64: &'static [u8; 3usize] = b"lo\0";
178pub const PRIu8: &'static [u8; 2usize] = b"u\0";
179pub const PRIu16: &'static [u8; 2usize] = b"u\0";
180pub const PRIu32: &'static [u8; 2usize] = b"u\0";
181pub const PRIu64: &'static [u8; 3usize] = b"lu\0";
182pub const PRIuLEAST8: &'static [u8; 2usize] = b"u\0";
183pub const PRIuLEAST16: &'static [u8; 2usize] = b"u\0";
184pub const PRIuLEAST32: &'static [u8; 2usize] = b"u\0";
185pub const PRIuLEAST64: &'static [u8; 3usize] = b"lu\0";
186pub const PRIuFAST8: &'static [u8; 2usize] = b"u\0";
187pub const PRIuFAST16: &'static [u8; 3usize] = b"lu\0";
188pub const PRIuFAST32: &'static [u8; 3usize] = b"lu\0";
189pub const PRIuFAST64: &'static [u8; 3usize] = b"lu\0";
190pub const PRIx8: &'static [u8; 2usize] = b"x\0";
191pub const PRIx16: &'static [u8; 2usize] = b"x\0";
192pub const PRIx32: &'static [u8; 2usize] = b"x\0";
193pub const PRIx64: &'static [u8; 3usize] = b"lx\0";
194pub const PRIxLEAST8: &'static [u8; 2usize] = b"x\0";
195pub const PRIxLEAST16: &'static [u8; 2usize] = b"x\0";
196pub const PRIxLEAST32: &'static [u8; 2usize] = b"x\0";
197pub const PRIxLEAST64: &'static [u8; 3usize] = b"lx\0";
198pub const PRIxFAST8: &'static [u8; 2usize] = b"x\0";
199pub const PRIxFAST16: &'static [u8; 3usize] = b"lx\0";
200pub const PRIxFAST32: &'static [u8; 3usize] = b"lx\0";
201pub const PRIxFAST64: &'static [u8; 3usize] = b"lx\0";
202pub const PRIX8: &'static [u8; 2usize] = b"X\0";
203pub const PRIX16: &'static [u8; 2usize] = b"X\0";
204pub const PRIX32: &'static [u8; 2usize] = b"X\0";
205pub const PRIX64: &'static [u8; 3usize] = b"lX\0";
206pub const PRIXLEAST8: &'static [u8; 2usize] = b"X\0";
207pub const PRIXLEAST16: &'static [u8; 2usize] = b"X\0";
208pub const PRIXLEAST32: &'static [u8; 2usize] = b"X\0";
209pub const PRIXLEAST64: &'static [u8; 3usize] = b"lX\0";
210pub const PRIXFAST8: &'static [u8; 2usize] = b"X\0";
211pub const PRIXFAST16: &'static [u8; 3usize] = b"lX\0";
212pub const PRIXFAST32: &'static [u8; 3usize] = b"lX\0";
213pub const PRIXFAST64: &'static [u8; 3usize] = b"lX\0";
214pub const PRIdMAX: &'static [u8; 3usize] = b"ld\0";
215pub const PRIiMAX: &'static [u8; 3usize] = b"li\0";
216pub const PRIoMAX: &'static [u8; 3usize] = b"lo\0";
217pub const PRIuMAX: &'static [u8; 3usize] = b"lu\0";
218pub const PRIxMAX: &'static [u8; 3usize] = b"lx\0";
219pub const PRIXMAX: &'static [u8; 3usize] = b"lX\0";
220pub const PRIdPTR: &'static [u8; 3usize] = b"ld\0";
221pub const PRIiPTR: &'static [u8; 3usize] = b"li\0";
222pub const PRIoPTR: &'static [u8; 3usize] = b"lo\0";
223pub const PRIuPTR: &'static [u8; 3usize] = b"lu\0";
224pub const PRIxPTR: &'static [u8; 3usize] = b"lx\0";
225pub const PRIXPTR: &'static [u8; 3usize] = b"lX\0";
226pub const SCNd8: &'static [u8; 4usize] = b"hhd\0";
227pub const SCNd16: &'static [u8; 3usize] = b"hd\0";
228pub const SCNd32: &'static [u8; 2usize] = b"d\0";
229pub const SCNd64: &'static [u8; 3usize] = b"ld\0";
230pub const SCNdLEAST8: &'static [u8; 4usize] = b"hhd\0";
231pub const SCNdLEAST16: &'static [u8; 3usize] = b"hd\0";
232pub const SCNdLEAST32: &'static [u8; 2usize] = b"d\0";
233pub const SCNdLEAST64: &'static [u8; 3usize] = b"ld\0";
234pub const SCNdFAST8: &'static [u8; 4usize] = b"hhd\0";
235pub const SCNdFAST16: &'static [u8; 3usize] = b"ld\0";
236pub const SCNdFAST32: &'static [u8; 3usize] = b"ld\0";
237pub const SCNdFAST64: &'static [u8; 3usize] = b"ld\0";
238pub const SCNi8: &'static [u8; 4usize] = b"hhi\0";
239pub const SCNi16: &'static [u8; 3usize] = b"hi\0";
240pub const SCNi32: &'static [u8; 2usize] = b"i\0";
241pub const SCNi64: &'static [u8; 3usize] = b"li\0";
242pub const SCNiLEAST8: &'static [u8; 4usize] = b"hhi\0";
243pub const SCNiLEAST16: &'static [u8; 3usize] = b"hi\0";
244pub const SCNiLEAST32: &'static [u8; 2usize] = b"i\0";
245pub const SCNiLEAST64: &'static [u8; 3usize] = b"li\0";
246pub const SCNiFAST8: &'static [u8; 4usize] = b"hhi\0";
247pub const SCNiFAST16: &'static [u8; 3usize] = b"li\0";
248pub const SCNiFAST32: &'static [u8; 3usize] = b"li\0";
249pub const SCNiFAST64: &'static [u8; 3usize] = b"li\0";
250pub const SCNu8: &'static [u8; 4usize] = b"hhu\0";
251pub const SCNu16: &'static [u8; 3usize] = b"hu\0";
252pub const SCNu32: &'static [u8; 2usize] = b"u\0";
253pub const SCNu64: &'static [u8; 3usize] = b"lu\0";
254pub const SCNuLEAST8: &'static [u8; 4usize] = b"hhu\0";
255pub const SCNuLEAST16: &'static [u8; 3usize] = b"hu\0";
256pub const SCNuLEAST32: &'static [u8; 2usize] = b"u\0";
257pub const SCNuLEAST64: &'static [u8; 3usize] = b"lu\0";
258pub const SCNuFAST8: &'static [u8; 4usize] = b"hhu\0";
259pub const SCNuFAST16: &'static [u8; 3usize] = b"lu\0";
260pub const SCNuFAST32: &'static [u8; 3usize] = b"lu\0";
261pub const SCNuFAST64: &'static [u8; 3usize] = b"lu\0";
262pub const SCNo8: &'static [u8; 4usize] = b"hho\0";
263pub const SCNo16: &'static [u8; 3usize] = b"ho\0";
264pub const SCNo32: &'static [u8; 2usize] = b"o\0";
265pub const SCNo64: &'static [u8; 3usize] = b"lo\0";
266pub const SCNoLEAST8: &'static [u8; 4usize] = b"hho\0";
267pub const SCNoLEAST16: &'static [u8; 3usize] = b"ho\0";
268pub const SCNoLEAST32: &'static [u8; 2usize] = b"o\0";
269pub const SCNoLEAST64: &'static [u8; 3usize] = b"lo\0";
270pub const SCNoFAST8: &'static [u8; 4usize] = b"hho\0";
271pub const SCNoFAST16: &'static [u8; 3usize] = b"lo\0";
272pub const SCNoFAST32: &'static [u8; 3usize] = b"lo\0";
273pub const SCNoFAST64: &'static [u8; 3usize] = b"lo\0";
274pub const SCNx8: &'static [u8; 4usize] = b"hhx\0";
275pub const SCNx16: &'static [u8; 3usize] = b"hx\0";
276pub const SCNx32: &'static [u8; 2usize] = b"x\0";
277pub const SCNx64: &'static [u8; 3usize] = b"lx\0";
278pub const SCNxLEAST8: &'static [u8; 4usize] = b"hhx\0";
279pub const SCNxLEAST16: &'static [u8; 3usize] = b"hx\0";
280pub const SCNxLEAST32: &'static [u8; 2usize] = b"x\0";
281pub const SCNxLEAST64: &'static [u8; 3usize] = b"lx\0";
282pub const SCNxFAST8: &'static [u8; 4usize] = b"hhx\0";
283pub const SCNxFAST16: &'static [u8; 3usize] = b"lx\0";
284pub const SCNxFAST32: &'static [u8; 3usize] = b"lx\0";
285pub const SCNxFAST64: &'static [u8; 3usize] = b"lx\0";
286pub const SCNdMAX: &'static [u8; 3usize] = b"ld\0";
287pub const SCNiMAX: &'static [u8; 3usize] = b"li\0";
288pub const SCNoMAX: &'static [u8; 3usize] = b"lo\0";
289pub const SCNuMAX: &'static [u8; 3usize] = b"lu\0";
290pub const SCNxMAX: &'static [u8; 3usize] = b"lx\0";
291pub const SCNdPTR: &'static [u8; 3usize] = b"ld\0";
292pub const SCNiPTR: &'static [u8; 3usize] = b"li\0";
293pub const SCNoPTR: &'static [u8; 3usize] = b"lo\0";
294pub const SCNuPTR: &'static [u8; 3usize] = b"lu\0";
295pub const SCNxPTR: &'static [u8; 3usize] = b"lx\0";
296pub const _STDIO_H: u32 = 1;
297pub const __GNUC_VA_LIST: u32 = 1;
298pub const _____fpos_t_defined: u32 = 1;
299pub const ____mbstate_t_defined: u32 = 1;
300pub const _____fpos64_t_defined: u32 = 1;
301pub const ____FILE_defined: u32 = 1;
302pub const __FILE_defined: u32 = 1;
303pub const __struct_FILE_defined: u32 = 1;
304pub const _IO_EOF_SEEN: u32 = 16;
305pub const _IO_ERR_SEEN: u32 = 32;
306pub const _IO_USER_LOCK: u32 = 32768;
307pub const _IOFBF: u32 = 0;
308pub const _IOLBF: u32 = 1;
309pub const _IONBF: u32 = 2;
310pub const BUFSIZ: u32 = 8192;
311pub const EOF: i32 = -1;
312pub const SEEK_SET: u32 = 0;
313pub const SEEK_CUR: u32 = 1;
314pub const SEEK_END: u32 = 2;
315pub const P_tmpdir: &'static [u8; 5usize] = b"/tmp\0";
316pub const _BITS_STDIO_LIM_H: u32 = 1;
317pub const L_tmpnam: u32 = 20;
318pub const TMP_MAX: u32 = 238328;
319pub const FILENAME_MAX: u32 = 4096;
320pub const L_ctermid: u32 = 9;
321pub const FOPEN_MAX: u32 = 16;
322pub const __HAVE_FLOAT128: u32 = 0;
323pub const __HAVE_DISTINCT_FLOAT128: u32 = 0;
324pub const __HAVE_FLOAT64X: u32 = 1;
325pub const __HAVE_FLOAT64X_LONG_DOUBLE: u32 = 1;
326pub const __HAVE_FLOAT16: u32 = 0;
327pub const __HAVE_FLOAT32: u32 = 1;
328pub const __HAVE_FLOAT64: u32 = 1;
329pub const __HAVE_FLOAT32X: u32 = 1;
330pub const __HAVE_FLOAT128X: u32 = 0;
331pub const __HAVE_DISTINCT_FLOAT16: u32 = 0;
332pub const __HAVE_DISTINCT_FLOAT32: u32 = 0;
333pub const __HAVE_DISTINCT_FLOAT64: u32 = 0;
334pub const __HAVE_DISTINCT_FLOAT32X: u32 = 0;
335pub const __HAVE_DISTINCT_FLOAT64X: u32 = 0;
336pub const __HAVE_DISTINCT_FLOAT128X: u32 = 0;
337pub const __HAVE_FLOATN_NOT_TYPEDEF: u32 = 0;
338pub const _UNISTD_H: u32 = 1;
339pub const _POSIX_VERSION: u32 = 200809;
340pub const __POSIX2_THIS_VERSION: u32 = 200809;
341pub const _POSIX2_VERSION: u32 = 200809;
342pub const _POSIX2_C_VERSION: u32 = 200809;
343pub const _POSIX2_C_BIND: u32 = 200809;
344pub const _POSIX2_C_DEV: u32 = 200809;
345pub const _POSIX2_SW_DEV: u32 = 200809;
346pub const _POSIX2_LOCALEDEF: u32 = 200809;
347pub const _XOPEN_VERSION: u32 = 700;
348pub const _XOPEN_XCU_VERSION: u32 = 4;
349pub const _XOPEN_XPG2: u32 = 1;
350pub const _XOPEN_XPG3: u32 = 1;
351pub const _XOPEN_XPG4: u32 = 1;
352pub const _XOPEN_UNIX: u32 = 1;
353pub const _XOPEN_ENH_I18N: u32 = 1;
354pub const _XOPEN_LEGACY: u32 = 1;
355pub const _BITS_POSIX_OPT_H: u32 = 1;
356pub const _POSIX_JOB_CONTROL: u32 = 1;
357pub const _POSIX_SAVED_IDS: u32 = 1;
358pub const _POSIX_PRIORITY_SCHEDULING: u32 = 200809;
359pub const _POSIX_SYNCHRONIZED_IO: u32 = 200809;
360pub const _POSIX_FSYNC: u32 = 200809;
361pub const _POSIX_MAPPED_FILES: u32 = 200809;
362pub const _POSIX_MEMLOCK: u32 = 200809;
363pub const _POSIX_MEMLOCK_RANGE: u32 = 200809;
364pub const _POSIX_MEMORY_PROTECTION: u32 = 200809;
365pub const _POSIX_CHOWN_RESTRICTED: u32 = 0;
366pub const _POSIX_VDISABLE: u8 = 0u8;
367pub const _POSIX_NO_TRUNC: u32 = 1;
368pub const _XOPEN_REALTIME: u32 = 1;
369pub const _XOPEN_REALTIME_THREADS: u32 = 1;
370pub const _XOPEN_SHM: u32 = 1;
371pub const _POSIX_THREADS: u32 = 200809;
372pub const _POSIX_REENTRANT_FUNCTIONS: u32 = 1;
373pub const _POSIX_THREAD_SAFE_FUNCTIONS: u32 = 200809;
374pub const _POSIX_THREAD_PRIORITY_SCHEDULING: u32 = 200809;
375pub const _POSIX_THREAD_ATTR_STACKSIZE: u32 = 200809;
376pub const _POSIX_THREAD_ATTR_STACKADDR: u32 = 200809;
377pub const _POSIX_THREAD_PRIO_INHERIT: u32 = 200809;
378pub const _POSIX_THREAD_PRIO_PROTECT: u32 = 200809;
379pub const _POSIX_THREAD_ROBUST_PRIO_INHERIT: u32 = 200809;
380pub const _POSIX_THREAD_ROBUST_PRIO_PROTECT: i32 = -1;
381pub const _POSIX_SEMAPHORES: u32 = 200809;
382pub const _POSIX_REALTIME_SIGNALS: u32 = 200809;
383pub const _POSIX_ASYNCHRONOUS_IO: u32 = 200809;
384pub const _POSIX_ASYNC_IO: u32 = 1;
385pub const _LFS_ASYNCHRONOUS_IO: u32 = 1;
386pub const _POSIX_PRIORITIZED_IO: u32 = 200809;
387pub const _LFS64_ASYNCHRONOUS_IO: u32 = 1;
388pub const _LFS_LARGEFILE: u32 = 1;
389pub const _LFS64_LARGEFILE: u32 = 1;
390pub const _LFS64_STDIO: u32 = 1;
391pub const _POSIX_SHARED_MEMORY_OBJECTS: u32 = 200809;
392pub const _POSIX_CPUTIME: u32 = 0;
393pub const _POSIX_THREAD_CPUTIME: u32 = 0;
394pub const _POSIX_REGEXP: u32 = 1;
395pub const _POSIX_READER_WRITER_LOCKS: u32 = 200809;
396pub const _POSIX_SHELL: u32 = 1;
397pub const _POSIX_TIMEOUTS: u32 = 200809;
398pub const _POSIX_SPIN_LOCKS: u32 = 200809;
399pub const _POSIX_SPAWN: u32 = 200809;
400pub const _POSIX_TIMERS: u32 = 200809;
401pub const _POSIX_BARRIERS: u32 = 200809;
402pub const _POSIX_MESSAGE_PASSING: u32 = 200809;
403pub const _POSIX_THREAD_PROCESS_SHARED: u32 = 200809;
404pub const _POSIX_MONOTONIC_CLOCK: u32 = 0;
405pub const _POSIX_CLOCK_SELECTION: u32 = 200809;
406pub const _POSIX_ADVISORY_INFO: u32 = 200809;
407pub const _POSIX_IPV6: u32 = 200809;
408pub const _POSIX_RAW_SOCKETS: u32 = 200809;
409pub const _POSIX2_CHAR_TERM: u32 = 200809;
410pub const _POSIX_SPORADIC_SERVER: i32 = -1;
411pub const _POSIX_THREAD_SPORADIC_SERVER: i32 = -1;
412pub const _POSIX_TRACE: i32 = -1;
413pub const _POSIX_TRACE_EVENT_FILTER: i32 = -1;
414pub const _POSIX_TRACE_INHERIT: i32 = -1;
415pub const _POSIX_TRACE_LOG: i32 = -1;
416pub const _POSIX_TYPED_MEMORY_OBJECTS: i32 = -1;
417pub const _POSIX_V7_LPBIG_OFFBIG: i32 = -1;
418pub const _POSIX_V6_LPBIG_OFFBIG: i32 = -1;
419pub const _XBS5_LPBIG_OFFBIG: i32 = -1;
420pub const _POSIX_V7_LP64_OFF64: u32 = 1;
421pub const _POSIX_V6_LP64_OFF64: u32 = 1;
422pub const _XBS5_LP64_OFF64: u32 = 1;
423pub const __ILP32_OFF32_CFLAGS: &'static [u8; 5usize] = b"-m32\0";
424pub const __ILP32_OFF32_LDFLAGS: &'static [u8; 5usize] = b"-m32\0";
425pub const __ILP32_OFFBIG_CFLAGS: &'static [u8; 48usize] =
426    b"-m32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64\0";
427pub const __ILP32_OFFBIG_LDFLAGS: &'static [u8; 5usize] = b"-m32\0";
428pub const __LP64_OFF64_CFLAGS: &'static [u8; 5usize] = b"-m64\0";
429pub const __LP64_OFF64_LDFLAGS: &'static [u8; 5usize] = b"-m64\0";
430pub const STDIN_FILENO: u32 = 0;
431pub const STDOUT_FILENO: u32 = 1;
432pub const STDERR_FILENO: u32 = 2;
433pub const R_OK: u32 = 4;
434pub const W_OK: u32 = 2;
435pub const X_OK: u32 = 1;
436pub const F_OK: u32 = 0;
437pub const L_SET: u32 = 0;
438pub const L_INCR: u32 = 1;
439pub const L_XTND: u32 = 2;
440pub const _GETOPT_POSIX_H: u32 = 1;
441pub const _GETOPT_CORE_H: u32 = 1;
442pub const F_ULOCK: u32 = 0;
443pub const F_LOCK: u32 = 1;
444pub const F_TLOCK: u32 = 2;
445pub const F_TEST: u32 = 3;
446pub const _PTHREAD_H: u32 = 1;
447pub const _SCHED_H: u32 = 1;
448pub const _BITS_SCHED_H: u32 = 1;
449pub const SCHED_OTHER: u32 = 0;
450pub const SCHED_FIFO: u32 = 1;
451pub const SCHED_RR: u32 = 2;
452pub const _BITS_TYPES_STRUCT_SCHED_PARAM: u32 = 1;
453pub const _BITS_CPU_SET_H: u32 = 1;
454pub const __CPU_SETSIZE: u32 = 1024;
455pub const _TIME_H: u32 = 1;
456pub const _BITS_TIME_H: u32 = 1;
457pub const CLOCK_REALTIME: u32 = 0;
458pub const CLOCK_MONOTONIC: u32 = 1;
459pub const CLOCK_PROCESS_CPUTIME_ID: u32 = 2;
460pub const CLOCK_THREAD_CPUTIME_ID: u32 = 3;
461pub const CLOCK_MONOTONIC_RAW: u32 = 4;
462pub const CLOCK_REALTIME_COARSE: u32 = 5;
463pub const CLOCK_MONOTONIC_COARSE: u32 = 6;
464pub const CLOCK_BOOTTIME: u32 = 7;
465pub const CLOCK_REALTIME_ALARM: u32 = 8;
466pub const CLOCK_BOOTTIME_ALARM: u32 = 9;
467pub const CLOCK_TAI: u32 = 11;
468pub const TIMER_ABSTIME: u32 = 1;
469pub const __struct_tm_defined: u32 = 1;
470pub const __itimerspec_defined: u32 = 1;
471pub const _BITS_TYPES_LOCALE_T_H: u32 = 1;
472pub const _BITS_TYPES___LOCALE_T_H: u32 = 1;
473pub const TIME_UTC: u32 = 1;
474pub const _BITS_SETJMP_H: u32 = 1;
475pub const __jmp_buf_tag_defined: u32 = 1;
476pub const PTHREAD_STACK_MIN: u32 = 16384;
477pub const PTHREAD_ONCE_INIT: u32 = 0;
478pub const PTHREAD_BARRIER_SERIAL_THREAD: i32 = -1;
479pub const DB_VERSION_FAMILY: u32 = 11;
480pub const DB_VERSION_RELEASE: u32 = 2;
481pub const DB_VERSION_MAJOR: u32 = 5;
482pub const DB_VERSION_MINOR: u32 = 3;
483pub const DB_VERSION_PATCH: u32 = 21;
484pub const DB_VERSION_STRING: &'static [u8; 35usize] = b"Berkeley DB 5.3.21: (May 11, 2012)\0";
485pub const DB_VERSION_FULL_STRING: &'static [u8; 71usize] =
486    b"Berkeley DB 11g Release 2, library version 11.2.5.3.21: (May 11, 2012)\0";
487pub const DB_MAX_PAGES: u32 = 4294967295;
488pub const DB_MAX_RECORDS: u32 = 4294967295;
489pub const DB_JOINENV: u32 = 0;
490pub const DB_DBT_APPMALLOC: u32 = 1;
491pub const DB_DBT_BULK: u32 = 2;
492pub const DB_DBT_DUPOK: u32 = 4;
493pub const DB_DBT_ISSET: u32 = 8;
494pub const DB_DBT_MALLOC: u32 = 16;
495pub const DB_DBT_MULTIPLE: u32 = 32;
496pub const DB_DBT_PARTIAL: u32 = 64;
497pub const DB_DBT_REALLOC: u32 = 128;
498pub const DB_DBT_READONLY: u32 = 256;
499pub const DB_DBT_STREAMING: u32 = 512;
500pub const DB_DBT_USERCOPY: u32 = 1024;
501pub const DB_DBT_USERMEM: u32 = 2048;
502pub const DB_THREADID_STRLEN: u32 = 128;
503pub const DB_LOCKVERSION: u32 = 1;
504pub const DB_FILE_ID_LEN: u32 = 20;
505pub const DB_LOCK_NORUN: u32 = 0;
506pub const DB_LOCK_DEFAULT: u32 = 1;
507pub const DB_LOCK_EXPIRE: u32 = 2;
508pub const DB_LOCK_MAXLOCKS: u32 = 3;
509pub const DB_LOCK_MAXWRITE: u32 = 4;
510pub const DB_LOCK_MINLOCKS: u32 = 5;
511pub const DB_LOCK_MINWRITE: u32 = 6;
512pub const DB_LOCK_OLDEST: u32 = 7;
513pub const DB_LOCK_RANDOM: u32 = 8;
514pub const DB_LOCK_YOUNGEST: u32 = 9;
515pub const DB_HANDLE_LOCK: u32 = 1;
516pub const DB_RECORD_LOCK: u32 = 2;
517pub const DB_PAGE_LOCK: u32 = 3;
518pub const DB_DATABASE_LOCK: u32 = 4;
519pub const DB_LOGVERSION: u32 = 19;
520pub const DB_LOGVERSION_LATCHING: u32 = 15;
521pub const DB_LOGCHKSUM: u32 = 12;
522pub const DB_LOGOLDVER: u32 = 8;
523pub const DB_LOGMAGIC: u32 = 264584;
524pub const DB_user_BEGIN: u32 = 10000;
525pub const DB_debug_FLAG: u32 = 2147483648;
526pub const DB_LOG_DISK: u32 = 1;
527pub const DB_LOG_LOCKED: u32 = 2;
528pub const DB_LOG_SILENT_ERR: u32 = 4;
529pub const MP_FILEID_SET: u32 = 1;
530pub const MP_FLUSH: u32 = 2;
531pub const MP_FOR_FLUSH: u32 = 4;
532pub const MP_MULTIVERSION: u32 = 8;
533pub const MP_OPEN_CALLED: u32 = 16;
534pub const MP_READONLY: u32 = 32;
535pub const MP_DUMMY: u32 = 64;
536pub const DB_TXNVERSION: u32 = 1;
537pub const TXN_XA_THREAD_NOTA: u32 = 0;
538pub const TXN_XA_THREAD_ASSOCIATED: u32 = 1;
539pub const TXN_XA_THREAD_SUSPENDED: u32 = 2;
540pub const TXN_XA_THREAD_UNASSOCIATED: u32 = 3;
541pub const TXN_CHILDCOMMIT: u32 = 1;
542pub const TXN_COMPENSATE: u32 = 2;
543pub const TXN_DEADLOCK: u32 = 4;
544pub const TXN_FAMILY: u32 = 8;
545pub const TXN_IGNORE_LEASE: u32 = 16;
546pub const TXN_INFAMILY: u32 = 32;
547pub const TXN_LOCKTIMEOUT: u32 = 64;
548pub const TXN_MALLOC: u32 = 128;
549pub const TXN_NOSYNC: u32 = 256;
550pub const TXN_NOWAIT: u32 = 512;
551pub const TXN_PRIVATE: u32 = 1024;
552pub const TXN_READONLY: u32 = 2048;
553pub const TXN_READ_COMMITTED: u32 = 4096;
554pub const TXN_READ_UNCOMMITTED: u32 = 8192;
555pub const TXN_RESTORED: u32 = 16384;
556pub const TXN_SNAPSHOT: u32 = 32768;
557pub const TXN_SYNC: u32 = 65536;
558pub const TXN_WRITE_NOSYNC: u32 = 131072;
559pub const TXN_BULK: u32 = 262144;
560pub const TXN_SYNC_FLAGS: u32 = 196864;
561pub const DB_GID_SIZE: u32 = 128;
562pub const TXN_ABORTED: u32 = 1;
563pub const TXN_COMMITTED: u32 = 2;
564pub const TXN_NEED_ABORT: u32 = 3;
565pub const TXN_PREPARED: u32 = 4;
566pub const TXN_RUNNING: u32 = 5;
567pub const TXN_XA_ACTIVE: u32 = 1;
568pub const TXN_XA_DEADLOCKED: u32 = 2;
569pub const TXN_XA_IDLE: u32 = 3;
570pub const TXN_XA_PREPARED: u32 = 4;
571pub const TXN_XA_ROLLEDBACK: u32 = 5;
572pub const DB_TXN_TOKEN_SIZE: u32 = 20;
573pub const DB_EID_BROADCAST: i32 = -1;
574pub const DB_EID_INVALID: i32 = -2;
575pub const DB_EID_MASTER: i32 = -3;
576pub const DB_REP_DEFAULT_PRIORITY: u32 = 100;
577pub const DB_REPMGR_ACKS_ALL: u32 = 1;
578pub const DB_REPMGR_ACKS_ALL_AVAILABLE: u32 = 2;
579pub const DB_REPMGR_ACKS_ALL_PEERS: u32 = 3;
580pub const DB_REPMGR_ACKS_NONE: u32 = 4;
581pub const DB_REPMGR_ACKS_ONE: u32 = 5;
582pub const DB_REPMGR_ACKS_ONE_PEER: u32 = 6;
583pub const DB_REPMGR_ACKS_QUORUM: u32 = 7;
584pub const DB_REP_ACK_TIMEOUT: u32 = 1;
585pub const DB_REP_CHECKPOINT_DELAY: u32 = 2;
586pub const DB_REP_CONNECTION_RETRY: u32 = 3;
587pub const DB_REP_ELECTION_RETRY: u32 = 4;
588pub const DB_REP_ELECTION_TIMEOUT: u32 = 5;
589pub const DB_REP_FULL_ELECTION_TIMEOUT: u32 = 6;
590pub const DB_REP_HEARTBEAT_MONITOR: u32 = 7;
591pub const DB_REP_HEARTBEAT_SEND: u32 = 8;
592pub const DB_REP_LEASE_TIMEOUT: u32 = 9;
593pub const DB_EVENT_PANIC: u32 = 0;
594pub const DB_EVENT_REG_ALIVE: u32 = 1;
595pub const DB_EVENT_REG_PANIC: u32 = 2;
596pub const DB_EVENT_REP_CLIENT: u32 = 3;
597pub const DB_EVENT_REP_CONNECT_BROKEN: u32 = 4;
598pub const DB_EVENT_REP_CONNECT_ESTD: u32 = 5;
599pub const DB_EVENT_REP_CONNECT_TRY_FAILED: u32 = 6;
600pub const DB_EVENT_REP_DUPMASTER: u32 = 7;
601pub const DB_EVENT_REP_ELECTED: u32 = 8;
602pub const DB_EVENT_REP_ELECTION_FAILED: u32 = 9;
603pub const DB_EVENT_REP_INIT_DONE: u32 = 10;
604pub const DB_EVENT_REP_JOIN_FAILURE: u32 = 11;
605pub const DB_EVENT_REP_LOCAL_SITE_REMOVED: u32 = 12;
606pub const DB_EVENT_REP_MASTER: u32 = 13;
607pub const DB_EVENT_REP_MASTER_FAILURE: u32 = 14;
608pub const DB_EVENT_REP_NEWMASTER: u32 = 15;
609pub const DB_EVENT_REP_PERM_FAILED: u32 = 16;
610pub const DB_EVENT_REP_SITE_ADDED: u32 = 17;
611pub const DB_EVENT_REP_SITE_REMOVED: u32 = 18;
612pub const DB_EVENT_REP_STARTUPDONE: u32 = 19;
613pub const DB_EVENT_REP_WOULD_ROLLBACK: u32 = 20;
614pub const DB_EVENT_WRITE_FAILED: u32 = 21;
615pub const DB_EVENT_NO_SUCH_EVENT: u32 = 4294967295;
616pub const DB_REPMGR_CONNECTED: u32 = 1;
617pub const DB_REPMGR_DISCONNECTED: u32 = 2;
618pub const DB_REPMGR_ISPEER: u32 = 1;
619pub const DB_RENAMEMAGIC: u32 = 198656;
620pub const DB_BTREEVERSION: u32 = 9;
621pub const DB_BTREEOLDVER: u32 = 8;
622pub const DB_BTREEMAGIC: u32 = 340322;
623pub const DB_HASHVERSION: u32 = 9;
624pub const DB_HASHOLDVER: u32 = 7;
625pub const DB_HASHMAGIC: u32 = 398689;
626pub const DB_HEAPVERSION: u32 = 1;
627pub const DB_HEAPOLDVER: u32 = 1;
628pub const DB_HEAPMAGIC: u32 = 476546;
629pub const DB_QAMVERSION: u32 = 4;
630pub const DB_QAMOLDVER: u32 = 3;
631pub const DB_QAMMAGIC: u32 = 270931;
632pub const DB_SEQUENCE_VERSION: u32 = 2;
633pub const DB_SEQUENCE_OLDVER: u32 = 1;
634pub const DB_AFTER: u32 = 1;
635pub const DB_APPEND: u32 = 2;
636pub const DB_BEFORE: u32 = 3;
637pub const DB_CONSUME: u32 = 4;
638pub const DB_CONSUME_WAIT: u32 = 5;
639pub const DB_CURRENT: u32 = 6;
640pub const DB_FIRST: u32 = 7;
641pub const DB_GET_BOTH: u32 = 8;
642pub const DB_GET_BOTHC: u32 = 9;
643pub const DB_GET_BOTH_RANGE: u32 = 10;
644pub const DB_GET_RECNO: u32 = 11;
645pub const DB_JOIN_ITEM: u32 = 12;
646pub const DB_KEYFIRST: u32 = 13;
647pub const DB_KEYLAST: u32 = 14;
648pub const DB_LAST: u32 = 15;
649pub const DB_NEXT: u32 = 16;
650pub const DB_NEXT_DUP: u32 = 17;
651pub const DB_NEXT_NODUP: u32 = 18;
652pub const DB_NODUPDATA: u32 = 19;
653pub const DB_NOOVERWRITE: u32 = 20;
654pub const DB_OVERWRITE_DUP: u32 = 21;
655pub const DB_POSITION: u32 = 22;
656pub const DB_PREV: u32 = 23;
657pub const DB_PREV_DUP: u32 = 24;
658pub const DB_PREV_NODUP: u32 = 25;
659pub const DB_SET: u32 = 26;
660pub const DB_SET_RANGE: u32 = 27;
661pub const DB_SET_RECNO: u32 = 28;
662pub const DB_UPDATE_SECONDARY: u32 = 29;
663pub const DB_SET_LTE: u32 = 30;
664pub const DB_GET_BOTH_LTE: u32 = 31;
665pub const DB_OPFLAGS_MASK: u32 = 255;
666pub const DB_BUFFER_SMALL: i32 = -30999;
667pub const DB_DONOTINDEX: i32 = -30998;
668pub const DB_FOREIGN_CONFLICT: i32 = -30997;
669pub const DB_HEAP_FULL: i32 = -30996;
670pub const DB_KEYEMPTY: i32 = -30995;
671pub const DB_KEYEXIST: i32 = -30994;
672pub const DB_LOCK_DEADLOCK: i32 = -30993;
673pub const DB_LOCK_NOTGRANTED: i32 = -30992;
674pub const DB_LOG_BUFFER_FULL: i32 = -30991;
675pub const DB_LOG_VERIFY_BAD: i32 = -30990;
676pub const DB_NOSERVER: i32 = -30989;
677pub const DB_NOTFOUND: i32 = -30988;
678pub const DB_OLD_VERSION: i32 = -30987;
679pub const DB_PAGE_NOTFOUND: i32 = -30986;
680pub const DB_REP_DUPMASTER: i32 = -30985;
681pub const DB_REP_HANDLE_DEAD: i32 = -30984;
682pub const DB_REP_HOLDELECTION: i32 = -30983;
683pub const DB_REP_IGNORE: i32 = -30982;
684pub const DB_REP_ISPERM: i32 = -30981;
685pub const DB_REP_JOIN_FAILURE: i32 = -30980;
686pub const DB_REP_LEASE_EXPIRED: i32 = -30979;
687pub const DB_REP_LOCKOUT: i32 = -30978;
688pub const DB_REP_NEWSITE: i32 = -30977;
689pub const DB_REP_NOTPERM: i32 = -30976;
690pub const DB_REP_UNAVAIL: i32 = -30975;
691pub const DB_REP_WOULDROLLBACK: i32 = -30974;
692pub const DB_RUNRECOVERY: i32 = -30973;
693pub const DB_SECONDARY_BAD: i32 = -30972;
694pub const DB_TIMEOUT: i32 = -30971;
695pub const DB_VERIFY_BAD: i32 = -30970;
696pub const DB_VERSION_MISMATCH: i32 = -30969;
697pub const DB_ALREADY_ABORTED: i32 = -30899;
698pub const DB_CHKSUM_FAIL: i32 = -30898;
699pub const DB_DELETED: i32 = -30897;
700pub const DB_EVENT_NOT_HANDLED: i32 = -30896;
701pub const DB_NEEDSPLIT: i32 = -30895;
702pub const DB_REP_BULKOVF: i32 = -30894;
703pub const DB_REP_LOGREADY: i32 = -30893;
704pub const DB_REP_NEWMASTER: i32 = -30892;
705pub const DB_REP_PAGEDONE: i32 = -30891;
706pub const DB_SURPRISE_KID: i32 = -30890;
707pub const DB_SWAPBYTES: i32 = -30889;
708pub const DB_TXN_CKP: i32 = -30888;
709pub const DB_VERIFY_FATAL: i32 = -30887;
710pub const DB_LOGFILEID_INVALID: i32 = -1;
711pub const DB_ASSOC_IMMUTABLE_KEY: u32 = 1;
712pub const DB_ASSOC_CREATE: u32 = 2;
713pub const DB_OK_BTREE: u32 = 1;
714pub const DB_OK_HASH: u32 = 2;
715pub const DB_OK_HEAP: u32 = 4;
716pub const DB_OK_QUEUE: u32 = 8;
717pub const DB_OK_RECNO: u32 = 16;
718pub const DB_AM_CHKSUM: u32 = 1;
719pub const DB_AM_COMPENSATE: u32 = 2;
720pub const DB_AM_COMPRESS: u32 = 4;
721pub const DB_AM_CREATED: u32 = 8;
722pub const DB_AM_CREATED_MSTR: u32 = 16;
723pub const DB_AM_DBM_ERROR: u32 = 32;
724pub const DB_AM_DELIMITER: u32 = 64;
725pub const DB_AM_DISCARD: u32 = 128;
726pub const DB_AM_DUP: u32 = 256;
727pub const DB_AM_DUPSORT: u32 = 512;
728pub const DB_AM_ENCRYPT: u32 = 1024;
729pub const DB_AM_FIXEDLEN: u32 = 2048;
730pub const DB_AM_INMEM: u32 = 4096;
731pub const DB_AM_INORDER: u32 = 8192;
732pub const DB_AM_IN_RENAME: u32 = 16384;
733pub const DB_AM_NOT_DURABLE: u32 = 32768;
734pub const DB_AM_OPEN_CALLED: u32 = 65536;
735pub const DB_AM_PAD: u32 = 131072;
736pub const DB_AM_PARTDB: u32 = 262144;
737pub const DB_AM_PGDEF: u32 = 524288;
738pub const DB_AM_RDONLY: u32 = 1048576;
739pub const DB_AM_READ_UNCOMMITTED: u32 = 2097152;
740pub const DB_AM_RECNUM: u32 = 4194304;
741pub const DB_AM_RECOVER: u32 = 8388608;
742pub const DB_AM_RENUMBER: u32 = 16777216;
743pub const DB_AM_REVSPLITOFF: u32 = 33554432;
744pub const DB_AM_SECONDARY: u32 = 67108864;
745pub const DB_AM_SNAPSHOT: u32 = 134217728;
746pub const DB_AM_SUBDB: u32 = 268435456;
747pub const DB_AM_SWAP: u32 = 536870912;
748pub const DB_AM_TXN: u32 = 1073741824;
749pub const DB_AM_VERIFYING: u32 = 2147483648;
750pub const DB2_AM_EXCL: u32 = 1;
751pub const DB2_AM_INTEXCL: u32 = 2;
752pub const DB2_AM_NOWAIT: u32 = 4;
753pub const DBC_ACTIVE: u32 = 1;
754pub const DBC_BULK: u32 = 2;
755pub const DBC_DONTLOCK: u32 = 4;
756pub const DBC_DOWNREV: u32 = 8;
757pub const DBC_DUPLICATE: u32 = 16;
758pub const DBC_ERROR: u32 = 32;
759pub const DBC_FAMILY: u32 = 64;
760pub const DBC_FROM_DB_GET: u32 = 128;
761pub const DBC_MULTIPLE: u32 = 256;
762pub const DBC_MULTIPLE_KEY: u32 = 512;
763pub const DBC_OPD: u32 = 1024;
764pub const DBC_OWN_LID: u32 = 2048;
765pub const DBC_PARTITIONED: u32 = 4096;
766pub const DBC_READ_COMMITTED: u32 = 8192;
767pub const DBC_READ_UNCOMMITTED: u32 = 16384;
768pub const DBC_RECOVER: u32 = 32768;
769pub const DBC_RMW: u32 = 65536;
770pub const DBC_TRANSIENT: u32 = 131072;
771pub const DBC_WAS_READ_COMMITTED: u32 = 262144;
772pub const DBC_WRITECURSOR: u32 = 524288;
773pub const DBC_WRITER: u32 = 1048576;
774pub const DB_REGION_MAGIC: u32 = 1181847;
775pub const DB_ENV_AUTO_COMMIT: u32 = 1;
776pub const DB_ENV_CDB_ALLDB: u32 = 2;
777pub const DB_ENV_FAILCHK: u32 = 4;
778pub const DB_ENV_DIRECT_DB: u32 = 8;
779pub const DB_ENV_DSYNC_DB: u32 = 16;
780pub const DB_ENV_DATABASE_LOCKING: u32 = 32;
781pub const DB_ENV_MULTIVERSION: u32 = 64;
782pub const DB_ENV_NOLOCKING: u32 = 128;
783pub const DB_ENV_NOMMAP: u32 = 256;
784pub const DB_ENV_NOPANIC: u32 = 512;
785pub const DB_ENV_OVERWRITE: u32 = 1024;
786pub const DB_ENV_REGION_INIT: u32 = 2048;
787pub const DB_ENV_TIME_NOTGRANTED: u32 = 4096;
788pub const DB_ENV_TXN_NOSYNC: u32 = 8192;
789pub const DB_ENV_TXN_NOWAIT: u32 = 16384;
790pub const DB_ENV_TXN_SNAPSHOT: u32 = 32768;
791pub const DB_ENV_TXN_WRITE_NOSYNC: u32 = 65536;
792pub const DB_ENV_YIELDCPU: u32 = 131072;
793pub const DB_ENV_HOTBACKUP: u32 = 262144;
794pub const DB_ENV_NOFLUSH: u32 = 524288;
795pub const DB_AGGRESSIVE: u32 = 1;
796pub const DB_ARCH_ABS: u32 = 1;
797pub const DB_ARCH_DATA: u32 = 2;
798pub const DB_ARCH_LOG: u32 = 4;
799pub const DB_ARCH_REMOVE: u32 = 8;
800pub const DB_AUTO_COMMIT: u32 = 256;
801pub const DB_BACKUP_CLEAN: u32 = 2;
802pub const DB_BACKUP_FILES: u32 = 8;
803pub const DB_BACKUP_NO_LOGS: u32 = 16;
804pub const DB_BACKUP_SINGLE_DIR: u32 = 32;
805pub const DB_BACKUP_UPDATE: u32 = 64;
806pub const DB_BOOTSTRAP_HELPER: u32 = 1;
807pub const DB_CDB_ALLDB: u32 = 64;
808pub const DB_CHKSUM: u32 = 8;
809pub const DB_CKP_INTERNAL: u32 = 2;
810pub const DB_CREATE: u32 = 1;
811pub const DB_CURSOR_BULK: u32 = 1;
812pub const DB_CURSOR_TRANSIENT: u32 = 8;
813pub const DB_CXX_NO_EXCEPTIONS: u32 = 2;
814pub const DB_DATABASE_LOCKING: u32 = 128;
815pub const DB_DIRECT: u32 = 32;
816pub const DB_DIRECT_DB: u32 = 512;
817pub const DB_DSYNC_DB: u32 = 1024;
818pub const DB_DUP: u32 = 16;
819pub const DB_DUPSORT: u32 = 2;
820pub const DB_DURABLE_UNKNOWN: u32 = 64;
821pub const DB_ENCRYPT: u32 = 1;
822pub const DB_ENCRYPT_AES: u32 = 1;
823pub const DB_EXCL: u32 = 4;
824pub const DB_EXTENT: u32 = 256;
825pub const DB_FAILCHK: u32 = 16;
826pub const DB_FAILCHK_ISALIVE: u32 = 64;
827pub const DB_FAST_STAT: u32 = 1;
828pub const DB_FCNTL_LOCKING: u32 = 2048;
829pub const DB_FLUSH: u32 = 2;
830pub const DB_FORCE: u32 = 1;
831pub const DB_FORCESYNC: u32 = 1;
832pub const DB_FOREIGN_ABORT: u32 = 1;
833pub const DB_FOREIGN_CASCADE: u32 = 2;
834pub const DB_FOREIGN_NULLIFY: u32 = 4;
835pub const DB_FREELIST_ONLY: u32 = 1;
836pub const DB_FREE_SPACE: u32 = 2;
837pub const DB_GROUP_CREATOR: u32 = 2;
838pub const DB_HOTBACKUP_IN_PROGRESS: u32 = 2048;
839pub const DB_IGNORE_LEASE: u32 = 4096;
840pub const DB_IMMUTABLE_KEY: u32 = 2;
841pub const DB_INIT_CDB: u32 = 128;
842pub const DB_INIT_LOCK: u32 = 256;
843pub const DB_INIT_LOG: u32 = 512;
844pub const DB_INIT_MPOOL: u32 = 1024;
845pub const DB_INIT_MUTEX: u32 = 2048;
846pub const DB_INIT_REP: u32 = 4096;
847pub const DB_INIT_TXN: u32 = 8192;
848pub const DB_INORDER: u32 = 32;
849pub const DB_INTERNAL_PERSISTENT_DB: u32 = 4096;
850pub const DB_INTERNAL_TEMPORARY_DB: u32 = 8192;
851pub const DB_JOIN_NOSORT: u32 = 1;
852pub const DB_LEGACY: u32 = 4;
853pub const DB_LOCAL_SITE: u32 = 8;
854pub const DB_LOCKDOWN: u32 = 16384;
855pub const DB_LOCK_CHECK: u32 = 1;
856pub const DB_LOCK_IGNORE_REC: u32 = 2;
857pub const DB_LOCK_NOWAIT: u32 = 4;
858pub const DB_LOCK_RECORD: u32 = 8;
859pub const DB_LOCK_SET_TIMEOUT: u32 = 16;
860pub const DB_LOCK_SWITCH: u32 = 32;
861pub const DB_LOCK_UPGRADE: u32 = 64;
862pub const DB_LOG_AUTO_REMOVE: u32 = 1;
863pub const DB_LOG_CHKPNT: u32 = 1;
864pub const DB_LOG_COMMIT: u32 = 4;
865pub const DB_LOG_DIRECT: u32 = 2;
866pub const DB_LOG_DSYNC: u32 = 4;
867pub const DB_LOG_IN_MEMORY: u32 = 8;
868pub const DB_LOG_NOCOPY: u32 = 8;
869pub const DB_LOG_NOT_DURABLE: u32 = 16;
870pub const DB_LOG_NO_DATA: u32 = 2;
871pub const DB_LOG_VERIFY_CAF: u32 = 1;
872pub const DB_LOG_VERIFY_DBFILE: u32 = 2;
873pub const DB_LOG_VERIFY_ERR: u32 = 4;
874pub const DB_LOG_VERIFY_FORWARD: u32 = 8;
875pub const DB_LOG_VERIFY_INTERR: u32 = 16;
876pub const DB_LOG_VERIFY_PARTIAL: u32 = 32;
877pub const DB_LOG_VERIFY_VERBOSE: u32 = 64;
878pub const DB_LOG_VERIFY_WARNING: u32 = 128;
879pub const DB_LOG_WRNOSYNC: u32 = 32;
880pub const DB_LOG_ZERO: u32 = 16;
881pub const DB_MPOOL_CREATE: u32 = 1;
882pub const DB_MPOOL_DIRTY: u32 = 2;
883pub const DB_MPOOL_DISCARD: u32 = 1;
884pub const DB_MPOOL_EDIT: u32 = 4;
885pub const DB_MPOOL_FREE: u32 = 8;
886pub const DB_MPOOL_LAST: u32 = 16;
887pub const DB_MPOOL_NEW: u32 = 32;
888pub const DB_MPOOL_NOFILE: u32 = 1;
889pub const DB_MPOOL_NOLOCK: u32 = 4;
890pub const DB_MPOOL_TRY: u32 = 64;
891pub const DB_MPOOL_UNLINK: u32 = 2;
892pub const DB_MULTIPLE: u32 = 2048;
893pub const DB_MULTIPLE_KEY: u32 = 16384;
894pub const DB_MULTIVERSION: u32 = 8;
895pub const DB_MUTEX_ALLOCATED: u32 = 1;
896pub const DB_MUTEX_LOCKED: u32 = 2;
897pub const DB_MUTEX_LOGICAL_LOCK: u32 = 4;
898pub const DB_MUTEX_PROCESS_ONLY: u32 = 8;
899pub const DB_MUTEX_SELF_BLOCK: u32 = 16;
900pub const DB_MUTEX_SHARED: u32 = 32;
901pub const DB_NOERROR: u32 = 16384;
902pub const DB_NOFLUSH: u32 = 4096;
903pub const DB_NOLOCKING: u32 = 8192;
904pub const DB_NOMMAP: u32 = 16;
905pub const DB_NOORDERCHK: u32 = 2;
906pub const DB_NOPANIC: u32 = 16384;
907pub const DB_NOSYNC: u32 = 1;
908pub const DB_NO_AUTO_COMMIT: u32 = 32768;
909pub const DB_NO_CHECKPOINT: u32 = 32768;
910pub const DB_ODDFILESIZE: u32 = 128;
911pub const DB_ORDERCHKONLY: u32 = 4;
912pub const DB_OVERWRITE: u32 = 32768;
913pub const DB_PANIC_ENVIRONMENT: u32 = 65536;
914pub const DB_PRINTABLE: u32 = 8;
915pub const DB_PRIVATE: u32 = 65536;
916pub const DB_PR_PAGE: u32 = 16;
917pub const DB_PR_RECOVERYTEST: u32 = 32;
918pub const DB_RDONLY: u32 = 1024;
919pub const DB_RDWRMASTER: u32 = 65536;
920pub const DB_READ_COMMITTED: u32 = 1024;
921pub const DB_READ_UNCOMMITTED: u32 = 512;
922pub const DB_RECNUM: u32 = 64;
923pub const DB_RECOVER: u32 = 2;
924pub const DB_RECOVER_FATAL: u32 = 131072;
925pub const DB_REGION_INIT: u32 = 131072;
926pub const DB_REGISTER: u32 = 262144;
927pub const DB_RENUMBER: u32 = 128;
928pub const DB_REPMGR_CONF_2SITE_STRICT: u32 = 1;
929pub const DB_REPMGR_CONF_ELECTIONS: u32 = 2;
930pub const DB_REPMGR_NEED_RESPONSE: u32 = 1;
931pub const DB_REPMGR_PEER: u32 = 16;
932pub const DB_REP_ANYWHERE: u32 = 1;
933pub const DB_REP_CLIENT: u32 = 1;
934pub const DB_REP_CONF_AUTOINIT: u32 = 4;
935pub const DB_REP_CONF_AUTOROLLBACK: u32 = 8;
936pub const DB_REP_CONF_BULK: u32 = 16;
937pub const DB_REP_CONF_DELAYCLIENT: u32 = 32;
938pub const DB_REP_CONF_INMEM: u32 = 64;
939pub const DB_REP_CONF_LEASE: u32 = 128;
940pub const DB_REP_CONF_NOWAIT: u32 = 256;
941pub const DB_REP_ELECTION: u32 = 4;
942pub const DB_REP_MASTER: u32 = 2;
943pub const DB_REP_NOBUFFER: u32 = 2;
944pub const DB_REP_PERMANENT: u32 = 4;
945pub const DB_REP_REREQUEST: u32 = 8;
946pub const DB_REVSPLITOFF: u32 = 256;
947pub const DB_RMW: u32 = 8192;
948pub const DB_SALVAGE: u32 = 64;
949pub const DB_SA_SKIPFIRSTKEY: u32 = 128;
950pub const DB_SA_UNKNOWNKEY: u32 = 256;
951pub const DB_SEQ_DEC: u32 = 1;
952pub const DB_SEQ_INC: u32 = 2;
953pub const DB_SEQ_RANGE_SET: u32 = 4;
954pub const DB_SEQ_WRAP: u32 = 8;
955pub const DB_SEQ_WRAPPED: u32 = 16;
956pub const DB_SET_LOCK_TIMEOUT: u32 = 1;
957pub const DB_SET_REG_TIMEOUT: u32 = 4;
958pub const DB_SET_TXN_NOW: u32 = 8;
959pub const DB_SET_TXN_TIMEOUT: u32 = 2;
960pub const DB_SHALLOW_DUP: u32 = 256;
961pub const DB_SNAPSHOT: u32 = 512;
962pub const DB_STAT_ALL: u32 = 4;
963pub const DB_STAT_ALLOC: u32 = 8;
964pub const DB_STAT_CLEAR: u32 = 1;
965pub const DB_STAT_LOCK_CONF: u32 = 16;
966pub const DB_STAT_LOCK_LOCKERS: u32 = 32;
967pub const DB_STAT_LOCK_OBJECTS: u32 = 64;
968pub const DB_STAT_LOCK_PARAMS: u32 = 128;
969pub const DB_STAT_MEMP_HASH: u32 = 16;
970pub const DB_STAT_MEMP_NOERROR: u32 = 32;
971pub const DB_STAT_SUBSYSTEM: u32 = 2;
972pub const DB_STAT_SUMMARY: u32 = 16;
973pub const DB_ST_DUPOK: u32 = 512;
974pub const DB_ST_DUPSET: u32 = 1024;
975pub const DB_ST_DUPSORT: u32 = 2048;
976pub const DB_ST_IS_RECNO: u32 = 4096;
977pub const DB_ST_OVFL_LEAF: u32 = 8192;
978pub const DB_ST_RECNUM: u32 = 16384;
979pub const DB_ST_RELEN: u32 = 32768;
980pub const DB_ST_TOPLEVEL: u32 = 65536;
981pub const DB_SYSTEM_MEM: u32 = 524288;
982pub const DB_THREAD: u32 = 32;
983pub const DB_TIME_NOTGRANTED: u32 = 262144;
984pub const DB_TRUNCATE: u32 = 131072;
985pub const DB_TXN_BULK: u32 = 16;
986pub const DB_TXN_FAMILY: u32 = 64;
987pub const DB_TXN_NOSYNC: u32 = 1;
988pub const DB_TXN_NOT_DURABLE: u32 = 4;
989pub const DB_TXN_NOWAIT: u32 = 2;
990pub const DB_TXN_SNAPSHOT: u32 = 4;
991pub const DB_TXN_SYNC: u32 = 8;
992pub const DB_TXN_WAIT: u32 = 128;
993pub const DB_TXN_WRITE_NOSYNC: u32 = 32;
994pub const DB_UNREF: u32 = 131072;
995pub const DB_UPGRADE: u32 = 1;
996pub const DB_USE_ENVIRON: u32 = 4;
997pub const DB_USE_ENVIRON_ROOT: u32 = 8;
998pub const DB_VERB_BACKUP: u32 = 1;
999pub const DB_VERB_DEADLOCK: u32 = 2;
1000pub const DB_VERB_FILEOPS: u32 = 4;
1001pub const DB_VERB_FILEOPS_ALL: u32 = 8;
1002pub const DB_VERB_RECOVERY: u32 = 16;
1003pub const DB_VERB_REGISTER: u32 = 32;
1004pub const DB_VERB_REPLICATION: u32 = 64;
1005pub const DB_VERB_REPMGR_CONNFAIL: u32 = 128;
1006pub const DB_VERB_REPMGR_MISC: u32 = 256;
1007pub const DB_VERB_REP_ELECT: u32 = 512;
1008pub const DB_VERB_REP_LEASE: u32 = 1024;
1009pub const DB_VERB_REP_MISC: u32 = 2048;
1010pub const DB_VERB_REP_MSGS: u32 = 4096;
1011pub const DB_VERB_REP_SYNC: u32 = 8192;
1012pub const DB_VERB_REP_SYSTEM: u32 = 16384;
1013pub const DB_VERB_REP_TEST: u32 = 32768;
1014pub const DB_VERB_WAITSFOR: u32 = 65536;
1015pub const DB_VERIFY: u32 = 2;
1016pub const DB_VERIFY_PARTITION: u32 = 262144;
1017pub const DB_WRITECURSOR: u32 = 16;
1018pub const DB_WRITELOCK: u32 = 32;
1019pub const DB_WRITEOPEN: u32 = 262144;
1020pub const DB_XA_CREATE: u32 = 1;
1021pub const DB_YIELDCPU: u32 = 524288;
1022pub type __u_char = ::std::os::raw::c_uchar;
1023pub type __u_short = ::std::os::raw::c_ushort;
1024pub type __u_int = ::std::os::raw::c_uint;
1025pub type __u_long = ::std::os::raw::c_ulong;
1026pub type __int8_t = ::std::os::raw::c_schar;
1027pub type __uint8_t = ::std::os::raw::c_uchar;
1028pub type __int16_t = ::std::os::raw::c_short;
1029pub type __uint16_t = ::std::os::raw::c_ushort;
1030pub type __int32_t = ::std::os::raw::c_int;
1031pub type __uint32_t = ::std::os::raw::c_uint;
1032pub type __int64_t = ::std::os::raw::c_long;
1033pub type __uint64_t = ::std::os::raw::c_ulong;
1034pub type __int_least8_t = __int8_t;
1035pub type __uint_least8_t = __uint8_t;
1036pub type __int_least16_t = __int16_t;
1037pub type __uint_least16_t = __uint16_t;
1038pub type __int_least32_t = __int32_t;
1039pub type __uint_least32_t = __uint32_t;
1040pub type __int_least64_t = __int64_t;
1041pub type __uint_least64_t = __uint64_t;
1042pub type __quad_t = ::std::os::raw::c_long;
1043pub type __u_quad_t = ::std::os::raw::c_ulong;
1044pub type __intmax_t = ::std::os::raw::c_long;
1045pub type __uintmax_t = ::std::os::raw::c_ulong;
1046pub type __dev_t = ::std::os::raw::c_ulong;
1047pub type __uid_t = ::std::os::raw::c_uint;
1048pub type __gid_t = ::std::os::raw::c_uint;
1049pub type __ino_t = ::std::os::raw::c_ulong;
1050pub type __ino64_t = ::std::os::raw::c_ulong;
1051pub type __mode_t = ::std::os::raw::c_uint;
1052pub type __nlink_t = ::std::os::raw::c_ulong;
1053pub type __off_t = ::std::os::raw::c_long;
1054pub type __off64_t = ::std::os::raw::c_long;
1055pub type __pid_t = ::std::os::raw::c_int;
1056#[repr(C)]
1057#[derive(Debug, Default, Copy, Clone)]
1058pub struct __fsid_t {
1059    pub __val: [::std::os::raw::c_int; 2usize],
1060}
1061#[test]
1062fn bindgen_test_layout___fsid_t() {
1063    assert_eq!(
1064        ::std::mem::size_of::<__fsid_t>(),
1065        8usize,
1066        concat!("Size of: ", stringify!(__fsid_t))
1067    );
1068    assert_eq!(
1069        ::std::mem::align_of::<__fsid_t>(),
1070        4usize,
1071        concat!("Alignment of ", stringify!(__fsid_t))
1072    );
1073    assert_eq!(
1074        unsafe { &(*(::std::ptr::null::<__fsid_t>())).__val as *const _ as usize },
1075        0usize,
1076        concat!(
1077            "Offset of field: ",
1078            stringify!(__fsid_t),
1079            "::",
1080            stringify!(__val)
1081        )
1082    );
1083}
1084pub type __clock_t = ::std::os::raw::c_long;
1085pub type __rlim_t = ::std::os::raw::c_ulong;
1086pub type __rlim64_t = ::std::os::raw::c_ulong;
1087pub type __id_t = ::std::os::raw::c_uint;
1088pub type __time_t = ::std::os::raw::c_long;
1089pub type __useconds_t = ::std::os::raw::c_uint;
1090pub type __suseconds_t = ::std::os::raw::c_long;
1091pub type __suseconds64_t = ::std::os::raw::c_long;
1092pub type __daddr_t = ::std::os::raw::c_int;
1093pub type __key_t = ::std::os::raw::c_int;
1094pub type __clockid_t = ::std::os::raw::c_int;
1095pub type __timer_t = *mut ::std::os::raw::c_void;
1096pub type __blksize_t = ::std::os::raw::c_long;
1097pub type __blkcnt_t = ::std::os::raw::c_long;
1098pub type __blkcnt64_t = ::std::os::raw::c_long;
1099pub type __fsblkcnt_t = ::std::os::raw::c_ulong;
1100pub type __fsblkcnt64_t = ::std::os::raw::c_ulong;
1101pub type __fsfilcnt_t = ::std::os::raw::c_ulong;
1102pub type __fsfilcnt64_t = ::std::os::raw::c_ulong;
1103pub type __fsword_t = ::std::os::raw::c_long;
1104pub type __ssize_t = ::std::os::raw::c_long;
1105pub type __syscall_slong_t = ::std::os::raw::c_long;
1106pub type __syscall_ulong_t = ::std::os::raw::c_ulong;
1107pub type __loff_t = __off64_t;
1108pub type __caddr_t = *mut ::std::os::raw::c_char;
1109pub type __intptr_t = ::std::os::raw::c_long;
1110pub type __socklen_t = ::std::os::raw::c_uint;
1111pub type __sig_atomic_t = ::std::os::raw::c_int;
1112pub type u_char = __u_char;
1113pub type u_short = __u_short;
1114pub type u_int = __u_int;
1115pub type u_long = __u_long;
1116pub type quad_t = __quad_t;
1117pub type u_quad_t = __u_quad_t;
1118pub type fsid_t = __fsid_t;
1119pub type loff_t = __loff_t;
1120pub type ino_t = __ino_t;
1121pub type dev_t = __dev_t;
1122pub type gid_t = __gid_t;
1123pub type mode_t = __mode_t;
1124pub type nlink_t = __nlink_t;
1125pub type uid_t = __uid_t;
1126pub type off_t = __off_t;
1127pub type pid_t = __pid_t;
1128pub type id_t = __id_t;
1129pub type daddr_t = __daddr_t;
1130pub type caddr_t = __caddr_t;
1131pub type key_t = __key_t;
1132pub type clock_t = __clock_t;
1133pub type clockid_t = __clockid_t;
1134pub type time_t = __time_t;
1135pub type timer_t = __timer_t;
1136pub type ulong = ::std::os::raw::c_ulong;
1137pub type ushort = ::std::os::raw::c_ushort;
1138pub type uint = ::std::os::raw::c_uint;
1139pub type u_int8_t = __uint8_t;
1140pub type u_int16_t = __uint16_t;
1141pub type u_int32_t = __uint32_t;
1142pub type u_int64_t = __uint64_t;
1143pub type register_t = ::std::os::raw::c_long;
1144#[repr(C)]
1145#[derive(Debug, Default, Copy, Clone)]
1146pub struct __sigset_t {
1147    pub __val: [::std::os::raw::c_ulong; 16usize],
1148}
1149#[test]
1150fn bindgen_test_layout___sigset_t() {
1151    assert_eq!(
1152        ::std::mem::size_of::<__sigset_t>(),
1153        128usize,
1154        concat!("Size of: ", stringify!(__sigset_t))
1155    );
1156    assert_eq!(
1157        ::std::mem::align_of::<__sigset_t>(),
1158        8usize,
1159        concat!("Alignment of ", stringify!(__sigset_t))
1160    );
1161    assert_eq!(
1162        unsafe { &(*(::std::ptr::null::<__sigset_t>())).__val as *const _ as usize },
1163        0usize,
1164        concat!(
1165            "Offset of field: ",
1166            stringify!(__sigset_t),
1167            "::",
1168            stringify!(__val)
1169        )
1170    );
1171}
1172pub type sigset_t = __sigset_t;
1173#[repr(C)]
1174#[derive(Debug, Default, Copy, Clone)]
1175pub struct timeval {
1176    pub tv_sec: __time_t,
1177    pub tv_usec: __suseconds_t,
1178}
1179#[test]
1180fn bindgen_test_layout_timeval() {
1181    assert_eq!(
1182        ::std::mem::size_of::<timeval>(),
1183        16usize,
1184        concat!("Size of: ", stringify!(timeval))
1185    );
1186    assert_eq!(
1187        ::std::mem::align_of::<timeval>(),
1188        8usize,
1189        concat!("Alignment of ", stringify!(timeval))
1190    );
1191    assert_eq!(
1192        unsafe { &(*(::std::ptr::null::<timeval>())).tv_sec as *const _ as usize },
1193        0usize,
1194        concat!(
1195            "Offset of field: ",
1196            stringify!(timeval),
1197            "::",
1198            stringify!(tv_sec)
1199        )
1200    );
1201    assert_eq!(
1202        unsafe { &(*(::std::ptr::null::<timeval>())).tv_usec as *const _ as usize },
1203        8usize,
1204        concat!(
1205            "Offset of field: ",
1206            stringify!(timeval),
1207            "::",
1208            stringify!(tv_usec)
1209        )
1210    );
1211}
1212#[repr(C)]
1213#[derive(Debug, Default, Copy, Clone)]
1214pub struct timespec {
1215    pub tv_sec: __time_t,
1216    pub tv_nsec: __syscall_slong_t,
1217}
1218#[test]
1219fn bindgen_test_layout_timespec() {
1220    assert_eq!(
1221        ::std::mem::size_of::<timespec>(),
1222        16usize,
1223        concat!("Size of: ", stringify!(timespec))
1224    );
1225    assert_eq!(
1226        ::std::mem::align_of::<timespec>(),
1227        8usize,
1228        concat!("Alignment of ", stringify!(timespec))
1229    );
1230    assert_eq!(
1231        unsafe { &(*(::std::ptr::null::<timespec>())).tv_sec as *const _ as usize },
1232        0usize,
1233        concat!(
1234            "Offset of field: ",
1235            stringify!(timespec),
1236            "::",
1237            stringify!(tv_sec)
1238        )
1239    );
1240    assert_eq!(
1241        unsafe { &(*(::std::ptr::null::<timespec>())).tv_nsec as *const _ as usize },
1242        8usize,
1243        concat!(
1244            "Offset of field: ",
1245            stringify!(timespec),
1246            "::",
1247            stringify!(tv_nsec)
1248        )
1249    );
1250}
1251pub type suseconds_t = __suseconds_t;
1252pub type __fd_mask = ::std::os::raw::c_long;
1253#[repr(C)]
1254#[derive(Debug, Default, Copy, Clone)]
1255pub struct fd_set {
1256    pub __fds_bits: [__fd_mask; 16usize],
1257}
1258#[test]
1259fn bindgen_test_layout_fd_set() {
1260    assert_eq!(
1261        ::std::mem::size_of::<fd_set>(),
1262        128usize,
1263        concat!("Size of: ", stringify!(fd_set))
1264    );
1265    assert_eq!(
1266        ::std::mem::align_of::<fd_set>(),
1267        8usize,
1268        concat!("Alignment of ", stringify!(fd_set))
1269    );
1270    assert_eq!(
1271        unsafe { &(*(::std::ptr::null::<fd_set>())).__fds_bits as *const _ as usize },
1272        0usize,
1273        concat!(
1274            "Offset of field: ",
1275            stringify!(fd_set),
1276            "::",
1277            stringify!(__fds_bits)
1278        )
1279    );
1280}
1281pub type fd_mask = __fd_mask;
1282extern "C" {
1283    pub fn select(
1284        __nfds: ::std::os::raw::c_int,
1285        __readfds: *mut fd_set,
1286        __writefds: *mut fd_set,
1287        __exceptfds: *mut fd_set,
1288        __timeout: *mut timeval,
1289    ) -> ::std::os::raw::c_int;
1290}
1291extern "C" {
1292    pub fn pselect(
1293        __nfds: ::std::os::raw::c_int,
1294        __readfds: *mut fd_set,
1295        __writefds: *mut fd_set,
1296        __exceptfds: *mut fd_set,
1297        __timeout: *const timespec,
1298        __sigmask: *const __sigset_t,
1299    ) -> ::std::os::raw::c_int;
1300}
1301pub type blksize_t = __blksize_t;
1302pub type blkcnt_t = __blkcnt_t;
1303pub type fsblkcnt_t = __fsblkcnt_t;
1304pub type fsfilcnt_t = __fsfilcnt_t;
1305#[repr(C)]
1306#[derive(Copy, Clone)]
1307pub union __atomic_wide_counter {
1308    pub __value64: ::std::os::raw::c_ulonglong,
1309    pub __value32: __atomic_wide_counter__bindgen_ty_1,
1310    _bindgen_union_align: u64,
1311}
1312#[repr(C)]
1313#[derive(Debug, Default, Copy, Clone)]
1314pub struct __atomic_wide_counter__bindgen_ty_1 {
1315    pub __low: ::std::os::raw::c_uint,
1316    pub __high: ::std::os::raw::c_uint,
1317}
1318#[test]
1319fn bindgen_test_layout___atomic_wide_counter__bindgen_ty_1() {
1320    assert_eq!(
1321        ::std::mem::size_of::<__atomic_wide_counter__bindgen_ty_1>(),
1322        8usize,
1323        concat!("Size of: ", stringify!(__atomic_wide_counter__bindgen_ty_1))
1324    );
1325    assert_eq!(
1326        ::std::mem::align_of::<__atomic_wide_counter__bindgen_ty_1>(),
1327        4usize,
1328        concat!(
1329            "Alignment of ",
1330            stringify!(__atomic_wide_counter__bindgen_ty_1)
1331        )
1332    );
1333    assert_eq!(
1334        unsafe {
1335            &(*(::std::ptr::null::<__atomic_wide_counter__bindgen_ty_1>())).__low as *const _
1336                as usize
1337        },
1338        0usize,
1339        concat!(
1340            "Offset of field: ",
1341            stringify!(__atomic_wide_counter__bindgen_ty_1),
1342            "::",
1343            stringify!(__low)
1344        )
1345    );
1346    assert_eq!(
1347        unsafe {
1348            &(*(::std::ptr::null::<__atomic_wide_counter__bindgen_ty_1>())).__high as *const _
1349                as usize
1350        },
1351        4usize,
1352        concat!(
1353            "Offset of field: ",
1354            stringify!(__atomic_wide_counter__bindgen_ty_1),
1355            "::",
1356            stringify!(__high)
1357        )
1358    );
1359}
1360#[test]
1361fn bindgen_test_layout___atomic_wide_counter() {
1362    assert_eq!(
1363        ::std::mem::size_of::<__atomic_wide_counter>(),
1364        8usize,
1365        concat!("Size of: ", stringify!(__atomic_wide_counter))
1366    );
1367    assert_eq!(
1368        ::std::mem::align_of::<__atomic_wide_counter>(),
1369        8usize,
1370        concat!("Alignment of ", stringify!(__atomic_wide_counter))
1371    );
1372    assert_eq!(
1373        unsafe { &(*(::std::ptr::null::<__atomic_wide_counter>())).__value64 as *const _ as usize },
1374        0usize,
1375        concat!(
1376            "Offset of field: ",
1377            stringify!(__atomic_wide_counter),
1378            "::",
1379            stringify!(__value64)
1380        )
1381    );
1382    assert_eq!(
1383        unsafe { &(*(::std::ptr::null::<__atomic_wide_counter>())).__value32 as *const _ as usize },
1384        0usize,
1385        concat!(
1386            "Offset of field: ",
1387            stringify!(__atomic_wide_counter),
1388            "::",
1389            stringify!(__value32)
1390        )
1391    );
1392}
1393impl Default for __atomic_wide_counter {
1394    fn default() -> Self {
1395        unsafe { ::std::mem::zeroed() }
1396    }
1397}
1398#[repr(C)]
1399#[derive(Debug, Copy, Clone)]
1400pub struct __pthread_internal_list {
1401    pub __prev: *mut __pthread_internal_list,
1402    pub __next: *mut __pthread_internal_list,
1403}
1404#[test]
1405fn bindgen_test_layout___pthread_internal_list() {
1406    assert_eq!(
1407        ::std::mem::size_of::<__pthread_internal_list>(),
1408        16usize,
1409        concat!("Size of: ", stringify!(__pthread_internal_list))
1410    );
1411    assert_eq!(
1412        ::std::mem::align_of::<__pthread_internal_list>(),
1413        8usize,
1414        concat!("Alignment of ", stringify!(__pthread_internal_list))
1415    );
1416    assert_eq!(
1417        unsafe { &(*(::std::ptr::null::<__pthread_internal_list>())).__prev as *const _ as usize },
1418        0usize,
1419        concat!(
1420            "Offset of field: ",
1421            stringify!(__pthread_internal_list),
1422            "::",
1423            stringify!(__prev)
1424        )
1425    );
1426    assert_eq!(
1427        unsafe { &(*(::std::ptr::null::<__pthread_internal_list>())).__next as *const _ as usize },
1428        8usize,
1429        concat!(
1430            "Offset of field: ",
1431            stringify!(__pthread_internal_list),
1432            "::",
1433            stringify!(__next)
1434        )
1435    );
1436}
1437impl Default for __pthread_internal_list {
1438    fn default() -> Self {
1439        unsafe { ::std::mem::zeroed() }
1440    }
1441}
1442pub type __pthread_list_t = __pthread_internal_list;
1443#[repr(C)]
1444#[derive(Debug, Copy, Clone)]
1445pub struct __pthread_internal_slist {
1446    pub __next: *mut __pthread_internal_slist,
1447}
1448#[test]
1449fn bindgen_test_layout___pthread_internal_slist() {
1450    assert_eq!(
1451        ::std::mem::size_of::<__pthread_internal_slist>(),
1452        8usize,
1453        concat!("Size of: ", stringify!(__pthread_internal_slist))
1454    );
1455    assert_eq!(
1456        ::std::mem::align_of::<__pthread_internal_slist>(),
1457        8usize,
1458        concat!("Alignment of ", stringify!(__pthread_internal_slist))
1459    );
1460    assert_eq!(
1461        unsafe { &(*(::std::ptr::null::<__pthread_internal_slist>())).__next as *const _ as usize },
1462        0usize,
1463        concat!(
1464            "Offset of field: ",
1465            stringify!(__pthread_internal_slist),
1466            "::",
1467            stringify!(__next)
1468        )
1469    );
1470}
1471impl Default for __pthread_internal_slist {
1472    fn default() -> Self {
1473        unsafe { ::std::mem::zeroed() }
1474    }
1475}
1476pub type __pthread_slist_t = __pthread_internal_slist;
1477#[repr(C)]
1478#[derive(Debug, Copy, Clone)]
1479pub struct __pthread_mutex_s {
1480    pub __lock: ::std::os::raw::c_int,
1481    pub __count: ::std::os::raw::c_uint,
1482    pub __owner: ::std::os::raw::c_int,
1483    pub __nusers: ::std::os::raw::c_uint,
1484    pub __kind: ::std::os::raw::c_int,
1485    pub __spins: ::std::os::raw::c_short,
1486    pub __elision: ::std::os::raw::c_short,
1487    pub __list: __pthread_list_t,
1488}
1489#[test]
1490fn bindgen_test_layout___pthread_mutex_s() {
1491    assert_eq!(
1492        ::std::mem::size_of::<__pthread_mutex_s>(),
1493        40usize,
1494        concat!("Size of: ", stringify!(__pthread_mutex_s))
1495    );
1496    assert_eq!(
1497        ::std::mem::align_of::<__pthread_mutex_s>(),
1498        8usize,
1499        concat!("Alignment of ", stringify!(__pthread_mutex_s))
1500    );
1501    assert_eq!(
1502        unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__lock as *const _ as usize },
1503        0usize,
1504        concat!(
1505            "Offset of field: ",
1506            stringify!(__pthread_mutex_s),
1507            "::",
1508            stringify!(__lock)
1509        )
1510    );
1511    assert_eq!(
1512        unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__count as *const _ as usize },
1513        4usize,
1514        concat!(
1515            "Offset of field: ",
1516            stringify!(__pthread_mutex_s),
1517            "::",
1518            stringify!(__count)
1519        )
1520    );
1521    assert_eq!(
1522        unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__owner as *const _ as usize },
1523        8usize,
1524        concat!(
1525            "Offset of field: ",
1526            stringify!(__pthread_mutex_s),
1527            "::",
1528            stringify!(__owner)
1529        )
1530    );
1531    assert_eq!(
1532        unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__nusers as *const _ as usize },
1533        12usize,
1534        concat!(
1535            "Offset of field: ",
1536            stringify!(__pthread_mutex_s),
1537            "::",
1538            stringify!(__nusers)
1539        )
1540    );
1541    assert_eq!(
1542        unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__kind as *const _ as usize },
1543        16usize,
1544        concat!(
1545            "Offset of field: ",
1546            stringify!(__pthread_mutex_s),
1547            "::",
1548            stringify!(__kind)
1549        )
1550    );
1551    assert_eq!(
1552        unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__spins as *const _ as usize },
1553        20usize,
1554        concat!(
1555            "Offset of field: ",
1556            stringify!(__pthread_mutex_s),
1557            "::",
1558            stringify!(__spins)
1559        )
1560    );
1561    assert_eq!(
1562        unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__elision as *const _ as usize },
1563        22usize,
1564        concat!(
1565            "Offset of field: ",
1566            stringify!(__pthread_mutex_s),
1567            "::",
1568            stringify!(__elision)
1569        )
1570    );
1571    assert_eq!(
1572        unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__list as *const _ as usize },
1573        24usize,
1574        concat!(
1575            "Offset of field: ",
1576            stringify!(__pthread_mutex_s),
1577            "::",
1578            stringify!(__list)
1579        )
1580    );
1581}
1582impl Default for __pthread_mutex_s {
1583    fn default() -> Self {
1584        unsafe { ::std::mem::zeroed() }
1585    }
1586}
1587#[repr(C)]
1588#[derive(Debug, Default, Copy, Clone)]
1589pub struct __pthread_rwlock_arch_t {
1590    pub __readers: ::std::os::raw::c_uint,
1591    pub __writers: ::std::os::raw::c_uint,
1592    pub __wrphase_futex: ::std::os::raw::c_uint,
1593    pub __writers_futex: ::std::os::raw::c_uint,
1594    pub __pad3: ::std::os::raw::c_uint,
1595    pub __pad4: ::std::os::raw::c_uint,
1596    pub __cur_writer: ::std::os::raw::c_int,
1597    pub __shared: ::std::os::raw::c_int,
1598    pub __rwelision: ::std::os::raw::c_schar,
1599    pub __pad1: [::std::os::raw::c_uchar; 7usize],
1600    pub __pad2: ::std::os::raw::c_ulong,
1601    pub __flags: ::std::os::raw::c_uint,
1602}
1603#[test]
1604fn bindgen_test_layout___pthread_rwlock_arch_t() {
1605    assert_eq!(
1606        ::std::mem::size_of::<__pthread_rwlock_arch_t>(),
1607        56usize,
1608        concat!("Size of: ", stringify!(__pthread_rwlock_arch_t))
1609    );
1610    assert_eq!(
1611        ::std::mem::align_of::<__pthread_rwlock_arch_t>(),
1612        8usize,
1613        concat!("Alignment of ", stringify!(__pthread_rwlock_arch_t))
1614    );
1615    assert_eq!(
1616        unsafe {
1617            &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__readers as *const _ as usize
1618        },
1619        0usize,
1620        concat!(
1621            "Offset of field: ",
1622            stringify!(__pthread_rwlock_arch_t),
1623            "::",
1624            stringify!(__readers)
1625        )
1626    );
1627    assert_eq!(
1628        unsafe {
1629            &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__writers as *const _ as usize
1630        },
1631        4usize,
1632        concat!(
1633            "Offset of field: ",
1634            stringify!(__pthread_rwlock_arch_t),
1635            "::",
1636            stringify!(__writers)
1637        )
1638    );
1639    assert_eq!(
1640        unsafe {
1641            &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__wrphase_futex as *const _ as usize
1642        },
1643        8usize,
1644        concat!(
1645            "Offset of field: ",
1646            stringify!(__pthread_rwlock_arch_t),
1647            "::",
1648            stringify!(__wrphase_futex)
1649        )
1650    );
1651    assert_eq!(
1652        unsafe {
1653            &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__writers_futex as *const _ as usize
1654        },
1655        12usize,
1656        concat!(
1657            "Offset of field: ",
1658            stringify!(__pthread_rwlock_arch_t),
1659            "::",
1660            stringify!(__writers_futex)
1661        )
1662    );
1663    assert_eq!(
1664        unsafe { &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__pad3 as *const _ as usize },
1665        16usize,
1666        concat!(
1667            "Offset of field: ",
1668            stringify!(__pthread_rwlock_arch_t),
1669            "::",
1670            stringify!(__pad3)
1671        )
1672    );
1673    assert_eq!(
1674        unsafe { &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__pad4 as *const _ as usize },
1675        20usize,
1676        concat!(
1677            "Offset of field: ",
1678            stringify!(__pthread_rwlock_arch_t),
1679            "::",
1680            stringify!(__pad4)
1681        )
1682    );
1683    assert_eq!(
1684        unsafe {
1685            &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__cur_writer as *const _ as usize
1686        },
1687        24usize,
1688        concat!(
1689            "Offset of field: ",
1690            stringify!(__pthread_rwlock_arch_t),
1691            "::",
1692            stringify!(__cur_writer)
1693        )
1694    );
1695    assert_eq!(
1696        unsafe {
1697            &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__shared as *const _ as usize
1698        },
1699        28usize,
1700        concat!(
1701            "Offset of field: ",
1702            stringify!(__pthread_rwlock_arch_t),
1703            "::",
1704            stringify!(__shared)
1705        )
1706    );
1707    assert_eq!(
1708        unsafe {
1709            &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__rwelision as *const _ as usize
1710        },
1711        32usize,
1712        concat!(
1713            "Offset of field: ",
1714            stringify!(__pthread_rwlock_arch_t),
1715            "::",
1716            stringify!(__rwelision)
1717        )
1718    );
1719    assert_eq!(
1720        unsafe { &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__pad1 as *const _ as usize },
1721        33usize,
1722        concat!(
1723            "Offset of field: ",
1724            stringify!(__pthread_rwlock_arch_t),
1725            "::",
1726            stringify!(__pad1)
1727        )
1728    );
1729    assert_eq!(
1730        unsafe { &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__pad2 as *const _ as usize },
1731        40usize,
1732        concat!(
1733            "Offset of field: ",
1734            stringify!(__pthread_rwlock_arch_t),
1735            "::",
1736            stringify!(__pad2)
1737        )
1738    );
1739    assert_eq!(
1740        unsafe { &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__flags as *const _ as usize },
1741        48usize,
1742        concat!(
1743            "Offset of field: ",
1744            stringify!(__pthread_rwlock_arch_t),
1745            "::",
1746            stringify!(__flags)
1747        )
1748    );
1749}
1750#[repr(C)]
1751#[derive(Copy, Clone)]
1752pub struct __pthread_cond_s {
1753    pub __wseq: __atomic_wide_counter,
1754    pub __g1_start: __atomic_wide_counter,
1755    pub __g_refs: [::std::os::raw::c_uint; 2usize],
1756    pub __g_size: [::std::os::raw::c_uint; 2usize],
1757    pub __g1_orig_size: ::std::os::raw::c_uint,
1758    pub __wrefs: ::std::os::raw::c_uint,
1759    pub __g_signals: [::std::os::raw::c_uint; 2usize],
1760}
1761#[test]
1762fn bindgen_test_layout___pthread_cond_s() {
1763    assert_eq!(
1764        ::std::mem::size_of::<__pthread_cond_s>(),
1765        48usize,
1766        concat!("Size of: ", stringify!(__pthread_cond_s))
1767    );
1768    assert_eq!(
1769        ::std::mem::align_of::<__pthread_cond_s>(),
1770        8usize,
1771        concat!("Alignment of ", stringify!(__pthread_cond_s))
1772    );
1773    assert_eq!(
1774        unsafe { &(*(::std::ptr::null::<__pthread_cond_s>())).__wseq as *const _ as usize },
1775        0usize,
1776        concat!(
1777            "Offset of field: ",
1778            stringify!(__pthread_cond_s),
1779            "::",
1780            stringify!(__wseq)
1781        )
1782    );
1783    assert_eq!(
1784        unsafe { &(*(::std::ptr::null::<__pthread_cond_s>())).__g1_start as *const _ as usize },
1785        8usize,
1786        concat!(
1787            "Offset of field: ",
1788            stringify!(__pthread_cond_s),
1789            "::",
1790            stringify!(__g1_start)
1791        )
1792    );
1793    assert_eq!(
1794        unsafe { &(*(::std::ptr::null::<__pthread_cond_s>())).__g_refs as *const _ as usize },
1795        16usize,
1796        concat!(
1797            "Offset of field: ",
1798            stringify!(__pthread_cond_s),
1799            "::",
1800            stringify!(__g_refs)
1801        )
1802    );
1803    assert_eq!(
1804        unsafe { &(*(::std::ptr::null::<__pthread_cond_s>())).__g_size as *const _ as usize },
1805        24usize,
1806        concat!(
1807            "Offset of field: ",
1808            stringify!(__pthread_cond_s),
1809            "::",
1810            stringify!(__g_size)
1811        )
1812    );
1813    assert_eq!(
1814        unsafe { &(*(::std::ptr::null::<__pthread_cond_s>())).__g1_orig_size as *const _ as usize },
1815        32usize,
1816        concat!(
1817            "Offset of field: ",
1818            stringify!(__pthread_cond_s),
1819            "::",
1820            stringify!(__g1_orig_size)
1821        )
1822    );
1823    assert_eq!(
1824        unsafe { &(*(::std::ptr::null::<__pthread_cond_s>())).__wrefs as *const _ as usize },
1825        36usize,
1826        concat!(
1827            "Offset of field: ",
1828            stringify!(__pthread_cond_s),
1829            "::",
1830            stringify!(__wrefs)
1831        )
1832    );
1833    assert_eq!(
1834        unsafe { &(*(::std::ptr::null::<__pthread_cond_s>())).__g_signals as *const _ as usize },
1835        40usize,
1836        concat!(
1837            "Offset of field: ",
1838            stringify!(__pthread_cond_s),
1839            "::",
1840            stringify!(__g_signals)
1841        )
1842    );
1843}
1844impl Default for __pthread_cond_s {
1845    fn default() -> Self {
1846        unsafe { ::std::mem::zeroed() }
1847    }
1848}
1849pub type __tss_t = ::std::os::raw::c_uint;
1850pub type __thrd_t = ::std::os::raw::c_ulong;
1851#[repr(C)]
1852#[derive(Debug, Default, Copy, Clone)]
1853pub struct __once_flag {
1854    pub __data: ::std::os::raw::c_int,
1855}
1856#[test]
1857fn bindgen_test_layout___once_flag() {
1858    assert_eq!(
1859        ::std::mem::size_of::<__once_flag>(),
1860        4usize,
1861        concat!("Size of: ", stringify!(__once_flag))
1862    );
1863    assert_eq!(
1864        ::std::mem::align_of::<__once_flag>(),
1865        4usize,
1866        concat!("Alignment of ", stringify!(__once_flag))
1867    );
1868    assert_eq!(
1869        unsafe { &(*(::std::ptr::null::<__once_flag>())).__data as *const _ as usize },
1870        0usize,
1871        concat!(
1872            "Offset of field: ",
1873            stringify!(__once_flag),
1874            "::",
1875            stringify!(__data)
1876        )
1877    );
1878}
1879pub type pthread_t = ::std::os::raw::c_ulong;
1880#[repr(C)]
1881#[derive(Copy, Clone)]
1882pub union pthread_mutexattr_t {
1883    pub __size: [::std::os::raw::c_char; 4usize],
1884    pub __align: ::std::os::raw::c_int,
1885    _bindgen_union_align: u32,
1886}
1887#[test]
1888fn bindgen_test_layout_pthread_mutexattr_t() {
1889    assert_eq!(
1890        ::std::mem::size_of::<pthread_mutexattr_t>(),
1891        4usize,
1892        concat!("Size of: ", stringify!(pthread_mutexattr_t))
1893    );
1894    assert_eq!(
1895        ::std::mem::align_of::<pthread_mutexattr_t>(),
1896        4usize,
1897        concat!("Alignment of ", stringify!(pthread_mutexattr_t))
1898    );
1899    assert_eq!(
1900        unsafe { &(*(::std::ptr::null::<pthread_mutexattr_t>())).__size as *const _ as usize },
1901        0usize,
1902        concat!(
1903            "Offset of field: ",
1904            stringify!(pthread_mutexattr_t),
1905            "::",
1906            stringify!(__size)
1907        )
1908    );
1909    assert_eq!(
1910        unsafe { &(*(::std::ptr::null::<pthread_mutexattr_t>())).__align as *const _ as usize },
1911        0usize,
1912        concat!(
1913            "Offset of field: ",
1914            stringify!(pthread_mutexattr_t),
1915            "::",
1916            stringify!(__align)
1917        )
1918    );
1919}
1920impl Default for pthread_mutexattr_t {
1921    fn default() -> Self {
1922        unsafe { ::std::mem::zeroed() }
1923    }
1924}
1925#[repr(C)]
1926#[derive(Copy, Clone)]
1927pub union pthread_condattr_t {
1928    pub __size: [::std::os::raw::c_char; 4usize],
1929    pub __align: ::std::os::raw::c_int,
1930    _bindgen_union_align: u32,
1931}
1932#[test]
1933fn bindgen_test_layout_pthread_condattr_t() {
1934    assert_eq!(
1935        ::std::mem::size_of::<pthread_condattr_t>(),
1936        4usize,
1937        concat!("Size of: ", stringify!(pthread_condattr_t))
1938    );
1939    assert_eq!(
1940        ::std::mem::align_of::<pthread_condattr_t>(),
1941        4usize,
1942        concat!("Alignment of ", stringify!(pthread_condattr_t))
1943    );
1944    assert_eq!(
1945        unsafe { &(*(::std::ptr::null::<pthread_condattr_t>())).__size as *const _ as usize },
1946        0usize,
1947        concat!(
1948            "Offset of field: ",
1949            stringify!(pthread_condattr_t),
1950            "::",
1951            stringify!(__size)
1952        )
1953    );
1954    assert_eq!(
1955        unsafe { &(*(::std::ptr::null::<pthread_condattr_t>())).__align as *const _ as usize },
1956        0usize,
1957        concat!(
1958            "Offset of field: ",
1959            stringify!(pthread_condattr_t),
1960            "::",
1961            stringify!(__align)
1962        )
1963    );
1964}
1965impl Default for pthread_condattr_t {
1966    fn default() -> Self {
1967        unsafe { ::std::mem::zeroed() }
1968    }
1969}
1970pub type pthread_key_t = ::std::os::raw::c_uint;
1971pub type pthread_once_t = ::std::os::raw::c_int;
1972#[repr(C)]
1973#[derive(Copy, Clone)]
1974pub union pthread_attr_t {
1975    pub __size: [::std::os::raw::c_char; 56usize],
1976    pub __align: ::std::os::raw::c_long,
1977    _bindgen_union_align: [u64; 7usize],
1978}
1979#[test]
1980fn bindgen_test_layout_pthread_attr_t() {
1981    assert_eq!(
1982        ::std::mem::size_of::<pthread_attr_t>(),
1983        56usize,
1984        concat!("Size of: ", stringify!(pthread_attr_t))
1985    );
1986    assert_eq!(
1987        ::std::mem::align_of::<pthread_attr_t>(),
1988        8usize,
1989        concat!("Alignment of ", stringify!(pthread_attr_t))
1990    );
1991    assert_eq!(
1992        unsafe { &(*(::std::ptr::null::<pthread_attr_t>())).__size as *const _ as usize },
1993        0usize,
1994        concat!(
1995            "Offset of field: ",
1996            stringify!(pthread_attr_t),
1997            "::",
1998            stringify!(__size)
1999        )
2000    );
2001    assert_eq!(
2002        unsafe { &(*(::std::ptr::null::<pthread_attr_t>())).__align as *const _ as usize },
2003        0usize,
2004        concat!(
2005            "Offset of field: ",
2006            stringify!(pthread_attr_t),
2007            "::",
2008            stringify!(__align)
2009        )
2010    );
2011}
2012impl Default for pthread_attr_t {
2013    fn default() -> Self {
2014        unsafe { ::std::mem::zeroed() }
2015    }
2016}
2017#[repr(C)]
2018#[derive(Copy, Clone)]
2019pub union pthread_mutex_t {
2020    pub __data: __pthread_mutex_s,
2021    pub __size: [::std::os::raw::c_char; 40usize],
2022    pub __align: ::std::os::raw::c_long,
2023    _bindgen_union_align: [u64; 5usize],
2024}
2025#[test]
2026fn bindgen_test_layout_pthread_mutex_t() {
2027    assert_eq!(
2028        ::std::mem::size_of::<pthread_mutex_t>(),
2029        40usize,
2030        concat!("Size of: ", stringify!(pthread_mutex_t))
2031    );
2032    assert_eq!(
2033        ::std::mem::align_of::<pthread_mutex_t>(),
2034        8usize,
2035        concat!("Alignment of ", stringify!(pthread_mutex_t))
2036    );
2037    assert_eq!(
2038        unsafe { &(*(::std::ptr::null::<pthread_mutex_t>())).__data as *const _ as usize },
2039        0usize,
2040        concat!(
2041            "Offset of field: ",
2042            stringify!(pthread_mutex_t),
2043            "::",
2044            stringify!(__data)
2045        )
2046    );
2047    assert_eq!(
2048        unsafe { &(*(::std::ptr::null::<pthread_mutex_t>())).__size as *const _ as usize },
2049        0usize,
2050        concat!(
2051            "Offset of field: ",
2052            stringify!(pthread_mutex_t),
2053            "::",
2054            stringify!(__size)
2055        )
2056    );
2057    assert_eq!(
2058        unsafe { &(*(::std::ptr::null::<pthread_mutex_t>())).__align as *const _ as usize },
2059        0usize,
2060        concat!(
2061            "Offset of field: ",
2062            stringify!(pthread_mutex_t),
2063            "::",
2064            stringify!(__align)
2065        )
2066    );
2067}
2068impl Default for pthread_mutex_t {
2069    fn default() -> Self {
2070        unsafe { ::std::mem::zeroed() }
2071    }
2072}
2073#[repr(C)]
2074#[derive(Copy, Clone)]
2075pub union pthread_cond_t {
2076    pub __data: __pthread_cond_s,
2077    pub __size: [::std::os::raw::c_char; 48usize],
2078    pub __align: ::std::os::raw::c_longlong,
2079    _bindgen_union_align: [u64; 6usize],
2080}
2081#[test]
2082fn bindgen_test_layout_pthread_cond_t() {
2083    assert_eq!(
2084        ::std::mem::size_of::<pthread_cond_t>(),
2085        48usize,
2086        concat!("Size of: ", stringify!(pthread_cond_t))
2087    );
2088    assert_eq!(
2089        ::std::mem::align_of::<pthread_cond_t>(),
2090        8usize,
2091        concat!("Alignment of ", stringify!(pthread_cond_t))
2092    );
2093    assert_eq!(
2094        unsafe { &(*(::std::ptr::null::<pthread_cond_t>())).__data as *const _ as usize },
2095        0usize,
2096        concat!(
2097            "Offset of field: ",
2098            stringify!(pthread_cond_t),
2099            "::",
2100            stringify!(__data)
2101        )
2102    );
2103    assert_eq!(
2104        unsafe { &(*(::std::ptr::null::<pthread_cond_t>())).__size as *const _ as usize },
2105        0usize,
2106        concat!(
2107            "Offset of field: ",
2108            stringify!(pthread_cond_t),
2109            "::",
2110            stringify!(__size)
2111        )
2112    );
2113    assert_eq!(
2114        unsafe { &(*(::std::ptr::null::<pthread_cond_t>())).__align as *const _ as usize },
2115        0usize,
2116        concat!(
2117            "Offset of field: ",
2118            stringify!(pthread_cond_t),
2119            "::",
2120            stringify!(__align)
2121        )
2122    );
2123}
2124impl Default for pthread_cond_t {
2125    fn default() -> Self {
2126        unsafe { ::std::mem::zeroed() }
2127    }
2128}
2129#[repr(C)]
2130#[derive(Copy, Clone)]
2131pub union pthread_rwlock_t {
2132    pub __data: __pthread_rwlock_arch_t,
2133    pub __size: [::std::os::raw::c_char; 56usize],
2134    pub __align: ::std::os::raw::c_long,
2135    _bindgen_union_align: [u64; 7usize],
2136}
2137#[test]
2138fn bindgen_test_layout_pthread_rwlock_t() {
2139    assert_eq!(
2140        ::std::mem::size_of::<pthread_rwlock_t>(),
2141        56usize,
2142        concat!("Size of: ", stringify!(pthread_rwlock_t))
2143    );
2144    assert_eq!(
2145        ::std::mem::align_of::<pthread_rwlock_t>(),
2146        8usize,
2147        concat!("Alignment of ", stringify!(pthread_rwlock_t))
2148    );
2149    assert_eq!(
2150        unsafe { &(*(::std::ptr::null::<pthread_rwlock_t>())).__data as *const _ as usize },
2151        0usize,
2152        concat!(
2153            "Offset of field: ",
2154            stringify!(pthread_rwlock_t),
2155            "::",
2156            stringify!(__data)
2157        )
2158    );
2159    assert_eq!(
2160        unsafe { &(*(::std::ptr::null::<pthread_rwlock_t>())).__size as *const _ as usize },
2161        0usize,
2162        concat!(
2163            "Offset of field: ",
2164            stringify!(pthread_rwlock_t),
2165            "::",
2166            stringify!(__size)
2167        )
2168    );
2169    assert_eq!(
2170        unsafe { &(*(::std::ptr::null::<pthread_rwlock_t>())).__align as *const _ as usize },
2171        0usize,
2172        concat!(
2173            "Offset of field: ",
2174            stringify!(pthread_rwlock_t),
2175            "::",
2176            stringify!(__align)
2177        )
2178    );
2179}
2180impl Default for pthread_rwlock_t {
2181    fn default() -> Self {
2182        unsafe { ::std::mem::zeroed() }
2183    }
2184}
2185#[repr(C)]
2186#[derive(Copy, Clone)]
2187pub union pthread_rwlockattr_t {
2188    pub __size: [::std::os::raw::c_char; 8usize],
2189    pub __align: ::std::os::raw::c_long,
2190    _bindgen_union_align: u64,
2191}
2192#[test]
2193fn bindgen_test_layout_pthread_rwlockattr_t() {
2194    assert_eq!(
2195        ::std::mem::size_of::<pthread_rwlockattr_t>(),
2196        8usize,
2197        concat!("Size of: ", stringify!(pthread_rwlockattr_t))
2198    );
2199    assert_eq!(
2200        ::std::mem::align_of::<pthread_rwlockattr_t>(),
2201        8usize,
2202        concat!("Alignment of ", stringify!(pthread_rwlockattr_t))
2203    );
2204    assert_eq!(
2205        unsafe { &(*(::std::ptr::null::<pthread_rwlockattr_t>())).__size as *const _ as usize },
2206        0usize,
2207        concat!(
2208            "Offset of field: ",
2209            stringify!(pthread_rwlockattr_t),
2210            "::",
2211            stringify!(__size)
2212        )
2213    );
2214    assert_eq!(
2215        unsafe { &(*(::std::ptr::null::<pthread_rwlockattr_t>())).__align as *const _ as usize },
2216        0usize,
2217        concat!(
2218            "Offset of field: ",
2219            stringify!(pthread_rwlockattr_t),
2220            "::",
2221            stringify!(__align)
2222        )
2223    );
2224}
2225impl Default for pthread_rwlockattr_t {
2226    fn default() -> Self {
2227        unsafe { ::std::mem::zeroed() }
2228    }
2229}
2230pub type pthread_spinlock_t = ::std::os::raw::c_int;
2231#[repr(C)]
2232#[derive(Copy, Clone)]
2233pub union pthread_barrier_t {
2234    pub __size: [::std::os::raw::c_char; 32usize],
2235    pub __align: ::std::os::raw::c_long,
2236    _bindgen_union_align: [u64; 4usize],
2237}
2238#[test]
2239fn bindgen_test_layout_pthread_barrier_t() {
2240    assert_eq!(
2241        ::std::mem::size_of::<pthread_barrier_t>(),
2242        32usize,
2243        concat!("Size of: ", stringify!(pthread_barrier_t))
2244    );
2245    assert_eq!(
2246        ::std::mem::align_of::<pthread_barrier_t>(),
2247        8usize,
2248        concat!("Alignment of ", stringify!(pthread_barrier_t))
2249    );
2250    assert_eq!(
2251        unsafe { &(*(::std::ptr::null::<pthread_barrier_t>())).__size as *const _ as usize },
2252        0usize,
2253        concat!(
2254            "Offset of field: ",
2255            stringify!(pthread_barrier_t),
2256            "::",
2257            stringify!(__size)
2258        )
2259    );
2260    assert_eq!(
2261        unsafe { &(*(::std::ptr::null::<pthread_barrier_t>())).__align as *const _ as usize },
2262        0usize,
2263        concat!(
2264            "Offset of field: ",
2265            stringify!(pthread_barrier_t),
2266            "::",
2267            stringify!(__align)
2268        )
2269    );
2270}
2271impl Default for pthread_barrier_t {
2272    fn default() -> Self {
2273        unsafe { ::std::mem::zeroed() }
2274    }
2275}
2276#[repr(C)]
2277#[derive(Copy, Clone)]
2278pub union pthread_barrierattr_t {
2279    pub __size: [::std::os::raw::c_char; 4usize],
2280    pub __align: ::std::os::raw::c_int,
2281    _bindgen_union_align: u32,
2282}
2283#[test]
2284fn bindgen_test_layout_pthread_barrierattr_t() {
2285    assert_eq!(
2286        ::std::mem::size_of::<pthread_barrierattr_t>(),
2287        4usize,
2288        concat!("Size of: ", stringify!(pthread_barrierattr_t))
2289    );
2290    assert_eq!(
2291        ::std::mem::align_of::<pthread_barrierattr_t>(),
2292        4usize,
2293        concat!("Alignment of ", stringify!(pthread_barrierattr_t))
2294    );
2295    assert_eq!(
2296        unsafe { &(*(::std::ptr::null::<pthread_barrierattr_t>())).__size as *const _ as usize },
2297        0usize,
2298        concat!(
2299            "Offset of field: ",
2300            stringify!(pthread_barrierattr_t),
2301            "::",
2302            stringify!(__size)
2303        )
2304    );
2305    assert_eq!(
2306        unsafe { &(*(::std::ptr::null::<pthread_barrierattr_t>())).__align as *const _ as usize },
2307        0usize,
2308        concat!(
2309            "Offset of field: ",
2310            stringify!(pthread_barrierattr_t),
2311            "::",
2312            stringify!(__align)
2313        )
2314    );
2315}
2316impl Default for pthread_barrierattr_t {
2317    fn default() -> Self {
2318        unsafe { ::std::mem::zeroed() }
2319    }
2320}
2321pub type int_least8_t = __int_least8_t;
2322pub type int_least16_t = __int_least16_t;
2323pub type int_least32_t = __int_least32_t;
2324pub type int_least64_t = __int_least64_t;
2325pub type uint_least8_t = __uint_least8_t;
2326pub type uint_least16_t = __uint_least16_t;
2327pub type uint_least32_t = __uint_least32_t;
2328pub type uint_least64_t = __uint_least64_t;
2329pub type int_fast8_t = ::std::os::raw::c_schar;
2330pub type int_fast16_t = ::std::os::raw::c_long;
2331pub type int_fast32_t = ::std::os::raw::c_long;
2332pub type int_fast64_t = ::std::os::raw::c_long;
2333pub type uint_fast8_t = ::std::os::raw::c_uchar;
2334pub type uint_fast16_t = ::std::os::raw::c_ulong;
2335pub type uint_fast32_t = ::std::os::raw::c_ulong;
2336pub type uint_fast64_t = ::std::os::raw::c_ulong;
2337pub type intmax_t = __intmax_t;
2338pub type uintmax_t = __uintmax_t;
2339pub type __gwchar_t = ::std::os::raw::c_int;
2340#[repr(C)]
2341#[derive(Debug, Default, Copy, Clone)]
2342pub struct imaxdiv_t {
2343    pub quot: ::std::os::raw::c_long,
2344    pub rem: ::std::os::raw::c_long,
2345}
2346#[test]
2347fn bindgen_test_layout_imaxdiv_t() {
2348    assert_eq!(
2349        ::std::mem::size_of::<imaxdiv_t>(),
2350        16usize,
2351        concat!("Size of: ", stringify!(imaxdiv_t))
2352    );
2353    assert_eq!(
2354        ::std::mem::align_of::<imaxdiv_t>(),
2355        8usize,
2356        concat!("Alignment of ", stringify!(imaxdiv_t))
2357    );
2358    assert_eq!(
2359        unsafe { &(*(::std::ptr::null::<imaxdiv_t>())).quot as *const _ as usize },
2360        0usize,
2361        concat!(
2362            "Offset of field: ",
2363            stringify!(imaxdiv_t),
2364            "::",
2365            stringify!(quot)
2366        )
2367    );
2368    assert_eq!(
2369        unsafe { &(*(::std::ptr::null::<imaxdiv_t>())).rem as *const _ as usize },
2370        8usize,
2371        concat!(
2372            "Offset of field: ",
2373            stringify!(imaxdiv_t),
2374            "::",
2375            stringify!(rem)
2376        )
2377    );
2378}
2379extern "C" {
2380    pub fn imaxabs(__n: intmax_t) -> intmax_t;
2381}
2382extern "C" {
2383    pub fn imaxdiv(__numer: intmax_t, __denom: intmax_t) -> imaxdiv_t;
2384}
2385extern "C" {
2386    pub fn strtoimax(
2387        __nptr: *const ::std::os::raw::c_char,
2388        __endptr: *mut *mut ::std::os::raw::c_char,
2389        __base: ::std::os::raw::c_int,
2390    ) -> intmax_t;
2391}
2392extern "C" {
2393    pub fn strtoumax(
2394        __nptr: *const ::std::os::raw::c_char,
2395        __endptr: *mut *mut ::std::os::raw::c_char,
2396        __base: ::std::os::raw::c_int,
2397    ) -> uintmax_t;
2398}
2399extern "C" {
2400    pub fn wcstoimax(
2401        __nptr: *const __gwchar_t,
2402        __endptr: *mut *mut __gwchar_t,
2403        __base: ::std::os::raw::c_int,
2404    ) -> intmax_t;
2405}
2406extern "C" {
2407    pub fn wcstoumax(
2408        __nptr: *const __gwchar_t,
2409        __endptr: *mut *mut __gwchar_t,
2410        __base: ::std::os::raw::c_int,
2411    ) -> uintmax_t;
2412}
2413pub type wchar_t = ::std::os::raw::c_int;
2414#[repr(C)]
2415#[repr(align(16))]
2416#[derive(Debug, Default, Copy, Clone)]
2417pub struct max_align_t {
2418    pub __clang_max_align_nonce1: ::std::os::raw::c_longlong,
2419    pub __bindgen_padding_0: u64,
2420    pub __clang_max_align_nonce2: u128,
2421}
2422#[test]
2423fn bindgen_test_layout_max_align_t() {
2424    assert_eq!(
2425        ::std::mem::size_of::<max_align_t>(),
2426        32usize,
2427        concat!("Size of: ", stringify!(max_align_t))
2428    );
2429    assert_eq!(
2430        ::std::mem::align_of::<max_align_t>(),
2431        16usize,
2432        concat!("Alignment of ", stringify!(max_align_t))
2433    );
2434    assert_eq!(
2435        unsafe {
2436            &(*(::std::ptr::null::<max_align_t>())).__clang_max_align_nonce1 as *const _ as usize
2437        },
2438        0usize,
2439        concat!(
2440            "Offset of field: ",
2441            stringify!(max_align_t),
2442            "::",
2443            stringify!(__clang_max_align_nonce1)
2444        )
2445    );
2446    assert_eq!(
2447        unsafe {
2448            &(*(::std::ptr::null::<max_align_t>())).__clang_max_align_nonce2 as *const _ as usize
2449        },
2450        16usize,
2451        concat!(
2452            "Offset of field: ",
2453            stringify!(max_align_t),
2454            "::",
2455            stringify!(__clang_max_align_nonce2)
2456        )
2457    );
2458}
2459pub type va_list = __builtin_va_list;
2460pub type __gnuc_va_list = __builtin_va_list;
2461#[repr(C)]
2462#[derive(Copy, Clone)]
2463pub struct __mbstate_t {
2464    pub __count: ::std::os::raw::c_int,
2465    pub __value: __mbstate_t__bindgen_ty_1,
2466}
2467#[repr(C)]
2468#[derive(Copy, Clone)]
2469pub union __mbstate_t__bindgen_ty_1 {
2470    pub __wch: ::std::os::raw::c_uint,
2471    pub __wchb: [::std::os::raw::c_char; 4usize],
2472    _bindgen_union_align: u32,
2473}
2474#[test]
2475fn bindgen_test_layout___mbstate_t__bindgen_ty_1() {
2476    assert_eq!(
2477        ::std::mem::size_of::<__mbstate_t__bindgen_ty_1>(),
2478        4usize,
2479        concat!("Size of: ", stringify!(__mbstate_t__bindgen_ty_1))
2480    );
2481    assert_eq!(
2482        ::std::mem::align_of::<__mbstate_t__bindgen_ty_1>(),
2483        4usize,
2484        concat!("Alignment of ", stringify!(__mbstate_t__bindgen_ty_1))
2485    );
2486    assert_eq!(
2487        unsafe { &(*(::std::ptr::null::<__mbstate_t__bindgen_ty_1>())).__wch as *const _ as usize },
2488        0usize,
2489        concat!(
2490            "Offset of field: ",
2491            stringify!(__mbstate_t__bindgen_ty_1),
2492            "::",
2493            stringify!(__wch)
2494        )
2495    );
2496    assert_eq!(
2497        unsafe {
2498            &(*(::std::ptr::null::<__mbstate_t__bindgen_ty_1>())).__wchb as *const _ as usize
2499        },
2500        0usize,
2501        concat!(
2502            "Offset of field: ",
2503            stringify!(__mbstate_t__bindgen_ty_1),
2504            "::",
2505            stringify!(__wchb)
2506        )
2507    );
2508}
2509impl Default for __mbstate_t__bindgen_ty_1 {
2510    fn default() -> Self {
2511        unsafe { ::std::mem::zeroed() }
2512    }
2513}
2514#[test]
2515fn bindgen_test_layout___mbstate_t() {
2516    assert_eq!(
2517        ::std::mem::size_of::<__mbstate_t>(),
2518        8usize,
2519        concat!("Size of: ", stringify!(__mbstate_t))
2520    );
2521    assert_eq!(
2522        ::std::mem::align_of::<__mbstate_t>(),
2523        4usize,
2524        concat!("Alignment of ", stringify!(__mbstate_t))
2525    );
2526    assert_eq!(
2527        unsafe { &(*(::std::ptr::null::<__mbstate_t>())).__count as *const _ as usize },
2528        0usize,
2529        concat!(
2530            "Offset of field: ",
2531            stringify!(__mbstate_t),
2532            "::",
2533            stringify!(__count)
2534        )
2535    );
2536    assert_eq!(
2537        unsafe { &(*(::std::ptr::null::<__mbstate_t>())).__value as *const _ as usize },
2538        4usize,
2539        concat!(
2540            "Offset of field: ",
2541            stringify!(__mbstate_t),
2542            "::",
2543            stringify!(__value)
2544        )
2545    );
2546}
2547impl Default for __mbstate_t {
2548    fn default() -> Self {
2549        unsafe { ::std::mem::zeroed() }
2550    }
2551}
2552#[repr(C)]
2553#[derive(Copy, Clone)]
2554pub struct _G_fpos_t {
2555    pub __pos: __off_t,
2556    pub __state: __mbstate_t,
2557}
2558#[test]
2559fn bindgen_test_layout__G_fpos_t() {
2560    assert_eq!(
2561        ::std::mem::size_of::<_G_fpos_t>(),
2562        16usize,
2563        concat!("Size of: ", stringify!(_G_fpos_t))
2564    );
2565    assert_eq!(
2566        ::std::mem::align_of::<_G_fpos_t>(),
2567        8usize,
2568        concat!("Alignment of ", stringify!(_G_fpos_t))
2569    );
2570    assert_eq!(
2571        unsafe { &(*(::std::ptr::null::<_G_fpos_t>())).__pos as *const _ as usize },
2572        0usize,
2573        concat!(
2574            "Offset of field: ",
2575            stringify!(_G_fpos_t),
2576            "::",
2577            stringify!(__pos)
2578        )
2579    );
2580    assert_eq!(
2581        unsafe { &(*(::std::ptr::null::<_G_fpos_t>())).__state as *const _ as usize },
2582        8usize,
2583        concat!(
2584            "Offset of field: ",
2585            stringify!(_G_fpos_t),
2586            "::",
2587            stringify!(__state)
2588        )
2589    );
2590}
2591impl Default for _G_fpos_t {
2592    fn default() -> Self {
2593        unsafe { ::std::mem::zeroed() }
2594    }
2595}
2596pub type __fpos_t = _G_fpos_t;
2597#[repr(C)]
2598#[derive(Copy, Clone)]
2599pub struct _G_fpos64_t {
2600    pub __pos: __off64_t,
2601    pub __state: __mbstate_t,
2602}
2603#[test]
2604fn bindgen_test_layout__G_fpos64_t() {
2605    assert_eq!(
2606        ::std::mem::size_of::<_G_fpos64_t>(),
2607        16usize,
2608        concat!("Size of: ", stringify!(_G_fpos64_t))
2609    );
2610    assert_eq!(
2611        ::std::mem::align_of::<_G_fpos64_t>(),
2612        8usize,
2613        concat!("Alignment of ", stringify!(_G_fpos64_t))
2614    );
2615    assert_eq!(
2616        unsafe { &(*(::std::ptr::null::<_G_fpos64_t>())).__pos as *const _ as usize },
2617        0usize,
2618        concat!(
2619            "Offset of field: ",
2620            stringify!(_G_fpos64_t),
2621            "::",
2622            stringify!(__pos)
2623        )
2624    );
2625    assert_eq!(
2626        unsafe { &(*(::std::ptr::null::<_G_fpos64_t>())).__state as *const _ as usize },
2627        8usize,
2628        concat!(
2629            "Offset of field: ",
2630            stringify!(_G_fpos64_t),
2631            "::",
2632            stringify!(__state)
2633        )
2634    );
2635}
2636impl Default for _G_fpos64_t {
2637    fn default() -> Self {
2638        unsafe { ::std::mem::zeroed() }
2639    }
2640}
2641pub type __fpos64_t = _G_fpos64_t;
2642pub type __FILE = _IO_FILE;
2643pub type FILE = _IO_FILE;
2644#[repr(C)]
2645#[derive(Debug, Copy, Clone)]
2646pub struct _IO_marker {
2647    _unused: [u8; 0],
2648}
2649#[repr(C)]
2650#[derive(Debug, Copy, Clone)]
2651pub struct _IO_codecvt {
2652    _unused: [u8; 0],
2653}
2654#[repr(C)]
2655#[derive(Debug, Copy, Clone)]
2656pub struct _IO_wide_data {
2657    _unused: [u8; 0],
2658}
2659pub type _IO_lock_t = ::std::os::raw::c_void;
2660#[repr(C)]
2661#[derive(Debug, Copy, Clone)]
2662pub struct _IO_FILE {
2663    pub _flags: ::std::os::raw::c_int,
2664    pub _IO_read_ptr: *mut ::std::os::raw::c_char,
2665    pub _IO_read_end: *mut ::std::os::raw::c_char,
2666    pub _IO_read_base: *mut ::std::os::raw::c_char,
2667    pub _IO_write_base: *mut ::std::os::raw::c_char,
2668    pub _IO_write_ptr: *mut ::std::os::raw::c_char,
2669    pub _IO_write_end: *mut ::std::os::raw::c_char,
2670    pub _IO_buf_base: *mut ::std::os::raw::c_char,
2671    pub _IO_buf_end: *mut ::std::os::raw::c_char,
2672    pub _IO_save_base: *mut ::std::os::raw::c_char,
2673    pub _IO_backup_base: *mut ::std::os::raw::c_char,
2674    pub _IO_save_end: *mut ::std::os::raw::c_char,
2675    pub _markers: *mut _IO_marker,
2676    pub _chain: *mut _IO_FILE,
2677    pub _fileno: ::std::os::raw::c_int,
2678    pub _flags2: ::std::os::raw::c_int,
2679    pub _old_offset: __off_t,
2680    pub _cur_column: ::std::os::raw::c_ushort,
2681    pub _vtable_offset: ::std::os::raw::c_schar,
2682    pub _shortbuf: [::std::os::raw::c_char; 1usize],
2683    pub _lock: *mut _IO_lock_t,
2684    pub _offset: __off64_t,
2685    pub _codecvt: *mut _IO_codecvt,
2686    pub _wide_data: *mut _IO_wide_data,
2687    pub _freeres_list: *mut _IO_FILE,
2688    pub _freeres_buf: *mut ::std::os::raw::c_void,
2689    pub __pad5: usize,
2690    pub _mode: ::std::os::raw::c_int,
2691    pub _unused2: [::std::os::raw::c_char; 20usize],
2692}
2693#[test]
2694fn bindgen_test_layout__IO_FILE() {
2695    assert_eq!(
2696        ::std::mem::size_of::<_IO_FILE>(),
2697        216usize,
2698        concat!("Size of: ", stringify!(_IO_FILE))
2699    );
2700    assert_eq!(
2701        ::std::mem::align_of::<_IO_FILE>(),
2702        8usize,
2703        concat!("Alignment of ", stringify!(_IO_FILE))
2704    );
2705    assert_eq!(
2706        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._flags as *const _ as usize },
2707        0usize,
2708        concat!(
2709            "Offset of field: ",
2710            stringify!(_IO_FILE),
2711            "::",
2712            stringify!(_flags)
2713        )
2714    );
2715    assert_eq!(
2716        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_ptr as *const _ as usize },
2717        8usize,
2718        concat!(
2719            "Offset of field: ",
2720            stringify!(_IO_FILE),
2721            "::",
2722            stringify!(_IO_read_ptr)
2723        )
2724    );
2725    assert_eq!(
2726        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_end as *const _ as usize },
2727        16usize,
2728        concat!(
2729            "Offset of field: ",
2730            stringify!(_IO_FILE),
2731            "::",
2732            stringify!(_IO_read_end)
2733        )
2734    );
2735    assert_eq!(
2736        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_base as *const _ as usize },
2737        24usize,
2738        concat!(
2739            "Offset of field: ",
2740            stringify!(_IO_FILE),
2741            "::",
2742            stringify!(_IO_read_base)
2743        )
2744    );
2745    assert_eq!(
2746        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_base as *const _ as usize },
2747        32usize,
2748        concat!(
2749            "Offset of field: ",
2750            stringify!(_IO_FILE),
2751            "::",
2752            stringify!(_IO_write_base)
2753        )
2754    );
2755    assert_eq!(
2756        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_ptr as *const _ as usize },
2757        40usize,
2758        concat!(
2759            "Offset of field: ",
2760            stringify!(_IO_FILE),
2761            "::",
2762            stringify!(_IO_write_ptr)
2763        )
2764    );
2765    assert_eq!(
2766        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_end as *const _ as usize },
2767        48usize,
2768        concat!(
2769            "Offset of field: ",
2770            stringify!(_IO_FILE),
2771            "::",
2772            stringify!(_IO_write_end)
2773        )
2774    );
2775    assert_eq!(
2776        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_buf_base as *const _ as usize },
2777        56usize,
2778        concat!(
2779            "Offset of field: ",
2780            stringify!(_IO_FILE),
2781            "::",
2782            stringify!(_IO_buf_base)
2783        )
2784    );
2785    assert_eq!(
2786        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_buf_end as *const _ as usize },
2787        64usize,
2788        concat!(
2789            "Offset of field: ",
2790            stringify!(_IO_FILE),
2791            "::",
2792            stringify!(_IO_buf_end)
2793        )
2794    );
2795    assert_eq!(
2796        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_save_base as *const _ as usize },
2797        72usize,
2798        concat!(
2799            "Offset of field: ",
2800            stringify!(_IO_FILE),
2801            "::",
2802            stringify!(_IO_save_base)
2803        )
2804    );
2805    assert_eq!(
2806        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_backup_base as *const _ as usize },
2807        80usize,
2808        concat!(
2809            "Offset of field: ",
2810            stringify!(_IO_FILE),
2811            "::",
2812            stringify!(_IO_backup_base)
2813        )
2814    );
2815    assert_eq!(
2816        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_save_end as *const _ as usize },
2817        88usize,
2818        concat!(
2819            "Offset of field: ",
2820            stringify!(_IO_FILE),
2821            "::",
2822            stringify!(_IO_save_end)
2823        )
2824    );
2825    assert_eq!(
2826        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._markers as *const _ as usize },
2827        96usize,
2828        concat!(
2829            "Offset of field: ",
2830            stringify!(_IO_FILE),
2831            "::",
2832            stringify!(_markers)
2833        )
2834    );
2835    assert_eq!(
2836        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._chain as *const _ as usize },
2837        104usize,
2838        concat!(
2839            "Offset of field: ",
2840            stringify!(_IO_FILE),
2841            "::",
2842            stringify!(_chain)
2843        )
2844    );
2845    assert_eq!(
2846        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._fileno as *const _ as usize },
2847        112usize,
2848        concat!(
2849            "Offset of field: ",
2850            stringify!(_IO_FILE),
2851            "::",
2852            stringify!(_fileno)
2853        )
2854    );
2855    assert_eq!(
2856        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._flags2 as *const _ as usize },
2857        116usize,
2858        concat!(
2859            "Offset of field: ",
2860            stringify!(_IO_FILE),
2861            "::",
2862            stringify!(_flags2)
2863        )
2864    );
2865    assert_eq!(
2866        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._old_offset as *const _ as usize },
2867        120usize,
2868        concat!(
2869            "Offset of field: ",
2870            stringify!(_IO_FILE),
2871            "::",
2872            stringify!(_old_offset)
2873        )
2874    );
2875    assert_eq!(
2876        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._cur_column as *const _ as usize },
2877        128usize,
2878        concat!(
2879            "Offset of field: ",
2880            stringify!(_IO_FILE),
2881            "::",
2882            stringify!(_cur_column)
2883        )
2884    );
2885    assert_eq!(
2886        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._vtable_offset as *const _ as usize },
2887        130usize,
2888        concat!(
2889            "Offset of field: ",
2890            stringify!(_IO_FILE),
2891            "::",
2892            stringify!(_vtable_offset)
2893        )
2894    );
2895    assert_eq!(
2896        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._shortbuf as *const _ as usize },
2897        131usize,
2898        concat!(
2899            "Offset of field: ",
2900            stringify!(_IO_FILE),
2901            "::",
2902            stringify!(_shortbuf)
2903        )
2904    );
2905    assert_eq!(
2906        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._lock as *const _ as usize },
2907        136usize,
2908        concat!(
2909            "Offset of field: ",
2910            stringify!(_IO_FILE),
2911            "::",
2912            stringify!(_lock)
2913        )
2914    );
2915    assert_eq!(
2916        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._offset as *const _ as usize },
2917        144usize,
2918        concat!(
2919            "Offset of field: ",
2920            stringify!(_IO_FILE),
2921            "::",
2922            stringify!(_offset)
2923        )
2924    );
2925    assert_eq!(
2926        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._codecvt as *const _ as usize },
2927        152usize,
2928        concat!(
2929            "Offset of field: ",
2930            stringify!(_IO_FILE),
2931            "::",
2932            stringify!(_codecvt)
2933        )
2934    );
2935    assert_eq!(
2936        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._wide_data as *const _ as usize },
2937        160usize,
2938        concat!(
2939            "Offset of field: ",
2940            stringify!(_IO_FILE),
2941            "::",
2942            stringify!(_wide_data)
2943        )
2944    );
2945    assert_eq!(
2946        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._freeres_list as *const _ as usize },
2947        168usize,
2948        concat!(
2949            "Offset of field: ",
2950            stringify!(_IO_FILE),
2951            "::",
2952            stringify!(_freeres_list)
2953        )
2954    );
2955    assert_eq!(
2956        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._freeres_buf as *const _ as usize },
2957        176usize,
2958        concat!(
2959            "Offset of field: ",
2960            stringify!(_IO_FILE),
2961            "::",
2962            stringify!(_freeres_buf)
2963        )
2964    );
2965    assert_eq!(
2966        unsafe { &(*(::std::ptr::null::<_IO_FILE>())).__pad5 as *const _ as usize },
2967        184usize,
2968        concat!(
2969            "Offset of field: ",
2970            stringify!(_IO_FILE),
2971            "::",
2972            stringify!(__pad5)
2973        )
2974    );
2975    assert_eq!(
2976        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._mode as *const _ as usize },
2977        192usize,
2978        concat!(
2979            "Offset of field: ",
2980            stringify!(_IO_FILE),
2981            "::",
2982            stringify!(_mode)
2983        )
2984    );
2985    assert_eq!(
2986        unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._unused2 as *const _ as usize },
2987        196usize,
2988        concat!(
2989            "Offset of field: ",
2990            stringify!(_IO_FILE),
2991            "::",
2992            stringify!(_unused2)
2993        )
2994    );
2995}
2996impl Default for _IO_FILE {
2997    fn default() -> Self {
2998        unsafe { ::std::mem::zeroed() }
2999    }
3000}
3001pub type fpos_t = __fpos_t;
3002extern "C" {
3003    pub static mut stdin: *mut FILE;
3004}
3005extern "C" {
3006    pub static mut stdout: *mut FILE;
3007}
3008extern "C" {
3009    pub static mut stderr: *mut FILE;
3010}
3011extern "C" {
3012    pub fn remove(__filename: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
3013}
3014extern "C" {
3015    pub fn rename(
3016        __old: *const ::std::os::raw::c_char,
3017        __new: *const ::std::os::raw::c_char,
3018    ) -> ::std::os::raw::c_int;
3019}
3020extern "C" {
3021    pub fn renameat(
3022        __oldfd: ::std::os::raw::c_int,
3023        __old: *const ::std::os::raw::c_char,
3024        __newfd: ::std::os::raw::c_int,
3025        __new: *const ::std::os::raw::c_char,
3026    ) -> ::std::os::raw::c_int;
3027}
3028extern "C" {
3029    pub fn fclose(__stream: *mut FILE) -> ::std::os::raw::c_int;
3030}
3031extern "C" {
3032    pub fn tmpfile() -> *mut FILE;
3033}
3034extern "C" {
3035    pub fn tmpnam(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
3036}
3037extern "C" {
3038    pub fn tmpnam_r(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
3039}
3040extern "C" {
3041    pub fn tempnam(
3042        __dir: *const ::std::os::raw::c_char,
3043        __pfx: *const ::std::os::raw::c_char,
3044    ) -> *mut ::std::os::raw::c_char;
3045}
3046extern "C" {
3047    pub fn fflush(__stream: *mut FILE) -> ::std::os::raw::c_int;
3048}
3049extern "C" {
3050    pub fn fflush_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
3051}
3052extern "C" {
3053    pub fn fopen(
3054        __filename: *const ::std::os::raw::c_char,
3055        __modes: *const ::std::os::raw::c_char,
3056    ) -> *mut FILE;
3057}
3058extern "C" {
3059    pub fn freopen(
3060        __filename: *const ::std::os::raw::c_char,
3061        __modes: *const ::std::os::raw::c_char,
3062        __stream: *mut FILE,
3063    ) -> *mut FILE;
3064}
3065extern "C" {
3066    pub fn fdopen(__fd: ::std::os::raw::c_int, __modes: *const ::std::os::raw::c_char)
3067        -> *mut FILE;
3068}
3069extern "C" {
3070    pub fn fmemopen(
3071        __s: *mut ::std::os::raw::c_void,
3072        __len: usize,
3073        __modes: *const ::std::os::raw::c_char,
3074    ) -> *mut FILE;
3075}
3076extern "C" {
3077    pub fn open_memstream(
3078        __bufloc: *mut *mut ::std::os::raw::c_char,
3079        __sizeloc: *mut usize,
3080    ) -> *mut FILE;
3081}
3082extern "C" {
3083    pub fn setbuf(__stream: *mut FILE, __buf: *mut ::std::os::raw::c_char);
3084}
3085extern "C" {
3086    pub fn setvbuf(
3087        __stream: *mut FILE,
3088        __buf: *mut ::std::os::raw::c_char,
3089        __modes: ::std::os::raw::c_int,
3090        __n: usize,
3091    ) -> ::std::os::raw::c_int;
3092}
3093extern "C" {
3094    pub fn setbuffer(__stream: *mut FILE, __buf: *mut ::std::os::raw::c_char, __size: usize);
3095}
3096extern "C" {
3097    pub fn setlinebuf(__stream: *mut FILE);
3098}
3099extern "C" {
3100    pub fn fprintf(
3101        __stream: *mut FILE,
3102        __format: *const ::std::os::raw::c_char,
3103        ...
3104    ) -> ::std::os::raw::c_int;
3105}
3106extern "C" {
3107    pub fn printf(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
3108}
3109extern "C" {
3110    pub fn sprintf(
3111        __s: *mut ::std::os::raw::c_char,
3112        __format: *const ::std::os::raw::c_char,
3113        ...
3114    ) -> ::std::os::raw::c_int;
3115}
3116extern "C" {
3117    pub fn vfprintf(
3118        __s: *mut FILE,
3119        __format: *const ::std::os::raw::c_char,
3120        __arg: *mut __va_list_tag,
3121    ) -> ::std::os::raw::c_int;
3122}
3123extern "C" {
3124    pub fn vprintf(
3125        __format: *const ::std::os::raw::c_char,
3126        __arg: *mut __va_list_tag,
3127    ) -> ::std::os::raw::c_int;
3128}
3129extern "C" {
3130    pub fn vsprintf(
3131        __s: *mut ::std::os::raw::c_char,
3132        __format: *const ::std::os::raw::c_char,
3133        __arg: *mut __va_list_tag,
3134    ) -> ::std::os::raw::c_int;
3135}
3136extern "C" {
3137    pub fn snprintf(
3138        __s: *mut ::std::os::raw::c_char,
3139        __maxlen: ::std::os::raw::c_ulong,
3140        __format: *const ::std::os::raw::c_char,
3141        ...
3142    ) -> ::std::os::raw::c_int;
3143}
3144extern "C" {
3145    pub fn vsnprintf(
3146        __s: *mut ::std::os::raw::c_char,
3147        __maxlen: ::std::os::raw::c_ulong,
3148        __format: *const ::std::os::raw::c_char,
3149        __arg: *mut __va_list_tag,
3150    ) -> ::std::os::raw::c_int;
3151}
3152extern "C" {
3153    pub fn vdprintf(
3154        __fd: ::std::os::raw::c_int,
3155        __fmt: *const ::std::os::raw::c_char,
3156        __arg: *mut __va_list_tag,
3157    ) -> ::std::os::raw::c_int;
3158}
3159extern "C" {
3160    pub fn dprintf(
3161        __fd: ::std::os::raw::c_int,
3162        __fmt: *const ::std::os::raw::c_char,
3163        ...
3164    ) -> ::std::os::raw::c_int;
3165}
3166extern "C" {
3167    pub fn fscanf(
3168        __stream: *mut FILE,
3169        __format: *const ::std::os::raw::c_char,
3170        ...
3171    ) -> ::std::os::raw::c_int;
3172}
3173extern "C" {
3174    pub fn scanf(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
3175}
3176extern "C" {
3177    pub fn sscanf(
3178        __s: *const ::std::os::raw::c_char,
3179        __format: *const ::std::os::raw::c_char,
3180        ...
3181    ) -> ::std::os::raw::c_int;
3182}
3183pub type _Float32 = f32;
3184pub type _Float64 = f64;
3185pub type _Float32x = f64;
3186pub type _Float64x = u128;
3187extern "C" {
3188    #[link_name = "\u{1}__isoc99_fscanf"]
3189    pub fn fscanf1(
3190        __stream: *mut FILE,
3191        __format: *const ::std::os::raw::c_char,
3192        ...
3193    ) -> ::std::os::raw::c_int;
3194}
3195extern "C" {
3196    #[link_name = "\u{1}__isoc99_scanf"]
3197    pub fn scanf1(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
3198}
3199extern "C" {
3200    #[link_name = "\u{1}__isoc99_sscanf"]
3201    pub fn sscanf1(
3202        __s: *const ::std::os::raw::c_char,
3203        __format: *const ::std::os::raw::c_char,
3204        ...
3205    ) -> ::std::os::raw::c_int;
3206}
3207extern "C" {
3208    pub fn vfscanf(
3209        __s: *mut FILE,
3210        __format: *const ::std::os::raw::c_char,
3211        __arg: *mut __va_list_tag,
3212    ) -> ::std::os::raw::c_int;
3213}
3214extern "C" {
3215    pub fn vscanf(
3216        __format: *const ::std::os::raw::c_char,
3217        __arg: *mut __va_list_tag,
3218    ) -> ::std::os::raw::c_int;
3219}
3220extern "C" {
3221    pub fn vsscanf(
3222        __s: *const ::std::os::raw::c_char,
3223        __format: *const ::std::os::raw::c_char,
3224        __arg: *mut __va_list_tag,
3225    ) -> ::std::os::raw::c_int;
3226}
3227extern "C" {
3228    #[link_name = "\u{1}__isoc99_vfscanf"]
3229    pub fn vfscanf1(
3230        __s: *mut FILE,
3231        __format: *const ::std::os::raw::c_char,
3232        __arg: *mut __va_list_tag,
3233    ) -> ::std::os::raw::c_int;
3234}
3235extern "C" {
3236    #[link_name = "\u{1}__isoc99_vscanf"]
3237    pub fn vscanf1(
3238        __format: *const ::std::os::raw::c_char,
3239        __arg: *mut __va_list_tag,
3240    ) -> ::std::os::raw::c_int;
3241}
3242extern "C" {
3243    #[link_name = "\u{1}__isoc99_vsscanf"]
3244    pub fn vsscanf1(
3245        __s: *const ::std::os::raw::c_char,
3246        __format: *const ::std::os::raw::c_char,
3247        __arg: *mut __va_list_tag,
3248    ) -> ::std::os::raw::c_int;
3249}
3250extern "C" {
3251    pub fn fgetc(__stream: *mut FILE) -> ::std::os::raw::c_int;
3252}
3253extern "C" {
3254    pub fn getc(__stream: *mut FILE) -> ::std::os::raw::c_int;
3255}
3256extern "C" {
3257    pub fn getchar() -> ::std::os::raw::c_int;
3258}
3259extern "C" {
3260    pub fn getc_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
3261}
3262extern "C" {
3263    pub fn getchar_unlocked() -> ::std::os::raw::c_int;
3264}
3265extern "C" {
3266    pub fn fgetc_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
3267}
3268extern "C" {
3269    pub fn fputc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int;
3270}
3271extern "C" {
3272    pub fn putc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int;
3273}
3274extern "C" {
3275    pub fn putchar(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
3276}
3277extern "C" {
3278    pub fn fputc_unlocked(__c: ::std::os::raw::c_int, __stream: *mut FILE)
3279        -> ::std::os::raw::c_int;
3280}
3281extern "C" {
3282    pub fn putc_unlocked(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int;
3283}
3284extern "C" {
3285    pub fn putchar_unlocked(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
3286}
3287extern "C" {
3288    pub fn getw(__stream: *mut FILE) -> ::std::os::raw::c_int;
3289}
3290extern "C" {
3291    pub fn putw(__w: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int;
3292}
3293extern "C" {
3294    pub fn fgets(
3295        __s: *mut ::std::os::raw::c_char,
3296        __n: ::std::os::raw::c_int,
3297        __stream: *mut FILE,
3298    ) -> *mut ::std::os::raw::c_char;
3299}
3300extern "C" {
3301    pub fn __getdelim(
3302        __lineptr: *mut *mut ::std::os::raw::c_char,
3303        __n: *mut usize,
3304        __delimiter: ::std::os::raw::c_int,
3305        __stream: *mut FILE,
3306    ) -> __ssize_t;
3307}
3308extern "C" {
3309    pub fn getdelim(
3310        __lineptr: *mut *mut ::std::os::raw::c_char,
3311        __n: *mut usize,
3312        __delimiter: ::std::os::raw::c_int,
3313        __stream: *mut FILE,
3314    ) -> __ssize_t;
3315}
3316extern "C" {
3317    pub fn getline(
3318        __lineptr: *mut *mut ::std::os::raw::c_char,
3319        __n: *mut usize,
3320        __stream: *mut FILE,
3321    ) -> __ssize_t;
3322}
3323extern "C" {
3324    pub fn fputs(__s: *const ::std::os::raw::c_char, __stream: *mut FILE) -> ::std::os::raw::c_int;
3325}
3326extern "C" {
3327    pub fn puts(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
3328}
3329extern "C" {
3330    pub fn ungetc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int;
3331}
3332extern "C" {
3333    pub fn fread(
3334        __ptr: *mut ::std::os::raw::c_void,
3335        __size: ::std::os::raw::c_ulong,
3336        __n: ::std::os::raw::c_ulong,
3337        __stream: *mut FILE,
3338    ) -> ::std::os::raw::c_ulong;
3339}
3340extern "C" {
3341    pub fn fwrite(
3342        __ptr: *const ::std::os::raw::c_void,
3343        __size: ::std::os::raw::c_ulong,
3344        __n: ::std::os::raw::c_ulong,
3345        __s: *mut FILE,
3346    ) -> ::std::os::raw::c_ulong;
3347}
3348extern "C" {
3349    pub fn fread_unlocked(
3350        __ptr: *mut ::std::os::raw::c_void,
3351        __size: usize,
3352        __n: usize,
3353        __stream: *mut FILE,
3354    ) -> usize;
3355}
3356extern "C" {
3357    pub fn fwrite_unlocked(
3358        __ptr: *const ::std::os::raw::c_void,
3359        __size: usize,
3360        __n: usize,
3361        __stream: *mut FILE,
3362    ) -> usize;
3363}
3364extern "C" {
3365    pub fn fseek(
3366        __stream: *mut FILE,
3367        __off: ::std::os::raw::c_long,
3368        __whence: ::std::os::raw::c_int,
3369    ) -> ::std::os::raw::c_int;
3370}
3371extern "C" {
3372    pub fn ftell(__stream: *mut FILE) -> ::std::os::raw::c_long;
3373}
3374extern "C" {
3375    pub fn rewind(__stream: *mut FILE);
3376}
3377extern "C" {
3378    pub fn fseeko(
3379        __stream: *mut FILE,
3380        __off: __off_t,
3381        __whence: ::std::os::raw::c_int,
3382    ) -> ::std::os::raw::c_int;
3383}
3384extern "C" {
3385    pub fn ftello(__stream: *mut FILE) -> __off_t;
3386}
3387extern "C" {
3388    pub fn fgetpos(__stream: *mut FILE, __pos: *mut fpos_t) -> ::std::os::raw::c_int;
3389}
3390extern "C" {
3391    pub fn fsetpos(__stream: *mut FILE, __pos: *const fpos_t) -> ::std::os::raw::c_int;
3392}
3393extern "C" {
3394    pub fn clearerr(__stream: *mut FILE);
3395}
3396extern "C" {
3397    pub fn feof(__stream: *mut FILE) -> ::std::os::raw::c_int;
3398}
3399extern "C" {
3400    pub fn ferror(__stream: *mut FILE) -> ::std::os::raw::c_int;
3401}
3402extern "C" {
3403    pub fn clearerr_unlocked(__stream: *mut FILE);
3404}
3405extern "C" {
3406    pub fn feof_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
3407}
3408extern "C" {
3409    pub fn ferror_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
3410}
3411extern "C" {
3412    pub fn perror(__s: *const ::std::os::raw::c_char);
3413}
3414extern "C" {
3415    pub fn fileno(__stream: *mut FILE) -> ::std::os::raw::c_int;
3416}
3417extern "C" {
3418    pub fn fileno_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
3419}
3420extern "C" {
3421    pub fn pclose(__stream: *mut FILE) -> ::std::os::raw::c_int;
3422}
3423extern "C" {
3424    pub fn popen(
3425        __command: *const ::std::os::raw::c_char,
3426        __modes: *const ::std::os::raw::c_char,
3427    ) -> *mut FILE;
3428}
3429extern "C" {
3430    pub fn ctermid(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
3431}
3432extern "C" {
3433    pub fn flockfile(__stream: *mut FILE);
3434}
3435extern "C" {
3436    pub fn ftrylockfile(__stream: *mut FILE) -> ::std::os::raw::c_int;
3437}
3438extern "C" {
3439    pub fn funlockfile(__stream: *mut FILE);
3440}
3441extern "C" {
3442    pub fn __uflow(arg1: *mut FILE) -> ::std::os::raw::c_int;
3443}
3444extern "C" {
3445    pub fn __overflow(arg1: *mut FILE, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
3446}
3447pub type useconds_t = __useconds_t;
3448pub type socklen_t = __socklen_t;
3449extern "C" {
3450    pub fn access(
3451        __name: *const ::std::os::raw::c_char,
3452        __type: ::std::os::raw::c_int,
3453    ) -> ::std::os::raw::c_int;
3454}
3455extern "C" {
3456    pub fn faccessat(
3457        __fd: ::std::os::raw::c_int,
3458        __file: *const ::std::os::raw::c_char,
3459        __type: ::std::os::raw::c_int,
3460        __flag: ::std::os::raw::c_int,
3461    ) -> ::std::os::raw::c_int;
3462}
3463extern "C" {
3464    pub fn lseek(
3465        __fd: ::std::os::raw::c_int,
3466        __offset: __off_t,
3467        __whence: ::std::os::raw::c_int,
3468    ) -> __off_t;
3469}
3470extern "C" {
3471    pub fn close(__fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
3472}
3473extern "C" {
3474    pub fn closefrom(__lowfd: ::std::os::raw::c_int);
3475}
3476extern "C" {
3477    pub fn read(
3478        __fd: ::std::os::raw::c_int,
3479        __buf: *mut ::std::os::raw::c_void,
3480        __nbytes: usize,
3481    ) -> isize;
3482}
3483extern "C" {
3484    pub fn write(
3485        __fd: ::std::os::raw::c_int,
3486        __buf: *const ::std::os::raw::c_void,
3487        __n: usize,
3488    ) -> isize;
3489}
3490extern "C" {
3491    pub fn pread(
3492        __fd: ::std::os::raw::c_int,
3493        __buf: *mut ::std::os::raw::c_void,
3494        __nbytes: usize,
3495        __offset: __off_t,
3496    ) -> isize;
3497}
3498extern "C" {
3499    pub fn pwrite(
3500        __fd: ::std::os::raw::c_int,
3501        __buf: *const ::std::os::raw::c_void,
3502        __n: usize,
3503        __offset: __off_t,
3504    ) -> isize;
3505}
3506extern "C" {
3507    pub fn pipe(__pipedes: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int;
3508}
3509extern "C" {
3510    pub fn alarm(__seconds: ::std::os::raw::c_uint) -> ::std::os::raw::c_uint;
3511}
3512extern "C" {
3513    pub fn sleep(__seconds: ::std::os::raw::c_uint) -> ::std::os::raw::c_uint;
3514}
3515extern "C" {
3516    pub fn ualarm(__value: __useconds_t, __interval: __useconds_t) -> __useconds_t;
3517}
3518extern "C" {
3519    pub fn usleep(__useconds: __useconds_t) -> ::std::os::raw::c_int;
3520}
3521extern "C" {
3522    pub fn pause() -> ::std::os::raw::c_int;
3523}
3524extern "C" {
3525    pub fn chown(
3526        __file: *const ::std::os::raw::c_char,
3527        __owner: __uid_t,
3528        __group: __gid_t,
3529    ) -> ::std::os::raw::c_int;
3530}
3531extern "C" {
3532    pub fn fchown(
3533        __fd: ::std::os::raw::c_int,
3534        __owner: __uid_t,
3535        __group: __gid_t,
3536    ) -> ::std::os::raw::c_int;
3537}
3538extern "C" {
3539    pub fn lchown(
3540        __file: *const ::std::os::raw::c_char,
3541        __owner: __uid_t,
3542        __group: __gid_t,
3543    ) -> ::std::os::raw::c_int;
3544}
3545extern "C" {
3546    pub fn fchownat(
3547        __fd: ::std::os::raw::c_int,
3548        __file: *const ::std::os::raw::c_char,
3549        __owner: __uid_t,
3550        __group: __gid_t,
3551        __flag: ::std::os::raw::c_int,
3552    ) -> ::std::os::raw::c_int;
3553}
3554extern "C" {
3555    pub fn chdir(__path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
3556}
3557extern "C" {
3558    pub fn fchdir(__fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
3559}
3560extern "C" {
3561    pub fn getcwd(__buf: *mut ::std::os::raw::c_char, __size: usize)
3562        -> *mut ::std::os::raw::c_char;
3563}
3564extern "C" {
3565    pub fn getwd(__buf: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
3566}
3567extern "C" {
3568    pub fn dup(__fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
3569}
3570extern "C" {
3571    pub fn dup2(__fd: ::std::os::raw::c_int, __fd2: ::std::os::raw::c_int)
3572        -> ::std::os::raw::c_int;
3573}
3574extern "C" {
3575    pub static mut __environ: *mut *mut ::std::os::raw::c_char;
3576}
3577extern "C" {
3578    pub fn execve(
3579        __path: *const ::std::os::raw::c_char,
3580        __argv: *const *mut ::std::os::raw::c_char,
3581        __envp: *const *mut ::std::os::raw::c_char,
3582    ) -> ::std::os::raw::c_int;
3583}
3584extern "C" {
3585    pub fn fexecve(
3586        __fd: ::std::os::raw::c_int,
3587        __argv: *const *mut ::std::os::raw::c_char,
3588        __envp: *const *mut ::std::os::raw::c_char,
3589    ) -> ::std::os::raw::c_int;
3590}
3591extern "C" {
3592    pub fn execv(
3593        __path: *const ::std::os::raw::c_char,
3594        __argv: *const *mut ::std::os::raw::c_char,
3595    ) -> ::std::os::raw::c_int;
3596}
3597extern "C" {
3598    pub fn execle(
3599        __path: *const ::std::os::raw::c_char,
3600        __arg: *const ::std::os::raw::c_char,
3601        ...
3602    ) -> ::std::os::raw::c_int;
3603}
3604extern "C" {
3605    pub fn execl(
3606        __path: *const ::std::os::raw::c_char,
3607        __arg: *const ::std::os::raw::c_char,
3608        ...
3609    ) -> ::std::os::raw::c_int;
3610}
3611extern "C" {
3612    pub fn execvp(
3613        __file: *const ::std::os::raw::c_char,
3614        __argv: *const *mut ::std::os::raw::c_char,
3615    ) -> ::std::os::raw::c_int;
3616}
3617extern "C" {
3618    pub fn execlp(
3619        __file: *const ::std::os::raw::c_char,
3620        __arg: *const ::std::os::raw::c_char,
3621        ...
3622    ) -> ::std::os::raw::c_int;
3623}
3624extern "C" {
3625    pub fn nice(__inc: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
3626}
3627extern "C" {
3628    pub fn _exit(__status: ::std::os::raw::c_int);
3629}
3630pub const _PC_LINK_MAX: _bindgen_ty_1 = 0;
3631pub const _PC_MAX_CANON: _bindgen_ty_1 = 1;
3632pub const _PC_MAX_INPUT: _bindgen_ty_1 = 2;
3633pub const _PC_NAME_MAX: _bindgen_ty_1 = 3;
3634pub const _PC_PATH_MAX: _bindgen_ty_1 = 4;
3635pub const _PC_PIPE_BUF: _bindgen_ty_1 = 5;
3636pub const _PC_CHOWN_RESTRICTED: _bindgen_ty_1 = 6;
3637pub const _PC_NO_TRUNC: _bindgen_ty_1 = 7;
3638pub const _PC_VDISABLE: _bindgen_ty_1 = 8;
3639pub const _PC_SYNC_IO: _bindgen_ty_1 = 9;
3640pub const _PC_ASYNC_IO: _bindgen_ty_1 = 10;
3641pub const _PC_PRIO_IO: _bindgen_ty_1 = 11;
3642pub const _PC_SOCK_MAXBUF: _bindgen_ty_1 = 12;
3643pub const _PC_FILESIZEBITS: _bindgen_ty_1 = 13;
3644pub const _PC_REC_INCR_XFER_SIZE: _bindgen_ty_1 = 14;
3645pub const _PC_REC_MAX_XFER_SIZE: _bindgen_ty_1 = 15;
3646pub const _PC_REC_MIN_XFER_SIZE: _bindgen_ty_1 = 16;
3647pub const _PC_REC_XFER_ALIGN: _bindgen_ty_1 = 17;
3648pub const _PC_ALLOC_SIZE_MIN: _bindgen_ty_1 = 18;
3649pub const _PC_SYMLINK_MAX: _bindgen_ty_1 = 19;
3650pub const _PC_2_SYMLINKS: _bindgen_ty_1 = 20;
3651pub type _bindgen_ty_1 = u32;
3652pub const _SC_ARG_MAX: _bindgen_ty_2 = 0;
3653pub const _SC_CHILD_MAX: _bindgen_ty_2 = 1;
3654pub const _SC_CLK_TCK: _bindgen_ty_2 = 2;
3655pub const _SC_NGROUPS_MAX: _bindgen_ty_2 = 3;
3656pub const _SC_OPEN_MAX: _bindgen_ty_2 = 4;
3657pub const _SC_STREAM_MAX: _bindgen_ty_2 = 5;
3658pub const _SC_TZNAME_MAX: _bindgen_ty_2 = 6;
3659pub const _SC_JOB_CONTROL: _bindgen_ty_2 = 7;
3660pub const _SC_SAVED_IDS: _bindgen_ty_2 = 8;
3661pub const _SC_REALTIME_SIGNALS: _bindgen_ty_2 = 9;
3662pub const _SC_PRIORITY_SCHEDULING: _bindgen_ty_2 = 10;
3663pub const _SC_TIMERS: _bindgen_ty_2 = 11;
3664pub const _SC_ASYNCHRONOUS_IO: _bindgen_ty_2 = 12;
3665pub const _SC_PRIORITIZED_IO: _bindgen_ty_2 = 13;
3666pub const _SC_SYNCHRONIZED_IO: _bindgen_ty_2 = 14;
3667pub const _SC_FSYNC: _bindgen_ty_2 = 15;
3668pub const _SC_MAPPED_FILES: _bindgen_ty_2 = 16;
3669pub const _SC_MEMLOCK: _bindgen_ty_2 = 17;
3670pub const _SC_MEMLOCK_RANGE: _bindgen_ty_2 = 18;
3671pub const _SC_MEMORY_PROTECTION: _bindgen_ty_2 = 19;
3672pub const _SC_MESSAGE_PASSING: _bindgen_ty_2 = 20;
3673pub const _SC_SEMAPHORES: _bindgen_ty_2 = 21;
3674pub const _SC_SHARED_MEMORY_OBJECTS: _bindgen_ty_2 = 22;
3675pub const _SC_AIO_LISTIO_MAX: _bindgen_ty_2 = 23;
3676pub const _SC_AIO_MAX: _bindgen_ty_2 = 24;
3677pub const _SC_AIO_PRIO_DELTA_MAX: _bindgen_ty_2 = 25;
3678pub const _SC_DELAYTIMER_MAX: _bindgen_ty_2 = 26;
3679pub const _SC_MQ_OPEN_MAX: _bindgen_ty_2 = 27;
3680pub const _SC_MQ_PRIO_MAX: _bindgen_ty_2 = 28;
3681pub const _SC_VERSION: _bindgen_ty_2 = 29;
3682pub const _SC_PAGESIZE: _bindgen_ty_2 = 30;
3683pub const _SC_RTSIG_MAX: _bindgen_ty_2 = 31;
3684pub const _SC_SEM_NSEMS_MAX: _bindgen_ty_2 = 32;
3685pub const _SC_SEM_VALUE_MAX: _bindgen_ty_2 = 33;
3686pub const _SC_SIGQUEUE_MAX: _bindgen_ty_2 = 34;
3687pub const _SC_TIMER_MAX: _bindgen_ty_2 = 35;
3688pub const _SC_BC_BASE_MAX: _bindgen_ty_2 = 36;
3689pub const _SC_BC_DIM_MAX: _bindgen_ty_2 = 37;
3690pub const _SC_BC_SCALE_MAX: _bindgen_ty_2 = 38;
3691pub const _SC_BC_STRING_MAX: _bindgen_ty_2 = 39;
3692pub const _SC_COLL_WEIGHTS_MAX: _bindgen_ty_2 = 40;
3693pub const _SC_EQUIV_CLASS_MAX: _bindgen_ty_2 = 41;
3694pub const _SC_EXPR_NEST_MAX: _bindgen_ty_2 = 42;
3695pub const _SC_LINE_MAX: _bindgen_ty_2 = 43;
3696pub const _SC_RE_DUP_MAX: _bindgen_ty_2 = 44;
3697pub const _SC_CHARCLASS_NAME_MAX: _bindgen_ty_2 = 45;
3698pub const _SC_2_VERSION: _bindgen_ty_2 = 46;
3699pub const _SC_2_C_BIND: _bindgen_ty_2 = 47;
3700pub const _SC_2_C_DEV: _bindgen_ty_2 = 48;
3701pub const _SC_2_FORT_DEV: _bindgen_ty_2 = 49;
3702pub const _SC_2_FORT_RUN: _bindgen_ty_2 = 50;
3703pub const _SC_2_SW_DEV: _bindgen_ty_2 = 51;
3704pub const _SC_2_LOCALEDEF: _bindgen_ty_2 = 52;
3705pub const _SC_PII: _bindgen_ty_2 = 53;
3706pub const _SC_PII_XTI: _bindgen_ty_2 = 54;
3707pub const _SC_PII_SOCKET: _bindgen_ty_2 = 55;
3708pub const _SC_PII_INTERNET: _bindgen_ty_2 = 56;
3709pub const _SC_PII_OSI: _bindgen_ty_2 = 57;
3710pub const _SC_POLL: _bindgen_ty_2 = 58;
3711pub const _SC_SELECT: _bindgen_ty_2 = 59;
3712pub const _SC_UIO_MAXIOV: _bindgen_ty_2 = 60;
3713pub const _SC_IOV_MAX: _bindgen_ty_2 = 60;
3714pub const _SC_PII_INTERNET_STREAM: _bindgen_ty_2 = 61;
3715pub const _SC_PII_INTERNET_DGRAM: _bindgen_ty_2 = 62;
3716pub const _SC_PII_OSI_COTS: _bindgen_ty_2 = 63;
3717pub const _SC_PII_OSI_CLTS: _bindgen_ty_2 = 64;
3718pub const _SC_PII_OSI_M: _bindgen_ty_2 = 65;
3719pub const _SC_T_IOV_MAX: _bindgen_ty_2 = 66;
3720pub const _SC_THREADS: _bindgen_ty_2 = 67;
3721pub const _SC_THREAD_SAFE_FUNCTIONS: _bindgen_ty_2 = 68;
3722pub const _SC_GETGR_R_SIZE_MAX: _bindgen_ty_2 = 69;
3723pub const _SC_GETPW_R_SIZE_MAX: _bindgen_ty_2 = 70;
3724pub const _SC_LOGIN_NAME_MAX: _bindgen_ty_2 = 71;
3725pub const _SC_TTY_NAME_MAX: _bindgen_ty_2 = 72;
3726pub const _SC_THREAD_DESTRUCTOR_ITERATIONS: _bindgen_ty_2 = 73;
3727pub const _SC_THREAD_KEYS_MAX: _bindgen_ty_2 = 74;
3728pub const _SC_THREAD_STACK_MIN: _bindgen_ty_2 = 75;
3729pub const _SC_THREAD_THREADS_MAX: _bindgen_ty_2 = 76;
3730pub const _SC_THREAD_ATTR_STACKADDR: _bindgen_ty_2 = 77;
3731pub const _SC_THREAD_ATTR_STACKSIZE: _bindgen_ty_2 = 78;
3732pub const _SC_THREAD_PRIORITY_SCHEDULING: _bindgen_ty_2 = 79;
3733pub const _SC_THREAD_PRIO_INHERIT: _bindgen_ty_2 = 80;
3734pub const _SC_THREAD_PRIO_PROTECT: _bindgen_ty_2 = 81;
3735pub const _SC_THREAD_PROCESS_SHARED: _bindgen_ty_2 = 82;
3736pub const _SC_NPROCESSORS_CONF: _bindgen_ty_2 = 83;
3737pub const _SC_NPROCESSORS_ONLN: _bindgen_ty_2 = 84;
3738pub const _SC_PHYS_PAGES: _bindgen_ty_2 = 85;
3739pub const _SC_AVPHYS_PAGES: _bindgen_ty_2 = 86;
3740pub const _SC_ATEXIT_MAX: _bindgen_ty_2 = 87;
3741pub const _SC_PASS_MAX: _bindgen_ty_2 = 88;
3742pub const _SC_XOPEN_VERSION: _bindgen_ty_2 = 89;
3743pub const _SC_XOPEN_XCU_VERSION: _bindgen_ty_2 = 90;
3744pub const _SC_XOPEN_UNIX: _bindgen_ty_2 = 91;
3745pub const _SC_XOPEN_CRYPT: _bindgen_ty_2 = 92;
3746pub const _SC_XOPEN_ENH_I18N: _bindgen_ty_2 = 93;
3747pub const _SC_XOPEN_SHM: _bindgen_ty_2 = 94;
3748pub const _SC_2_CHAR_TERM: _bindgen_ty_2 = 95;
3749pub const _SC_2_C_VERSION: _bindgen_ty_2 = 96;
3750pub const _SC_2_UPE: _bindgen_ty_2 = 97;
3751pub const _SC_XOPEN_XPG2: _bindgen_ty_2 = 98;
3752pub const _SC_XOPEN_XPG3: _bindgen_ty_2 = 99;
3753pub const _SC_XOPEN_XPG4: _bindgen_ty_2 = 100;
3754pub const _SC_CHAR_BIT: _bindgen_ty_2 = 101;
3755pub const _SC_CHAR_MAX: _bindgen_ty_2 = 102;
3756pub const _SC_CHAR_MIN: _bindgen_ty_2 = 103;
3757pub const _SC_INT_MAX: _bindgen_ty_2 = 104;
3758pub const _SC_INT_MIN: _bindgen_ty_2 = 105;
3759pub const _SC_LONG_BIT: _bindgen_ty_2 = 106;
3760pub const _SC_WORD_BIT: _bindgen_ty_2 = 107;
3761pub const _SC_MB_LEN_MAX: _bindgen_ty_2 = 108;
3762pub const _SC_NZERO: _bindgen_ty_2 = 109;
3763pub const _SC_SSIZE_MAX: _bindgen_ty_2 = 110;
3764pub const _SC_SCHAR_MAX: _bindgen_ty_2 = 111;
3765pub const _SC_SCHAR_MIN: _bindgen_ty_2 = 112;
3766pub const _SC_SHRT_MAX: _bindgen_ty_2 = 113;
3767pub const _SC_SHRT_MIN: _bindgen_ty_2 = 114;
3768pub const _SC_UCHAR_MAX: _bindgen_ty_2 = 115;
3769pub const _SC_UINT_MAX: _bindgen_ty_2 = 116;
3770pub const _SC_ULONG_MAX: _bindgen_ty_2 = 117;
3771pub const _SC_USHRT_MAX: _bindgen_ty_2 = 118;
3772pub const _SC_NL_ARGMAX: _bindgen_ty_2 = 119;
3773pub const _SC_NL_LANGMAX: _bindgen_ty_2 = 120;
3774pub const _SC_NL_MSGMAX: _bindgen_ty_2 = 121;
3775pub const _SC_NL_NMAX: _bindgen_ty_2 = 122;
3776pub const _SC_NL_SETMAX: _bindgen_ty_2 = 123;
3777pub const _SC_NL_TEXTMAX: _bindgen_ty_2 = 124;
3778pub const _SC_XBS5_ILP32_OFF32: _bindgen_ty_2 = 125;
3779pub const _SC_XBS5_ILP32_OFFBIG: _bindgen_ty_2 = 126;
3780pub const _SC_XBS5_LP64_OFF64: _bindgen_ty_2 = 127;
3781pub const _SC_XBS5_LPBIG_OFFBIG: _bindgen_ty_2 = 128;
3782pub const _SC_XOPEN_LEGACY: _bindgen_ty_2 = 129;
3783pub const _SC_XOPEN_REALTIME: _bindgen_ty_2 = 130;
3784pub const _SC_XOPEN_REALTIME_THREADS: _bindgen_ty_2 = 131;
3785pub const _SC_ADVISORY_INFO: _bindgen_ty_2 = 132;
3786pub const _SC_BARRIERS: _bindgen_ty_2 = 133;
3787pub const _SC_BASE: _bindgen_ty_2 = 134;
3788pub const _SC_C_LANG_SUPPORT: _bindgen_ty_2 = 135;
3789pub const _SC_C_LANG_SUPPORT_R: _bindgen_ty_2 = 136;
3790pub const _SC_CLOCK_SELECTION: _bindgen_ty_2 = 137;
3791pub const _SC_CPUTIME: _bindgen_ty_2 = 138;
3792pub const _SC_THREAD_CPUTIME: _bindgen_ty_2 = 139;
3793pub const _SC_DEVICE_IO: _bindgen_ty_2 = 140;
3794pub const _SC_DEVICE_SPECIFIC: _bindgen_ty_2 = 141;
3795pub const _SC_DEVICE_SPECIFIC_R: _bindgen_ty_2 = 142;
3796pub const _SC_FD_MGMT: _bindgen_ty_2 = 143;
3797pub const _SC_FIFO: _bindgen_ty_2 = 144;
3798pub const _SC_PIPE: _bindgen_ty_2 = 145;
3799pub const _SC_FILE_ATTRIBUTES: _bindgen_ty_2 = 146;
3800pub const _SC_FILE_LOCKING: _bindgen_ty_2 = 147;
3801pub const _SC_FILE_SYSTEM: _bindgen_ty_2 = 148;
3802pub const _SC_MONOTONIC_CLOCK: _bindgen_ty_2 = 149;
3803pub const _SC_MULTI_PROCESS: _bindgen_ty_2 = 150;
3804pub const _SC_SINGLE_PROCESS: _bindgen_ty_2 = 151;
3805pub const _SC_NETWORKING: _bindgen_ty_2 = 152;
3806pub const _SC_READER_WRITER_LOCKS: _bindgen_ty_2 = 153;
3807pub const _SC_SPIN_LOCKS: _bindgen_ty_2 = 154;
3808pub const _SC_REGEXP: _bindgen_ty_2 = 155;
3809pub const _SC_REGEX_VERSION: _bindgen_ty_2 = 156;
3810pub const _SC_SHELL: _bindgen_ty_2 = 157;
3811pub const _SC_SIGNALS: _bindgen_ty_2 = 158;
3812pub const _SC_SPAWN: _bindgen_ty_2 = 159;
3813pub const _SC_SPORADIC_SERVER: _bindgen_ty_2 = 160;
3814pub const _SC_THREAD_SPORADIC_SERVER: _bindgen_ty_2 = 161;
3815pub const _SC_SYSTEM_DATABASE: _bindgen_ty_2 = 162;
3816pub const _SC_SYSTEM_DATABASE_R: _bindgen_ty_2 = 163;
3817pub const _SC_TIMEOUTS: _bindgen_ty_2 = 164;
3818pub const _SC_TYPED_MEMORY_OBJECTS: _bindgen_ty_2 = 165;
3819pub const _SC_USER_GROUPS: _bindgen_ty_2 = 166;
3820pub const _SC_USER_GROUPS_R: _bindgen_ty_2 = 167;
3821pub const _SC_2_PBS: _bindgen_ty_2 = 168;
3822pub const _SC_2_PBS_ACCOUNTING: _bindgen_ty_2 = 169;
3823pub const _SC_2_PBS_LOCATE: _bindgen_ty_2 = 170;
3824pub const _SC_2_PBS_MESSAGE: _bindgen_ty_2 = 171;
3825pub const _SC_2_PBS_TRACK: _bindgen_ty_2 = 172;
3826pub const _SC_SYMLOOP_MAX: _bindgen_ty_2 = 173;
3827pub const _SC_STREAMS: _bindgen_ty_2 = 174;
3828pub const _SC_2_PBS_CHECKPOINT: _bindgen_ty_2 = 175;
3829pub const _SC_V6_ILP32_OFF32: _bindgen_ty_2 = 176;
3830pub const _SC_V6_ILP32_OFFBIG: _bindgen_ty_2 = 177;
3831pub const _SC_V6_LP64_OFF64: _bindgen_ty_2 = 178;
3832pub const _SC_V6_LPBIG_OFFBIG: _bindgen_ty_2 = 179;
3833pub const _SC_HOST_NAME_MAX: _bindgen_ty_2 = 180;
3834pub const _SC_TRACE: _bindgen_ty_2 = 181;
3835pub const _SC_TRACE_EVENT_FILTER: _bindgen_ty_2 = 182;
3836pub const _SC_TRACE_INHERIT: _bindgen_ty_2 = 183;
3837pub const _SC_TRACE_LOG: _bindgen_ty_2 = 184;
3838pub const _SC_LEVEL1_ICACHE_SIZE: _bindgen_ty_2 = 185;
3839pub const _SC_LEVEL1_ICACHE_ASSOC: _bindgen_ty_2 = 186;
3840pub const _SC_LEVEL1_ICACHE_LINESIZE: _bindgen_ty_2 = 187;
3841pub const _SC_LEVEL1_DCACHE_SIZE: _bindgen_ty_2 = 188;
3842pub const _SC_LEVEL1_DCACHE_ASSOC: _bindgen_ty_2 = 189;
3843pub const _SC_LEVEL1_DCACHE_LINESIZE: _bindgen_ty_2 = 190;
3844pub const _SC_LEVEL2_CACHE_SIZE: _bindgen_ty_2 = 191;
3845pub const _SC_LEVEL2_CACHE_ASSOC: _bindgen_ty_2 = 192;
3846pub const _SC_LEVEL2_CACHE_LINESIZE: _bindgen_ty_2 = 193;
3847pub const _SC_LEVEL3_CACHE_SIZE: _bindgen_ty_2 = 194;
3848pub const _SC_LEVEL3_CACHE_ASSOC: _bindgen_ty_2 = 195;
3849pub const _SC_LEVEL3_CACHE_LINESIZE: _bindgen_ty_2 = 196;
3850pub const _SC_LEVEL4_CACHE_SIZE: _bindgen_ty_2 = 197;
3851pub const _SC_LEVEL4_CACHE_ASSOC: _bindgen_ty_2 = 198;
3852pub const _SC_LEVEL4_CACHE_LINESIZE: _bindgen_ty_2 = 199;
3853pub const _SC_IPV6: _bindgen_ty_2 = 235;
3854pub const _SC_RAW_SOCKETS: _bindgen_ty_2 = 236;
3855pub const _SC_V7_ILP32_OFF32: _bindgen_ty_2 = 237;
3856pub const _SC_V7_ILP32_OFFBIG: _bindgen_ty_2 = 238;
3857pub const _SC_V7_LP64_OFF64: _bindgen_ty_2 = 239;
3858pub const _SC_V7_LPBIG_OFFBIG: _bindgen_ty_2 = 240;
3859pub const _SC_SS_REPL_MAX: _bindgen_ty_2 = 241;
3860pub const _SC_TRACE_EVENT_NAME_MAX: _bindgen_ty_2 = 242;
3861pub const _SC_TRACE_NAME_MAX: _bindgen_ty_2 = 243;
3862pub const _SC_TRACE_SYS_MAX: _bindgen_ty_2 = 244;
3863pub const _SC_TRACE_USER_EVENT_MAX: _bindgen_ty_2 = 245;
3864pub const _SC_XOPEN_STREAMS: _bindgen_ty_2 = 246;
3865pub const _SC_THREAD_ROBUST_PRIO_INHERIT: _bindgen_ty_2 = 247;
3866pub const _SC_THREAD_ROBUST_PRIO_PROTECT: _bindgen_ty_2 = 248;
3867pub const _SC_MINSIGSTKSZ: _bindgen_ty_2 = 249;
3868pub const _SC_SIGSTKSZ: _bindgen_ty_2 = 250;
3869pub type _bindgen_ty_2 = u32;
3870pub const _CS_PATH: _bindgen_ty_3 = 0;
3871pub const _CS_V6_WIDTH_RESTRICTED_ENVS: _bindgen_ty_3 = 1;
3872pub const _CS_GNU_LIBC_VERSION: _bindgen_ty_3 = 2;
3873pub const _CS_GNU_LIBPTHREAD_VERSION: _bindgen_ty_3 = 3;
3874pub const _CS_V5_WIDTH_RESTRICTED_ENVS: _bindgen_ty_3 = 4;
3875pub const _CS_V7_WIDTH_RESTRICTED_ENVS: _bindgen_ty_3 = 5;
3876pub const _CS_LFS_CFLAGS: _bindgen_ty_3 = 1000;
3877pub const _CS_LFS_LDFLAGS: _bindgen_ty_3 = 1001;
3878pub const _CS_LFS_LIBS: _bindgen_ty_3 = 1002;
3879pub const _CS_LFS_LINTFLAGS: _bindgen_ty_3 = 1003;
3880pub const _CS_LFS64_CFLAGS: _bindgen_ty_3 = 1004;
3881pub const _CS_LFS64_LDFLAGS: _bindgen_ty_3 = 1005;
3882pub const _CS_LFS64_LIBS: _bindgen_ty_3 = 1006;
3883pub const _CS_LFS64_LINTFLAGS: _bindgen_ty_3 = 1007;
3884pub const _CS_XBS5_ILP32_OFF32_CFLAGS: _bindgen_ty_3 = 1100;
3885pub const _CS_XBS5_ILP32_OFF32_LDFLAGS: _bindgen_ty_3 = 1101;
3886pub const _CS_XBS5_ILP32_OFF32_LIBS: _bindgen_ty_3 = 1102;
3887pub const _CS_XBS5_ILP32_OFF32_LINTFLAGS: _bindgen_ty_3 = 1103;
3888pub const _CS_XBS5_ILP32_OFFBIG_CFLAGS: _bindgen_ty_3 = 1104;
3889pub const _CS_XBS5_ILP32_OFFBIG_LDFLAGS: _bindgen_ty_3 = 1105;
3890pub const _CS_XBS5_ILP32_OFFBIG_LIBS: _bindgen_ty_3 = 1106;
3891pub const _CS_XBS5_ILP32_OFFBIG_LINTFLAGS: _bindgen_ty_3 = 1107;
3892pub const _CS_XBS5_LP64_OFF64_CFLAGS: _bindgen_ty_3 = 1108;
3893pub const _CS_XBS5_LP64_OFF64_LDFLAGS: _bindgen_ty_3 = 1109;
3894pub const _CS_XBS5_LP64_OFF64_LIBS: _bindgen_ty_3 = 1110;
3895pub const _CS_XBS5_LP64_OFF64_LINTFLAGS: _bindgen_ty_3 = 1111;
3896pub const _CS_XBS5_LPBIG_OFFBIG_CFLAGS: _bindgen_ty_3 = 1112;
3897pub const _CS_XBS5_LPBIG_OFFBIG_LDFLAGS: _bindgen_ty_3 = 1113;
3898pub const _CS_XBS5_LPBIG_OFFBIG_LIBS: _bindgen_ty_3 = 1114;
3899pub const _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS: _bindgen_ty_3 = 1115;
3900pub const _CS_POSIX_V6_ILP32_OFF32_CFLAGS: _bindgen_ty_3 = 1116;
3901pub const _CS_POSIX_V6_ILP32_OFF32_LDFLAGS: _bindgen_ty_3 = 1117;
3902pub const _CS_POSIX_V6_ILP32_OFF32_LIBS: _bindgen_ty_3 = 1118;
3903pub const _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS: _bindgen_ty_3 = 1119;
3904pub const _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS: _bindgen_ty_3 = 1120;
3905pub const _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS: _bindgen_ty_3 = 1121;
3906pub const _CS_POSIX_V6_ILP32_OFFBIG_LIBS: _bindgen_ty_3 = 1122;
3907pub const _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS: _bindgen_ty_3 = 1123;
3908pub const _CS_POSIX_V6_LP64_OFF64_CFLAGS: _bindgen_ty_3 = 1124;
3909pub const _CS_POSIX_V6_LP64_OFF64_LDFLAGS: _bindgen_ty_3 = 1125;
3910pub const _CS_POSIX_V6_LP64_OFF64_LIBS: _bindgen_ty_3 = 1126;
3911pub const _CS_POSIX_V6_LP64_OFF64_LINTFLAGS: _bindgen_ty_3 = 1127;
3912pub const _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS: _bindgen_ty_3 = 1128;
3913pub const _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS: _bindgen_ty_3 = 1129;
3914pub const _CS_POSIX_V6_LPBIG_OFFBIG_LIBS: _bindgen_ty_3 = 1130;
3915pub const _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS: _bindgen_ty_3 = 1131;
3916pub const _CS_POSIX_V7_ILP32_OFF32_CFLAGS: _bindgen_ty_3 = 1132;
3917pub const _CS_POSIX_V7_ILP32_OFF32_LDFLAGS: _bindgen_ty_3 = 1133;
3918pub const _CS_POSIX_V7_ILP32_OFF32_LIBS: _bindgen_ty_3 = 1134;
3919pub const _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS: _bindgen_ty_3 = 1135;
3920pub const _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS: _bindgen_ty_3 = 1136;
3921pub const _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS: _bindgen_ty_3 = 1137;
3922pub const _CS_POSIX_V7_ILP32_OFFBIG_LIBS: _bindgen_ty_3 = 1138;
3923pub const _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS: _bindgen_ty_3 = 1139;
3924pub const _CS_POSIX_V7_LP64_OFF64_CFLAGS: _bindgen_ty_3 = 1140;
3925pub const _CS_POSIX_V7_LP64_OFF64_LDFLAGS: _bindgen_ty_3 = 1141;
3926pub const _CS_POSIX_V7_LP64_OFF64_LIBS: _bindgen_ty_3 = 1142;
3927pub const _CS_POSIX_V7_LP64_OFF64_LINTFLAGS: _bindgen_ty_3 = 1143;
3928pub const _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS: _bindgen_ty_3 = 1144;
3929pub const _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS: _bindgen_ty_3 = 1145;
3930pub const _CS_POSIX_V7_LPBIG_OFFBIG_LIBS: _bindgen_ty_3 = 1146;
3931pub const _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS: _bindgen_ty_3 = 1147;
3932pub const _CS_V6_ENV: _bindgen_ty_3 = 1148;
3933pub const _CS_V7_ENV: _bindgen_ty_3 = 1149;
3934pub type _bindgen_ty_3 = u32;
3935extern "C" {
3936    pub fn pathconf(
3937        __path: *const ::std::os::raw::c_char,
3938        __name: ::std::os::raw::c_int,
3939    ) -> ::std::os::raw::c_long;
3940}
3941extern "C" {
3942    pub fn fpathconf(
3943        __fd: ::std::os::raw::c_int,
3944        __name: ::std::os::raw::c_int,
3945    ) -> ::std::os::raw::c_long;
3946}
3947extern "C" {
3948    pub fn sysconf(__name: ::std::os::raw::c_int) -> ::std::os::raw::c_long;
3949}
3950extern "C" {
3951    pub fn confstr(
3952        __name: ::std::os::raw::c_int,
3953        __buf: *mut ::std::os::raw::c_char,
3954        __len: usize,
3955    ) -> usize;
3956}
3957extern "C" {
3958    pub fn getpid() -> __pid_t;
3959}
3960extern "C" {
3961    pub fn getppid() -> __pid_t;
3962}
3963extern "C" {
3964    pub fn getpgrp() -> __pid_t;
3965}
3966extern "C" {
3967    pub fn __getpgid(__pid: __pid_t) -> __pid_t;
3968}
3969extern "C" {
3970    pub fn getpgid(__pid: __pid_t) -> __pid_t;
3971}
3972extern "C" {
3973    pub fn setpgid(__pid: __pid_t, __pgid: __pid_t) -> ::std::os::raw::c_int;
3974}
3975extern "C" {
3976    pub fn setpgrp() -> ::std::os::raw::c_int;
3977}
3978extern "C" {
3979    pub fn setsid() -> __pid_t;
3980}
3981extern "C" {
3982    pub fn getsid(__pid: __pid_t) -> __pid_t;
3983}
3984extern "C" {
3985    pub fn getuid() -> __uid_t;
3986}
3987extern "C" {
3988    pub fn geteuid() -> __uid_t;
3989}
3990extern "C" {
3991    pub fn getgid() -> __gid_t;
3992}
3993extern "C" {
3994    pub fn getegid() -> __gid_t;
3995}
3996extern "C" {
3997    pub fn getgroups(__size: ::std::os::raw::c_int, __list: *mut __gid_t) -> ::std::os::raw::c_int;
3998}
3999extern "C" {
4000    pub fn setuid(__uid: __uid_t) -> ::std::os::raw::c_int;
4001}
4002extern "C" {
4003    pub fn setreuid(__ruid: __uid_t, __euid: __uid_t) -> ::std::os::raw::c_int;
4004}
4005extern "C" {
4006    pub fn seteuid(__uid: __uid_t) -> ::std::os::raw::c_int;
4007}
4008extern "C" {
4009    pub fn setgid(__gid: __gid_t) -> ::std::os::raw::c_int;
4010}
4011extern "C" {
4012    pub fn setregid(__rgid: __gid_t, __egid: __gid_t) -> ::std::os::raw::c_int;
4013}
4014extern "C" {
4015    pub fn setegid(__gid: __gid_t) -> ::std::os::raw::c_int;
4016}
4017extern "C" {
4018    pub fn fork() -> __pid_t;
4019}
4020extern "C" {
4021    pub fn vfork() -> ::std::os::raw::c_int;
4022}
4023extern "C" {
4024    pub fn ttyname(__fd: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
4025}
4026extern "C" {
4027    pub fn ttyname_r(
4028        __fd: ::std::os::raw::c_int,
4029        __buf: *mut ::std::os::raw::c_char,
4030        __buflen: usize,
4031    ) -> ::std::os::raw::c_int;
4032}
4033extern "C" {
4034    pub fn isatty(__fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
4035}
4036extern "C" {
4037    pub fn ttyslot() -> ::std::os::raw::c_int;
4038}
4039extern "C" {
4040    pub fn link(
4041        __from: *const ::std::os::raw::c_char,
4042        __to: *const ::std::os::raw::c_char,
4043    ) -> ::std::os::raw::c_int;
4044}
4045extern "C" {
4046    pub fn linkat(
4047        __fromfd: ::std::os::raw::c_int,
4048        __from: *const ::std::os::raw::c_char,
4049        __tofd: ::std::os::raw::c_int,
4050        __to: *const ::std::os::raw::c_char,
4051        __flags: ::std::os::raw::c_int,
4052    ) -> ::std::os::raw::c_int;
4053}
4054extern "C" {
4055    pub fn symlink(
4056        __from: *const ::std::os::raw::c_char,
4057        __to: *const ::std::os::raw::c_char,
4058    ) -> ::std::os::raw::c_int;
4059}
4060extern "C" {
4061    pub fn readlink(
4062        __path: *const ::std::os::raw::c_char,
4063        __buf: *mut ::std::os::raw::c_char,
4064        __len: usize,
4065    ) -> isize;
4066}
4067extern "C" {
4068    pub fn symlinkat(
4069        __from: *const ::std::os::raw::c_char,
4070        __tofd: ::std::os::raw::c_int,
4071        __to: *const ::std::os::raw::c_char,
4072    ) -> ::std::os::raw::c_int;
4073}
4074extern "C" {
4075    pub fn readlinkat(
4076        __fd: ::std::os::raw::c_int,
4077        __path: *const ::std::os::raw::c_char,
4078        __buf: *mut ::std::os::raw::c_char,
4079        __len: usize,
4080    ) -> isize;
4081}
4082extern "C" {
4083    pub fn unlink(__name: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
4084}
4085extern "C" {
4086    pub fn unlinkat(
4087        __fd: ::std::os::raw::c_int,
4088        __name: *const ::std::os::raw::c_char,
4089        __flag: ::std::os::raw::c_int,
4090    ) -> ::std::os::raw::c_int;
4091}
4092extern "C" {
4093    pub fn rmdir(__path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
4094}
4095extern "C" {
4096    pub fn tcgetpgrp(__fd: ::std::os::raw::c_int) -> __pid_t;
4097}
4098extern "C" {
4099    pub fn tcsetpgrp(__fd: ::std::os::raw::c_int, __pgrp_id: __pid_t) -> ::std::os::raw::c_int;
4100}
4101extern "C" {
4102    pub fn getlogin() -> *mut ::std::os::raw::c_char;
4103}
4104extern "C" {
4105    pub fn getlogin_r(
4106        __name: *mut ::std::os::raw::c_char,
4107        __name_len: usize,
4108    ) -> ::std::os::raw::c_int;
4109}
4110extern "C" {
4111    pub fn setlogin(__name: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
4112}
4113extern "C" {
4114    pub static mut optarg: *mut ::std::os::raw::c_char;
4115}
4116extern "C" {
4117    pub static mut optind: ::std::os::raw::c_int;
4118}
4119extern "C" {
4120    pub static mut opterr: ::std::os::raw::c_int;
4121}
4122extern "C" {
4123    pub static mut optopt: ::std::os::raw::c_int;
4124}
4125extern "C" {
4126    pub fn getopt(
4127        ___argc: ::std::os::raw::c_int,
4128        ___argv: *const *mut ::std::os::raw::c_char,
4129        __shortopts: *const ::std::os::raw::c_char,
4130    ) -> ::std::os::raw::c_int;
4131}
4132extern "C" {
4133    pub fn gethostname(__name: *mut ::std::os::raw::c_char, __len: usize) -> ::std::os::raw::c_int;
4134}
4135extern "C" {
4136    pub fn sethostname(
4137        __name: *const ::std::os::raw::c_char,
4138        __len: usize,
4139    ) -> ::std::os::raw::c_int;
4140}
4141extern "C" {
4142    pub fn sethostid(__id: ::std::os::raw::c_long) -> ::std::os::raw::c_int;
4143}
4144extern "C" {
4145    pub fn getdomainname(
4146        __name: *mut ::std::os::raw::c_char,
4147        __len: usize,
4148    ) -> ::std::os::raw::c_int;
4149}
4150extern "C" {
4151    pub fn setdomainname(
4152        __name: *const ::std::os::raw::c_char,
4153        __len: usize,
4154    ) -> ::std::os::raw::c_int;
4155}
4156extern "C" {
4157    pub fn vhangup() -> ::std::os::raw::c_int;
4158}
4159extern "C" {
4160    pub fn revoke(__file: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
4161}
4162extern "C" {
4163    pub fn profil(
4164        __sample_buffer: *mut ::std::os::raw::c_ushort,
4165        __size: usize,
4166        __offset: usize,
4167        __scale: ::std::os::raw::c_uint,
4168    ) -> ::std::os::raw::c_int;
4169}
4170extern "C" {
4171    pub fn acct(__name: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
4172}
4173extern "C" {
4174    pub fn getusershell() -> *mut ::std::os::raw::c_char;
4175}
4176extern "C" {
4177    pub fn endusershell();
4178}
4179extern "C" {
4180    pub fn setusershell();
4181}
4182extern "C" {
4183    pub fn daemon(
4184        __nochdir: ::std::os::raw::c_int,
4185        __noclose: ::std::os::raw::c_int,
4186    ) -> ::std::os::raw::c_int;
4187}
4188extern "C" {
4189    pub fn chroot(__path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
4190}
4191extern "C" {
4192    pub fn getpass(__prompt: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
4193}
4194extern "C" {
4195    pub fn fsync(__fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
4196}
4197extern "C" {
4198    pub fn gethostid() -> ::std::os::raw::c_long;
4199}
4200extern "C" {
4201    pub fn sync();
4202}
4203extern "C" {
4204    pub fn getpagesize() -> ::std::os::raw::c_int;
4205}
4206extern "C" {
4207    pub fn getdtablesize() -> ::std::os::raw::c_int;
4208}
4209extern "C" {
4210    pub fn truncate(
4211        __file: *const ::std::os::raw::c_char,
4212        __length: __off_t,
4213    ) -> ::std::os::raw::c_int;
4214}
4215extern "C" {
4216    pub fn ftruncate(__fd: ::std::os::raw::c_int, __length: __off_t) -> ::std::os::raw::c_int;
4217}
4218extern "C" {
4219    pub fn brk(__addr: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int;
4220}
4221extern "C" {
4222    pub fn sbrk(__delta: isize) -> *mut ::std::os::raw::c_void;
4223}
4224extern "C" {
4225    pub fn syscall(__sysno: ::std::os::raw::c_long, ...) -> ::std::os::raw::c_long;
4226}
4227extern "C" {
4228    pub fn lockf(
4229        __fd: ::std::os::raw::c_int,
4230        __cmd: ::std::os::raw::c_int,
4231        __len: __off_t,
4232    ) -> ::std::os::raw::c_int;
4233}
4234extern "C" {
4235    pub fn fdatasync(__fildes: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
4236}
4237extern "C" {
4238    pub fn crypt(
4239        __key: *const ::std::os::raw::c_char,
4240        __salt: *const ::std::os::raw::c_char,
4241    ) -> *mut ::std::os::raw::c_char;
4242}
4243extern "C" {
4244    pub fn getentropy(
4245        __buffer: *mut ::std::os::raw::c_void,
4246        __length: usize,
4247    ) -> ::std::os::raw::c_int;
4248}
4249#[repr(C)]
4250#[derive(Debug, Default, Copy, Clone)]
4251pub struct sched_param {
4252    pub sched_priority: ::std::os::raw::c_int,
4253}
4254#[test]
4255fn bindgen_test_layout_sched_param() {
4256    assert_eq!(
4257        ::std::mem::size_of::<sched_param>(),
4258        4usize,
4259        concat!("Size of: ", stringify!(sched_param))
4260    );
4261    assert_eq!(
4262        ::std::mem::align_of::<sched_param>(),
4263        4usize,
4264        concat!("Alignment of ", stringify!(sched_param))
4265    );
4266    assert_eq!(
4267        unsafe { &(*(::std::ptr::null::<sched_param>())).sched_priority as *const _ as usize },
4268        0usize,
4269        concat!(
4270            "Offset of field: ",
4271            stringify!(sched_param),
4272            "::",
4273            stringify!(sched_priority)
4274        )
4275    );
4276}
4277pub type __cpu_mask = ::std::os::raw::c_ulong;
4278#[repr(C)]
4279#[derive(Debug, Default, Copy, Clone)]
4280pub struct cpu_set_t {
4281    pub __bits: [__cpu_mask; 16usize],
4282}
4283#[test]
4284fn bindgen_test_layout_cpu_set_t() {
4285    assert_eq!(
4286        ::std::mem::size_of::<cpu_set_t>(),
4287        128usize,
4288        concat!("Size of: ", stringify!(cpu_set_t))
4289    );
4290    assert_eq!(
4291        ::std::mem::align_of::<cpu_set_t>(),
4292        8usize,
4293        concat!("Alignment of ", stringify!(cpu_set_t))
4294    );
4295    assert_eq!(
4296        unsafe { &(*(::std::ptr::null::<cpu_set_t>())).__bits as *const _ as usize },
4297        0usize,
4298        concat!(
4299            "Offset of field: ",
4300            stringify!(cpu_set_t),
4301            "::",
4302            stringify!(__bits)
4303        )
4304    );
4305}
4306extern "C" {
4307    pub fn __sched_cpucount(__setsize: usize, __setp: *const cpu_set_t) -> ::std::os::raw::c_int;
4308}
4309extern "C" {
4310    pub fn __sched_cpualloc(__count: usize) -> *mut cpu_set_t;
4311}
4312extern "C" {
4313    pub fn __sched_cpufree(__set: *mut cpu_set_t);
4314}
4315extern "C" {
4316    pub fn sched_setparam(__pid: __pid_t, __param: *const sched_param) -> ::std::os::raw::c_int;
4317}
4318extern "C" {
4319    pub fn sched_getparam(__pid: __pid_t, __param: *mut sched_param) -> ::std::os::raw::c_int;
4320}
4321extern "C" {
4322    pub fn sched_setscheduler(
4323        __pid: __pid_t,
4324        __policy: ::std::os::raw::c_int,
4325        __param: *const sched_param,
4326    ) -> ::std::os::raw::c_int;
4327}
4328extern "C" {
4329    pub fn sched_getscheduler(__pid: __pid_t) -> ::std::os::raw::c_int;
4330}
4331extern "C" {
4332    pub fn sched_yield() -> ::std::os::raw::c_int;
4333}
4334extern "C" {
4335    pub fn sched_get_priority_max(__algorithm: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
4336}
4337extern "C" {
4338    pub fn sched_get_priority_min(__algorithm: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
4339}
4340extern "C" {
4341    pub fn sched_rr_get_interval(__pid: __pid_t, __t: *mut timespec) -> ::std::os::raw::c_int;
4342}
4343#[repr(C)]
4344#[derive(Debug, Copy, Clone)]
4345pub struct tm {
4346    pub tm_sec: ::std::os::raw::c_int,
4347    pub tm_min: ::std::os::raw::c_int,
4348    pub tm_hour: ::std::os::raw::c_int,
4349    pub tm_mday: ::std::os::raw::c_int,
4350    pub tm_mon: ::std::os::raw::c_int,
4351    pub tm_year: ::std::os::raw::c_int,
4352    pub tm_wday: ::std::os::raw::c_int,
4353    pub tm_yday: ::std::os::raw::c_int,
4354    pub tm_isdst: ::std::os::raw::c_int,
4355    pub tm_gmtoff: ::std::os::raw::c_long,
4356    pub tm_zone: *const ::std::os::raw::c_char,
4357}
4358#[test]
4359fn bindgen_test_layout_tm() {
4360    assert_eq!(
4361        ::std::mem::size_of::<tm>(),
4362        56usize,
4363        concat!("Size of: ", stringify!(tm))
4364    );
4365    assert_eq!(
4366        ::std::mem::align_of::<tm>(),
4367        8usize,
4368        concat!("Alignment of ", stringify!(tm))
4369    );
4370    assert_eq!(
4371        unsafe { &(*(::std::ptr::null::<tm>())).tm_sec as *const _ as usize },
4372        0usize,
4373        concat!(
4374            "Offset of field: ",
4375            stringify!(tm),
4376            "::",
4377            stringify!(tm_sec)
4378        )
4379    );
4380    assert_eq!(
4381        unsafe { &(*(::std::ptr::null::<tm>())).tm_min as *const _ as usize },
4382        4usize,
4383        concat!(
4384            "Offset of field: ",
4385            stringify!(tm),
4386            "::",
4387            stringify!(tm_min)
4388        )
4389    );
4390    assert_eq!(
4391        unsafe { &(*(::std::ptr::null::<tm>())).tm_hour as *const _ as usize },
4392        8usize,
4393        concat!(
4394            "Offset of field: ",
4395            stringify!(tm),
4396            "::",
4397            stringify!(tm_hour)
4398        )
4399    );
4400    assert_eq!(
4401        unsafe { &(*(::std::ptr::null::<tm>())).tm_mday as *const _ as usize },
4402        12usize,
4403        concat!(
4404            "Offset of field: ",
4405            stringify!(tm),
4406            "::",
4407            stringify!(tm_mday)
4408        )
4409    );
4410    assert_eq!(
4411        unsafe { &(*(::std::ptr::null::<tm>())).tm_mon as *const _ as usize },
4412        16usize,
4413        concat!(
4414            "Offset of field: ",
4415            stringify!(tm),
4416            "::",
4417            stringify!(tm_mon)
4418        )
4419    );
4420    assert_eq!(
4421        unsafe { &(*(::std::ptr::null::<tm>())).tm_year as *const _ as usize },
4422        20usize,
4423        concat!(
4424            "Offset of field: ",
4425            stringify!(tm),
4426            "::",
4427            stringify!(tm_year)
4428        )
4429    );
4430    assert_eq!(
4431        unsafe { &(*(::std::ptr::null::<tm>())).tm_wday as *const _ as usize },
4432        24usize,
4433        concat!(
4434            "Offset of field: ",
4435            stringify!(tm),
4436            "::",
4437            stringify!(tm_wday)
4438        )
4439    );
4440    assert_eq!(
4441        unsafe { &(*(::std::ptr::null::<tm>())).tm_yday as *const _ as usize },
4442        28usize,
4443        concat!(
4444            "Offset of field: ",
4445            stringify!(tm),
4446            "::",
4447            stringify!(tm_yday)
4448        )
4449    );
4450    assert_eq!(
4451        unsafe { &(*(::std::ptr::null::<tm>())).tm_isdst as *const _ as usize },
4452        32usize,
4453        concat!(
4454            "Offset of field: ",
4455            stringify!(tm),
4456            "::",
4457            stringify!(tm_isdst)
4458        )
4459    );
4460    assert_eq!(
4461        unsafe { &(*(::std::ptr::null::<tm>())).tm_gmtoff as *const _ as usize },
4462        40usize,
4463        concat!(
4464            "Offset of field: ",
4465            stringify!(tm),
4466            "::",
4467            stringify!(tm_gmtoff)
4468        )
4469    );
4470    assert_eq!(
4471        unsafe { &(*(::std::ptr::null::<tm>())).tm_zone as *const _ as usize },
4472        48usize,
4473        concat!(
4474            "Offset of field: ",
4475            stringify!(tm),
4476            "::",
4477            stringify!(tm_zone)
4478        )
4479    );
4480}
4481impl Default for tm {
4482    fn default() -> Self {
4483        unsafe { ::std::mem::zeroed() }
4484    }
4485}
4486#[repr(C)]
4487#[derive(Debug, Default, Copy, Clone)]
4488pub struct itimerspec {
4489    pub it_interval: timespec,
4490    pub it_value: timespec,
4491}
4492#[test]
4493fn bindgen_test_layout_itimerspec() {
4494    assert_eq!(
4495        ::std::mem::size_of::<itimerspec>(),
4496        32usize,
4497        concat!("Size of: ", stringify!(itimerspec))
4498    );
4499    assert_eq!(
4500        ::std::mem::align_of::<itimerspec>(),
4501        8usize,
4502        concat!("Alignment of ", stringify!(itimerspec))
4503    );
4504    assert_eq!(
4505        unsafe { &(*(::std::ptr::null::<itimerspec>())).it_interval as *const _ as usize },
4506        0usize,
4507        concat!(
4508            "Offset of field: ",
4509            stringify!(itimerspec),
4510            "::",
4511            stringify!(it_interval)
4512        )
4513    );
4514    assert_eq!(
4515        unsafe { &(*(::std::ptr::null::<itimerspec>())).it_value as *const _ as usize },
4516        16usize,
4517        concat!(
4518            "Offset of field: ",
4519            stringify!(itimerspec),
4520            "::",
4521            stringify!(it_value)
4522        )
4523    );
4524}
4525#[repr(C)]
4526#[derive(Debug, Copy, Clone)]
4527pub struct sigevent {
4528    _unused: [u8; 0],
4529}
4530#[repr(C)]
4531#[derive(Debug, Copy, Clone)]
4532pub struct __locale_struct {
4533    pub __locales: [*mut __locale_data; 13usize],
4534    pub __ctype_b: *const ::std::os::raw::c_ushort,
4535    pub __ctype_tolower: *const ::std::os::raw::c_int,
4536    pub __ctype_toupper: *const ::std::os::raw::c_int,
4537    pub __names: [*const ::std::os::raw::c_char; 13usize],
4538}
4539#[test]
4540fn bindgen_test_layout___locale_struct() {
4541    assert_eq!(
4542        ::std::mem::size_of::<__locale_struct>(),
4543        232usize,
4544        concat!("Size of: ", stringify!(__locale_struct))
4545    );
4546    assert_eq!(
4547        ::std::mem::align_of::<__locale_struct>(),
4548        8usize,
4549        concat!("Alignment of ", stringify!(__locale_struct))
4550    );
4551    assert_eq!(
4552        unsafe { &(*(::std::ptr::null::<__locale_struct>())).__locales as *const _ as usize },
4553        0usize,
4554        concat!(
4555            "Offset of field: ",
4556            stringify!(__locale_struct),
4557            "::",
4558            stringify!(__locales)
4559        )
4560    );
4561    assert_eq!(
4562        unsafe { &(*(::std::ptr::null::<__locale_struct>())).__ctype_b as *const _ as usize },
4563        104usize,
4564        concat!(
4565            "Offset of field: ",
4566            stringify!(__locale_struct),
4567            "::",
4568            stringify!(__ctype_b)
4569        )
4570    );
4571    assert_eq!(
4572        unsafe { &(*(::std::ptr::null::<__locale_struct>())).__ctype_tolower as *const _ as usize },
4573        112usize,
4574        concat!(
4575            "Offset of field: ",
4576            stringify!(__locale_struct),
4577            "::",
4578            stringify!(__ctype_tolower)
4579        )
4580    );
4581    assert_eq!(
4582        unsafe { &(*(::std::ptr::null::<__locale_struct>())).__ctype_toupper as *const _ as usize },
4583        120usize,
4584        concat!(
4585            "Offset of field: ",
4586            stringify!(__locale_struct),
4587            "::",
4588            stringify!(__ctype_toupper)
4589        )
4590    );
4591    assert_eq!(
4592        unsafe { &(*(::std::ptr::null::<__locale_struct>())).__names as *const _ as usize },
4593        128usize,
4594        concat!(
4595            "Offset of field: ",
4596            stringify!(__locale_struct),
4597            "::",
4598            stringify!(__names)
4599        )
4600    );
4601}
4602impl Default for __locale_struct {
4603    fn default() -> Self {
4604        unsafe { ::std::mem::zeroed() }
4605    }
4606}
4607pub type __locale_t = *mut __locale_struct;
4608pub type locale_t = __locale_t;
4609extern "C" {
4610    pub fn clock() -> clock_t;
4611}
4612extern "C" {
4613    pub fn time(__timer: *mut time_t) -> time_t;
4614}
4615extern "C" {
4616    pub fn difftime(__time1: time_t, __time0: time_t) -> f64;
4617}
4618extern "C" {
4619    pub fn mktime(__tp: *mut tm) -> time_t;
4620}
4621extern "C" {
4622    pub fn strftime(
4623        __s: *mut ::std::os::raw::c_char,
4624        __maxsize: usize,
4625        __format: *const ::std::os::raw::c_char,
4626        __tp: *const tm,
4627    ) -> usize;
4628}
4629extern "C" {
4630    pub fn strftime_l(
4631        __s: *mut ::std::os::raw::c_char,
4632        __maxsize: usize,
4633        __format: *const ::std::os::raw::c_char,
4634        __tp: *const tm,
4635        __loc: locale_t,
4636    ) -> usize;
4637}
4638extern "C" {
4639    pub fn gmtime(__timer: *const time_t) -> *mut tm;
4640}
4641extern "C" {
4642    pub fn localtime(__timer: *const time_t) -> *mut tm;
4643}
4644extern "C" {
4645    pub fn gmtime_r(__timer: *const time_t, __tp: *mut tm) -> *mut tm;
4646}
4647extern "C" {
4648    pub fn localtime_r(__timer: *const time_t, __tp: *mut tm) -> *mut tm;
4649}
4650extern "C" {
4651    pub fn asctime(__tp: *const tm) -> *mut ::std::os::raw::c_char;
4652}
4653extern "C" {
4654    pub fn ctime(__timer: *const time_t) -> *mut ::std::os::raw::c_char;
4655}
4656extern "C" {
4657    pub fn asctime_r(
4658        __tp: *const tm,
4659        __buf: *mut ::std::os::raw::c_char,
4660    ) -> *mut ::std::os::raw::c_char;
4661}
4662extern "C" {
4663    pub fn ctime_r(
4664        __timer: *const time_t,
4665        __buf: *mut ::std::os::raw::c_char,
4666    ) -> *mut ::std::os::raw::c_char;
4667}
4668extern "C" {
4669    pub static mut __tzname: [*mut ::std::os::raw::c_char; 2usize];
4670}
4671extern "C" {
4672    pub static mut __daylight: ::std::os::raw::c_int;
4673}
4674extern "C" {
4675    pub static mut __timezone: ::std::os::raw::c_long;
4676}
4677extern "C" {
4678    pub static mut tzname: [*mut ::std::os::raw::c_char; 2usize];
4679}
4680extern "C" {
4681    pub fn tzset();
4682}
4683extern "C" {
4684    pub static mut daylight: ::std::os::raw::c_int;
4685}
4686extern "C" {
4687    pub static mut timezone: ::std::os::raw::c_long;
4688}
4689extern "C" {
4690    pub fn timegm(__tp: *mut tm) -> time_t;
4691}
4692extern "C" {
4693    pub fn timelocal(__tp: *mut tm) -> time_t;
4694}
4695extern "C" {
4696    pub fn dysize(__year: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
4697}
4698extern "C" {
4699    pub fn nanosleep(
4700        __requested_time: *const timespec,
4701        __remaining: *mut timespec,
4702    ) -> ::std::os::raw::c_int;
4703}
4704extern "C" {
4705    pub fn clock_getres(__clock_id: clockid_t, __res: *mut timespec) -> ::std::os::raw::c_int;
4706}
4707extern "C" {
4708    pub fn clock_gettime(__clock_id: clockid_t, __tp: *mut timespec) -> ::std::os::raw::c_int;
4709}
4710extern "C" {
4711    pub fn clock_settime(__clock_id: clockid_t, __tp: *const timespec) -> ::std::os::raw::c_int;
4712}
4713extern "C" {
4714    pub fn clock_nanosleep(
4715        __clock_id: clockid_t,
4716        __flags: ::std::os::raw::c_int,
4717        __req: *const timespec,
4718        __rem: *mut timespec,
4719    ) -> ::std::os::raw::c_int;
4720}
4721extern "C" {
4722    pub fn clock_getcpuclockid(__pid: pid_t, __clock_id: *mut clockid_t) -> ::std::os::raw::c_int;
4723}
4724extern "C" {
4725    pub fn timer_create(
4726        __clock_id: clockid_t,
4727        __evp: *mut sigevent,
4728        __timerid: *mut timer_t,
4729    ) -> ::std::os::raw::c_int;
4730}
4731extern "C" {
4732    pub fn timer_delete(__timerid: timer_t) -> ::std::os::raw::c_int;
4733}
4734extern "C" {
4735    pub fn timer_settime(
4736        __timerid: timer_t,
4737        __flags: ::std::os::raw::c_int,
4738        __value: *const itimerspec,
4739        __ovalue: *mut itimerspec,
4740    ) -> ::std::os::raw::c_int;
4741}
4742extern "C" {
4743    pub fn timer_gettime(__timerid: timer_t, __value: *mut itimerspec) -> ::std::os::raw::c_int;
4744}
4745extern "C" {
4746    pub fn timer_getoverrun(__timerid: timer_t) -> ::std::os::raw::c_int;
4747}
4748extern "C" {
4749    pub fn timespec_get(
4750        __ts: *mut timespec,
4751        __base: ::std::os::raw::c_int,
4752    ) -> ::std::os::raw::c_int;
4753}
4754pub type __jmp_buf = [::std::os::raw::c_long; 8usize];
4755#[repr(C)]
4756#[derive(Debug, Default, Copy, Clone)]
4757pub struct __jmp_buf_tag {
4758    pub __jmpbuf: __jmp_buf,
4759    pub __mask_was_saved: ::std::os::raw::c_int,
4760    pub __saved_mask: __sigset_t,
4761}
4762#[test]
4763fn bindgen_test_layout___jmp_buf_tag() {
4764    assert_eq!(
4765        ::std::mem::size_of::<__jmp_buf_tag>(),
4766        200usize,
4767        concat!("Size of: ", stringify!(__jmp_buf_tag))
4768    );
4769    assert_eq!(
4770        ::std::mem::align_of::<__jmp_buf_tag>(),
4771        8usize,
4772        concat!("Alignment of ", stringify!(__jmp_buf_tag))
4773    );
4774    assert_eq!(
4775        unsafe { &(*(::std::ptr::null::<__jmp_buf_tag>())).__jmpbuf as *const _ as usize },
4776        0usize,
4777        concat!(
4778            "Offset of field: ",
4779            stringify!(__jmp_buf_tag),
4780            "::",
4781            stringify!(__jmpbuf)
4782        )
4783    );
4784    assert_eq!(
4785        unsafe { &(*(::std::ptr::null::<__jmp_buf_tag>())).__mask_was_saved as *const _ as usize },
4786        64usize,
4787        concat!(
4788            "Offset of field: ",
4789            stringify!(__jmp_buf_tag),
4790            "::",
4791            stringify!(__mask_was_saved)
4792        )
4793    );
4794    assert_eq!(
4795        unsafe { &(*(::std::ptr::null::<__jmp_buf_tag>())).__saved_mask as *const _ as usize },
4796        72usize,
4797        concat!(
4798            "Offset of field: ",
4799            stringify!(__jmp_buf_tag),
4800            "::",
4801            stringify!(__saved_mask)
4802        )
4803    );
4804}
4805pub const PTHREAD_CREATE_JOINABLE: _bindgen_ty_4 = 0;
4806pub const PTHREAD_CREATE_DETACHED: _bindgen_ty_4 = 1;
4807pub type _bindgen_ty_4 = u32;
4808pub const PTHREAD_MUTEX_TIMED_NP: _bindgen_ty_5 = 0;
4809pub const PTHREAD_MUTEX_RECURSIVE_NP: _bindgen_ty_5 = 1;
4810pub const PTHREAD_MUTEX_ERRORCHECK_NP: _bindgen_ty_5 = 2;
4811pub const PTHREAD_MUTEX_ADAPTIVE_NP: _bindgen_ty_5 = 3;
4812pub const PTHREAD_MUTEX_NORMAL: _bindgen_ty_5 = 0;
4813pub const PTHREAD_MUTEX_RECURSIVE: _bindgen_ty_5 = 1;
4814pub const PTHREAD_MUTEX_ERRORCHECK: _bindgen_ty_5 = 2;
4815pub const PTHREAD_MUTEX_DEFAULT: _bindgen_ty_5 = 0;
4816pub type _bindgen_ty_5 = u32;
4817pub const PTHREAD_MUTEX_STALLED: _bindgen_ty_6 = 0;
4818pub const PTHREAD_MUTEX_STALLED_NP: _bindgen_ty_6 = 0;
4819pub const PTHREAD_MUTEX_ROBUST: _bindgen_ty_6 = 1;
4820pub const PTHREAD_MUTEX_ROBUST_NP: _bindgen_ty_6 = 1;
4821pub type _bindgen_ty_6 = u32;
4822pub const PTHREAD_PRIO_NONE: _bindgen_ty_7 = 0;
4823pub const PTHREAD_PRIO_INHERIT: _bindgen_ty_7 = 1;
4824pub const PTHREAD_PRIO_PROTECT: _bindgen_ty_7 = 2;
4825pub type _bindgen_ty_7 = u32;
4826pub const PTHREAD_RWLOCK_PREFER_READER_NP: _bindgen_ty_8 = 0;
4827pub const PTHREAD_RWLOCK_PREFER_WRITER_NP: _bindgen_ty_8 = 1;
4828pub const PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP: _bindgen_ty_8 = 2;
4829pub const PTHREAD_RWLOCK_DEFAULT_NP: _bindgen_ty_8 = 0;
4830pub type _bindgen_ty_8 = u32;
4831pub const PTHREAD_INHERIT_SCHED: _bindgen_ty_9 = 0;
4832pub const PTHREAD_EXPLICIT_SCHED: _bindgen_ty_9 = 1;
4833pub type _bindgen_ty_9 = u32;
4834pub const PTHREAD_SCOPE_SYSTEM: _bindgen_ty_10 = 0;
4835pub const PTHREAD_SCOPE_PROCESS: _bindgen_ty_10 = 1;
4836pub type _bindgen_ty_10 = u32;
4837pub const PTHREAD_PROCESS_PRIVATE: _bindgen_ty_11 = 0;
4838pub const PTHREAD_PROCESS_SHARED: _bindgen_ty_11 = 1;
4839pub type _bindgen_ty_11 = u32;
4840#[repr(C)]
4841#[derive(Debug, Copy, Clone)]
4842pub struct _pthread_cleanup_buffer {
4843    pub __routine: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
4844    pub __arg: *mut ::std::os::raw::c_void,
4845    pub __canceltype: ::std::os::raw::c_int,
4846    pub __prev: *mut _pthread_cleanup_buffer,
4847}
4848#[test]
4849fn bindgen_test_layout__pthread_cleanup_buffer() {
4850    assert_eq!(
4851        ::std::mem::size_of::<_pthread_cleanup_buffer>(),
4852        32usize,
4853        concat!("Size of: ", stringify!(_pthread_cleanup_buffer))
4854    );
4855    assert_eq!(
4856        ::std::mem::align_of::<_pthread_cleanup_buffer>(),
4857        8usize,
4858        concat!("Alignment of ", stringify!(_pthread_cleanup_buffer))
4859    );
4860    assert_eq!(
4861        unsafe {
4862            &(*(::std::ptr::null::<_pthread_cleanup_buffer>())).__routine as *const _ as usize
4863        },
4864        0usize,
4865        concat!(
4866            "Offset of field: ",
4867            stringify!(_pthread_cleanup_buffer),
4868            "::",
4869            stringify!(__routine)
4870        )
4871    );
4872    assert_eq!(
4873        unsafe { &(*(::std::ptr::null::<_pthread_cleanup_buffer>())).__arg as *const _ as usize },
4874        8usize,
4875        concat!(
4876            "Offset of field: ",
4877            stringify!(_pthread_cleanup_buffer),
4878            "::",
4879            stringify!(__arg)
4880        )
4881    );
4882    assert_eq!(
4883        unsafe {
4884            &(*(::std::ptr::null::<_pthread_cleanup_buffer>())).__canceltype as *const _ as usize
4885        },
4886        16usize,
4887        concat!(
4888            "Offset of field: ",
4889            stringify!(_pthread_cleanup_buffer),
4890            "::",
4891            stringify!(__canceltype)
4892        )
4893    );
4894    assert_eq!(
4895        unsafe { &(*(::std::ptr::null::<_pthread_cleanup_buffer>())).__prev as *const _ as usize },
4896        24usize,
4897        concat!(
4898            "Offset of field: ",
4899            stringify!(_pthread_cleanup_buffer),
4900            "::",
4901            stringify!(__prev)
4902        )
4903    );
4904}
4905impl Default for _pthread_cleanup_buffer {
4906    fn default() -> Self {
4907        unsafe { ::std::mem::zeroed() }
4908    }
4909}
4910pub const PTHREAD_CANCEL_ENABLE: _bindgen_ty_12 = 0;
4911pub const PTHREAD_CANCEL_DISABLE: _bindgen_ty_12 = 1;
4912pub type _bindgen_ty_12 = u32;
4913pub const PTHREAD_CANCEL_DEFERRED: _bindgen_ty_13 = 0;
4914pub const PTHREAD_CANCEL_ASYNCHRONOUS: _bindgen_ty_13 = 1;
4915pub type _bindgen_ty_13 = u32;
4916extern "C" {
4917    pub fn pthread_create(
4918        __newthread: *mut pthread_t,
4919        __attr: *const pthread_attr_t,
4920        __start_routine: ::std::option::Option<
4921            unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> *mut ::std::os::raw::c_void,
4922        >,
4923        __arg: *mut ::std::os::raw::c_void,
4924    ) -> ::std::os::raw::c_int;
4925}
4926extern "C" {
4927    pub fn pthread_exit(__retval: *mut ::std::os::raw::c_void);
4928}
4929extern "C" {
4930    pub fn pthread_join(
4931        __th: pthread_t,
4932        __thread_return: *mut *mut ::std::os::raw::c_void,
4933    ) -> ::std::os::raw::c_int;
4934}
4935extern "C" {
4936    pub fn pthread_detach(__th: pthread_t) -> ::std::os::raw::c_int;
4937}
4938extern "C" {
4939    pub fn pthread_self() -> pthread_t;
4940}
4941extern "C" {
4942    pub fn pthread_equal(__thread1: pthread_t, __thread2: pthread_t) -> ::std::os::raw::c_int;
4943}
4944extern "C" {
4945    pub fn pthread_attr_init(__attr: *mut pthread_attr_t) -> ::std::os::raw::c_int;
4946}
4947extern "C" {
4948    pub fn pthread_attr_destroy(__attr: *mut pthread_attr_t) -> ::std::os::raw::c_int;
4949}
4950extern "C" {
4951    pub fn pthread_attr_getdetachstate(
4952        __attr: *const pthread_attr_t,
4953        __detachstate: *mut ::std::os::raw::c_int,
4954    ) -> ::std::os::raw::c_int;
4955}
4956extern "C" {
4957    pub fn pthread_attr_setdetachstate(
4958        __attr: *mut pthread_attr_t,
4959        __detachstate: ::std::os::raw::c_int,
4960    ) -> ::std::os::raw::c_int;
4961}
4962extern "C" {
4963    pub fn pthread_attr_getguardsize(
4964        __attr: *const pthread_attr_t,
4965        __guardsize: *mut usize,
4966    ) -> ::std::os::raw::c_int;
4967}
4968extern "C" {
4969    pub fn pthread_attr_setguardsize(
4970        __attr: *mut pthread_attr_t,
4971        __guardsize: usize,
4972    ) -> ::std::os::raw::c_int;
4973}
4974extern "C" {
4975    pub fn pthread_attr_getschedparam(
4976        __attr: *const pthread_attr_t,
4977        __param: *mut sched_param,
4978    ) -> ::std::os::raw::c_int;
4979}
4980extern "C" {
4981    pub fn pthread_attr_setschedparam(
4982        __attr: *mut pthread_attr_t,
4983        __param: *const sched_param,
4984    ) -> ::std::os::raw::c_int;
4985}
4986extern "C" {
4987    pub fn pthread_attr_getschedpolicy(
4988        __attr: *const pthread_attr_t,
4989        __policy: *mut ::std::os::raw::c_int,
4990    ) -> ::std::os::raw::c_int;
4991}
4992extern "C" {
4993    pub fn pthread_attr_setschedpolicy(
4994        __attr: *mut pthread_attr_t,
4995        __policy: ::std::os::raw::c_int,
4996    ) -> ::std::os::raw::c_int;
4997}
4998extern "C" {
4999    pub fn pthread_attr_getinheritsched(
5000        __attr: *const pthread_attr_t,
5001        __inherit: *mut ::std::os::raw::c_int,
5002    ) -> ::std::os::raw::c_int;
5003}
5004extern "C" {
5005    pub fn pthread_attr_setinheritsched(
5006        __attr: *mut pthread_attr_t,
5007        __inherit: ::std::os::raw::c_int,
5008    ) -> ::std::os::raw::c_int;
5009}
5010extern "C" {
5011    pub fn pthread_attr_getscope(
5012        __attr: *const pthread_attr_t,
5013        __scope: *mut ::std::os::raw::c_int,
5014    ) -> ::std::os::raw::c_int;
5015}
5016extern "C" {
5017    pub fn pthread_attr_setscope(
5018        __attr: *mut pthread_attr_t,
5019        __scope: ::std::os::raw::c_int,
5020    ) -> ::std::os::raw::c_int;
5021}
5022extern "C" {
5023    pub fn pthread_attr_getstackaddr(
5024        __attr: *const pthread_attr_t,
5025        __stackaddr: *mut *mut ::std::os::raw::c_void,
5026    ) -> ::std::os::raw::c_int;
5027}
5028extern "C" {
5029    pub fn pthread_attr_setstackaddr(
5030        __attr: *mut pthread_attr_t,
5031        __stackaddr: *mut ::std::os::raw::c_void,
5032    ) -> ::std::os::raw::c_int;
5033}
5034extern "C" {
5035    pub fn pthread_attr_getstacksize(
5036        __attr: *const pthread_attr_t,
5037        __stacksize: *mut usize,
5038    ) -> ::std::os::raw::c_int;
5039}
5040extern "C" {
5041    pub fn pthread_attr_setstacksize(
5042        __attr: *mut pthread_attr_t,
5043        __stacksize: usize,
5044    ) -> ::std::os::raw::c_int;
5045}
5046extern "C" {
5047    pub fn pthread_attr_getstack(
5048        __attr: *const pthread_attr_t,
5049        __stackaddr: *mut *mut ::std::os::raw::c_void,
5050        __stacksize: *mut usize,
5051    ) -> ::std::os::raw::c_int;
5052}
5053extern "C" {
5054    pub fn pthread_attr_setstack(
5055        __attr: *mut pthread_attr_t,
5056        __stackaddr: *mut ::std::os::raw::c_void,
5057        __stacksize: usize,
5058    ) -> ::std::os::raw::c_int;
5059}
5060extern "C" {
5061    pub fn pthread_setschedparam(
5062        __target_thread: pthread_t,
5063        __policy: ::std::os::raw::c_int,
5064        __param: *const sched_param,
5065    ) -> ::std::os::raw::c_int;
5066}
5067extern "C" {
5068    pub fn pthread_getschedparam(
5069        __target_thread: pthread_t,
5070        __policy: *mut ::std::os::raw::c_int,
5071        __param: *mut sched_param,
5072    ) -> ::std::os::raw::c_int;
5073}
5074extern "C" {
5075    pub fn pthread_setschedprio(
5076        __target_thread: pthread_t,
5077        __prio: ::std::os::raw::c_int,
5078    ) -> ::std::os::raw::c_int;
5079}
5080extern "C" {
5081    pub fn pthread_once(
5082        __once_control: *mut pthread_once_t,
5083        __init_routine: ::std::option::Option<unsafe extern "C" fn()>,
5084    ) -> ::std::os::raw::c_int;
5085}
5086extern "C" {
5087    pub fn pthread_setcancelstate(
5088        __state: ::std::os::raw::c_int,
5089        __oldstate: *mut ::std::os::raw::c_int,
5090    ) -> ::std::os::raw::c_int;
5091}
5092extern "C" {
5093    pub fn pthread_setcanceltype(
5094        __type: ::std::os::raw::c_int,
5095        __oldtype: *mut ::std::os::raw::c_int,
5096    ) -> ::std::os::raw::c_int;
5097}
5098extern "C" {
5099    pub fn pthread_cancel(__th: pthread_t) -> ::std::os::raw::c_int;
5100}
5101extern "C" {
5102    pub fn pthread_testcancel();
5103}
5104#[repr(C)]
5105#[derive(Debug, Default, Copy, Clone)]
5106pub struct __cancel_jmp_buf_tag {
5107    pub __cancel_jmp_buf: __jmp_buf,
5108    pub __mask_was_saved: ::std::os::raw::c_int,
5109}
5110#[test]
5111fn bindgen_test_layout___cancel_jmp_buf_tag() {
5112    assert_eq!(
5113        ::std::mem::size_of::<__cancel_jmp_buf_tag>(),
5114        72usize,
5115        concat!("Size of: ", stringify!(__cancel_jmp_buf_tag))
5116    );
5117    assert_eq!(
5118        ::std::mem::align_of::<__cancel_jmp_buf_tag>(),
5119        8usize,
5120        concat!("Alignment of ", stringify!(__cancel_jmp_buf_tag))
5121    );
5122    assert_eq!(
5123        unsafe {
5124            &(*(::std::ptr::null::<__cancel_jmp_buf_tag>())).__cancel_jmp_buf as *const _ as usize
5125        },
5126        0usize,
5127        concat!(
5128            "Offset of field: ",
5129            stringify!(__cancel_jmp_buf_tag),
5130            "::",
5131            stringify!(__cancel_jmp_buf)
5132        )
5133    );
5134    assert_eq!(
5135        unsafe {
5136            &(*(::std::ptr::null::<__cancel_jmp_buf_tag>())).__mask_was_saved as *const _ as usize
5137        },
5138        64usize,
5139        concat!(
5140            "Offset of field: ",
5141            stringify!(__cancel_jmp_buf_tag),
5142            "::",
5143            stringify!(__mask_was_saved)
5144        )
5145    );
5146}
5147#[repr(C)]
5148#[derive(Debug, Copy, Clone)]
5149pub struct __pthread_unwind_buf_t {
5150    pub __cancel_jmp_buf: [__cancel_jmp_buf_tag; 1usize],
5151    pub __pad: [*mut ::std::os::raw::c_void; 4usize],
5152}
5153#[test]
5154fn bindgen_test_layout___pthread_unwind_buf_t() {
5155    assert_eq!(
5156        ::std::mem::size_of::<__pthread_unwind_buf_t>(),
5157        104usize,
5158        concat!("Size of: ", stringify!(__pthread_unwind_buf_t))
5159    );
5160    assert_eq!(
5161        ::std::mem::align_of::<__pthread_unwind_buf_t>(),
5162        8usize,
5163        concat!("Alignment of ", stringify!(__pthread_unwind_buf_t))
5164    );
5165    assert_eq!(
5166        unsafe {
5167            &(*(::std::ptr::null::<__pthread_unwind_buf_t>())).__cancel_jmp_buf as *const _ as usize
5168        },
5169        0usize,
5170        concat!(
5171            "Offset of field: ",
5172            stringify!(__pthread_unwind_buf_t),
5173            "::",
5174            stringify!(__cancel_jmp_buf)
5175        )
5176    );
5177    assert_eq!(
5178        unsafe { &(*(::std::ptr::null::<__pthread_unwind_buf_t>())).__pad as *const _ as usize },
5179        72usize,
5180        concat!(
5181            "Offset of field: ",
5182            stringify!(__pthread_unwind_buf_t),
5183            "::",
5184            stringify!(__pad)
5185        )
5186    );
5187}
5188impl Default for __pthread_unwind_buf_t {
5189    fn default() -> Self {
5190        unsafe { ::std::mem::zeroed() }
5191    }
5192}
5193#[repr(C)]
5194#[derive(Debug, Copy, Clone)]
5195pub struct __pthread_cleanup_frame {
5196    pub __cancel_routine:
5197        ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
5198    pub __cancel_arg: *mut ::std::os::raw::c_void,
5199    pub __do_it: ::std::os::raw::c_int,
5200    pub __cancel_type: ::std::os::raw::c_int,
5201}
5202#[test]
5203fn bindgen_test_layout___pthread_cleanup_frame() {
5204    assert_eq!(
5205        ::std::mem::size_of::<__pthread_cleanup_frame>(),
5206        24usize,
5207        concat!("Size of: ", stringify!(__pthread_cleanup_frame))
5208    );
5209    assert_eq!(
5210        ::std::mem::align_of::<__pthread_cleanup_frame>(),
5211        8usize,
5212        concat!("Alignment of ", stringify!(__pthread_cleanup_frame))
5213    );
5214    assert_eq!(
5215        unsafe {
5216            &(*(::std::ptr::null::<__pthread_cleanup_frame>())).__cancel_routine as *const _
5217                as usize
5218        },
5219        0usize,
5220        concat!(
5221            "Offset of field: ",
5222            stringify!(__pthread_cleanup_frame),
5223            "::",
5224            stringify!(__cancel_routine)
5225        )
5226    );
5227    assert_eq!(
5228        unsafe {
5229            &(*(::std::ptr::null::<__pthread_cleanup_frame>())).__cancel_arg as *const _ as usize
5230        },
5231        8usize,
5232        concat!(
5233            "Offset of field: ",
5234            stringify!(__pthread_cleanup_frame),
5235            "::",
5236            stringify!(__cancel_arg)
5237        )
5238    );
5239    assert_eq!(
5240        unsafe { &(*(::std::ptr::null::<__pthread_cleanup_frame>())).__do_it as *const _ as usize },
5241        16usize,
5242        concat!(
5243            "Offset of field: ",
5244            stringify!(__pthread_cleanup_frame),
5245            "::",
5246            stringify!(__do_it)
5247        )
5248    );
5249    assert_eq!(
5250        unsafe {
5251            &(*(::std::ptr::null::<__pthread_cleanup_frame>())).__cancel_type as *const _ as usize
5252        },
5253        20usize,
5254        concat!(
5255            "Offset of field: ",
5256            stringify!(__pthread_cleanup_frame),
5257            "::",
5258            stringify!(__cancel_type)
5259        )
5260    );
5261}
5262impl Default for __pthread_cleanup_frame {
5263    fn default() -> Self {
5264        unsafe { ::std::mem::zeroed() }
5265    }
5266}
5267extern "C" {
5268    pub fn __pthread_register_cancel(__buf: *mut __pthread_unwind_buf_t);
5269}
5270extern "C" {
5271    pub fn __pthread_unregister_cancel(__buf: *mut __pthread_unwind_buf_t);
5272}
5273extern "C" {
5274    pub fn __pthread_unwind_next(__buf: *mut __pthread_unwind_buf_t);
5275}
5276extern "C" {
5277    pub fn __sigsetjmp(
5278        __env: *mut __jmp_buf_tag,
5279        __savemask: ::std::os::raw::c_int,
5280    ) -> ::std::os::raw::c_int;
5281}
5282extern "C" {
5283    pub fn pthread_mutex_init(
5284        __mutex: *mut pthread_mutex_t,
5285        __mutexattr: *const pthread_mutexattr_t,
5286    ) -> ::std::os::raw::c_int;
5287}
5288extern "C" {
5289    pub fn pthread_mutex_destroy(__mutex: *mut pthread_mutex_t) -> ::std::os::raw::c_int;
5290}
5291extern "C" {
5292    pub fn pthread_mutex_trylock(__mutex: *mut pthread_mutex_t) -> ::std::os::raw::c_int;
5293}
5294extern "C" {
5295    pub fn pthread_mutex_lock(__mutex: *mut pthread_mutex_t) -> ::std::os::raw::c_int;
5296}
5297extern "C" {
5298    pub fn pthread_mutex_timedlock(
5299        __mutex: *mut pthread_mutex_t,
5300        __abstime: *const timespec,
5301    ) -> ::std::os::raw::c_int;
5302}
5303extern "C" {
5304    pub fn pthread_mutex_unlock(__mutex: *mut pthread_mutex_t) -> ::std::os::raw::c_int;
5305}
5306extern "C" {
5307    pub fn pthread_mutex_getprioceiling(
5308        __mutex: *const pthread_mutex_t,
5309        __prioceiling: *mut ::std::os::raw::c_int,
5310    ) -> ::std::os::raw::c_int;
5311}
5312extern "C" {
5313    pub fn pthread_mutex_setprioceiling(
5314        __mutex: *mut pthread_mutex_t,
5315        __prioceiling: ::std::os::raw::c_int,
5316        __old_ceiling: *mut ::std::os::raw::c_int,
5317    ) -> ::std::os::raw::c_int;
5318}
5319extern "C" {
5320    pub fn pthread_mutex_consistent(__mutex: *mut pthread_mutex_t) -> ::std::os::raw::c_int;
5321}
5322extern "C" {
5323    pub fn pthread_mutexattr_init(__attr: *mut pthread_mutexattr_t) -> ::std::os::raw::c_int;
5324}
5325extern "C" {
5326    pub fn pthread_mutexattr_destroy(__attr: *mut pthread_mutexattr_t) -> ::std::os::raw::c_int;
5327}
5328extern "C" {
5329    pub fn pthread_mutexattr_getpshared(
5330        __attr: *const pthread_mutexattr_t,
5331        __pshared: *mut ::std::os::raw::c_int,
5332    ) -> ::std::os::raw::c_int;
5333}
5334extern "C" {
5335    pub fn pthread_mutexattr_setpshared(
5336        __attr: *mut pthread_mutexattr_t,
5337        __pshared: ::std::os::raw::c_int,
5338    ) -> ::std::os::raw::c_int;
5339}
5340extern "C" {
5341    pub fn pthread_mutexattr_gettype(
5342        __attr: *const pthread_mutexattr_t,
5343        __kind: *mut ::std::os::raw::c_int,
5344    ) -> ::std::os::raw::c_int;
5345}
5346extern "C" {
5347    pub fn pthread_mutexattr_settype(
5348        __attr: *mut pthread_mutexattr_t,
5349        __kind: ::std::os::raw::c_int,
5350    ) -> ::std::os::raw::c_int;
5351}
5352extern "C" {
5353    pub fn pthread_mutexattr_getprotocol(
5354        __attr: *const pthread_mutexattr_t,
5355        __protocol: *mut ::std::os::raw::c_int,
5356    ) -> ::std::os::raw::c_int;
5357}
5358extern "C" {
5359    pub fn pthread_mutexattr_setprotocol(
5360        __attr: *mut pthread_mutexattr_t,
5361        __protocol: ::std::os::raw::c_int,
5362    ) -> ::std::os::raw::c_int;
5363}
5364extern "C" {
5365    pub fn pthread_mutexattr_getprioceiling(
5366        __attr: *const pthread_mutexattr_t,
5367        __prioceiling: *mut ::std::os::raw::c_int,
5368    ) -> ::std::os::raw::c_int;
5369}
5370extern "C" {
5371    pub fn pthread_mutexattr_setprioceiling(
5372        __attr: *mut pthread_mutexattr_t,
5373        __prioceiling: ::std::os::raw::c_int,
5374    ) -> ::std::os::raw::c_int;
5375}
5376extern "C" {
5377    pub fn pthread_mutexattr_getrobust(
5378        __attr: *const pthread_mutexattr_t,
5379        __robustness: *mut ::std::os::raw::c_int,
5380    ) -> ::std::os::raw::c_int;
5381}
5382extern "C" {
5383    pub fn pthread_mutexattr_setrobust(
5384        __attr: *mut pthread_mutexattr_t,
5385        __robustness: ::std::os::raw::c_int,
5386    ) -> ::std::os::raw::c_int;
5387}
5388extern "C" {
5389    pub fn pthread_rwlock_init(
5390        __rwlock: *mut pthread_rwlock_t,
5391        __attr: *const pthread_rwlockattr_t,
5392    ) -> ::std::os::raw::c_int;
5393}
5394extern "C" {
5395    pub fn pthread_rwlock_destroy(__rwlock: *mut pthread_rwlock_t) -> ::std::os::raw::c_int;
5396}
5397extern "C" {
5398    pub fn pthread_rwlock_rdlock(__rwlock: *mut pthread_rwlock_t) -> ::std::os::raw::c_int;
5399}
5400extern "C" {
5401    pub fn pthread_rwlock_tryrdlock(__rwlock: *mut pthread_rwlock_t) -> ::std::os::raw::c_int;
5402}
5403extern "C" {
5404    pub fn pthread_rwlock_timedrdlock(
5405        __rwlock: *mut pthread_rwlock_t,
5406        __abstime: *const timespec,
5407    ) -> ::std::os::raw::c_int;
5408}
5409extern "C" {
5410    pub fn pthread_rwlock_wrlock(__rwlock: *mut pthread_rwlock_t) -> ::std::os::raw::c_int;
5411}
5412extern "C" {
5413    pub fn pthread_rwlock_trywrlock(__rwlock: *mut pthread_rwlock_t) -> ::std::os::raw::c_int;
5414}
5415extern "C" {
5416    pub fn pthread_rwlock_timedwrlock(
5417        __rwlock: *mut pthread_rwlock_t,
5418        __abstime: *const timespec,
5419    ) -> ::std::os::raw::c_int;
5420}
5421extern "C" {
5422    pub fn pthread_rwlock_unlock(__rwlock: *mut pthread_rwlock_t) -> ::std::os::raw::c_int;
5423}
5424extern "C" {
5425    pub fn pthread_rwlockattr_init(__attr: *mut pthread_rwlockattr_t) -> ::std::os::raw::c_int;
5426}
5427extern "C" {
5428    pub fn pthread_rwlockattr_destroy(__attr: *mut pthread_rwlockattr_t) -> ::std::os::raw::c_int;
5429}
5430extern "C" {
5431    pub fn pthread_rwlockattr_getpshared(
5432        __attr: *const pthread_rwlockattr_t,
5433        __pshared: *mut ::std::os::raw::c_int,
5434    ) -> ::std::os::raw::c_int;
5435}
5436extern "C" {
5437    pub fn pthread_rwlockattr_setpshared(
5438        __attr: *mut pthread_rwlockattr_t,
5439        __pshared: ::std::os::raw::c_int,
5440    ) -> ::std::os::raw::c_int;
5441}
5442extern "C" {
5443    pub fn pthread_rwlockattr_getkind_np(
5444        __attr: *const pthread_rwlockattr_t,
5445        __pref: *mut ::std::os::raw::c_int,
5446    ) -> ::std::os::raw::c_int;
5447}
5448extern "C" {
5449    pub fn pthread_rwlockattr_setkind_np(
5450        __attr: *mut pthread_rwlockattr_t,
5451        __pref: ::std::os::raw::c_int,
5452    ) -> ::std::os::raw::c_int;
5453}
5454extern "C" {
5455    pub fn pthread_cond_init(
5456        __cond: *mut pthread_cond_t,
5457        __cond_attr: *const pthread_condattr_t,
5458    ) -> ::std::os::raw::c_int;
5459}
5460extern "C" {
5461    pub fn pthread_cond_destroy(__cond: *mut pthread_cond_t) -> ::std::os::raw::c_int;
5462}
5463extern "C" {
5464    pub fn pthread_cond_signal(__cond: *mut pthread_cond_t) -> ::std::os::raw::c_int;
5465}
5466extern "C" {
5467    pub fn pthread_cond_broadcast(__cond: *mut pthread_cond_t) -> ::std::os::raw::c_int;
5468}
5469extern "C" {
5470    pub fn pthread_cond_wait(
5471        __cond: *mut pthread_cond_t,
5472        __mutex: *mut pthread_mutex_t,
5473    ) -> ::std::os::raw::c_int;
5474}
5475extern "C" {
5476    pub fn pthread_cond_timedwait(
5477        __cond: *mut pthread_cond_t,
5478        __mutex: *mut pthread_mutex_t,
5479        __abstime: *const timespec,
5480    ) -> ::std::os::raw::c_int;
5481}
5482extern "C" {
5483    pub fn pthread_condattr_init(__attr: *mut pthread_condattr_t) -> ::std::os::raw::c_int;
5484}
5485extern "C" {
5486    pub fn pthread_condattr_destroy(__attr: *mut pthread_condattr_t) -> ::std::os::raw::c_int;
5487}
5488extern "C" {
5489    pub fn pthread_condattr_getpshared(
5490        __attr: *const pthread_condattr_t,
5491        __pshared: *mut ::std::os::raw::c_int,
5492    ) -> ::std::os::raw::c_int;
5493}
5494extern "C" {
5495    pub fn pthread_condattr_setpshared(
5496        __attr: *mut pthread_condattr_t,
5497        __pshared: ::std::os::raw::c_int,
5498    ) -> ::std::os::raw::c_int;
5499}
5500extern "C" {
5501    pub fn pthread_condattr_getclock(
5502        __attr: *const pthread_condattr_t,
5503        __clock_id: *mut __clockid_t,
5504    ) -> ::std::os::raw::c_int;
5505}
5506extern "C" {
5507    pub fn pthread_condattr_setclock(
5508        __attr: *mut pthread_condattr_t,
5509        __clock_id: __clockid_t,
5510    ) -> ::std::os::raw::c_int;
5511}
5512extern "C" {
5513    pub fn pthread_spin_init(
5514        __lock: *mut pthread_spinlock_t,
5515        __pshared: ::std::os::raw::c_int,
5516    ) -> ::std::os::raw::c_int;
5517}
5518extern "C" {
5519    pub fn pthread_spin_destroy(__lock: *mut pthread_spinlock_t) -> ::std::os::raw::c_int;
5520}
5521extern "C" {
5522    pub fn pthread_spin_lock(__lock: *mut pthread_spinlock_t) -> ::std::os::raw::c_int;
5523}
5524extern "C" {
5525    pub fn pthread_spin_trylock(__lock: *mut pthread_spinlock_t) -> ::std::os::raw::c_int;
5526}
5527extern "C" {
5528    pub fn pthread_spin_unlock(__lock: *mut pthread_spinlock_t) -> ::std::os::raw::c_int;
5529}
5530extern "C" {
5531    pub fn pthread_barrier_init(
5532        __barrier: *mut pthread_barrier_t,
5533        __attr: *const pthread_barrierattr_t,
5534        __count: ::std::os::raw::c_uint,
5535    ) -> ::std::os::raw::c_int;
5536}
5537extern "C" {
5538    pub fn pthread_barrier_destroy(__barrier: *mut pthread_barrier_t) -> ::std::os::raw::c_int;
5539}
5540extern "C" {
5541    pub fn pthread_barrier_wait(__barrier: *mut pthread_barrier_t) -> ::std::os::raw::c_int;
5542}
5543extern "C" {
5544    pub fn pthread_barrierattr_init(__attr: *mut pthread_barrierattr_t) -> ::std::os::raw::c_int;
5545}
5546extern "C" {
5547    pub fn pthread_barrierattr_destroy(__attr: *mut pthread_barrierattr_t)
5548        -> ::std::os::raw::c_int;
5549}
5550extern "C" {
5551    pub fn pthread_barrierattr_getpshared(
5552        __attr: *const pthread_barrierattr_t,
5553        __pshared: *mut ::std::os::raw::c_int,
5554    ) -> ::std::os::raw::c_int;
5555}
5556extern "C" {
5557    pub fn pthread_barrierattr_setpshared(
5558        __attr: *mut pthread_barrierattr_t,
5559        __pshared: ::std::os::raw::c_int,
5560    ) -> ::std::os::raw::c_int;
5561}
5562extern "C" {
5563    pub fn pthread_key_create(
5564        __key: *mut pthread_key_t,
5565        __destr_function: ::std::option::Option<
5566            unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void),
5567        >,
5568    ) -> ::std::os::raw::c_int;
5569}
5570extern "C" {
5571    pub fn pthread_key_delete(__key: pthread_key_t) -> ::std::os::raw::c_int;
5572}
5573extern "C" {
5574    pub fn pthread_getspecific(__key: pthread_key_t) -> *mut ::std::os::raw::c_void;
5575}
5576extern "C" {
5577    pub fn pthread_setspecific(
5578        __key: pthread_key_t,
5579        __pointer: *const ::std::os::raw::c_void,
5580    ) -> ::std::os::raw::c_int;
5581}
5582extern "C" {
5583    pub fn pthread_getcpuclockid(
5584        __thread_id: pthread_t,
5585        __clock_id: *mut __clockid_t,
5586    ) -> ::std::os::raw::c_int;
5587}
5588extern "C" {
5589    pub fn pthread_atfork(
5590        __prepare: ::std::option::Option<unsafe extern "C" fn()>,
5591        __parent: ::std::option::Option<unsafe extern "C" fn()>,
5592        __child: ::std::option::Option<unsafe extern "C" fn()>,
5593    ) -> ::std::os::raw::c_int;
5594}
5595pub type db_size_t = usize;
5596pub type db_ssize_t = isize;
5597pub type db_seq_t = ::std::os::raw::c_long;
5598pub type db_threadid_t = pthread_t;
5599pub type db_pgno_t = u_int32_t;
5600pub type db_indx_t = u_int16_t;
5601pub type db_recno_t = u_int32_t;
5602pub type db_timeout_t = u_int32_t;
5603pub type roff_t = db_size_t;
5604#[repr(C)]
5605#[derive(Debug, Copy, Clone)]
5606pub struct __channel {
5607    _unused: [u8; 0],
5608}
5609pub type CHANNEL = __channel;
5610pub type DB = __db;
5611pub type DB_BTREE_STAT = __db_bt_stat;
5612pub type DB_CHANNEL = __db_channel;
5613#[repr(C)]
5614#[derive(Debug, Copy, Clone)]
5615pub struct __db_cipher {
5616    _unused: [u8; 0],
5617}
5618pub type DB_CIPHER = __db_cipher;
5619pub type DB_COMPACT = __db_compact;
5620pub type DBT = __db_dbt;
5621pub type DB_DISTAB = __db_distab;
5622pub type DB_ENV = __db_env;
5623pub type DB_HASH_STAT = __db_h_stat;
5624pub type DB_HEAP_RID = __db_heap_rid;
5625pub type DB_HEAP_STAT = __db_heap_stat;
5626pub type DB_LOCK_ILOCK = __db_ilock;
5627pub type DB_LOCK_HSTAT = __db_lock_hstat;
5628pub type DB_LOCK_PSTAT = __db_lock_pstat;
5629pub type DB_LOCK_STAT = __db_lock_stat;
5630pub type DB_LOCK = __db_lock_u;
5631#[repr(C)]
5632#[derive(Debug, Copy, Clone)]
5633pub struct __db_locker {
5634    _unused: [u8; 0],
5635}
5636pub type DB_LOCKER = __db_locker;
5637pub type DB_LOCKREQ = __db_lockreq;
5638#[repr(C)]
5639#[derive(Debug, Copy, Clone)]
5640pub struct __db_locktab {
5641    _unused: [u8; 0],
5642}
5643pub type DB_LOCKTAB = __db_locktab;
5644#[repr(C)]
5645#[derive(Debug, Copy, Clone)]
5646pub struct __db_log {
5647    _unused: [u8; 0],
5648}
5649pub type DB_LOG = __db_log;
5650pub type DB_LOGC = __db_log_cursor;
5651pub type DB_LOG_STAT = __db_log_stat;
5652pub type DB_LSN = __db_lsn;
5653#[repr(C)]
5654#[derive(Debug, Copy, Clone)]
5655pub struct __db_mpool {
5656    _unused: [u8; 0],
5657}
5658pub type DB_MPOOL = __db_mpool;
5659pub type DB_MPOOL_FSTAT = __db_mpool_fstat;
5660pub type DB_MPOOL_STAT = __db_mpool_stat;
5661pub type DB_MPOOLFILE = __db_mpoolfile;
5662pub type DB_MUTEX_STAT = __db_mutex_stat;
5663#[repr(C)]
5664#[derive(Debug, Copy, Clone)]
5665pub struct __db_mutex_t {
5666    _unused: [u8; 0],
5667}
5668pub type DB_MUTEX = __db_mutex_t;
5669#[repr(C)]
5670#[derive(Debug, Copy, Clone)]
5671pub struct __db_mutexmgr {
5672    _unused: [u8; 0],
5673}
5674pub type DB_MUTEXMGR = __db_mutexmgr;
5675pub type DB_PREPLIST = __db_preplist;
5676pub type DB_QUEUE_STAT = __db_qam_stat;
5677#[repr(C)]
5678#[derive(Debug, Copy, Clone)]
5679pub struct __db_rep {
5680    _unused: [u8; 0],
5681}
5682pub type DB_REP = __db_rep;
5683pub type DB_REP_STAT = __db_rep_stat;
5684pub type DB_REPMGR_CONN_ERR = __db_repmgr_conn_err;
5685pub type DB_REPMGR_SITE = __db_repmgr_site;
5686pub type DB_REPMGR_STAT = __db_repmgr_stat;
5687pub type DB_SEQ_RECORD = __db_seq_record;
5688pub type DB_SEQUENCE_STAT = __db_seq_stat;
5689pub type DB_SITE = __db_site;
5690pub type DB_SEQUENCE = __db_sequence;
5691#[repr(C)]
5692#[derive(Debug, Copy, Clone)]
5693pub struct __db_thread_info {
5694    _unused: [u8; 0],
5695}
5696pub type DB_THREAD_INFO = __db_thread_info;
5697pub type DB_TXN = __db_txn;
5698pub type DB_TXN_ACTIVE = __db_txn_active;
5699pub type DB_TXN_STAT = __db_txn_stat;
5700pub type DB_TXN_TOKEN = __db_txn_token;
5701#[repr(C)]
5702#[derive(Debug, Copy, Clone)]
5703pub struct __db_txnmgr {
5704    _unused: [u8; 0],
5705}
5706pub type DB_TXNMGR = __db_txnmgr;
5707pub type DBC = __dbc;
5708#[repr(C)]
5709#[derive(Debug, Copy, Clone)]
5710pub struct __dbc_internal {
5711    _unused: [u8; 0],
5712}
5713pub type DBC_INTERNAL = __dbc_internal;
5714#[repr(C)]
5715#[derive(Debug, Copy, Clone)]
5716pub struct __env {
5717    _unused: [u8; 0],
5718}
5719pub type ENV = __env;
5720#[repr(C)]
5721#[derive(Debug, Copy, Clone)]
5722pub struct __fh_t {
5723    _unused: [u8; 0],
5724}
5725pub type DB_FH = __fh_t;
5726#[repr(C)]
5727#[derive(Debug, Copy, Clone)]
5728pub struct __fname {
5729    _unused: [u8; 0],
5730}
5731pub type FNAME = __fname;
5732pub type DB_KEY_RANGE = __key_range;
5733#[repr(C)]
5734#[derive(Debug, Copy, Clone)]
5735pub struct __mpoolfile {
5736    _unused: [u8; 0],
5737}
5738pub type MPOOLFILE = __mpoolfile;
5739pub type DB_LOG_VERIFY_CONFIG = __db_logvrfy_config;
5740#[repr(C)]
5741#[derive(Debug, Copy, Clone)]
5742pub struct __db_dbt {
5743    pub data: *mut ::std::os::raw::c_void,
5744    pub size: u_int32_t,
5745    pub ulen: u_int32_t,
5746    pub dlen: u_int32_t,
5747    pub doff: u_int32_t,
5748    pub app_data: *mut ::std::os::raw::c_void,
5749    pub flags: u_int32_t,
5750}
5751#[test]
5752fn bindgen_test_layout___db_dbt() {
5753    assert_eq!(
5754        ::std::mem::size_of::<__db_dbt>(),
5755        40usize,
5756        concat!("Size of: ", stringify!(__db_dbt))
5757    );
5758    assert_eq!(
5759        ::std::mem::align_of::<__db_dbt>(),
5760        8usize,
5761        concat!("Alignment of ", stringify!(__db_dbt))
5762    );
5763    assert_eq!(
5764        unsafe { &(*(::std::ptr::null::<__db_dbt>())).data as *const _ as usize },
5765        0usize,
5766        concat!(
5767            "Offset of field: ",
5768            stringify!(__db_dbt),
5769            "::",
5770            stringify!(data)
5771        )
5772    );
5773    assert_eq!(
5774        unsafe { &(*(::std::ptr::null::<__db_dbt>())).size as *const _ as usize },
5775        8usize,
5776        concat!(
5777            "Offset of field: ",
5778            stringify!(__db_dbt),
5779            "::",
5780            stringify!(size)
5781        )
5782    );
5783    assert_eq!(
5784        unsafe { &(*(::std::ptr::null::<__db_dbt>())).ulen as *const _ as usize },
5785        12usize,
5786        concat!(
5787            "Offset of field: ",
5788            stringify!(__db_dbt),
5789            "::",
5790            stringify!(ulen)
5791        )
5792    );
5793    assert_eq!(
5794        unsafe { &(*(::std::ptr::null::<__db_dbt>())).dlen as *const _ as usize },
5795        16usize,
5796        concat!(
5797            "Offset of field: ",
5798            stringify!(__db_dbt),
5799            "::",
5800            stringify!(dlen)
5801        )
5802    );
5803    assert_eq!(
5804        unsafe { &(*(::std::ptr::null::<__db_dbt>())).doff as *const _ as usize },
5805        20usize,
5806        concat!(
5807            "Offset of field: ",
5808            stringify!(__db_dbt),
5809            "::",
5810            stringify!(doff)
5811        )
5812    );
5813    assert_eq!(
5814        unsafe { &(*(::std::ptr::null::<__db_dbt>())).app_data as *const _ as usize },
5815        24usize,
5816        concat!(
5817            "Offset of field: ",
5818            stringify!(__db_dbt),
5819            "::",
5820            stringify!(app_data)
5821        )
5822    );
5823    assert_eq!(
5824        unsafe { &(*(::std::ptr::null::<__db_dbt>())).flags as *const _ as usize },
5825        32usize,
5826        concat!(
5827            "Offset of field: ",
5828            stringify!(__db_dbt),
5829            "::",
5830            stringify!(flags)
5831        )
5832    );
5833}
5834impl Default for __db_dbt {
5835    fn default() -> Self {
5836        unsafe { ::std::mem::zeroed() }
5837    }
5838}
5839pub type db_mutex_t = usize;
5840#[repr(C)]
5841#[derive(Debug, Default, Copy, Clone)]
5842pub struct __db_mutex_stat {
5843    pub st_mutex_align: u_int32_t,
5844    pub st_mutex_tas_spins: u_int32_t,
5845    pub st_mutex_init: u_int32_t,
5846    pub st_mutex_cnt: u_int32_t,
5847    pub st_mutex_max: u_int32_t,
5848    pub st_mutex_free: u_int32_t,
5849    pub st_mutex_inuse: u_int32_t,
5850    pub st_mutex_inuse_max: u_int32_t,
5851    pub st_region_wait: uintmax_t,
5852    pub st_region_nowait: uintmax_t,
5853    pub st_regsize: roff_t,
5854    pub st_regmax: roff_t,
5855}
5856#[test]
5857fn bindgen_test_layout___db_mutex_stat() {
5858    assert_eq!(
5859        ::std::mem::size_of::<__db_mutex_stat>(),
5860        64usize,
5861        concat!("Size of: ", stringify!(__db_mutex_stat))
5862    );
5863    assert_eq!(
5864        ::std::mem::align_of::<__db_mutex_stat>(),
5865        8usize,
5866        concat!("Alignment of ", stringify!(__db_mutex_stat))
5867    );
5868    assert_eq!(
5869        unsafe { &(*(::std::ptr::null::<__db_mutex_stat>())).st_mutex_align as *const _ as usize },
5870        0usize,
5871        concat!(
5872            "Offset of field: ",
5873            stringify!(__db_mutex_stat),
5874            "::",
5875            stringify!(st_mutex_align)
5876        )
5877    );
5878    assert_eq!(
5879        unsafe {
5880            &(*(::std::ptr::null::<__db_mutex_stat>())).st_mutex_tas_spins as *const _ as usize
5881        },
5882        4usize,
5883        concat!(
5884            "Offset of field: ",
5885            stringify!(__db_mutex_stat),
5886            "::",
5887            stringify!(st_mutex_tas_spins)
5888        )
5889    );
5890    assert_eq!(
5891        unsafe { &(*(::std::ptr::null::<__db_mutex_stat>())).st_mutex_init as *const _ as usize },
5892        8usize,
5893        concat!(
5894            "Offset of field: ",
5895            stringify!(__db_mutex_stat),
5896            "::",
5897            stringify!(st_mutex_init)
5898        )
5899    );
5900    assert_eq!(
5901        unsafe { &(*(::std::ptr::null::<__db_mutex_stat>())).st_mutex_cnt as *const _ as usize },
5902        12usize,
5903        concat!(
5904            "Offset of field: ",
5905            stringify!(__db_mutex_stat),
5906            "::",
5907            stringify!(st_mutex_cnt)
5908        )
5909    );
5910    assert_eq!(
5911        unsafe { &(*(::std::ptr::null::<__db_mutex_stat>())).st_mutex_max as *const _ as usize },
5912        16usize,
5913        concat!(
5914            "Offset of field: ",
5915            stringify!(__db_mutex_stat),
5916            "::",
5917            stringify!(st_mutex_max)
5918        )
5919    );
5920    assert_eq!(
5921        unsafe { &(*(::std::ptr::null::<__db_mutex_stat>())).st_mutex_free as *const _ as usize },
5922        20usize,
5923        concat!(
5924            "Offset of field: ",
5925            stringify!(__db_mutex_stat),
5926            "::",
5927            stringify!(st_mutex_free)
5928        )
5929    );
5930    assert_eq!(
5931        unsafe { &(*(::std::ptr::null::<__db_mutex_stat>())).st_mutex_inuse as *const _ as usize },
5932        24usize,
5933        concat!(
5934            "Offset of field: ",
5935            stringify!(__db_mutex_stat),
5936            "::",
5937            stringify!(st_mutex_inuse)
5938        )
5939    );
5940    assert_eq!(
5941        unsafe {
5942            &(*(::std::ptr::null::<__db_mutex_stat>())).st_mutex_inuse_max as *const _ as usize
5943        },
5944        28usize,
5945        concat!(
5946            "Offset of field: ",
5947            stringify!(__db_mutex_stat),
5948            "::",
5949            stringify!(st_mutex_inuse_max)
5950        )
5951    );
5952    assert_eq!(
5953        unsafe { &(*(::std::ptr::null::<__db_mutex_stat>())).st_region_wait as *const _ as usize },
5954        32usize,
5955        concat!(
5956            "Offset of field: ",
5957            stringify!(__db_mutex_stat),
5958            "::",
5959            stringify!(st_region_wait)
5960        )
5961    );
5962    assert_eq!(
5963        unsafe {
5964            &(*(::std::ptr::null::<__db_mutex_stat>())).st_region_nowait as *const _ as usize
5965        },
5966        40usize,
5967        concat!(
5968            "Offset of field: ",
5969            stringify!(__db_mutex_stat),
5970            "::",
5971            stringify!(st_region_nowait)
5972        )
5973    );
5974    assert_eq!(
5975        unsafe { &(*(::std::ptr::null::<__db_mutex_stat>())).st_regsize as *const _ as usize },
5976        48usize,
5977        concat!(
5978            "Offset of field: ",
5979            stringify!(__db_mutex_stat),
5980            "::",
5981            stringify!(st_regsize)
5982        )
5983    );
5984    assert_eq!(
5985        unsafe { &(*(::std::ptr::null::<__db_mutex_stat>())).st_regmax as *const _ as usize },
5986        56usize,
5987        concat!(
5988            "Offset of field: ",
5989            stringify!(__db_mutex_stat),
5990            "::",
5991            stringify!(st_regmax)
5992        )
5993    );
5994}
5995pub const db_lockmode_t_DB_LOCK_NG: db_lockmode_t = 0;
5996pub const db_lockmode_t_DB_LOCK_READ: db_lockmode_t = 1;
5997pub const db_lockmode_t_DB_LOCK_WRITE: db_lockmode_t = 2;
5998pub const db_lockmode_t_DB_LOCK_WAIT: db_lockmode_t = 3;
5999pub const db_lockmode_t_DB_LOCK_IWRITE: db_lockmode_t = 4;
6000pub const db_lockmode_t_DB_LOCK_IREAD: db_lockmode_t = 5;
6001pub const db_lockmode_t_DB_LOCK_IWR: db_lockmode_t = 6;
6002pub const db_lockmode_t_DB_LOCK_READ_UNCOMMITTED: db_lockmode_t = 7;
6003pub const db_lockmode_t_DB_LOCK_WWRITE: db_lockmode_t = 8;
6004pub type db_lockmode_t = u32;
6005pub const db_lockop_t_DB_LOCK_DUMP: db_lockop_t = 0;
6006pub const db_lockop_t_DB_LOCK_GET: db_lockop_t = 1;
6007pub const db_lockop_t_DB_LOCK_GET_TIMEOUT: db_lockop_t = 2;
6008pub const db_lockop_t_DB_LOCK_INHERIT: db_lockop_t = 3;
6009pub const db_lockop_t_DB_LOCK_PUT: db_lockop_t = 4;
6010pub const db_lockop_t_DB_LOCK_PUT_ALL: db_lockop_t = 5;
6011pub const db_lockop_t_DB_LOCK_PUT_OBJ: db_lockop_t = 6;
6012pub const db_lockop_t_DB_LOCK_PUT_READ: db_lockop_t = 7;
6013pub const db_lockop_t_DB_LOCK_TIMEOUT: db_lockop_t = 8;
6014pub const db_lockop_t_DB_LOCK_TRADE: db_lockop_t = 9;
6015pub const db_lockop_t_DB_LOCK_UPGRADE_WRITE: db_lockop_t = 10;
6016pub type db_lockop_t = u32;
6017pub const db_status_t_DB_LSTAT_ABORTED: db_status_t = 1;
6018pub const db_status_t_DB_LSTAT_EXPIRED: db_status_t = 2;
6019pub const db_status_t_DB_LSTAT_FREE: db_status_t = 3;
6020pub const db_status_t_DB_LSTAT_HELD: db_status_t = 4;
6021pub const db_status_t_DB_LSTAT_PENDING: db_status_t = 5;
6022pub const db_status_t_DB_LSTAT_WAITING: db_status_t = 6;
6023pub type db_status_t = u32;
6024#[repr(C)]
6025#[derive(Debug, Default, Copy, Clone)]
6026pub struct __db_lock_stat {
6027    pub st_id: u_int32_t,
6028    pub st_cur_maxid: u_int32_t,
6029    pub st_initlocks: u_int32_t,
6030    pub st_initlockers: u_int32_t,
6031    pub st_initobjects: u_int32_t,
6032    pub st_locks: u_int32_t,
6033    pub st_lockers: u_int32_t,
6034    pub st_objects: u_int32_t,
6035    pub st_maxlocks: u_int32_t,
6036    pub st_maxlockers: u_int32_t,
6037    pub st_maxobjects: u_int32_t,
6038    pub st_partitions: u_int32_t,
6039    pub st_tablesize: u_int32_t,
6040    pub st_nmodes: i32,
6041    pub st_nlockers: u_int32_t,
6042    pub st_nlocks: u_int32_t,
6043    pub st_maxnlocks: u_int32_t,
6044    pub st_maxhlocks: u_int32_t,
6045    pub st_locksteals: uintmax_t,
6046    pub st_maxlsteals: uintmax_t,
6047    pub st_maxnlockers: u_int32_t,
6048    pub st_nobjects: u_int32_t,
6049    pub st_maxnobjects: u_int32_t,
6050    pub st_maxhobjects: u_int32_t,
6051    pub st_objectsteals: uintmax_t,
6052    pub st_maxosteals: uintmax_t,
6053    pub st_nrequests: uintmax_t,
6054    pub st_nreleases: uintmax_t,
6055    pub st_nupgrade: uintmax_t,
6056    pub st_ndowngrade: uintmax_t,
6057    pub st_lock_wait: uintmax_t,
6058    pub st_lock_nowait: uintmax_t,
6059    pub st_ndeadlocks: uintmax_t,
6060    pub st_locktimeout: db_timeout_t,
6061    pub st_nlocktimeouts: uintmax_t,
6062    pub st_txntimeout: db_timeout_t,
6063    pub st_ntxntimeouts: uintmax_t,
6064    pub st_part_wait: uintmax_t,
6065    pub st_part_nowait: uintmax_t,
6066    pub st_part_max_wait: uintmax_t,
6067    pub st_part_max_nowait: uintmax_t,
6068    pub st_objs_wait: uintmax_t,
6069    pub st_objs_nowait: uintmax_t,
6070    pub st_lockers_wait: uintmax_t,
6071    pub st_lockers_nowait: uintmax_t,
6072    pub st_region_wait: uintmax_t,
6073    pub st_region_nowait: uintmax_t,
6074    pub st_hash_len: u_int32_t,
6075    pub st_regsize: roff_t,
6076}
6077#[test]
6078fn bindgen_test_layout___db_lock_stat() {
6079    assert_eq!(
6080        ::std::mem::size_of::<__db_lock_stat>(),
6081        304usize,
6082        concat!("Size of: ", stringify!(__db_lock_stat))
6083    );
6084    assert_eq!(
6085        ::std::mem::align_of::<__db_lock_stat>(),
6086        8usize,
6087        concat!("Alignment of ", stringify!(__db_lock_stat))
6088    );
6089    assert_eq!(
6090        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_id as *const _ as usize },
6091        0usize,
6092        concat!(
6093            "Offset of field: ",
6094            stringify!(__db_lock_stat),
6095            "::",
6096            stringify!(st_id)
6097        )
6098    );
6099    assert_eq!(
6100        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_cur_maxid as *const _ as usize },
6101        4usize,
6102        concat!(
6103            "Offset of field: ",
6104            stringify!(__db_lock_stat),
6105            "::",
6106            stringify!(st_cur_maxid)
6107        )
6108    );
6109    assert_eq!(
6110        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_initlocks as *const _ as usize },
6111        8usize,
6112        concat!(
6113            "Offset of field: ",
6114            stringify!(__db_lock_stat),
6115            "::",
6116            stringify!(st_initlocks)
6117        )
6118    );
6119    assert_eq!(
6120        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_initlockers as *const _ as usize },
6121        12usize,
6122        concat!(
6123            "Offset of field: ",
6124            stringify!(__db_lock_stat),
6125            "::",
6126            stringify!(st_initlockers)
6127        )
6128    );
6129    assert_eq!(
6130        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_initobjects as *const _ as usize },
6131        16usize,
6132        concat!(
6133            "Offset of field: ",
6134            stringify!(__db_lock_stat),
6135            "::",
6136            stringify!(st_initobjects)
6137        )
6138    );
6139    assert_eq!(
6140        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_locks as *const _ as usize },
6141        20usize,
6142        concat!(
6143            "Offset of field: ",
6144            stringify!(__db_lock_stat),
6145            "::",
6146            stringify!(st_locks)
6147        )
6148    );
6149    assert_eq!(
6150        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_lockers as *const _ as usize },
6151        24usize,
6152        concat!(
6153            "Offset of field: ",
6154            stringify!(__db_lock_stat),
6155            "::",
6156            stringify!(st_lockers)
6157        )
6158    );
6159    assert_eq!(
6160        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_objects as *const _ as usize },
6161        28usize,
6162        concat!(
6163            "Offset of field: ",
6164            stringify!(__db_lock_stat),
6165            "::",
6166            stringify!(st_objects)
6167        )
6168    );
6169    assert_eq!(
6170        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_maxlocks as *const _ as usize },
6171        32usize,
6172        concat!(
6173            "Offset of field: ",
6174            stringify!(__db_lock_stat),
6175            "::",
6176            stringify!(st_maxlocks)
6177        )
6178    );
6179    assert_eq!(
6180        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_maxlockers as *const _ as usize },
6181        36usize,
6182        concat!(
6183            "Offset of field: ",
6184            stringify!(__db_lock_stat),
6185            "::",
6186            stringify!(st_maxlockers)
6187        )
6188    );
6189    assert_eq!(
6190        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_maxobjects as *const _ as usize },
6191        40usize,
6192        concat!(
6193            "Offset of field: ",
6194            stringify!(__db_lock_stat),
6195            "::",
6196            stringify!(st_maxobjects)
6197        )
6198    );
6199    assert_eq!(
6200        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_partitions as *const _ as usize },
6201        44usize,
6202        concat!(
6203            "Offset of field: ",
6204            stringify!(__db_lock_stat),
6205            "::",
6206            stringify!(st_partitions)
6207        )
6208    );
6209    assert_eq!(
6210        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_tablesize as *const _ as usize },
6211        48usize,
6212        concat!(
6213            "Offset of field: ",
6214            stringify!(__db_lock_stat),
6215            "::",
6216            stringify!(st_tablesize)
6217        )
6218    );
6219    assert_eq!(
6220        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_nmodes as *const _ as usize },
6221        52usize,
6222        concat!(
6223            "Offset of field: ",
6224            stringify!(__db_lock_stat),
6225            "::",
6226            stringify!(st_nmodes)
6227        )
6228    );
6229    assert_eq!(
6230        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_nlockers as *const _ as usize },
6231        56usize,
6232        concat!(
6233            "Offset of field: ",
6234            stringify!(__db_lock_stat),
6235            "::",
6236            stringify!(st_nlockers)
6237        )
6238    );
6239    assert_eq!(
6240        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_nlocks as *const _ as usize },
6241        60usize,
6242        concat!(
6243            "Offset of field: ",
6244            stringify!(__db_lock_stat),
6245            "::",
6246            stringify!(st_nlocks)
6247        )
6248    );
6249    assert_eq!(
6250        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_maxnlocks as *const _ as usize },
6251        64usize,
6252        concat!(
6253            "Offset of field: ",
6254            stringify!(__db_lock_stat),
6255            "::",
6256            stringify!(st_maxnlocks)
6257        )
6258    );
6259    assert_eq!(
6260        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_maxhlocks as *const _ as usize },
6261        68usize,
6262        concat!(
6263            "Offset of field: ",
6264            stringify!(__db_lock_stat),
6265            "::",
6266            stringify!(st_maxhlocks)
6267        )
6268    );
6269    assert_eq!(
6270        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_locksteals as *const _ as usize },
6271        72usize,
6272        concat!(
6273            "Offset of field: ",
6274            stringify!(__db_lock_stat),
6275            "::",
6276            stringify!(st_locksteals)
6277        )
6278    );
6279    assert_eq!(
6280        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_maxlsteals as *const _ as usize },
6281        80usize,
6282        concat!(
6283            "Offset of field: ",
6284            stringify!(__db_lock_stat),
6285            "::",
6286            stringify!(st_maxlsteals)
6287        )
6288    );
6289    assert_eq!(
6290        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_maxnlockers as *const _ as usize },
6291        88usize,
6292        concat!(
6293            "Offset of field: ",
6294            stringify!(__db_lock_stat),
6295            "::",
6296            stringify!(st_maxnlockers)
6297        )
6298    );
6299    assert_eq!(
6300        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_nobjects as *const _ as usize },
6301        92usize,
6302        concat!(
6303            "Offset of field: ",
6304            stringify!(__db_lock_stat),
6305            "::",
6306            stringify!(st_nobjects)
6307        )
6308    );
6309    assert_eq!(
6310        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_maxnobjects as *const _ as usize },
6311        96usize,
6312        concat!(
6313            "Offset of field: ",
6314            stringify!(__db_lock_stat),
6315            "::",
6316            stringify!(st_maxnobjects)
6317        )
6318    );
6319    assert_eq!(
6320        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_maxhobjects as *const _ as usize },
6321        100usize,
6322        concat!(
6323            "Offset of field: ",
6324            stringify!(__db_lock_stat),
6325            "::",
6326            stringify!(st_maxhobjects)
6327        )
6328    );
6329    assert_eq!(
6330        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_objectsteals as *const _ as usize },
6331        104usize,
6332        concat!(
6333            "Offset of field: ",
6334            stringify!(__db_lock_stat),
6335            "::",
6336            stringify!(st_objectsteals)
6337        )
6338    );
6339    assert_eq!(
6340        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_maxosteals as *const _ as usize },
6341        112usize,
6342        concat!(
6343            "Offset of field: ",
6344            stringify!(__db_lock_stat),
6345            "::",
6346            stringify!(st_maxosteals)
6347        )
6348    );
6349    assert_eq!(
6350        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_nrequests as *const _ as usize },
6351        120usize,
6352        concat!(
6353            "Offset of field: ",
6354            stringify!(__db_lock_stat),
6355            "::",
6356            stringify!(st_nrequests)
6357        )
6358    );
6359    assert_eq!(
6360        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_nreleases as *const _ as usize },
6361        128usize,
6362        concat!(
6363            "Offset of field: ",
6364            stringify!(__db_lock_stat),
6365            "::",
6366            stringify!(st_nreleases)
6367        )
6368    );
6369    assert_eq!(
6370        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_nupgrade as *const _ as usize },
6371        136usize,
6372        concat!(
6373            "Offset of field: ",
6374            stringify!(__db_lock_stat),
6375            "::",
6376            stringify!(st_nupgrade)
6377        )
6378    );
6379    assert_eq!(
6380        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_ndowngrade as *const _ as usize },
6381        144usize,
6382        concat!(
6383            "Offset of field: ",
6384            stringify!(__db_lock_stat),
6385            "::",
6386            stringify!(st_ndowngrade)
6387        )
6388    );
6389    assert_eq!(
6390        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_lock_wait as *const _ as usize },
6391        152usize,
6392        concat!(
6393            "Offset of field: ",
6394            stringify!(__db_lock_stat),
6395            "::",
6396            stringify!(st_lock_wait)
6397        )
6398    );
6399    assert_eq!(
6400        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_lock_nowait as *const _ as usize },
6401        160usize,
6402        concat!(
6403            "Offset of field: ",
6404            stringify!(__db_lock_stat),
6405            "::",
6406            stringify!(st_lock_nowait)
6407        )
6408    );
6409    assert_eq!(
6410        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_ndeadlocks as *const _ as usize },
6411        168usize,
6412        concat!(
6413            "Offset of field: ",
6414            stringify!(__db_lock_stat),
6415            "::",
6416            stringify!(st_ndeadlocks)
6417        )
6418    );
6419    assert_eq!(
6420        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_locktimeout as *const _ as usize },
6421        176usize,
6422        concat!(
6423            "Offset of field: ",
6424            stringify!(__db_lock_stat),
6425            "::",
6426            stringify!(st_locktimeout)
6427        )
6428    );
6429    assert_eq!(
6430        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_nlocktimeouts as *const _ as usize },
6431        184usize,
6432        concat!(
6433            "Offset of field: ",
6434            stringify!(__db_lock_stat),
6435            "::",
6436            stringify!(st_nlocktimeouts)
6437        )
6438    );
6439    assert_eq!(
6440        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_txntimeout as *const _ as usize },
6441        192usize,
6442        concat!(
6443            "Offset of field: ",
6444            stringify!(__db_lock_stat),
6445            "::",
6446            stringify!(st_txntimeout)
6447        )
6448    );
6449    assert_eq!(
6450        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_ntxntimeouts as *const _ as usize },
6451        200usize,
6452        concat!(
6453            "Offset of field: ",
6454            stringify!(__db_lock_stat),
6455            "::",
6456            stringify!(st_ntxntimeouts)
6457        )
6458    );
6459    assert_eq!(
6460        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_part_wait as *const _ as usize },
6461        208usize,
6462        concat!(
6463            "Offset of field: ",
6464            stringify!(__db_lock_stat),
6465            "::",
6466            stringify!(st_part_wait)
6467        )
6468    );
6469    assert_eq!(
6470        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_part_nowait as *const _ as usize },
6471        216usize,
6472        concat!(
6473            "Offset of field: ",
6474            stringify!(__db_lock_stat),
6475            "::",
6476            stringify!(st_part_nowait)
6477        )
6478    );
6479    assert_eq!(
6480        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_part_max_wait as *const _ as usize },
6481        224usize,
6482        concat!(
6483            "Offset of field: ",
6484            stringify!(__db_lock_stat),
6485            "::",
6486            stringify!(st_part_max_wait)
6487        )
6488    );
6489    assert_eq!(
6490        unsafe {
6491            &(*(::std::ptr::null::<__db_lock_stat>())).st_part_max_nowait as *const _ as usize
6492        },
6493        232usize,
6494        concat!(
6495            "Offset of field: ",
6496            stringify!(__db_lock_stat),
6497            "::",
6498            stringify!(st_part_max_nowait)
6499        )
6500    );
6501    assert_eq!(
6502        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_objs_wait as *const _ as usize },
6503        240usize,
6504        concat!(
6505            "Offset of field: ",
6506            stringify!(__db_lock_stat),
6507            "::",
6508            stringify!(st_objs_wait)
6509        )
6510    );
6511    assert_eq!(
6512        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_objs_nowait as *const _ as usize },
6513        248usize,
6514        concat!(
6515            "Offset of field: ",
6516            stringify!(__db_lock_stat),
6517            "::",
6518            stringify!(st_objs_nowait)
6519        )
6520    );
6521    assert_eq!(
6522        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_lockers_wait as *const _ as usize },
6523        256usize,
6524        concat!(
6525            "Offset of field: ",
6526            stringify!(__db_lock_stat),
6527            "::",
6528            stringify!(st_lockers_wait)
6529        )
6530    );
6531    assert_eq!(
6532        unsafe {
6533            &(*(::std::ptr::null::<__db_lock_stat>())).st_lockers_nowait as *const _ as usize
6534        },
6535        264usize,
6536        concat!(
6537            "Offset of field: ",
6538            stringify!(__db_lock_stat),
6539            "::",
6540            stringify!(st_lockers_nowait)
6541        )
6542    );
6543    assert_eq!(
6544        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_region_wait as *const _ as usize },
6545        272usize,
6546        concat!(
6547            "Offset of field: ",
6548            stringify!(__db_lock_stat),
6549            "::",
6550            stringify!(st_region_wait)
6551        )
6552    );
6553    assert_eq!(
6554        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_region_nowait as *const _ as usize },
6555        280usize,
6556        concat!(
6557            "Offset of field: ",
6558            stringify!(__db_lock_stat),
6559            "::",
6560            stringify!(st_region_nowait)
6561        )
6562    );
6563    assert_eq!(
6564        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_hash_len as *const _ as usize },
6565        288usize,
6566        concat!(
6567            "Offset of field: ",
6568            stringify!(__db_lock_stat),
6569            "::",
6570            stringify!(st_hash_len)
6571        )
6572    );
6573    assert_eq!(
6574        unsafe { &(*(::std::ptr::null::<__db_lock_stat>())).st_regsize as *const _ as usize },
6575        296usize,
6576        concat!(
6577            "Offset of field: ",
6578            stringify!(__db_lock_stat),
6579            "::",
6580            stringify!(st_regsize)
6581        )
6582    );
6583}
6584#[repr(C)]
6585#[derive(Debug, Default, Copy, Clone)]
6586pub struct __db_lock_hstat {
6587    pub st_nrequests: uintmax_t,
6588    pub st_nreleases: uintmax_t,
6589    pub st_nupgrade: uintmax_t,
6590    pub st_ndowngrade: uintmax_t,
6591    pub st_nlocks: u_int32_t,
6592    pub st_maxnlocks: u_int32_t,
6593    pub st_nobjects: u_int32_t,
6594    pub st_maxnobjects: u_int32_t,
6595    pub st_lock_wait: uintmax_t,
6596    pub st_lock_nowait: uintmax_t,
6597    pub st_nlocktimeouts: uintmax_t,
6598    pub st_ntxntimeouts: uintmax_t,
6599    pub st_hash_len: u_int32_t,
6600}
6601#[test]
6602fn bindgen_test_layout___db_lock_hstat() {
6603    assert_eq!(
6604        ::std::mem::size_of::<__db_lock_hstat>(),
6605        88usize,
6606        concat!("Size of: ", stringify!(__db_lock_hstat))
6607    );
6608    assert_eq!(
6609        ::std::mem::align_of::<__db_lock_hstat>(),
6610        8usize,
6611        concat!("Alignment of ", stringify!(__db_lock_hstat))
6612    );
6613    assert_eq!(
6614        unsafe { &(*(::std::ptr::null::<__db_lock_hstat>())).st_nrequests as *const _ as usize },
6615        0usize,
6616        concat!(
6617            "Offset of field: ",
6618            stringify!(__db_lock_hstat),
6619            "::",
6620            stringify!(st_nrequests)
6621        )
6622    );
6623    assert_eq!(
6624        unsafe { &(*(::std::ptr::null::<__db_lock_hstat>())).st_nreleases as *const _ as usize },
6625        8usize,
6626        concat!(
6627            "Offset of field: ",
6628            stringify!(__db_lock_hstat),
6629            "::",
6630            stringify!(st_nreleases)
6631        )
6632    );
6633    assert_eq!(
6634        unsafe { &(*(::std::ptr::null::<__db_lock_hstat>())).st_nupgrade as *const _ as usize },
6635        16usize,
6636        concat!(
6637            "Offset of field: ",
6638            stringify!(__db_lock_hstat),
6639            "::",
6640            stringify!(st_nupgrade)
6641        )
6642    );
6643    assert_eq!(
6644        unsafe { &(*(::std::ptr::null::<__db_lock_hstat>())).st_ndowngrade as *const _ as usize },
6645        24usize,
6646        concat!(
6647            "Offset of field: ",
6648            stringify!(__db_lock_hstat),
6649            "::",
6650            stringify!(st_ndowngrade)
6651        )
6652    );
6653    assert_eq!(
6654        unsafe { &(*(::std::ptr::null::<__db_lock_hstat>())).st_nlocks as *const _ as usize },
6655        32usize,
6656        concat!(
6657            "Offset of field: ",
6658            stringify!(__db_lock_hstat),
6659            "::",
6660            stringify!(st_nlocks)
6661        )
6662    );
6663    assert_eq!(
6664        unsafe { &(*(::std::ptr::null::<__db_lock_hstat>())).st_maxnlocks as *const _ as usize },
6665        36usize,
6666        concat!(
6667            "Offset of field: ",
6668            stringify!(__db_lock_hstat),
6669            "::",
6670            stringify!(st_maxnlocks)
6671        )
6672    );
6673    assert_eq!(
6674        unsafe { &(*(::std::ptr::null::<__db_lock_hstat>())).st_nobjects as *const _ as usize },
6675        40usize,
6676        concat!(
6677            "Offset of field: ",
6678            stringify!(__db_lock_hstat),
6679            "::",
6680            stringify!(st_nobjects)
6681        )
6682    );
6683    assert_eq!(
6684        unsafe { &(*(::std::ptr::null::<__db_lock_hstat>())).st_maxnobjects as *const _ as usize },
6685        44usize,
6686        concat!(
6687            "Offset of field: ",
6688            stringify!(__db_lock_hstat),
6689            "::",
6690            stringify!(st_maxnobjects)
6691        )
6692    );
6693    assert_eq!(
6694        unsafe { &(*(::std::ptr::null::<__db_lock_hstat>())).st_lock_wait as *const _ as usize },
6695        48usize,
6696        concat!(
6697            "Offset of field: ",
6698            stringify!(__db_lock_hstat),
6699            "::",
6700            stringify!(st_lock_wait)
6701        )
6702    );
6703    assert_eq!(
6704        unsafe { &(*(::std::ptr::null::<__db_lock_hstat>())).st_lock_nowait as *const _ as usize },
6705        56usize,
6706        concat!(
6707            "Offset of field: ",
6708            stringify!(__db_lock_hstat),
6709            "::",
6710            stringify!(st_lock_nowait)
6711        )
6712    );
6713    assert_eq!(
6714        unsafe {
6715            &(*(::std::ptr::null::<__db_lock_hstat>())).st_nlocktimeouts as *const _ as usize
6716        },
6717        64usize,
6718        concat!(
6719            "Offset of field: ",
6720            stringify!(__db_lock_hstat),
6721            "::",
6722            stringify!(st_nlocktimeouts)
6723        )
6724    );
6725    assert_eq!(
6726        unsafe { &(*(::std::ptr::null::<__db_lock_hstat>())).st_ntxntimeouts as *const _ as usize },
6727        72usize,
6728        concat!(
6729            "Offset of field: ",
6730            stringify!(__db_lock_hstat),
6731            "::",
6732            stringify!(st_ntxntimeouts)
6733        )
6734    );
6735    assert_eq!(
6736        unsafe { &(*(::std::ptr::null::<__db_lock_hstat>())).st_hash_len as *const _ as usize },
6737        80usize,
6738        concat!(
6739            "Offset of field: ",
6740            stringify!(__db_lock_hstat),
6741            "::",
6742            stringify!(st_hash_len)
6743        )
6744    );
6745}
6746#[repr(C)]
6747#[derive(Debug, Default, Copy, Clone)]
6748pub struct __db_lock_pstat {
6749    pub st_nlocks: u_int32_t,
6750    pub st_maxnlocks: u_int32_t,
6751    pub st_nobjects: u_int32_t,
6752    pub st_maxnobjects: u_int32_t,
6753    pub st_locksteals: uintmax_t,
6754    pub st_objectsteals: uintmax_t,
6755}
6756#[test]
6757fn bindgen_test_layout___db_lock_pstat() {
6758    assert_eq!(
6759        ::std::mem::size_of::<__db_lock_pstat>(),
6760        32usize,
6761        concat!("Size of: ", stringify!(__db_lock_pstat))
6762    );
6763    assert_eq!(
6764        ::std::mem::align_of::<__db_lock_pstat>(),
6765        8usize,
6766        concat!("Alignment of ", stringify!(__db_lock_pstat))
6767    );
6768    assert_eq!(
6769        unsafe { &(*(::std::ptr::null::<__db_lock_pstat>())).st_nlocks as *const _ as usize },
6770        0usize,
6771        concat!(
6772            "Offset of field: ",
6773            stringify!(__db_lock_pstat),
6774            "::",
6775            stringify!(st_nlocks)
6776        )
6777    );
6778    assert_eq!(
6779        unsafe { &(*(::std::ptr::null::<__db_lock_pstat>())).st_maxnlocks as *const _ as usize },
6780        4usize,
6781        concat!(
6782            "Offset of field: ",
6783            stringify!(__db_lock_pstat),
6784            "::",
6785            stringify!(st_maxnlocks)
6786        )
6787    );
6788    assert_eq!(
6789        unsafe { &(*(::std::ptr::null::<__db_lock_pstat>())).st_nobjects as *const _ as usize },
6790        8usize,
6791        concat!(
6792            "Offset of field: ",
6793            stringify!(__db_lock_pstat),
6794            "::",
6795            stringify!(st_nobjects)
6796        )
6797    );
6798    assert_eq!(
6799        unsafe { &(*(::std::ptr::null::<__db_lock_pstat>())).st_maxnobjects as *const _ as usize },
6800        12usize,
6801        concat!(
6802            "Offset of field: ",
6803            stringify!(__db_lock_pstat),
6804            "::",
6805            stringify!(st_maxnobjects)
6806        )
6807    );
6808    assert_eq!(
6809        unsafe { &(*(::std::ptr::null::<__db_lock_pstat>())).st_locksteals as *const _ as usize },
6810        16usize,
6811        concat!(
6812            "Offset of field: ",
6813            stringify!(__db_lock_pstat),
6814            "::",
6815            stringify!(st_locksteals)
6816        )
6817    );
6818    assert_eq!(
6819        unsafe { &(*(::std::ptr::null::<__db_lock_pstat>())).st_objectsteals as *const _ as usize },
6820        24usize,
6821        concat!(
6822            "Offset of field: ",
6823            stringify!(__db_lock_pstat),
6824            "::",
6825            stringify!(st_objectsteals)
6826        )
6827    );
6828}
6829#[repr(C)]
6830#[derive(Debug, Default, Copy, Clone)]
6831pub struct __db_ilock {
6832    pub pgno: db_pgno_t,
6833    pub fileid: [u_int8_t; 20usize],
6834    pub type_: u_int32_t,
6835}
6836#[test]
6837fn bindgen_test_layout___db_ilock() {
6838    assert_eq!(
6839        ::std::mem::size_of::<__db_ilock>(),
6840        28usize,
6841        concat!("Size of: ", stringify!(__db_ilock))
6842    );
6843    assert_eq!(
6844        ::std::mem::align_of::<__db_ilock>(),
6845        4usize,
6846        concat!("Alignment of ", stringify!(__db_ilock))
6847    );
6848    assert_eq!(
6849        unsafe { &(*(::std::ptr::null::<__db_ilock>())).pgno as *const _ as usize },
6850        0usize,
6851        concat!(
6852            "Offset of field: ",
6853            stringify!(__db_ilock),
6854            "::",
6855            stringify!(pgno)
6856        )
6857    );
6858    assert_eq!(
6859        unsafe { &(*(::std::ptr::null::<__db_ilock>())).fileid as *const _ as usize },
6860        4usize,
6861        concat!(
6862            "Offset of field: ",
6863            stringify!(__db_ilock),
6864            "::",
6865            stringify!(fileid)
6866        )
6867    );
6868    assert_eq!(
6869        unsafe { &(*(::std::ptr::null::<__db_ilock>())).type_ as *const _ as usize },
6870        24usize,
6871        concat!(
6872            "Offset of field: ",
6873            stringify!(__db_ilock),
6874            "::",
6875            stringify!(type_)
6876        )
6877    );
6878}
6879#[repr(C)]
6880#[derive(Debug, Copy, Clone)]
6881pub struct __db_lock_u {
6882    pub off: roff_t,
6883    pub ndx: u_int32_t,
6884    pub gen: u_int32_t,
6885    pub mode: db_lockmode_t,
6886}
6887#[test]
6888fn bindgen_test_layout___db_lock_u() {
6889    assert_eq!(
6890        ::std::mem::size_of::<__db_lock_u>(),
6891        24usize,
6892        concat!("Size of: ", stringify!(__db_lock_u))
6893    );
6894    assert_eq!(
6895        ::std::mem::align_of::<__db_lock_u>(),
6896        8usize,
6897        concat!("Alignment of ", stringify!(__db_lock_u))
6898    );
6899    assert_eq!(
6900        unsafe { &(*(::std::ptr::null::<__db_lock_u>())).off as *const _ as usize },
6901        0usize,
6902        concat!(
6903            "Offset of field: ",
6904            stringify!(__db_lock_u),
6905            "::",
6906            stringify!(off)
6907        )
6908    );
6909    assert_eq!(
6910        unsafe { &(*(::std::ptr::null::<__db_lock_u>())).ndx as *const _ as usize },
6911        8usize,
6912        concat!(
6913            "Offset of field: ",
6914            stringify!(__db_lock_u),
6915            "::",
6916            stringify!(ndx)
6917        )
6918    );
6919    assert_eq!(
6920        unsafe { &(*(::std::ptr::null::<__db_lock_u>())).gen as *const _ as usize },
6921        12usize,
6922        concat!(
6923            "Offset of field: ",
6924            stringify!(__db_lock_u),
6925            "::",
6926            stringify!(gen)
6927        )
6928    );
6929    assert_eq!(
6930        unsafe { &(*(::std::ptr::null::<__db_lock_u>())).mode as *const _ as usize },
6931        16usize,
6932        concat!(
6933            "Offset of field: ",
6934            stringify!(__db_lock_u),
6935            "::",
6936            stringify!(mode)
6937        )
6938    );
6939}
6940impl Default for __db_lock_u {
6941    fn default() -> Self {
6942        unsafe { ::std::mem::zeroed() }
6943    }
6944}
6945#[repr(C)]
6946#[derive(Debug, Copy, Clone)]
6947pub struct __db_lockreq {
6948    pub op: db_lockop_t,
6949    pub mode: db_lockmode_t,
6950    pub timeout: db_timeout_t,
6951    pub obj: *mut DBT,
6952    pub lock: DB_LOCK,
6953}
6954#[test]
6955fn bindgen_test_layout___db_lockreq() {
6956    assert_eq!(
6957        ::std::mem::size_of::<__db_lockreq>(),
6958        48usize,
6959        concat!("Size of: ", stringify!(__db_lockreq))
6960    );
6961    assert_eq!(
6962        ::std::mem::align_of::<__db_lockreq>(),
6963        8usize,
6964        concat!("Alignment of ", stringify!(__db_lockreq))
6965    );
6966    assert_eq!(
6967        unsafe { &(*(::std::ptr::null::<__db_lockreq>())).op as *const _ as usize },
6968        0usize,
6969        concat!(
6970            "Offset of field: ",
6971            stringify!(__db_lockreq),
6972            "::",
6973            stringify!(op)
6974        )
6975    );
6976    assert_eq!(
6977        unsafe { &(*(::std::ptr::null::<__db_lockreq>())).mode as *const _ as usize },
6978        4usize,
6979        concat!(
6980            "Offset of field: ",
6981            stringify!(__db_lockreq),
6982            "::",
6983            stringify!(mode)
6984        )
6985    );
6986    assert_eq!(
6987        unsafe { &(*(::std::ptr::null::<__db_lockreq>())).timeout as *const _ as usize },
6988        8usize,
6989        concat!(
6990            "Offset of field: ",
6991            stringify!(__db_lockreq),
6992            "::",
6993            stringify!(timeout)
6994        )
6995    );
6996    assert_eq!(
6997        unsafe { &(*(::std::ptr::null::<__db_lockreq>())).obj as *const _ as usize },
6998        16usize,
6999        concat!(
7000            "Offset of field: ",
7001            stringify!(__db_lockreq),
7002            "::",
7003            stringify!(obj)
7004        )
7005    );
7006    assert_eq!(
7007        unsafe { &(*(::std::ptr::null::<__db_lockreq>())).lock as *const _ as usize },
7008        24usize,
7009        concat!(
7010            "Offset of field: ",
7011            stringify!(__db_lockreq),
7012            "::",
7013            stringify!(lock)
7014        )
7015    );
7016}
7017impl Default for __db_lockreq {
7018    fn default() -> Self {
7019        unsafe { ::std::mem::zeroed() }
7020    }
7021}
7022#[repr(C)]
7023#[derive(Debug, Default, Copy, Clone)]
7024pub struct __db_lsn {
7025    pub file: u_int32_t,
7026    pub offset: u_int32_t,
7027}
7028#[test]
7029fn bindgen_test_layout___db_lsn() {
7030    assert_eq!(
7031        ::std::mem::size_of::<__db_lsn>(),
7032        8usize,
7033        concat!("Size of: ", stringify!(__db_lsn))
7034    );
7035    assert_eq!(
7036        ::std::mem::align_of::<__db_lsn>(),
7037        4usize,
7038        concat!("Alignment of ", stringify!(__db_lsn))
7039    );
7040    assert_eq!(
7041        unsafe { &(*(::std::ptr::null::<__db_lsn>())).file as *const _ as usize },
7042        0usize,
7043        concat!(
7044            "Offset of field: ",
7045            stringify!(__db_lsn),
7046            "::",
7047            stringify!(file)
7048        )
7049    );
7050    assert_eq!(
7051        unsafe { &(*(::std::ptr::null::<__db_lsn>())).offset as *const _ as usize },
7052        4usize,
7053        concat!(
7054            "Offset of field: ",
7055            stringify!(__db_lsn),
7056            "::",
7057            stringify!(offset)
7058        )
7059    );
7060}
7061#[repr(C)]
7062#[derive(Debug, Copy, Clone)]
7063pub struct __db_log_cursor {
7064    pub env: *mut ENV,
7065    pub fhp: *mut DB_FH,
7066    pub lsn: DB_LSN,
7067    pub len: u_int32_t,
7068    pub prev: u_int32_t,
7069    pub dbt: DBT,
7070    pub p_lsn: DB_LSN,
7071    pub p_version: u_int32_t,
7072    pub bp: *mut u_int8_t,
7073    pub bp_size: u_int32_t,
7074    pub bp_rlen: u_int32_t,
7075    pub bp_lsn: DB_LSN,
7076    pub bp_maxrec: u_int32_t,
7077    pub close: ::std::option::Option<
7078        unsafe extern "C" fn(arg1: *mut DB_LOGC, arg2: u_int32_t) -> ::std::os::raw::c_int,
7079    >,
7080    pub get: ::std::option::Option<
7081        unsafe extern "C" fn(
7082            arg1: *mut DB_LOGC,
7083            arg2: *mut DB_LSN,
7084            arg3: *mut DBT,
7085            arg4: u_int32_t,
7086        ) -> ::std::os::raw::c_int,
7087    >,
7088    pub version: ::std::option::Option<
7089        unsafe extern "C" fn(
7090            arg1: *mut DB_LOGC,
7091            arg2: *mut u_int32_t,
7092            arg3: u_int32_t,
7093        ) -> ::std::os::raw::c_int,
7094    >,
7095    pub flags: u_int32_t,
7096}
7097#[test]
7098fn bindgen_test_layout___db_log_cursor() {
7099    assert_eq!(
7100        ::std::mem::size_of::<__db_log_cursor>(),
7101        152usize,
7102        concat!("Size of: ", stringify!(__db_log_cursor))
7103    );
7104    assert_eq!(
7105        ::std::mem::align_of::<__db_log_cursor>(),
7106        8usize,
7107        concat!("Alignment of ", stringify!(__db_log_cursor))
7108    );
7109    assert_eq!(
7110        unsafe { &(*(::std::ptr::null::<__db_log_cursor>())).env as *const _ as usize },
7111        0usize,
7112        concat!(
7113            "Offset of field: ",
7114            stringify!(__db_log_cursor),
7115            "::",
7116            stringify!(env)
7117        )
7118    );
7119    assert_eq!(
7120        unsafe { &(*(::std::ptr::null::<__db_log_cursor>())).fhp as *const _ as usize },
7121        8usize,
7122        concat!(
7123            "Offset of field: ",
7124            stringify!(__db_log_cursor),
7125            "::",
7126            stringify!(fhp)
7127        )
7128    );
7129    assert_eq!(
7130        unsafe { &(*(::std::ptr::null::<__db_log_cursor>())).lsn as *const _ as usize },
7131        16usize,
7132        concat!(
7133            "Offset of field: ",
7134            stringify!(__db_log_cursor),
7135            "::",
7136            stringify!(lsn)
7137        )
7138    );
7139    assert_eq!(
7140        unsafe { &(*(::std::ptr::null::<__db_log_cursor>())).len as *const _ as usize },
7141        24usize,
7142        concat!(
7143            "Offset of field: ",
7144            stringify!(__db_log_cursor),
7145            "::",
7146            stringify!(len)
7147        )
7148    );
7149    assert_eq!(
7150        unsafe { &(*(::std::ptr::null::<__db_log_cursor>())).prev as *const _ as usize },
7151        28usize,
7152        concat!(
7153            "Offset of field: ",
7154            stringify!(__db_log_cursor),
7155            "::",
7156            stringify!(prev)
7157        )
7158    );
7159    assert_eq!(
7160        unsafe { &(*(::std::ptr::null::<__db_log_cursor>())).dbt as *const _ as usize },
7161        32usize,
7162        concat!(
7163            "Offset of field: ",
7164            stringify!(__db_log_cursor),
7165            "::",
7166            stringify!(dbt)
7167        )
7168    );
7169    assert_eq!(
7170        unsafe { &(*(::std::ptr::null::<__db_log_cursor>())).p_lsn as *const _ as usize },
7171        72usize,
7172        concat!(
7173            "Offset of field: ",
7174            stringify!(__db_log_cursor),
7175            "::",
7176            stringify!(p_lsn)
7177        )
7178    );
7179    assert_eq!(
7180        unsafe { &(*(::std::ptr::null::<__db_log_cursor>())).p_version as *const _ as usize },
7181        80usize,
7182        concat!(
7183            "Offset of field: ",
7184            stringify!(__db_log_cursor),
7185            "::",
7186            stringify!(p_version)
7187        )
7188    );
7189    assert_eq!(
7190        unsafe { &(*(::std::ptr::null::<__db_log_cursor>())).bp as *const _ as usize },
7191        88usize,
7192        concat!(
7193            "Offset of field: ",
7194            stringify!(__db_log_cursor),
7195            "::",
7196            stringify!(bp)
7197        )
7198    );
7199    assert_eq!(
7200        unsafe { &(*(::std::ptr::null::<__db_log_cursor>())).bp_size as *const _ as usize },
7201        96usize,
7202        concat!(
7203            "Offset of field: ",
7204            stringify!(__db_log_cursor),
7205            "::",
7206            stringify!(bp_size)
7207        )
7208    );
7209    assert_eq!(
7210        unsafe { &(*(::std::ptr::null::<__db_log_cursor>())).bp_rlen as *const _ as usize },
7211        100usize,
7212        concat!(
7213            "Offset of field: ",
7214            stringify!(__db_log_cursor),
7215            "::",
7216            stringify!(bp_rlen)
7217        )
7218    );
7219    assert_eq!(
7220        unsafe { &(*(::std::ptr::null::<__db_log_cursor>())).bp_lsn as *const _ as usize },
7221        104usize,
7222        concat!(
7223            "Offset of field: ",
7224            stringify!(__db_log_cursor),
7225            "::",
7226            stringify!(bp_lsn)
7227        )
7228    );
7229    assert_eq!(
7230        unsafe { &(*(::std::ptr::null::<__db_log_cursor>())).bp_maxrec as *const _ as usize },
7231        112usize,
7232        concat!(
7233            "Offset of field: ",
7234            stringify!(__db_log_cursor),
7235            "::",
7236            stringify!(bp_maxrec)
7237        )
7238    );
7239    assert_eq!(
7240        unsafe { &(*(::std::ptr::null::<__db_log_cursor>())).close as *const _ as usize },
7241        120usize,
7242        concat!(
7243            "Offset of field: ",
7244            stringify!(__db_log_cursor),
7245            "::",
7246            stringify!(close)
7247        )
7248    );
7249    assert_eq!(
7250        unsafe { &(*(::std::ptr::null::<__db_log_cursor>())).get as *const _ as usize },
7251        128usize,
7252        concat!(
7253            "Offset of field: ",
7254            stringify!(__db_log_cursor),
7255            "::",
7256            stringify!(get)
7257        )
7258    );
7259    assert_eq!(
7260        unsafe { &(*(::std::ptr::null::<__db_log_cursor>())).version as *const _ as usize },
7261        136usize,
7262        concat!(
7263            "Offset of field: ",
7264            stringify!(__db_log_cursor),
7265            "::",
7266            stringify!(version)
7267        )
7268    );
7269    assert_eq!(
7270        unsafe { &(*(::std::ptr::null::<__db_log_cursor>())).flags as *const _ as usize },
7271        144usize,
7272        concat!(
7273            "Offset of field: ",
7274            stringify!(__db_log_cursor),
7275            "::",
7276            stringify!(flags)
7277        )
7278    );
7279}
7280impl Default for __db_log_cursor {
7281    fn default() -> Self {
7282        unsafe { ::std::mem::zeroed() }
7283    }
7284}
7285#[repr(C)]
7286#[derive(Debug, Default, Copy, Clone)]
7287pub struct __db_log_stat {
7288    pub st_magic: u_int32_t,
7289    pub st_version: u_int32_t,
7290    pub st_mode: i32,
7291    pub st_lg_bsize: u_int32_t,
7292    pub st_lg_size: u_int32_t,
7293    pub st_wc_bytes: u_int32_t,
7294    pub st_wc_mbytes: u_int32_t,
7295    pub st_fileid_init: u_int32_t,
7296    pub st_nfileid: u_int32_t,
7297    pub st_maxnfileid: u_int32_t,
7298    pub st_record: uintmax_t,
7299    pub st_w_bytes: u_int32_t,
7300    pub st_w_mbytes: u_int32_t,
7301    pub st_wcount: uintmax_t,
7302    pub st_wcount_fill: uintmax_t,
7303    pub st_rcount: uintmax_t,
7304    pub st_scount: uintmax_t,
7305    pub st_region_wait: uintmax_t,
7306    pub st_region_nowait: uintmax_t,
7307    pub st_cur_file: u_int32_t,
7308    pub st_cur_offset: u_int32_t,
7309    pub st_disk_file: u_int32_t,
7310    pub st_disk_offset: u_int32_t,
7311    pub st_maxcommitperflush: u_int32_t,
7312    pub st_mincommitperflush: u_int32_t,
7313    pub st_regsize: roff_t,
7314}
7315#[test]
7316fn bindgen_test_layout___db_log_stat() {
7317    assert_eq!(
7318        ::std::mem::size_of::<__db_log_stat>(),
7319        136usize,
7320        concat!("Size of: ", stringify!(__db_log_stat))
7321    );
7322    assert_eq!(
7323        ::std::mem::align_of::<__db_log_stat>(),
7324        8usize,
7325        concat!("Alignment of ", stringify!(__db_log_stat))
7326    );
7327    assert_eq!(
7328        unsafe { &(*(::std::ptr::null::<__db_log_stat>())).st_magic as *const _ as usize },
7329        0usize,
7330        concat!(
7331            "Offset of field: ",
7332            stringify!(__db_log_stat),
7333            "::",
7334            stringify!(st_magic)
7335        )
7336    );
7337    assert_eq!(
7338        unsafe { &(*(::std::ptr::null::<__db_log_stat>())).st_version as *const _ as usize },
7339        4usize,
7340        concat!(
7341            "Offset of field: ",
7342            stringify!(__db_log_stat),
7343            "::",
7344            stringify!(st_version)
7345        )
7346    );
7347    assert_eq!(
7348        unsafe { &(*(::std::ptr::null::<__db_log_stat>())).st_mode as *const _ as usize },
7349        8usize,
7350        concat!(
7351            "Offset of field: ",
7352            stringify!(__db_log_stat),
7353            "::",
7354            stringify!(st_mode)
7355        )
7356    );
7357    assert_eq!(
7358        unsafe { &(*(::std::ptr::null::<__db_log_stat>())).st_lg_bsize as *const _ as usize },
7359        12usize,
7360        concat!(
7361            "Offset of field: ",
7362            stringify!(__db_log_stat),
7363            "::",
7364            stringify!(st_lg_bsize)
7365        )
7366    );
7367    assert_eq!(
7368        unsafe { &(*(::std::ptr::null::<__db_log_stat>())).st_lg_size as *const _ as usize },
7369        16usize,
7370        concat!(
7371            "Offset of field: ",
7372            stringify!(__db_log_stat),
7373            "::",
7374            stringify!(st_lg_size)
7375        )
7376    );
7377    assert_eq!(
7378        unsafe { &(*(::std::ptr::null::<__db_log_stat>())).st_wc_bytes as *const _ as usize },
7379        20usize,
7380        concat!(
7381            "Offset of field: ",
7382            stringify!(__db_log_stat),
7383            "::",
7384            stringify!(st_wc_bytes)
7385        )
7386    );
7387    assert_eq!(
7388        unsafe { &(*(::std::ptr::null::<__db_log_stat>())).st_wc_mbytes as *const _ as usize },
7389        24usize,
7390        concat!(
7391            "Offset of field: ",
7392            stringify!(__db_log_stat),
7393            "::",
7394            stringify!(st_wc_mbytes)
7395        )
7396    );
7397    assert_eq!(
7398        unsafe { &(*(::std::ptr::null::<__db_log_stat>())).st_fileid_init as *const _ as usize },
7399        28usize,
7400        concat!(
7401            "Offset of field: ",
7402            stringify!(__db_log_stat),
7403            "::",
7404            stringify!(st_fileid_init)
7405        )
7406    );
7407    assert_eq!(
7408        unsafe { &(*(::std::ptr::null::<__db_log_stat>())).st_nfileid as *const _ as usize },
7409        32usize,
7410        concat!(
7411            "Offset of field: ",
7412            stringify!(__db_log_stat),
7413            "::",
7414            stringify!(st_nfileid)
7415        )
7416    );
7417    assert_eq!(
7418        unsafe { &(*(::std::ptr::null::<__db_log_stat>())).st_maxnfileid as *const _ as usize },
7419        36usize,
7420        concat!(
7421            "Offset of field: ",
7422            stringify!(__db_log_stat),
7423            "::",
7424            stringify!(st_maxnfileid)
7425        )
7426    );
7427    assert_eq!(
7428        unsafe { &(*(::std::ptr::null::<__db_log_stat>())).st_record as *const _ as usize },
7429        40usize,
7430        concat!(
7431            "Offset of field: ",
7432            stringify!(__db_log_stat),
7433            "::",
7434            stringify!(st_record)
7435        )
7436    );
7437    assert_eq!(
7438        unsafe { &(*(::std::ptr::null::<__db_log_stat>())).st_w_bytes as *const _ as usize },
7439        48usize,
7440        concat!(
7441            "Offset of field: ",
7442            stringify!(__db_log_stat),
7443            "::",
7444            stringify!(st_w_bytes)
7445        )
7446    );
7447    assert_eq!(
7448        unsafe { &(*(::std::ptr::null::<__db_log_stat>())).st_w_mbytes as *const _ as usize },
7449        52usize,
7450        concat!(
7451            "Offset of field: ",
7452            stringify!(__db_log_stat),
7453            "::",
7454            stringify!(st_w_mbytes)
7455        )
7456    );
7457    assert_eq!(
7458        unsafe { &(*(::std::ptr::null::<__db_log_stat>())).st_wcount as *const _ as usize },
7459        56usize,
7460        concat!(
7461            "Offset of field: ",
7462            stringify!(__db_log_stat),
7463            "::",
7464            stringify!(st_wcount)
7465        )
7466    );
7467    assert_eq!(
7468        unsafe { &(*(::std::ptr::null::<__db_log_stat>())).st_wcount_fill as *const _ as usize },
7469        64usize,
7470        concat!(
7471            "Offset of field: ",
7472            stringify!(__db_log_stat),
7473            "::",
7474            stringify!(st_wcount_fill)
7475        )
7476    );
7477    assert_eq!(
7478        unsafe { &(*(::std::ptr::null::<__db_log_stat>())).st_rcount as *const _ as usize },
7479        72usize,
7480        concat!(
7481            "Offset of field: ",
7482            stringify!(__db_log_stat),
7483            "::",
7484            stringify!(st_rcount)
7485        )
7486    );
7487    assert_eq!(
7488        unsafe { &(*(::std::ptr::null::<__db_log_stat>())).st_scount as *const _ as usize },
7489        80usize,
7490        concat!(
7491            "Offset of field: ",
7492            stringify!(__db_log_stat),
7493            "::",
7494            stringify!(st_scount)
7495        )
7496    );
7497    assert_eq!(
7498        unsafe { &(*(::std::ptr::null::<__db_log_stat>())).st_region_wait as *const _ as usize },
7499        88usize,
7500        concat!(
7501            "Offset of field: ",
7502            stringify!(__db_log_stat),
7503            "::",
7504            stringify!(st_region_wait)
7505        )
7506    );
7507    assert_eq!(
7508        unsafe { &(*(::std::ptr::null::<__db_log_stat>())).st_region_nowait as *const _ as usize },
7509        96usize,
7510        concat!(
7511            "Offset of field: ",
7512            stringify!(__db_log_stat),
7513            "::",
7514            stringify!(st_region_nowait)
7515        )
7516    );
7517    assert_eq!(
7518        unsafe { &(*(::std::ptr::null::<__db_log_stat>())).st_cur_file as *const _ as usize },
7519        104usize,
7520        concat!(
7521            "Offset of field: ",
7522            stringify!(__db_log_stat),
7523            "::",
7524            stringify!(st_cur_file)
7525        )
7526    );
7527    assert_eq!(
7528        unsafe { &(*(::std::ptr::null::<__db_log_stat>())).st_cur_offset as *const _ as usize },
7529        108usize,
7530        concat!(
7531            "Offset of field: ",
7532            stringify!(__db_log_stat),
7533            "::",
7534            stringify!(st_cur_offset)
7535        )
7536    );
7537    assert_eq!(
7538        unsafe { &(*(::std::ptr::null::<__db_log_stat>())).st_disk_file as *const _ as usize },
7539        112usize,
7540        concat!(
7541            "Offset of field: ",
7542            stringify!(__db_log_stat),
7543            "::",
7544            stringify!(st_disk_file)
7545        )
7546    );
7547    assert_eq!(
7548        unsafe { &(*(::std::ptr::null::<__db_log_stat>())).st_disk_offset as *const _ as usize },
7549        116usize,
7550        concat!(
7551            "Offset of field: ",
7552            stringify!(__db_log_stat),
7553            "::",
7554            stringify!(st_disk_offset)
7555        )
7556    );
7557    assert_eq!(
7558        unsafe {
7559            &(*(::std::ptr::null::<__db_log_stat>())).st_maxcommitperflush as *const _ as usize
7560        },
7561        120usize,
7562        concat!(
7563            "Offset of field: ",
7564            stringify!(__db_log_stat),
7565            "::",
7566            stringify!(st_maxcommitperflush)
7567        )
7568    );
7569    assert_eq!(
7570        unsafe {
7571            &(*(::std::ptr::null::<__db_log_stat>())).st_mincommitperflush as *const _ as usize
7572        },
7573        124usize,
7574        concat!(
7575            "Offset of field: ",
7576            stringify!(__db_log_stat),
7577            "::",
7578            stringify!(st_mincommitperflush)
7579        )
7580    );
7581    assert_eq!(
7582        unsafe { &(*(::std::ptr::null::<__db_log_stat>())).st_regsize as *const _ as usize },
7583        128usize,
7584        concat!(
7585            "Offset of field: ",
7586            stringify!(__db_log_stat),
7587            "::",
7588            stringify!(st_regsize)
7589        )
7590    );
7591}
7592pub const log_rec_type_t_LOGREC_Done: log_rec_type_t = 0;
7593pub const log_rec_type_t_LOGREC_ARG: log_rec_type_t = 1;
7594pub const log_rec_type_t_LOGREC_HDR: log_rec_type_t = 2;
7595pub const log_rec_type_t_LOGREC_DATA: log_rec_type_t = 3;
7596pub const log_rec_type_t_LOGREC_DB: log_rec_type_t = 4;
7597pub const log_rec_type_t_LOGREC_DBOP: log_rec_type_t = 5;
7598pub const log_rec_type_t_LOGREC_DBT: log_rec_type_t = 6;
7599pub const log_rec_type_t_LOGREC_LOCKS: log_rec_type_t = 7;
7600pub const log_rec_type_t_LOGREC_OP: log_rec_type_t = 8;
7601pub const log_rec_type_t_LOGREC_PGDBT: log_rec_type_t = 9;
7602pub const log_rec_type_t_LOGREC_PGDDBT: log_rec_type_t = 10;
7603pub const log_rec_type_t_LOGREC_PGLIST: log_rec_type_t = 11;
7604pub const log_rec_type_t_LOGREC_POINTER: log_rec_type_t = 12;
7605pub const log_rec_type_t_LOGREC_TIME: log_rec_type_t = 13;
7606pub type log_rec_type_t = u32;
7607#[repr(C)]
7608#[derive(Debug, Copy, Clone)]
7609pub struct __log_rec_spec {
7610    pub type_: log_rec_type_t,
7611    pub offset: u_int32_t,
7612    pub name: *const ::std::os::raw::c_char,
7613    pub fmt: [::std::os::raw::c_char; 4usize],
7614}
7615#[test]
7616fn bindgen_test_layout___log_rec_spec() {
7617    assert_eq!(
7618        ::std::mem::size_of::<__log_rec_spec>(),
7619        24usize,
7620        concat!("Size of: ", stringify!(__log_rec_spec))
7621    );
7622    assert_eq!(
7623        ::std::mem::align_of::<__log_rec_spec>(),
7624        8usize,
7625        concat!("Alignment of ", stringify!(__log_rec_spec))
7626    );
7627    assert_eq!(
7628        unsafe { &(*(::std::ptr::null::<__log_rec_spec>())).type_ as *const _ as usize },
7629        0usize,
7630        concat!(
7631            "Offset of field: ",
7632            stringify!(__log_rec_spec),
7633            "::",
7634            stringify!(type_)
7635        )
7636    );
7637    assert_eq!(
7638        unsafe { &(*(::std::ptr::null::<__log_rec_spec>())).offset as *const _ as usize },
7639        4usize,
7640        concat!(
7641            "Offset of field: ",
7642            stringify!(__log_rec_spec),
7643            "::",
7644            stringify!(offset)
7645        )
7646    );
7647    assert_eq!(
7648        unsafe { &(*(::std::ptr::null::<__log_rec_spec>())).name as *const _ as usize },
7649        8usize,
7650        concat!(
7651            "Offset of field: ",
7652            stringify!(__log_rec_spec),
7653            "::",
7654            stringify!(name)
7655        )
7656    );
7657    assert_eq!(
7658        unsafe { &(*(::std::ptr::null::<__log_rec_spec>())).fmt as *const _ as usize },
7659        16usize,
7660        concat!(
7661            "Offset of field: ",
7662            stringify!(__log_rec_spec),
7663            "::",
7664            stringify!(fmt)
7665        )
7666    );
7667}
7668impl Default for __log_rec_spec {
7669    fn default() -> Self {
7670        unsafe { ::std::mem::zeroed() }
7671    }
7672}
7673pub type DB_LOG_RECSPEC = __log_rec_spec;
7674pub const DB_CACHE_PRIORITY_DB_PRIORITY_UNCHANGED: DB_CACHE_PRIORITY = 0;
7675pub const DB_CACHE_PRIORITY_DB_PRIORITY_VERY_LOW: DB_CACHE_PRIORITY = 1;
7676pub const DB_CACHE_PRIORITY_DB_PRIORITY_LOW: DB_CACHE_PRIORITY = 2;
7677pub const DB_CACHE_PRIORITY_DB_PRIORITY_DEFAULT: DB_CACHE_PRIORITY = 3;
7678pub const DB_CACHE_PRIORITY_DB_PRIORITY_HIGH: DB_CACHE_PRIORITY = 4;
7679pub const DB_CACHE_PRIORITY_DB_PRIORITY_VERY_HIGH: DB_CACHE_PRIORITY = 5;
7680pub type DB_CACHE_PRIORITY = u32;
7681#[repr(C)]
7682#[derive(Debug, Copy, Clone)]
7683pub struct __db_mpoolfile {
7684    pub fhp: *mut DB_FH,
7685    pub ref_: u_int32_t,
7686    pub pinref: u_int32_t,
7687    pub q: __db_mpoolfile__bindgen_ty_1,
7688    pub env: *mut ENV,
7689    pub mfp: *mut MPOOLFILE,
7690    pub clear_len: u_int32_t,
7691    pub fileid: [u_int8_t; 20usize],
7692    pub ftype: ::std::os::raw::c_int,
7693    pub lsn_offset: i32,
7694    pub gbytes: u_int32_t,
7695    pub bytes: u_int32_t,
7696    pub pgcookie: *mut DBT,
7697    pub priority: i32,
7698    pub addr: *mut ::std::os::raw::c_void,
7699    pub len: usize,
7700    pub config_flags: u_int32_t,
7701    pub close: ::std::option::Option<
7702        unsafe extern "C" fn(arg1: *mut DB_MPOOLFILE, arg2: u_int32_t) -> ::std::os::raw::c_int,
7703    >,
7704    pub get: ::std::option::Option<
7705        unsafe extern "C" fn(
7706            arg1: *mut DB_MPOOLFILE,
7707            arg2: *mut db_pgno_t,
7708            arg3: *mut DB_TXN,
7709            arg4: u_int32_t,
7710            arg5: *mut ::std::os::raw::c_void,
7711        ) -> ::std::os::raw::c_int,
7712    >,
7713    pub get_clear_len: ::std::option::Option<
7714        unsafe extern "C" fn(
7715            arg1: *mut DB_MPOOLFILE,
7716            arg2: *mut u_int32_t,
7717        ) -> ::std::os::raw::c_int,
7718    >,
7719    pub get_fileid: ::std::option::Option<
7720        unsafe extern "C" fn(arg1: *mut DB_MPOOLFILE, arg2: *mut u_int8_t) -> ::std::os::raw::c_int,
7721    >,
7722    pub get_flags: ::std::option::Option<
7723        unsafe extern "C" fn(
7724            arg1: *mut DB_MPOOLFILE,
7725            arg2: *mut u_int32_t,
7726        ) -> ::std::os::raw::c_int,
7727    >,
7728    pub get_ftype: ::std::option::Option<
7729        unsafe extern "C" fn(
7730            arg1: *mut DB_MPOOLFILE,
7731            arg2: *mut ::std::os::raw::c_int,
7732        ) -> ::std::os::raw::c_int,
7733    >,
7734    pub get_last_pgno: ::std::option::Option<
7735        unsafe extern "C" fn(
7736            arg1: *mut DB_MPOOLFILE,
7737            arg2: *mut db_pgno_t,
7738        ) -> ::std::os::raw::c_int,
7739    >,
7740    pub get_lsn_offset: ::std::option::Option<
7741        unsafe extern "C" fn(arg1: *mut DB_MPOOLFILE, arg2: *mut i32) -> ::std::os::raw::c_int,
7742    >,
7743    pub get_maxsize: ::std::option::Option<
7744        unsafe extern "C" fn(
7745            arg1: *mut DB_MPOOLFILE,
7746            arg2: *mut u_int32_t,
7747            arg3: *mut u_int32_t,
7748        ) -> ::std::os::raw::c_int,
7749    >,
7750    pub get_pgcookie: ::std::option::Option<
7751        unsafe extern "C" fn(arg1: *mut DB_MPOOLFILE, arg2: *mut DBT) -> ::std::os::raw::c_int,
7752    >,
7753    pub get_priority: ::std::option::Option<
7754        unsafe extern "C" fn(
7755            arg1: *mut DB_MPOOLFILE,
7756            arg2: *mut DB_CACHE_PRIORITY,
7757        ) -> ::std::os::raw::c_int,
7758    >,
7759    pub open: ::std::option::Option<
7760        unsafe extern "C" fn(
7761            arg1: *mut DB_MPOOLFILE,
7762            arg2: *const ::std::os::raw::c_char,
7763            arg3: u_int32_t,
7764            arg4: ::std::os::raw::c_int,
7765            arg5: usize,
7766        ) -> ::std::os::raw::c_int,
7767    >,
7768    pub put: ::std::option::Option<
7769        unsafe extern "C" fn(
7770            arg1: *mut DB_MPOOLFILE,
7771            arg2: *mut ::std::os::raw::c_void,
7772            arg3: DB_CACHE_PRIORITY,
7773            arg4: u_int32_t,
7774        ) -> ::std::os::raw::c_int,
7775    >,
7776    pub set_clear_len: ::std::option::Option<
7777        unsafe extern "C" fn(arg1: *mut DB_MPOOLFILE, arg2: u_int32_t) -> ::std::os::raw::c_int,
7778    >,
7779    pub set_fileid: ::std::option::Option<
7780        unsafe extern "C" fn(arg1: *mut DB_MPOOLFILE, arg2: *mut u_int8_t) -> ::std::os::raw::c_int,
7781    >,
7782    pub set_flags: ::std::option::Option<
7783        unsafe extern "C" fn(
7784            arg1: *mut DB_MPOOLFILE,
7785            arg2: u_int32_t,
7786            arg3: ::std::os::raw::c_int,
7787        ) -> ::std::os::raw::c_int,
7788    >,
7789    pub set_ftype: ::std::option::Option<
7790        unsafe extern "C" fn(
7791            arg1: *mut DB_MPOOLFILE,
7792            arg2: ::std::os::raw::c_int,
7793        ) -> ::std::os::raw::c_int,
7794    >,
7795    pub set_lsn_offset: ::std::option::Option<
7796        unsafe extern "C" fn(arg1: *mut DB_MPOOLFILE, arg2: i32) -> ::std::os::raw::c_int,
7797    >,
7798    pub set_maxsize: ::std::option::Option<
7799        unsafe extern "C" fn(
7800            arg1: *mut DB_MPOOLFILE,
7801            arg2: u_int32_t,
7802            arg3: u_int32_t,
7803        ) -> ::std::os::raw::c_int,
7804    >,
7805    pub set_pgcookie: ::std::option::Option<
7806        unsafe extern "C" fn(arg1: *mut DB_MPOOLFILE, arg2: *mut DBT) -> ::std::os::raw::c_int,
7807    >,
7808    pub set_priority: ::std::option::Option<
7809        unsafe extern "C" fn(
7810            arg1: *mut DB_MPOOLFILE,
7811            arg2: DB_CACHE_PRIORITY,
7812        ) -> ::std::os::raw::c_int,
7813    >,
7814    pub sync: ::std::option::Option<
7815        unsafe extern "C" fn(arg1: *mut DB_MPOOLFILE) -> ::std::os::raw::c_int,
7816    >,
7817    pub flags: u_int32_t,
7818}
7819#[repr(C)]
7820#[derive(Debug, Copy, Clone)]
7821pub struct __db_mpoolfile__bindgen_ty_1 {
7822    pub tqe_next: *mut __db_mpoolfile,
7823    pub tqe_prev: *mut *mut __db_mpoolfile,
7824}
7825#[test]
7826fn bindgen_test_layout___db_mpoolfile__bindgen_ty_1() {
7827    assert_eq!(
7828        ::std::mem::size_of::<__db_mpoolfile__bindgen_ty_1>(),
7829        16usize,
7830        concat!("Size of: ", stringify!(__db_mpoolfile__bindgen_ty_1))
7831    );
7832    assert_eq!(
7833        ::std::mem::align_of::<__db_mpoolfile__bindgen_ty_1>(),
7834        8usize,
7835        concat!("Alignment of ", stringify!(__db_mpoolfile__bindgen_ty_1))
7836    );
7837    assert_eq!(
7838        unsafe {
7839            &(*(::std::ptr::null::<__db_mpoolfile__bindgen_ty_1>())).tqe_next as *const _ as usize
7840        },
7841        0usize,
7842        concat!(
7843            "Offset of field: ",
7844            stringify!(__db_mpoolfile__bindgen_ty_1),
7845            "::",
7846            stringify!(tqe_next)
7847        )
7848    );
7849    assert_eq!(
7850        unsafe {
7851            &(*(::std::ptr::null::<__db_mpoolfile__bindgen_ty_1>())).tqe_prev as *const _ as usize
7852        },
7853        8usize,
7854        concat!(
7855            "Offset of field: ",
7856            stringify!(__db_mpoolfile__bindgen_ty_1),
7857            "::",
7858            stringify!(tqe_prev)
7859        )
7860    );
7861}
7862impl Default for __db_mpoolfile__bindgen_ty_1 {
7863    fn default() -> Self {
7864        unsafe { ::std::mem::zeroed() }
7865    }
7866}
7867#[test]
7868fn bindgen_test_layout___db_mpoolfile() {
7869    assert_eq!(
7870        ::std::mem::size_of::<__db_mpoolfile>(),
7871        312usize,
7872        concat!("Size of: ", stringify!(__db_mpoolfile))
7873    );
7874    assert_eq!(
7875        ::std::mem::align_of::<__db_mpoolfile>(),
7876        8usize,
7877        concat!("Alignment of ", stringify!(__db_mpoolfile))
7878    );
7879    assert_eq!(
7880        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).fhp as *const _ as usize },
7881        0usize,
7882        concat!(
7883            "Offset of field: ",
7884            stringify!(__db_mpoolfile),
7885            "::",
7886            stringify!(fhp)
7887        )
7888    );
7889    assert_eq!(
7890        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).ref_ as *const _ as usize },
7891        8usize,
7892        concat!(
7893            "Offset of field: ",
7894            stringify!(__db_mpoolfile),
7895            "::",
7896            stringify!(ref_)
7897        )
7898    );
7899    assert_eq!(
7900        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).pinref as *const _ as usize },
7901        12usize,
7902        concat!(
7903            "Offset of field: ",
7904            stringify!(__db_mpoolfile),
7905            "::",
7906            stringify!(pinref)
7907        )
7908    );
7909    assert_eq!(
7910        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).q as *const _ as usize },
7911        16usize,
7912        concat!(
7913            "Offset of field: ",
7914            stringify!(__db_mpoolfile),
7915            "::",
7916            stringify!(q)
7917        )
7918    );
7919    assert_eq!(
7920        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).env as *const _ as usize },
7921        32usize,
7922        concat!(
7923            "Offset of field: ",
7924            stringify!(__db_mpoolfile),
7925            "::",
7926            stringify!(env)
7927        )
7928    );
7929    assert_eq!(
7930        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).mfp as *const _ as usize },
7931        40usize,
7932        concat!(
7933            "Offset of field: ",
7934            stringify!(__db_mpoolfile),
7935            "::",
7936            stringify!(mfp)
7937        )
7938    );
7939    assert_eq!(
7940        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).clear_len as *const _ as usize },
7941        48usize,
7942        concat!(
7943            "Offset of field: ",
7944            stringify!(__db_mpoolfile),
7945            "::",
7946            stringify!(clear_len)
7947        )
7948    );
7949    assert_eq!(
7950        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).fileid as *const _ as usize },
7951        52usize,
7952        concat!(
7953            "Offset of field: ",
7954            stringify!(__db_mpoolfile),
7955            "::",
7956            stringify!(fileid)
7957        )
7958    );
7959    assert_eq!(
7960        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).ftype as *const _ as usize },
7961        72usize,
7962        concat!(
7963            "Offset of field: ",
7964            stringify!(__db_mpoolfile),
7965            "::",
7966            stringify!(ftype)
7967        )
7968    );
7969    assert_eq!(
7970        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).lsn_offset as *const _ as usize },
7971        76usize,
7972        concat!(
7973            "Offset of field: ",
7974            stringify!(__db_mpoolfile),
7975            "::",
7976            stringify!(lsn_offset)
7977        )
7978    );
7979    assert_eq!(
7980        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).gbytes as *const _ as usize },
7981        80usize,
7982        concat!(
7983            "Offset of field: ",
7984            stringify!(__db_mpoolfile),
7985            "::",
7986            stringify!(gbytes)
7987        )
7988    );
7989    assert_eq!(
7990        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).bytes as *const _ as usize },
7991        84usize,
7992        concat!(
7993            "Offset of field: ",
7994            stringify!(__db_mpoolfile),
7995            "::",
7996            stringify!(bytes)
7997        )
7998    );
7999    assert_eq!(
8000        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).pgcookie as *const _ as usize },
8001        88usize,
8002        concat!(
8003            "Offset of field: ",
8004            stringify!(__db_mpoolfile),
8005            "::",
8006            stringify!(pgcookie)
8007        )
8008    );
8009    assert_eq!(
8010        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).priority as *const _ as usize },
8011        96usize,
8012        concat!(
8013            "Offset of field: ",
8014            stringify!(__db_mpoolfile),
8015            "::",
8016            stringify!(priority)
8017        )
8018    );
8019    assert_eq!(
8020        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).addr as *const _ as usize },
8021        104usize,
8022        concat!(
8023            "Offset of field: ",
8024            stringify!(__db_mpoolfile),
8025            "::",
8026            stringify!(addr)
8027        )
8028    );
8029    assert_eq!(
8030        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).len as *const _ as usize },
8031        112usize,
8032        concat!(
8033            "Offset of field: ",
8034            stringify!(__db_mpoolfile),
8035            "::",
8036            stringify!(len)
8037        )
8038    );
8039    assert_eq!(
8040        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).config_flags as *const _ as usize },
8041        120usize,
8042        concat!(
8043            "Offset of field: ",
8044            stringify!(__db_mpoolfile),
8045            "::",
8046            stringify!(config_flags)
8047        )
8048    );
8049    assert_eq!(
8050        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).close as *const _ as usize },
8051        128usize,
8052        concat!(
8053            "Offset of field: ",
8054            stringify!(__db_mpoolfile),
8055            "::",
8056            stringify!(close)
8057        )
8058    );
8059    assert_eq!(
8060        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).get as *const _ as usize },
8061        136usize,
8062        concat!(
8063            "Offset of field: ",
8064            stringify!(__db_mpoolfile),
8065            "::",
8066            stringify!(get)
8067        )
8068    );
8069    assert_eq!(
8070        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).get_clear_len as *const _ as usize },
8071        144usize,
8072        concat!(
8073            "Offset of field: ",
8074            stringify!(__db_mpoolfile),
8075            "::",
8076            stringify!(get_clear_len)
8077        )
8078    );
8079    assert_eq!(
8080        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).get_fileid as *const _ as usize },
8081        152usize,
8082        concat!(
8083            "Offset of field: ",
8084            stringify!(__db_mpoolfile),
8085            "::",
8086            stringify!(get_fileid)
8087        )
8088    );
8089    assert_eq!(
8090        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).get_flags as *const _ as usize },
8091        160usize,
8092        concat!(
8093            "Offset of field: ",
8094            stringify!(__db_mpoolfile),
8095            "::",
8096            stringify!(get_flags)
8097        )
8098    );
8099    assert_eq!(
8100        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).get_ftype as *const _ as usize },
8101        168usize,
8102        concat!(
8103            "Offset of field: ",
8104            stringify!(__db_mpoolfile),
8105            "::",
8106            stringify!(get_ftype)
8107        )
8108    );
8109    assert_eq!(
8110        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).get_last_pgno as *const _ as usize },
8111        176usize,
8112        concat!(
8113            "Offset of field: ",
8114            stringify!(__db_mpoolfile),
8115            "::",
8116            stringify!(get_last_pgno)
8117        )
8118    );
8119    assert_eq!(
8120        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).get_lsn_offset as *const _ as usize },
8121        184usize,
8122        concat!(
8123            "Offset of field: ",
8124            stringify!(__db_mpoolfile),
8125            "::",
8126            stringify!(get_lsn_offset)
8127        )
8128    );
8129    assert_eq!(
8130        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).get_maxsize as *const _ as usize },
8131        192usize,
8132        concat!(
8133            "Offset of field: ",
8134            stringify!(__db_mpoolfile),
8135            "::",
8136            stringify!(get_maxsize)
8137        )
8138    );
8139    assert_eq!(
8140        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).get_pgcookie as *const _ as usize },
8141        200usize,
8142        concat!(
8143            "Offset of field: ",
8144            stringify!(__db_mpoolfile),
8145            "::",
8146            stringify!(get_pgcookie)
8147        )
8148    );
8149    assert_eq!(
8150        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).get_priority as *const _ as usize },
8151        208usize,
8152        concat!(
8153            "Offset of field: ",
8154            stringify!(__db_mpoolfile),
8155            "::",
8156            stringify!(get_priority)
8157        )
8158    );
8159    assert_eq!(
8160        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).open as *const _ as usize },
8161        216usize,
8162        concat!(
8163            "Offset of field: ",
8164            stringify!(__db_mpoolfile),
8165            "::",
8166            stringify!(open)
8167        )
8168    );
8169    assert_eq!(
8170        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).put as *const _ as usize },
8171        224usize,
8172        concat!(
8173            "Offset of field: ",
8174            stringify!(__db_mpoolfile),
8175            "::",
8176            stringify!(put)
8177        )
8178    );
8179    assert_eq!(
8180        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).set_clear_len as *const _ as usize },
8181        232usize,
8182        concat!(
8183            "Offset of field: ",
8184            stringify!(__db_mpoolfile),
8185            "::",
8186            stringify!(set_clear_len)
8187        )
8188    );
8189    assert_eq!(
8190        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).set_fileid as *const _ as usize },
8191        240usize,
8192        concat!(
8193            "Offset of field: ",
8194            stringify!(__db_mpoolfile),
8195            "::",
8196            stringify!(set_fileid)
8197        )
8198    );
8199    assert_eq!(
8200        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).set_flags as *const _ as usize },
8201        248usize,
8202        concat!(
8203            "Offset of field: ",
8204            stringify!(__db_mpoolfile),
8205            "::",
8206            stringify!(set_flags)
8207        )
8208    );
8209    assert_eq!(
8210        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).set_ftype as *const _ as usize },
8211        256usize,
8212        concat!(
8213            "Offset of field: ",
8214            stringify!(__db_mpoolfile),
8215            "::",
8216            stringify!(set_ftype)
8217        )
8218    );
8219    assert_eq!(
8220        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).set_lsn_offset as *const _ as usize },
8221        264usize,
8222        concat!(
8223            "Offset of field: ",
8224            stringify!(__db_mpoolfile),
8225            "::",
8226            stringify!(set_lsn_offset)
8227        )
8228    );
8229    assert_eq!(
8230        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).set_maxsize as *const _ as usize },
8231        272usize,
8232        concat!(
8233            "Offset of field: ",
8234            stringify!(__db_mpoolfile),
8235            "::",
8236            stringify!(set_maxsize)
8237        )
8238    );
8239    assert_eq!(
8240        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).set_pgcookie as *const _ as usize },
8241        280usize,
8242        concat!(
8243            "Offset of field: ",
8244            stringify!(__db_mpoolfile),
8245            "::",
8246            stringify!(set_pgcookie)
8247        )
8248    );
8249    assert_eq!(
8250        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).set_priority as *const _ as usize },
8251        288usize,
8252        concat!(
8253            "Offset of field: ",
8254            stringify!(__db_mpoolfile),
8255            "::",
8256            stringify!(set_priority)
8257        )
8258    );
8259    assert_eq!(
8260        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).sync as *const _ as usize },
8261        296usize,
8262        concat!(
8263            "Offset of field: ",
8264            stringify!(__db_mpoolfile),
8265            "::",
8266            stringify!(sync)
8267        )
8268    );
8269    assert_eq!(
8270        unsafe { &(*(::std::ptr::null::<__db_mpoolfile>())).flags as *const _ as usize },
8271        304usize,
8272        concat!(
8273            "Offset of field: ",
8274            stringify!(__db_mpoolfile),
8275            "::",
8276            stringify!(flags)
8277        )
8278    );
8279}
8280impl Default for __db_mpoolfile {
8281    fn default() -> Self {
8282        unsafe { ::std::mem::zeroed() }
8283    }
8284}
8285#[repr(C)]
8286#[derive(Debug, Default, Copy, Clone)]
8287pub struct __db_mpool_stat {
8288    pub st_gbytes: u_int32_t,
8289    pub st_bytes: u_int32_t,
8290    pub st_ncache: u_int32_t,
8291    pub st_max_ncache: u_int32_t,
8292    pub st_mmapsize: db_size_t,
8293    pub st_maxopenfd: i32,
8294    pub st_maxwrite: i32,
8295    pub st_maxwrite_sleep: db_timeout_t,
8296    pub st_pages: u_int32_t,
8297    pub st_map: u_int32_t,
8298    pub st_cache_hit: uintmax_t,
8299    pub st_cache_miss: uintmax_t,
8300    pub st_page_create: uintmax_t,
8301    pub st_page_in: uintmax_t,
8302    pub st_page_out: uintmax_t,
8303    pub st_ro_evict: uintmax_t,
8304    pub st_rw_evict: uintmax_t,
8305    pub st_page_trickle: uintmax_t,
8306    pub st_page_clean: u_int32_t,
8307    pub st_page_dirty: u_int32_t,
8308    pub st_hash_buckets: u_int32_t,
8309    pub st_hash_mutexes: u_int32_t,
8310    pub st_pagesize: u_int32_t,
8311    pub st_hash_searches: u_int32_t,
8312    pub st_hash_longest: u_int32_t,
8313    pub st_hash_examined: uintmax_t,
8314    pub st_hash_nowait: uintmax_t,
8315    pub st_hash_wait: uintmax_t,
8316    pub st_hash_max_nowait: uintmax_t,
8317    pub st_hash_max_wait: uintmax_t,
8318    pub st_region_nowait: uintmax_t,
8319    pub st_region_wait: uintmax_t,
8320    pub st_mvcc_frozen: uintmax_t,
8321    pub st_mvcc_thawed: uintmax_t,
8322    pub st_mvcc_freed: uintmax_t,
8323    pub st_alloc: uintmax_t,
8324    pub st_alloc_buckets: uintmax_t,
8325    pub st_alloc_max_buckets: uintmax_t,
8326    pub st_alloc_pages: uintmax_t,
8327    pub st_alloc_max_pages: uintmax_t,
8328    pub st_io_wait: uintmax_t,
8329    pub st_sync_interrupted: uintmax_t,
8330    pub st_regsize: roff_t,
8331    pub st_regmax: roff_t,
8332}
8333#[test]
8334fn bindgen_test_layout___db_mpool_stat() {
8335    assert_eq!(
8336        ::std::mem::size_of::<__db_mpool_stat>(),
8337        296usize,
8338        concat!("Size of: ", stringify!(__db_mpool_stat))
8339    );
8340    assert_eq!(
8341        ::std::mem::align_of::<__db_mpool_stat>(),
8342        8usize,
8343        concat!("Alignment of ", stringify!(__db_mpool_stat))
8344    );
8345    assert_eq!(
8346        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_gbytes as *const _ as usize },
8347        0usize,
8348        concat!(
8349            "Offset of field: ",
8350            stringify!(__db_mpool_stat),
8351            "::",
8352            stringify!(st_gbytes)
8353        )
8354    );
8355    assert_eq!(
8356        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_bytes as *const _ as usize },
8357        4usize,
8358        concat!(
8359            "Offset of field: ",
8360            stringify!(__db_mpool_stat),
8361            "::",
8362            stringify!(st_bytes)
8363        )
8364    );
8365    assert_eq!(
8366        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_ncache as *const _ as usize },
8367        8usize,
8368        concat!(
8369            "Offset of field: ",
8370            stringify!(__db_mpool_stat),
8371            "::",
8372            stringify!(st_ncache)
8373        )
8374    );
8375    assert_eq!(
8376        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_max_ncache as *const _ as usize },
8377        12usize,
8378        concat!(
8379            "Offset of field: ",
8380            stringify!(__db_mpool_stat),
8381            "::",
8382            stringify!(st_max_ncache)
8383        )
8384    );
8385    assert_eq!(
8386        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_mmapsize as *const _ as usize },
8387        16usize,
8388        concat!(
8389            "Offset of field: ",
8390            stringify!(__db_mpool_stat),
8391            "::",
8392            stringify!(st_mmapsize)
8393        )
8394    );
8395    assert_eq!(
8396        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_maxopenfd as *const _ as usize },
8397        24usize,
8398        concat!(
8399            "Offset of field: ",
8400            stringify!(__db_mpool_stat),
8401            "::",
8402            stringify!(st_maxopenfd)
8403        )
8404    );
8405    assert_eq!(
8406        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_maxwrite as *const _ as usize },
8407        28usize,
8408        concat!(
8409            "Offset of field: ",
8410            stringify!(__db_mpool_stat),
8411            "::",
8412            stringify!(st_maxwrite)
8413        )
8414    );
8415    assert_eq!(
8416        unsafe {
8417            &(*(::std::ptr::null::<__db_mpool_stat>())).st_maxwrite_sleep as *const _ as usize
8418        },
8419        32usize,
8420        concat!(
8421            "Offset of field: ",
8422            stringify!(__db_mpool_stat),
8423            "::",
8424            stringify!(st_maxwrite_sleep)
8425        )
8426    );
8427    assert_eq!(
8428        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_pages as *const _ as usize },
8429        36usize,
8430        concat!(
8431            "Offset of field: ",
8432            stringify!(__db_mpool_stat),
8433            "::",
8434            stringify!(st_pages)
8435        )
8436    );
8437    assert_eq!(
8438        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_map as *const _ as usize },
8439        40usize,
8440        concat!(
8441            "Offset of field: ",
8442            stringify!(__db_mpool_stat),
8443            "::",
8444            stringify!(st_map)
8445        )
8446    );
8447    assert_eq!(
8448        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_cache_hit as *const _ as usize },
8449        48usize,
8450        concat!(
8451            "Offset of field: ",
8452            stringify!(__db_mpool_stat),
8453            "::",
8454            stringify!(st_cache_hit)
8455        )
8456    );
8457    assert_eq!(
8458        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_cache_miss as *const _ as usize },
8459        56usize,
8460        concat!(
8461            "Offset of field: ",
8462            stringify!(__db_mpool_stat),
8463            "::",
8464            stringify!(st_cache_miss)
8465        )
8466    );
8467    assert_eq!(
8468        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_page_create as *const _ as usize },
8469        64usize,
8470        concat!(
8471            "Offset of field: ",
8472            stringify!(__db_mpool_stat),
8473            "::",
8474            stringify!(st_page_create)
8475        )
8476    );
8477    assert_eq!(
8478        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_page_in as *const _ as usize },
8479        72usize,
8480        concat!(
8481            "Offset of field: ",
8482            stringify!(__db_mpool_stat),
8483            "::",
8484            stringify!(st_page_in)
8485        )
8486    );
8487    assert_eq!(
8488        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_page_out as *const _ as usize },
8489        80usize,
8490        concat!(
8491            "Offset of field: ",
8492            stringify!(__db_mpool_stat),
8493            "::",
8494            stringify!(st_page_out)
8495        )
8496    );
8497    assert_eq!(
8498        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_ro_evict as *const _ as usize },
8499        88usize,
8500        concat!(
8501            "Offset of field: ",
8502            stringify!(__db_mpool_stat),
8503            "::",
8504            stringify!(st_ro_evict)
8505        )
8506    );
8507    assert_eq!(
8508        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_rw_evict as *const _ as usize },
8509        96usize,
8510        concat!(
8511            "Offset of field: ",
8512            stringify!(__db_mpool_stat),
8513            "::",
8514            stringify!(st_rw_evict)
8515        )
8516    );
8517    assert_eq!(
8518        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_page_trickle as *const _ as usize },
8519        104usize,
8520        concat!(
8521            "Offset of field: ",
8522            stringify!(__db_mpool_stat),
8523            "::",
8524            stringify!(st_page_trickle)
8525        )
8526    );
8527    assert_eq!(
8528        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_page_clean as *const _ as usize },
8529        112usize,
8530        concat!(
8531            "Offset of field: ",
8532            stringify!(__db_mpool_stat),
8533            "::",
8534            stringify!(st_page_clean)
8535        )
8536    );
8537    assert_eq!(
8538        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_page_dirty as *const _ as usize },
8539        116usize,
8540        concat!(
8541            "Offset of field: ",
8542            stringify!(__db_mpool_stat),
8543            "::",
8544            stringify!(st_page_dirty)
8545        )
8546    );
8547    assert_eq!(
8548        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_hash_buckets as *const _ as usize },
8549        120usize,
8550        concat!(
8551            "Offset of field: ",
8552            stringify!(__db_mpool_stat),
8553            "::",
8554            stringify!(st_hash_buckets)
8555        )
8556    );
8557    assert_eq!(
8558        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_hash_mutexes as *const _ as usize },
8559        124usize,
8560        concat!(
8561            "Offset of field: ",
8562            stringify!(__db_mpool_stat),
8563            "::",
8564            stringify!(st_hash_mutexes)
8565        )
8566    );
8567    assert_eq!(
8568        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_pagesize as *const _ as usize },
8569        128usize,
8570        concat!(
8571            "Offset of field: ",
8572            stringify!(__db_mpool_stat),
8573            "::",
8574            stringify!(st_pagesize)
8575        )
8576    );
8577    assert_eq!(
8578        unsafe {
8579            &(*(::std::ptr::null::<__db_mpool_stat>())).st_hash_searches as *const _ as usize
8580        },
8581        132usize,
8582        concat!(
8583            "Offset of field: ",
8584            stringify!(__db_mpool_stat),
8585            "::",
8586            stringify!(st_hash_searches)
8587        )
8588    );
8589    assert_eq!(
8590        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_hash_longest as *const _ as usize },
8591        136usize,
8592        concat!(
8593            "Offset of field: ",
8594            stringify!(__db_mpool_stat),
8595            "::",
8596            stringify!(st_hash_longest)
8597        )
8598    );
8599    assert_eq!(
8600        unsafe {
8601            &(*(::std::ptr::null::<__db_mpool_stat>())).st_hash_examined as *const _ as usize
8602        },
8603        144usize,
8604        concat!(
8605            "Offset of field: ",
8606            stringify!(__db_mpool_stat),
8607            "::",
8608            stringify!(st_hash_examined)
8609        )
8610    );
8611    assert_eq!(
8612        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_hash_nowait as *const _ as usize },
8613        152usize,
8614        concat!(
8615            "Offset of field: ",
8616            stringify!(__db_mpool_stat),
8617            "::",
8618            stringify!(st_hash_nowait)
8619        )
8620    );
8621    assert_eq!(
8622        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_hash_wait as *const _ as usize },
8623        160usize,
8624        concat!(
8625            "Offset of field: ",
8626            stringify!(__db_mpool_stat),
8627            "::",
8628            stringify!(st_hash_wait)
8629        )
8630    );
8631    assert_eq!(
8632        unsafe {
8633            &(*(::std::ptr::null::<__db_mpool_stat>())).st_hash_max_nowait as *const _ as usize
8634        },
8635        168usize,
8636        concat!(
8637            "Offset of field: ",
8638            stringify!(__db_mpool_stat),
8639            "::",
8640            stringify!(st_hash_max_nowait)
8641        )
8642    );
8643    assert_eq!(
8644        unsafe {
8645            &(*(::std::ptr::null::<__db_mpool_stat>())).st_hash_max_wait as *const _ as usize
8646        },
8647        176usize,
8648        concat!(
8649            "Offset of field: ",
8650            stringify!(__db_mpool_stat),
8651            "::",
8652            stringify!(st_hash_max_wait)
8653        )
8654    );
8655    assert_eq!(
8656        unsafe {
8657            &(*(::std::ptr::null::<__db_mpool_stat>())).st_region_nowait as *const _ as usize
8658        },
8659        184usize,
8660        concat!(
8661            "Offset of field: ",
8662            stringify!(__db_mpool_stat),
8663            "::",
8664            stringify!(st_region_nowait)
8665        )
8666    );
8667    assert_eq!(
8668        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_region_wait as *const _ as usize },
8669        192usize,
8670        concat!(
8671            "Offset of field: ",
8672            stringify!(__db_mpool_stat),
8673            "::",
8674            stringify!(st_region_wait)
8675        )
8676    );
8677    assert_eq!(
8678        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_mvcc_frozen as *const _ as usize },
8679        200usize,
8680        concat!(
8681            "Offset of field: ",
8682            stringify!(__db_mpool_stat),
8683            "::",
8684            stringify!(st_mvcc_frozen)
8685        )
8686    );
8687    assert_eq!(
8688        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_mvcc_thawed as *const _ as usize },
8689        208usize,
8690        concat!(
8691            "Offset of field: ",
8692            stringify!(__db_mpool_stat),
8693            "::",
8694            stringify!(st_mvcc_thawed)
8695        )
8696    );
8697    assert_eq!(
8698        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_mvcc_freed as *const _ as usize },
8699        216usize,
8700        concat!(
8701            "Offset of field: ",
8702            stringify!(__db_mpool_stat),
8703            "::",
8704            stringify!(st_mvcc_freed)
8705        )
8706    );
8707    assert_eq!(
8708        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_alloc as *const _ as usize },
8709        224usize,
8710        concat!(
8711            "Offset of field: ",
8712            stringify!(__db_mpool_stat),
8713            "::",
8714            stringify!(st_alloc)
8715        )
8716    );
8717    assert_eq!(
8718        unsafe {
8719            &(*(::std::ptr::null::<__db_mpool_stat>())).st_alloc_buckets as *const _ as usize
8720        },
8721        232usize,
8722        concat!(
8723            "Offset of field: ",
8724            stringify!(__db_mpool_stat),
8725            "::",
8726            stringify!(st_alloc_buckets)
8727        )
8728    );
8729    assert_eq!(
8730        unsafe {
8731            &(*(::std::ptr::null::<__db_mpool_stat>())).st_alloc_max_buckets as *const _ as usize
8732        },
8733        240usize,
8734        concat!(
8735            "Offset of field: ",
8736            stringify!(__db_mpool_stat),
8737            "::",
8738            stringify!(st_alloc_max_buckets)
8739        )
8740    );
8741    assert_eq!(
8742        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_alloc_pages as *const _ as usize },
8743        248usize,
8744        concat!(
8745            "Offset of field: ",
8746            stringify!(__db_mpool_stat),
8747            "::",
8748            stringify!(st_alloc_pages)
8749        )
8750    );
8751    assert_eq!(
8752        unsafe {
8753            &(*(::std::ptr::null::<__db_mpool_stat>())).st_alloc_max_pages as *const _ as usize
8754        },
8755        256usize,
8756        concat!(
8757            "Offset of field: ",
8758            stringify!(__db_mpool_stat),
8759            "::",
8760            stringify!(st_alloc_max_pages)
8761        )
8762    );
8763    assert_eq!(
8764        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_io_wait as *const _ as usize },
8765        264usize,
8766        concat!(
8767            "Offset of field: ",
8768            stringify!(__db_mpool_stat),
8769            "::",
8770            stringify!(st_io_wait)
8771        )
8772    );
8773    assert_eq!(
8774        unsafe {
8775            &(*(::std::ptr::null::<__db_mpool_stat>())).st_sync_interrupted as *const _ as usize
8776        },
8777        272usize,
8778        concat!(
8779            "Offset of field: ",
8780            stringify!(__db_mpool_stat),
8781            "::",
8782            stringify!(st_sync_interrupted)
8783        )
8784    );
8785    assert_eq!(
8786        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_regsize as *const _ as usize },
8787        280usize,
8788        concat!(
8789            "Offset of field: ",
8790            stringify!(__db_mpool_stat),
8791            "::",
8792            stringify!(st_regsize)
8793        )
8794    );
8795    assert_eq!(
8796        unsafe { &(*(::std::ptr::null::<__db_mpool_stat>())).st_regmax as *const _ as usize },
8797        288usize,
8798        concat!(
8799            "Offset of field: ",
8800            stringify!(__db_mpool_stat),
8801            "::",
8802            stringify!(st_regmax)
8803        )
8804    );
8805}
8806#[repr(C)]
8807#[derive(Debug, Copy, Clone)]
8808pub struct __db_mpool_fstat {
8809    pub st_pagesize: u_int32_t,
8810    pub st_map: u_int32_t,
8811    pub st_cache_hit: uintmax_t,
8812    pub st_cache_miss: uintmax_t,
8813    pub st_page_create: uintmax_t,
8814    pub st_page_in: uintmax_t,
8815    pub st_page_out: uintmax_t,
8816    pub st_backup_spins: uintmax_t,
8817    pub file_name: *mut ::std::os::raw::c_char,
8818}
8819#[test]
8820fn bindgen_test_layout___db_mpool_fstat() {
8821    assert_eq!(
8822        ::std::mem::size_of::<__db_mpool_fstat>(),
8823        64usize,
8824        concat!("Size of: ", stringify!(__db_mpool_fstat))
8825    );
8826    assert_eq!(
8827        ::std::mem::align_of::<__db_mpool_fstat>(),
8828        8usize,
8829        concat!("Alignment of ", stringify!(__db_mpool_fstat))
8830    );
8831    assert_eq!(
8832        unsafe { &(*(::std::ptr::null::<__db_mpool_fstat>())).st_pagesize as *const _ as usize },
8833        0usize,
8834        concat!(
8835            "Offset of field: ",
8836            stringify!(__db_mpool_fstat),
8837            "::",
8838            stringify!(st_pagesize)
8839        )
8840    );
8841    assert_eq!(
8842        unsafe { &(*(::std::ptr::null::<__db_mpool_fstat>())).st_map as *const _ as usize },
8843        4usize,
8844        concat!(
8845            "Offset of field: ",
8846            stringify!(__db_mpool_fstat),
8847            "::",
8848            stringify!(st_map)
8849        )
8850    );
8851    assert_eq!(
8852        unsafe { &(*(::std::ptr::null::<__db_mpool_fstat>())).st_cache_hit as *const _ as usize },
8853        8usize,
8854        concat!(
8855            "Offset of field: ",
8856            stringify!(__db_mpool_fstat),
8857            "::",
8858            stringify!(st_cache_hit)
8859        )
8860    );
8861    assert_eq!(
8862        unsafe { &(*(::std::ptr::null::<__db_mpool_fstat>())).st_cache_miss as *const _ as usize },
8863        16usize,
8864        concat!(
8865            "Offset of field: ",
8866            stringify!(__db_mpool_fstat),
8867            "::",
8868            stringify!(st_cache_miss)
8869        )
8870    );
8871    assert_eq!(
8872        unsafe { &(*(::std::ptr::null::<__db_mpool_fstat>())).st_page_create as *const _ as usize },
8873        24usize,
8874        concat!(
8875            "Offset of field: ",
8876            stringify!(__db_mpool_fstat),
8877            "::",
8878            stringify!(st_page_create)
8879        )
8880    );
8881    assert_eq!(
8882        unsafe { &(*(::std::ptr::null::<__db_mpool_fstat>())).st_page_in as *const _ as usize },
8883        32usize,
8884        concat!(
8885            "Offset of field: ",
8886            stringify!(__db_mpool_fstat),
8887            "::",
8888            stringify!(st_page_in)
8889        )
8890    );
8891    assert_eq!(
8892        unsafe { &(*(::std::ptr::null::<__db_mpool_fstat>())).st_page_out as *const _ as usize },
8893        40usize,
8894        concat!(
8895            "Offset of field: ",
8896            stringify!(__db_mpool_fstat),
8897            "::",
8898            stringify!(st_page_out)
8899        )
8900    );
8901    assert_eq!(
8902        unsafe {
8903            &(*(::std::ptr::null::<__db_mpool_fstat>())).st_backup_spins as *const _ as usize
8904        },
8905        48usize,
8906        concat!(
8907            "Offset of field: ",
8908            stringify!(__db_mpool_fstat),
8909            "::",
8910            stringify!(st_backup_spins)
8911        )
8912    );
8913    assert_eq!(
8914        unsafe { &(*(::std::ptr::null::<__db_mpool_fstat>())).file_name as *const _ as usize },
8915        56usize,
8916        concat!(
8917            "Offset of field: ",
8918            stringify!(__db_mpool_fstat),
8919            "::",
8920            stringify!(file_name)
8921        )
8922    );
8923}
8924impl Default for __db_mpool_fstat {
8925    fn default() -> Self {
8926        unsafe { ::std::mem::zeroed() }
8927    }
8928}
8929pub const db_recops_DB_TXN_ABORT: db_recops = 0;
8930pub const db_recops_DB_TXN_APPLY: db_recops = 1;
8931pub const db_recops_DB_TXN_BACKWARD_ROLL: db_recops = 3;
8932pub const db_recops_DB_TXN_FORWARD_ROLL: db_recops = 4;
8933pub const db_recops_DB_TXN_OPENFILES: db_recops = 5;
8934pub const db_recops_DB_TXN_POPENFILES: db_recops = 6;
8935pub const db_recops_DB_TXN_PRINT: db_recops = 7;
8936pub const db_recops_DB_TXN_LOG_VERIFY: db_recops = 8;
8937pub type db_recops = u32;
8938#[repr(C)]
8939#[derive(Debug, Copy, Clone)]
8940pub struct __db_txn {
8941    pub mgrp: *mut DB_TXNMGR,
8942    pub parent: *mut DB_TXN,
8943    pub thread_info: *mut DB_THREAD_INFO,
8944    pub txnid: u_int32_t,
8945    pub name: *mut ::std::os::raw::c_char,
8946    pub locker: *mut DB_LOCKER,
8947    pub td: *mut ::std::os::raw::c_void,
8948    pub lock_timeout: db_timeout_t,
8949    pub txn_list: *mut ::std::os::raw::c_void,
8950    pub links: __db_txn__bindgen_ty_1,
8951    pub xa_links: __db_txn__bindgen_ty_2,
8952    pub kids: __db_txn___kids,
8953    pub events: __db_txn__bindgen_ty_3,
8954    pub logs: __db_txn__bindgen_ty_4,
8955    pub klinks: __db_txn__bindgen_ty_5,
8956    pub my_cursors: __db_txn___my_cursors,
8957    pub femfs: __db_txn___femfs,
8958    pub token_buffer: *mut DB_TXN_TOKEN,
8959    pub api_internal: *mut ::std::os::raw::c_void,
8960    pub xml_internal: *mut ::std::os::raw::c_void,
8961    pub cursors: u_int32_t,
8962    pub abort:
8963        ::std::option::Option<unsafe extern "C" fn(arg1: *mut DB_TXN) -> ::std::os::raw::c_int>,
8964    pub commit: ::std::option::Option<
8965        unsafe extern "C" fn(arg1: *mut DB_TXN, arg2: u_int32_t) -> ::std::os::raw::c_int,
8966    >,
8967    pub discard: ::std::option::Option<
8968        unsafe extern "C" fn(arg1: *mut DB_TXN, arg2: u_int32_t) -> ::std::os::raw::c_int,
8969    >,
8970    pub get_name: ::std::option::Option<
8971        unsafe extern "C" fn(
8972            arg1: *mut DB_TXN,
8973            arg2: *mut *const ::std::os::raw::c_char,
8974        ) -> ::std::os::raw::c_int,
8975    >,
8976    pub get_priority: ::std::option::Option<
8977        unsafe extern "C" fn(arg1: *mut DB_TXN, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
8978    >,
8979    pub id: ::std::option::Option<unsafe extern "C" fn(arg1: *mut DB_TXN) -> u_int32_t>,
8980    pub prepare: ::std::option::Option<
8981        unsafe extern "C" fn(arg1: *mut DB_TXN, arg2: *mut u_int8_t) -> ::std::os::raw::c_int,
8982    >,
8983    pub set_commit_token: ::std::option::Option<
8984        unsafe extern "C" fn(arg1: *mut DB_TXN, arg2: *mut DB_TXN_TOKEN) -> ::std::os::raw::c_int,
8985    >,
8986    pub set_name: ::std::option::Option<
8987        unsafe extern "C" fn(
8988            arg1: *mut DB_TXN,
8989            arg2: *const ::std::os::raw::c_char,
8990        ) -> ::std::os::raw::c_int,
8991    >,
8992    pub set_priority: ::std::option::Option<
8993        unsafe extern "C" fn(arg1: *mut DB_TXN, arg2: u_int32_t) -> ::std::os::raw::c_int,
8994    >,
8995    pub set_timeout: ::std::option::Option<
8996        unsafe extern "C" fn(
8997            arg1: *mut DB_TXN,
8998            arg2: db_timeout_t,
8999            arg3: u_int32_t,
9000        ) -> ::std::os::raw::c_int,
9001    >,
9002    pub set_txn_lsnp: ::std::option::Option<
9003        unsafe extern "C" fn(txn: *mut DB_TXN, arg1: *mut *mut DB_LSN, arg2: *mut *mut DB_LSN),
9004    >,
9005    pub xa_thr_status: u_int32_t,
9006    pub flags: u_int32_t,
9007}
9008#[repr(C)]
9009#[derive(Debug, Copy, Clone)]
9010pub struct __db_txn__bindgen_ty_1 {
9011    pub tqe_next: *mut __db_txn,
9012    pub tqe_prev: *mut *mut __db_txn,
9013}
9014#[test]
9015fn bindgen_test_layout___db_txn__bindgen_ty_1() {
9016    assert_eq!(
9017        ::std::mem::size_of::<__db_txn__bindgen_ty_1>(),
9018        16usize,
9019        concat!("Size of: ", stringify!(__db_txn__bindgen_ty_1))
9020    );
9021    assert_eq!(
9022        ::std::mem::align_of::<__db_txn__bindgen_ty_1>(),
9023        8usize,
9024        concat!("Alignment of ", stringify!(__db_txn__bindgen_ty_1))
9025    );
9026    assert_eq!(
9027        unsafe { &(*(::std::ptr::null::<__db_txn__bindgen_ty_1>())).tqe_next as *const _ as usize },
9028        0usize,
9029        concat!(
9030            "Offset of field: ",
9031            stringify!(__db_txn__bindgen_ty_1),
9032            "::",
9033            stringify!(tqe_next)
9034        )
9035    );
9036    assert_eq!(
9037        unsafe { &(*(::std::ptr::null::<__db_txn__bindgen_ty_1>())).tqe_prev as *const _ as usize },
9038        8usize,
9039        concat!(
9040            "Offset of field: ",
9041            stringify!(__db_txn__bindgen_ty_1),
9042            "::",
9043            stringify!(tqe_prev)
9044        )
9045    );
9046}
9047impl Default for __db_txn__bindgen_ty_1 {
9048    fn default() -> Self {
9049        unsafe { ::std::mem::zeroed() }
9050    }
9051}
9052#[repr(C)]
9053#[derive(Debug, Default, Copy, Clone)]
9054pub struct __db_txn__bindgen_ty_2 {
9055    pub stqe_next: db_ssize_t,
9056    pub stqe_prev: db_ssize_t,
9057}
9058#[test]
9059fn bindgen_test_layout___db_txn__bindgen_ty_2() {
9060    assert_eq!(
9061        ::std::mem::size_of::<__db_txn__bindgen_ty_2>(),
9062        16usize,
9063        concat!("Size of: ", stringify!(__db_txn__bindgen_ty_2))
9064    );
9065    assert_eq!(
9066        ::std::mem::align_of::<__db_txn__bindgen_ty_2>(),
9067        8usize,
9068        concat!("Alignment of ", stringify!(__db_txn__bindgen_ty_2))
9069    );
9070    assert_eq!(
9071        unsafe {
9072            &(*(::std::ptr::null::<__db_txn__bindgen_ty_2>())).stqe_next as *const _ as usize
9073        },
9074        0usize,
9075        concat!(
9076            "Offset of field: ",
9077            stringify!(__db_txn__bindgen_ty_2),
9078            "::",
9079            stringify!(stqe_next)
9080        )
9081    );
9082    assert_eq!(
9083        unsafe {
9084            &(*(::std::ptr::null::<__db_txn__bindgen_ty_2>())).stqe_prev as *const _ as usize
9085        },
9086        8usize,
9087        concat!(
9088            "Offset of field: ",
9089            stringify!(__db_txn__bindgen_ty_2),
9090            "::",
9091            stringify!(stqe_prev)
9092        )
9093    );
9094}
9095#[repr(C)]
9096#[derive(Debug, Copy, Clone)]
9097pub struct __db_txn___kids {
9098    pub tqh_first: *mut __db_txn,
9099    pub tqh_last: *mut *mut __db_txn,
9100}
9101#[test]
9102fn bindgen_test_layout___db_txn___kids() {
9103    assert_eq!(
9104        ::std::mem::size_of::<__db_txn___kids>(),
9105        16usize,
9106        concat!("Size of: ", stringify!(__db_txn___kids))
9107    );
9108    assert_eq!(
9109        ::std::mem::align_of::<__db_txn___kids>(),
9110        8usize,
9111        concat!("Alignment of ", stringify!(__db_txn___kids))
9112    );
9113    assert_eq!(
9114        unsafe { &(*(::std::ptr::null::<__db_txn___kids>())).tqh_first as *const _ as usize },
9115        0usize,
9116        concat!(
9117            "Offset of field: ",
9118            stringify!(__db_txn___kids),
9119            "::",
9120            stringify!(tqh_first)
9121        )
9122    );
9123    assert_eq!(
9124        unsafe { &(*(::std::ptr::null::<__db_txn___kids>())).tqh_last as *const _ as usize },
9125        8usize,
9126        concat!(
9127            "Offset of field: ",
9128            stringify!(__db_txn___kids),
9129            "::",
9130            stringify!(tqh_last)
9131        )
9132    );
9133}
9134impl Default for __db_txn___kids {
9135    fn default() -> Self {
9136        unsafe { ::std::mem::zeroed() }
9137    }
9138}
9139#[repr(C)]
9140#[derive(Debug, Copy, Clone)]
9141pub struct __db_txn__bindgen_ty_3 {
9142    pub tqh_first: *mut __txn_event,
9143    pub tqh_last: *mut *mut __txn_event,
9144}
9145#[test]
9146fn bindgen_test_layout___db_txn__bindgen_ty_3() {
9147    assert_eq!(
9148        ::std::mem::size_of::<__db_txn__bindgen_ty_3>(),
9149        16usize,
9150        concat!("Size of: ", stringify!(__db_txn__bindgen_ty_3))
9151    );
9152    assert_eq!(
9153        ::std::mem::align_of::<__db_txn__bindgen_ty_3>(),
9154        8usize,
9155        concat!("Alignment of ", stringify!(__db_txn__bindgen_ty_3))
9156    );
9157    assert_eq!(
9158        unsafe {
9159            &(*(::std::ptr::null::<__db_txn__bindgen_ty_3>())).tqh_first as *const _ as usize
9160        },
9161        0usize,
9162        concat!(
9163            "Offset of field: ",
9164            stringify!(__db_txn__bindgen_ty_3),
9165            "::",
9166            stringify!(tqh_first)
9167        )
9168    );
9169    assert_eq!(
9170        unsafe { &(*(::std::ptr::null::<__db_txn__bindgen_ty_3>())).tqh_last as *const _ as usize },
9171        8usize,
9172        concat!(
9173            "Offset of field: ",
9174            stringify!(__db_txn__bindgen_ty_3),
9175            "::",
9176            stringify!(tqh_last)
9177        )
9178    );
9179}
9180impl Default for __db_txn__bindgen_ty_3 {
9181    fn default() -> Self {
9182        unsafe { ::std::mem::zeroed() }
9183    }
9184}
9185#[repr(C)]
9186#[derive(Debug, Copy, Clone)]
9187pub struct __db_txn__bindgen_ty_4 {
9188    pub stqh_first: *mut __txn_logrec,
9189    pub stqh_last: *mut *mut __txn_logrec,
9190}
9191#[test]
9192fn bindgen_test_layout___db_txn__bindgen_ty_4() {
9193    assert_eq!(
9194        ::std::mem::size_of::<__db_txn__bindgen_ty_4>(),
9195        16usize,
9196        concat!("Size of: ", stringify!(__db_txn__bindgen_ty_4))
9197    );
9198    assert_eq!(
9199        ::std::mem::align_of::<__db_txn__bindgen_ty_4>(),
9200        8usize,
9201        concat!("Alignment of ", stringify!(__db_txn__bindgen_ty_4))
9202    );
9203    assert_eq!(
9204        unsafe {
9205            &(*(::std::ptr::null::<__db_txn__bindgen_ty_4>())).stqh_first as *const _ as usize
9206        },
9207        0usize,
9208        concat!(
9209            "Offset of field: ",
9210            stringify!(__db_txn__bindgen_ty_4),
9211            "::",
9212            stringify!(stqh_first)
9213        )
9214    );
9215    assert_eq!(
9216        unsafe {
9217            &(*(::std::ptr::null::<__db_txn__bindgen_ty_4>())).stqh_last as *const _ as usize
9218        },
9219        8usize,
9220        concat!(
9221            "Offset of field: ",
9222            stringify!(__db_txn__bindgen_ty_4),
9223            "::",
9224            stringify!(stqh_last)
9225        )
9226    );
9227}
9228impl Default for __db_txn__bindgen_ty_4 {
9229    fn default() -> Self {
9230        unsafe { ::std::mem::zeroed() }
9231    }
9232}
9233#[repr(C)]
9234#[derive(Debug, Copy, Clone)]
9235pub struct __db_txn__bindgen_ty_5 {
9236    pub tqe_next: *mut __db_txn,
9237    pub tqe_prev: *mut *mut __db_txn,
9238}
9239#[test]
9240fn bindgen_test_layout___db_txn__bindgen_ty_5() {
9241    assert_eq!(
9242        ::std::mem::size_of::<__db_txn__bindgen_ty_5>(),
9243        16usize,
9244        concat!("Size of: ", stringify!(__db_txn__bindgen_ty_5))
9245    );
9246    assert_eq!(
9247        ::std::mem::align_of::<__db_txn__bindgen_ty_5>(),
9248        8usize,
9249        concat!("Alignment of ", stringify!(__db_txn__bindgen_ty_5))
9250    );
9251    assert_eq!(
9252        unsafe { &(*(::std::ptr::null::<__db_txn__bindgen_ty_5>())).tqe_next as *const _ as usize },
9253        0usize,
9254        concat!(
9255            "Offset of field: ",
9256            stringify!(__db_txn__bindgen_ty_5),
9257            "::",
9258            stringify!(tqe_next)
9259        )
9260    );
9261    assert_eq!(
9262        unsafe { &(*(::std::ptr::null::<__db_txn__bindgen_ty_5>())).tqe_prev as *const _ as usize },
9263        8usize,
9264        concat!(
9265            "Offset of field: ",
9266            stringify!(__db_txn__bindgen_ty_5),
9267            "::",
9268            stringify!(tqe_prev)
9269        )
9270    );
9271}
9272impl Default for __db_txn__bindgen_ty_5 {
9273    fn default() -> Self {
9274        unsafe { ::std::mem::zeroed() }
9275    }
9276}
9277#[repr(C)]
9278#[derive(Debug, Copy, Clone)]
9279pub struct __db_txn___my_cursors {
9280    pub tqh_first: *mut __dbc,
9281    pub tqh_last: *mut *mut __dbc,
9282}
9283#[test]
9284fn bindgen_test_layout___db_txn___my_cursors() {
9285    assert_eq!(
9286        ::std::mem::size_of::<__db_txn___my_cursors>(),
9287        16usize,
9288        concat!("Size of: ", stringify!(__db_txn___my_cursors))
9289    );
9290    assert_eq!(
9291        ::std::mem::align_of::<__db_txn___my_cursors>(),
9292        8usize,
9293        concat!("Alignment of ", stringify!(__db_txn___my_cursors))
9294    );
9295    assert_eq!(
9296        unsafe { &(*(::std::ptr::null::<__db_txn___my_cursors>())).tqh_first as *const _ as usize },
9297        0usize,
9298        concat!(
9299            "Offset of field: ",
9300            stringify!(__db_txn___my_cursors),
9301            "::",
9302            stringify!(tqh_first)
9303        )
9304    );
9305    assert_eq!(
9306        unsafe { &(*(::std::ptr::null::<__db_txn___my_cursors>())).tqh_last as *const _ as usize },
9307        8usize,
9308        concat!(
9309            "Offset of field: ",
9310            stringify!(__db_txn___my_cursors),
9311            "::",
9312            stringify!(tqh_last)
9313        )
9314    );
9315}
9316impl Default for __db_txn___my_cursors {
9317    fn default() -> Self {
9318        unsafe { ::std::mem::zeroed() }
9319    }
9320}
9321#[repr(C)]
9322#[derive(Debug, Copy, Clone)]
9323pub struct __db_txn___femfs {
9324    pub tqh_first: *mut DB,
9325    pub tqh_last: *mut *mut DB,
9326}
9327#[test]
9328fn bindgen_test_layout___db_txn___femfs() {
9329    assert_eq!(
9330        ::std::mem::size_of::<__db_txn___femfs>(),
9331        16usize,
9332        concat!("Size of: ", stringify!(__db_txn___femfs))
9333    );
9334    assert_eq!(
9335        ::std::mem::align_of::<__db_txn___femfs>(),
9336        8usize,
9337        concat!("Alignment of ", stringify!(__db_txn___femfs))
9338    );
9339    assert_eq!(
9340        unsafe { &(*(::std::ptr::null::<__db_txn___femfs>())).tqh_first as *const _ as usize },
9341        0usize,
9342        concat!(
9343            "Offset of field: ",
9344            stringify!(__db_txn___femfs),
9345            "::",
9346            stringify!(tqh_first)
9347        )
9348    );
9349    assert_eq!(
9350        unsafe { &(*(::std::ptr::null::<__db_txn___femfs>())).tqh_last as *const _ as usize },
9351        8usize,
9352        concat!(
9353            "Offset of field: ",
9354            stringify!(__db_txn___femfs),
9355            "::",
9356            stringify!(tqh_last)
9357        )
9358    );
9359}
9360impl Default for __db_txn___femfs {
9361    fn default() -> Self {
9362        unsafe { ::std::mem::zeroed() }
9363    }
9364}
9365#[test]
9366fn bindgen_test_layout___db_txn() {
9367    assert_eq!(
9368        ::std::mem::size_of::<__db_txn>(),
9369        336usize,
9370        concat!("Size of: ", stringify!(__db_txn))
9371    );
9372    assert_eq!(
9373        ::std::mem::align_of::<__db_txn>(),
9374        8usize,
9375        concat!("Alignment of ", stringify!(__db_txn))
9376    );
9377    assert_eq!(
9378        unsafe { &(*(::std::ptr::null::<__db_txn>())).mgrp as *const _ as usize },
9379        0usize,
9380        concat!(
9381            "Offset of field: ",
9382            stringify!(__db_txn),
9383            "::",
9384            stringify!(mgrp)
9385        )
9386    );
9387    assert_eq!(
9388        unsafe { &(*(::std::ptr::null::<__db_txn>())).parent as *const _ as usize },
9389        8usize,
9390        concat!(
9391            "Offset of field: ",
9392            stringify!(__db_txn),
9393            "::",
9394            stringify!(parent)
9395        )
9396    );
9397    assert_eq!(
9398        unsafe { &(*(::std::ptr::null::<__db_txn>())).thread_info as *const _ as usize },
9399        16usize,
9400        concat!(
9401            "Offset of field: ",
9402            stringify!(__db_txn),
9403            "::",
9404            stringify!(thread_info)
9405        )
9406    );
9407    assert_eq!(
9408        unsafe { &(*(::std::ptr::null::<__db_txn>())).txnid as *const _ as usize },
9409        24usize,
9410        concat!(
9411            "Offset of field: ",
9412            stringify!(__db_txn),
9413            "::",
9414            stringify!(txnid)
9415        )
9416    );
9417    assert_eq!(
9418        unsafe { &(*(::std::ptr::null::<__db_txn>())).name as *const _ as usize },
9419        32usize,
9420        concat!(
9421            "Offset of field: ",
9422            stringify!(__db_txn),
9423            "::",
9424            stringify!(name)
9425        )
9426    );
9427    assert_eq!(
9428        unsafe { &(*(::std::ptr::null::<__db_txn>())).locker as *const _ as usize },
9429        40usize,
9430        concat!(
9431            "Offset of field: ",
9432            stringify!(__db_txn),
9433            "::",
9434            stringify!(locker)
9435        )
9436    );
9437    assert_eq!(
9438        unsafe { &(*(::std::ptr::null::<__db_txn>())).td as *const _ as usize },
9439        48usize,
9440        concat!(
9441            "Offset of field: ",
9442            stringify!(__db_txn),
9443            "::",
9444            stringify!(td)
9445        )
9446    );
9447    assert_eq!(
9448        unsafe { &(*(::std::ptr::null::<__db_txn>())).lock_timeout as *const _ as usize },
9449        56usize,
9450        concat!(
9451            "Offset of field: ",
9452            stringify!(__db_txn),
9453            "::",
9454            stringify!(lock_timeout)
9455        )
9456    );
9457    assert_eq!(
9458        unsafe { &(*(::std::ptr::null::<__db_txn>())).txn_list as *const _ as usize },
9459        64usize,
9460        concat!(
9461            "Offset of field: ",
9462            stringify!(__db_txn),
9463            "::",
9464            stringify!(txn_list)
9465        )
9466    );
9467    assert_eq!(
9468        unsafe { &(*(::std::ptr::null::<__db_txn>())).links as *const _ as usize },
9469        72usize,
9470        concat!(
9471            "Offset of field: ",
9472            stringify!(__db_txn),
9473            "::",
9474            stringify!(links)
9475        )
9476    );
9477    assert_eq!(
9478        unsafe { &(*(::std::ptr::null::<__db_txn>())).xa_links as *const _ as usize },
9479        88usize,
9480        concat!(
9481            "Offset of field: ",
9482            stringify!(__db_txn),
9483            "::",
9484            stringify!(xa_links)
9485        )
9486    );
9487    assert_eq!(
9488        unsafe { &(*(::std::ptr::null::<__db_txn>())).kids as *const _ as usize },
9489        104usize,
9490        concat!(
9491            "Offset of field: ",
9492            stringify!(__db_txn),
9493            "::",
9494            stringify!(kids)
9495        )
9496    );
9497    assert_eq!(
9498        unsafe { &(*(::std::ptr::null::<__db_txn>())).events as *const _ as usize },
9499        120usize,
9500        concat!(
9501            "Offset of field: ",
9502            stringify!(__db_txn),
9503            "::",
9504            stringify!(events)
9505        )
9506    );
9507    assert_eq!(
9508        unsafe { &(*(::std::ptr::null::<__db_txn>())).logs as *const _ as usize },
9509        136usize,
9510        concat!(
9511            "Offset of field: ",
9512            stringify!(__db_txn),
9513            "::",
9514            stringify!(logs)
9515        )
9516    );
9517    assert_eq!(
9518        unsafe { &(*(::std::ptr::null::<__db_txn>())).klinks as *const _ as usize },
9519        152usize,
9520        concat!(
9521            "Offset of field: ",
9522            stringify!(__db_txn),
9523            "::",
9524            stringify!(klinks)
9525        )
9526    );
9527    assert_eq!(
9528        unsafe { &(*(::std::ptr::null::<__db_txn>())).my_cursors as *const _ as usize },
9529        168usize,
9530        concat!(
9531            "Offset of field: ",
9532            stringify!(__db_txn),
9533            "::",
9534            stringify!(my_cursors)
9535        )
9536    );
9537    assert_eq!(
9538        unsafe { &(*(::std::ptr::null::<__db_txn>())).femfs as *const _ as usize },
9539        184usize,
9540        concat!(
9541            "Offset of field: ",
9542            stringify!(__db_txn),
9543            "::",
9544            stringify!(femfs)
9545        )
9546    );
9547    assert_eq!(
9548        unsafe { &(*(::std::ptr::null::<__db_txn>())).token_buffer as *const _ as usize },
9549        200usize,
9550        concat!(
9551            "Offset of field: ",
9552            stringify!(__db_txn),
9553            "::",
9554            stringify!(token_buffer)
9555        )
9556    );
9557    assert_eq!(
9558        unsafe { &(*(::std::ptr::null::<__db_txn>())).api_internal as *const _ as usize },
9559        208usize,
9560        concat!(
9561            "Offset of field: ",
9562            stringify!(__db_txn),
9563            "::",
9564            stringify!(api_internal)
9565        )
9566    );
9567    assert_eq!(
9568        unsafe { &(*(::std::ptr::null::<__db_txn>())).xml_internal as *const _ as usize },
9569        216usize,
9570        concat!(
9571            "Offset of field: ",
9572            stringify!(__db_txn),
9573            "::",
9574            stringify!(xml_internal)
9575        )
9576    );
9577    assert_eq!(
9578        unsafe { &(*(::std::ptr::null::<__db_txn>())).cursors as *const _ as usize },
9579        224usize,
9580        concat!(
9581            "Offset of field: ",
9582            stringify!(__db_txn),
9583            "::",
9584            stringify!(cursors)
9585        )
9586    );
9587    assert_eq!(
9588        unsafe { &(*(::std::ptr::null::<__db_txn>())).abort as *const _ as usize },
9589        232usize,
9590        concat!(
9591            "Offset of field: ",
9592            stringify!(__db_txn),
9593            "::",
9594            stringify!(abort)
9595        )
9596    );
9597    assert_eq!(
9598        unsafe { &(*(::std::ptr::null::<__db_txn>())).commit as *const _ as usize },
9599        240usize,
9600        concat!(
9601            "Offset of field: ",
9602            stringify!(__db_txn),
9603            "::",
9604            stringify!(commit)
9605        )
9606    );
9607    assert_eq!(
9608        unsafe { &(*(::std::ptr::null::<__db_txn>())).discard as *const _ as usize },
9609        248usize,
9610        concat!(
9611            "Offset of field: ",
9612            stringify!(__db_txn),
9613            "::",
9614            stringify!(discard)
9615        )
9616    );
9617    assert_eq!(
9618        unsafe { &(*(::std::ptr::null::<__db_txn>())).get_name as *const _ as usize },
9619        256usize,
9620        concat!(
9621            "Offset of field: ",
9622            stringify!(__db_txn),
9623            "::",
9624            stringify!(get_name)
9625        )
9626    );
9627    assert_eq!(
9628        unsafe { &(*(::std::ptr::null::<__db_txn>())).get_priority as *const _ as usize },
9629        264usize,
9630        concat!(
9631            "Offset of field: ",
9632            stringify!(__db_txn),
9633            "::",
9634            stringify!(get_priority)
9635        )
9636    );
9637    assert_eq!(
9638        unsafe { &(*(::std::ptr::null::<__db_txn>())).id as *const _ as usize },
9639        272usize,
9640        concat!(
9641            "Offset of field: ",
9642            stringify!(__db_txn),
9643            "::",
9644            stringify!(id)
9645        )
9646    );
9647    assert_eq!(
9648        unsafe { &(*(::std::ptr::null::<__db_txn>())).prepare as *const _ as usize },
9649        280usize,
9650        concat!(
9651            "Offset of field: ",
9652            stringify!(__db_txn),
9653            "::",
9654            stringify!(prepare)
9655        )
9656    );
9657    assert_eq!(
9658        unsafe { &(*(::std::ptr::null::<__db_txn>())).set_commit_token as *const _ as usize },
9659        288usize,
9660        concat!(
9661            "Offset of field: ",
9662            stringify!(__db_txn),
9663            "::",
9664            stringify!(set_commit_token)
9665        )
9666    );
9667    assert_eq!(
9668        unsafe { &(*(::std::ptr::null::<__db_txn>())).set_name as *const _ as usize },
9669        296usize,
9670        concat!(
9671            "Offset of field: ",
9672            stringify!(__db_txn),
9673            "::",
9674            stringify!(set_name)
9675        )
9676    );
9677    assert_eq!(
9678        unsafe { &(*(::std::ptr::null::<__db_txn>())).set_priority as *const _ as usize },
9679        304usize,
9680        concat!(
9681            "Offset of field: ",
9682            stringify!(__db_txn),
9683            "::",
9684            stringify!(set_priority)
9685        )
9686    );
9687    assert_eq!(
9688        unsafe { &(*(::std::ptr::null::<__db_txn>())).set_timeout as *const _ as usize },
9689        312usize,
9690        concat!(
9691            "Offset of field: ",
9692            stringify!(__db_txn),
9693            "::",
9694            stringify!(set_timeout)
9695        )
9696    );
9697    assert_eq!(
9698        unsafe { &(*(::std::ptr::null::<__db_txn>())).set_txn_lsnp as *const _ as usize },
9699        320usize,
9700        concat!(
9701            "Offset of field: ",
9702            stringify!(__db_txn),
9703            "::",
9704            stringify!(set_txn_lsnp)
9705        )
9706    );
9707    assert_eq!(
9708        unsafe { &(*(::std::ptr::null::<__db_txn>())).xa_thr_status as *const _ as usize },
9709        328usize,
9710        concat!(
9711            "Offset of field: ",
9712            stringify!(__db_txn),
9713            "::",
9714            stringify!(xa_thr_status)
9715        )
9716    );
9717    assert_eq!(
9718        unsafe { &(*(::std::ptr::null::<__db_txn>())).flags as *const _ as usize },
9719        332usize,
9720        concat!(
9721            "Offset of field: ",
9722            stringify!(__db_txn),
9723            "::",
9724            stringify!(flags)
9725        )
9726    );
9727}
9728impl Default for __db_txn {
9729    fn default() -> Self {
9730        unsafe { ::std::mem::zeroed() }
9731    }
9732}
9733#[repr(C)]
9734#[derive(Copy, Clone)]
9735pub struct __db_preplist {
9736    pub txn: *mut DB_TXN,
9737    pub gid: [u_int8_t; 128usize],
9738}
9739#[test]
9740fn bindgen_test_layout___db_preplist() {
9741    assert_eq!(
9742        ::std::mem::size_of::<__db_preplist>(),
9743        136usize,
9744        concat!("Size of: ", stringify!(__db_preplist))
9745    );
9746    assert_eq!(
9747        ::std::mem::align_of::<__db_preplist>(),
9748        8usize,
9749        concat!("Alignment of ", stringify!(__db_preplist))
9750    );
9751    assert_eq!(
9752        unsafe { &(*(::std::ptr::null::<__db_preplist>())).txn as *const _ as usize },
9753        0usize,
9754        concat!(
9755            "Offset of field: ",
9756            stringify!(__db_preplist),
9757            "::",
9758            stringify!(txn)
9759        )
9760    );
9761    assert_eq!(
9762        unsafe { &(*(::std::ptr::null::<__db_preplist>())).gid as *const _ as usize },
9763        8usize,
9764        concat!(
9765            "Offset of field: ",
9766            stringify!(__db_preplist),
9767            "::",
9768            stringify!(gid)
9769        )
9770    );
9771}
9772impl Default for __db_preplist {
9773    fn default() -> Self {
9774        unsafe { ::std::mem::zeroed() }
9775    }
9776}
9777#[repr(C)]
9778#[derive(Copy, Clone)]
9779pub struct __db_txn_active {
9780    pub txnid: u_int32_t,
9781    pub parentid: u_int32_t,
9782    pub pid: pid_t,
9783    pub tid: db_threadid_t,
9784    pub lsn: DB_LSN,
9785    pub read_lsn: DB_LSN,
9786    pub mvcc_ref: u_int32_t,
9787    pub priority: u_int32_t,
9788    pub status: u_int32_t,
9789    pub xa_status: u_int32_t,
9790    pub gid: [u_int8_t; 128usize],
9791    pub name: [::std::os::raw::c_char; 51usize],
9792}
9793#[test]
9794fn bindgen_test_layout___db_txn_active() {
9795    assert_eq!(
9796        ::std::mem::size_of::<__db_txn_active>(),
9797        240usize,
9798        concat!("Size of: ", stringify!(__db_txn_active))
9799    );
9800    assert_eq!(
9801        ::std::mem::align_of::<__db_txn_active>(),
9802        8usize,
9803        concat!("Alignment of ", stringify!(__db_txn_active))
9804    );
9805    assert_eq!(
9806        unsafe { &(*(::std::ptr::null::<__db_txn_active>())).txnid as *const _ as usize },
9807        0usize,
9808        concat!(
9809            "Offset of field: ",
9810            stringify!(__db_txn_active),
9811            "::",
9812            stringify!(txnid)
9813        )
9814    );
9815    assert_eq!(
9816        unsafe { &(*(::std::ptr::null::<__db_txn_active>())).parentid as *const _ as usize },
9817        4usize,
9818        concat!(
9819            "Offset of field: ",
9820            stringify!(__db_txn_active),
9821            "::",
9822            stringify!(parentid)
9823        )
9824    );
9825    assert_eq!(
9826        unsafe { &(*(::std::ptr::null::<__db_txn_active>())).pid as *const _ as usize },
9827        8usize,
9828        concat!(
9829            "Offset of field: ",
9830            stringify!(__db_txn_active),
9831            "::",
9832            stringify!(pid)
9833        )
9834    );
9835    assert_eq!(
9836        unsafe { &(*(::std::ptr::null::<__db_txn_active>())).tid as *const _ as usize },
9837        16usize,
9838        concat!(
9839            "Offset of field: ",
9840            stringify!(__db_txn_active),
9841            "::",
9842            stringify!(tid)
9843        )
9844    );
9845    assert_eq!(
9846        unsafe { &(*(::std::ptr::null::<__db_txn_active>())).lsn as *const _ as usize },
9847        24usize,
9848        concat!(
9849            "Offset of field: ",
9850            stringify!(__db_txn_active),
9851            "::",
9852            stringify!(lsn)
9853        )
9854    );
9855    assert_eq!(
9856        unsafe { &(*(::std::ptr::null::<__db_txn_active>())).read_lsn as *const _ as usize },
9857        32usize,
9858        concat!(
9859            "Offset of field: ",
9860            stringify!(__db_txn_active),
9861            "::",
9862            stringify!(read_lsn)
9863        )
9864    );
9865    assert_eq!(
9866        unsafe { &(*(::std::ptr::null::<__db_txn_active>())).mvcc_ref as *const _ as usize },
9867        40usize,
9868        concat!(
9869            "Offset of field: ",
9870            stringify!(__db_txn_active),
9871            "::",
9872            stringify!(mvcc_ref)
9873        )
9874    );
9875    assert_eq!(
9876        unsafe { &(*(::std::ptr::null::<__db_txn_active>())).priority as *const _ as usize },
9877        44usize,
9878        concat!(
9879            "Offset of field: ",
9880            stringify!(__db_txn_active),
9881            "::",
9882            stringify!(priority)
9883        )
9884    );
9885    assert_eq!(
9886        unsafe { &(*(::std::ptr::null::<__db_txn_active>())).status as *const _ as usize },
9887        48usize,
9888        concat!(
9889            "Offset of field: ",
9890            stringify!(__db_txn_active),
9891            "::",
9892            stringify!(status)
9893        )
9894    );
9895    assert_eq!(
9896        unsafe { &(*(::std::ptr::null::<__db_txn_active>())).xa_status as *const _ as usize },
9897        52usize,
9898        concat!(
9899            "Offset of field: ",
9900            stringify!(__db_txn_active),
9901            "::",
9902            stringify!(xa_status)
9903        )
9904    );
9905    assert_eq!(
9906        unsafe { &(*(::std::ptr::null::<__db_txn_active>())).gid as *const _ as usize },
9907        56usize,
9908        concat!(
9909            "Offset of field: ",
9910            stringify!(__db_txn_active),
9911            "::",
9912            stringify!(gid)
9913        )
9914    );
9915    assert_eq!(
9916        unsafe { &(*(::std::ptr::null::<__db_txn_active>())).name as *const _ as usize },
9917        184usize,
9918        concat!(
9919            "Offset of field: ",
9920            stringify!(__db_txn_active),
9921            "::",
9922            stringify!(name)
9923        )
9924    );
9925}
9926impl Default for __db_txn_active {
9927    fn default() -> Self {
9928        unsafe { ::std::mem::zeroed() }
9929    }
9930}
9931#[repr(C)]
9932#[derive(Debug, Copy, Clone)]
9933pub struct __db_txn_stat {
9934    pub st_nrestores: u_int32_t,
9935    pub st_last_ckp: DB_LSN,
9936    pub st_time_ckp: time_t,
9937    pub st_last_txnid: u_int32_t,
9938    pub st_inittxns: u_int32_t,
9939    pub st_maxtxns: u_int32_t,
9940    pub st_naborts: uintmax_t,
9941    pub st_nbegins: uintmax_t,
9942    pub st_ncommits: uintmax_t,
9943    pub st_nactive: u_int32_t,
9944    pub st_nsnapshot: u_int32_t,
9945    pub st_maxnactive: u_int32_t,
9946    pub st_maxnsnapshot: u_int32_t,
9947    pub st_region_wait: uintmax_t,
9948    pub st_region_nowait: uintmax_t,
9949    pub st_regsize: roff_t,
9950    pub st_txnarray: *mut DB_TXN_ACTIVE,
9951}
9952#[test]
9953fn bindgen_test_layout___db_txn_stat() {
9954    assert_eq!(
9955        ::std::mem::size_of::<__db_txn_stat>(),
9956        112usize,
9957        concat!("Size of: ", stringify!(__db_txn_stat))
9958    );
9959    assert_eq!(
9960        ::std::mem::align_of::<__db_txn_stat>(),
9961        8usize,
9962        concat!("Alignment of ", stringify!(__db_txn_stat))
9963    );
9964    assert_eq!(
9965        unsafe { &(*(::std::ptr::null::<__db_txn_stat>())).st_nrestores as *const _ as usize },
9966        0usize,
9967        concat!(
9968            "Offset of field: ",
9969            stringify!(__db_txn_stat),
9970            "::",
9971            stringify!(st_nrestores)
9972        )
9973    );
9974    assert_eq!(
9975        unsafe { &(*(::std::ptr::null::<__db_txn_stat>())).st_last_ckp as *const _ as usize },
9976        4usize,
9977        concat!(
9978            "Offset of field: ",
9979            stringify!(__db_txn_stat),
9980            "::",
9981            stringify!(st_last_ckp)
9982        )
9983    );
9984    assert_eq!(
9985        unsafe { &(*(::std::ptr::null::<__db_txn_stat>())).st_time_ckp as *const _ as usize },
9986        16usize,
9987        concat!(
9988            "Offset of field: ",
9989            stringify!(__db_txn_stat),
9990            "::",
9991            stringify!(st_time_ckp)
9992        )
9993    );
9994    assert_eq!(
9995        unsafe { &(*(::std::ptr::null::<__db_txn_stat>())).st_last_txnid as *const _ as usize },
9996        24usize,
9997        concat!(
9998            "Offset of field: ",
9999            stringify!(__db_txn_stat),
10000            "::",
10001            stringify!(st_last_txnid)
10002        )
10003    );
10004    assert_eq!(
10005        unsafe { &(*(::std::ptr::null::<__db_txn_stat>())).st_inittxns as *const _ as usize },
10006        28usize,
10007        concat!(
10008            "Offset of field: ",
10009            stringify!(__db_txn_stat),
10010            "::",
10011            stringify!(st_inittxns)
10012        )
10013    );
10014    assert_eq!(
10015        unsafe { &(*(::std::ptr::null::<__db_txn_stat>())).st_maxtxns as *const _ as usize },
10016        32usize,
10017        concat!(
10018            "Offset of field: ",
10019            stringify!(__db_txn_stat),
10020            "::",
10021            stringify!(st_maxtxns)
10022        )
10023    );
10024    assert_eq!(
10025        unsafe { &(*(::std::ptr::null::<__db_txn_stat>())).st_naborts as *const _ as usize },
10026        40usize,
10027        concat!(
10028            "Offset of field: ",
10029            stringify!(__db_txn_stat),
10030            "::",
10031            stringify!(st_naborts)
10032        )
10033    );
10034    assert_eq!(
10035        unsafe { &(*(::std::ptr::null::<__db_txn_stat>())).st_nbegins as *const _ as usize },
10036        48usize,
10037        concat!(
10038            "Offset of field: ",
10039            stringify!(__db_txn_stat),
10040            "::",
10041            stringify!(st_nbegins)
10042        )
10043    );
10044    assert_eq!(
10045        unsafe { &(*(::std::ptr::null::<__db_txn_stat>())).st_ncommits as *const _ as usize },
10046        56usize,
10047        concat!(
10048            "Offset of field: ",
10049            stringify!(__db_txn_stat),
10050            "::",
10051            stringify!(st_ncommits)
10052        )
10053    );
10054    assert_eq!(
10055        unsafe { &(*(::std::ptr::null::<__db_txn_stat>())).st_nactive as *const _ as usize },
10056        64usize,
10057        concat!(
10058            "Offset of field: ",
10059            stringify!(__db_txn_stat),
10060            "::",
10061            stringify!(st_nactive)
10062        )
10063    );
10064    assert_eq!(
10065        unsafe { &(*(::std::ptr::null::<__db_txn_stat>())).st_nsnapshot as *const _ as usize },
10066        68usize,
10067        concat!(
10068            "Offset of field: ",
10069            stringify!(__db_txn_stat),
10070            "::",
10071            stringify!(st_nsnapshot)
10072        )
10073    );
10074    assert_eq!(
10075        unsafe { &(*(::std::ptr::null::<__db_txn_stat>())).st_maxnactive as *const _ as usize },
10076        72usize,
10077        concat!(
10078            "Offset of field: ",
10079            stringify!(__db_txn_stat),
10080            "::",
10081            stringify!(st_maxnactive)
10082        )
10083    );
10084    assert_eq!(
10085        unsafe { &(*(::std::ptr::null::<__db_txn_stat>())).st_maxnsnapshot as *const _ as usize },
10086        76usize,
10087        concat!(
10088            "Offset of field: ",
10089            stringify!(__db_txn_stat),
10090            "::",
10091            stringify!(st_maxnsnapshot)
10092        )
10093    );
10094    assert_eq!(
10095        unsafe { &(*(::std::ptr::null::<__db_txn_stat>())).st_region_wait as *const _ as usize },
10096        80usize,
10097        concat!(
10098            "Offset of field: ",
10099            stringify!(__db_txn_stat),
10100            "::",
10101            stringify!(st_region_wait)
10102        )
10103    );
10104    assert_eq!(
10105        unsafe { &(*(::std::ptr::null::<__db_txn_stat>())).st_region_nowait as *const _ as usize },
10106        88usize,
10107        concat!(
10108            "Offset of field: ",
10109            stringify!(__db_txn_stat),
10110            "::",
10111            stringify!(st_region_nowait)
10112        )
10113    );
10114    assert_eq!(
10115        unsafe { &(*(::std::ptr::null::<__db_txn_stat>())).st_regsize as *const _ as usize },
10116        96usize,
10117        concat!(
10118            "Offset of field: ",
10119            stringify!(__db_txn_stat),
10120            "::",
10121            stringify!(st_regsize)
10122        )
10123    );
10124    assert_eq!(
10125        unsafe { &(*(::std::ptr::null::<__db_txn_stat>())).st_txnarray as *const _ as usize },
10126        104usize,
10127        concat!(
10128            "Offset of field: ",
10129            stringify!(__db_txn_stat),
10130            "::",
10131            stringify!(st_txnarray)
10132        )
10133    );
10134}
10135impl Default for __db_txn_stat {
10136    fn default() -> Self {
10137        unsafe { ::std::mem::zeroed() }
10138    }
10139}
10140#[repr(C)]
10141#[derive(Debug, Default, Copy, Clone)]
10142pub struct __db_txn_token {
10143    pub buf: [u_int8_t; 20usize],
10144}
10145#[test]
10146fn bindgen_test_layout___db_txn_token() {
10147    assert_eq!(
10148        ::std::mem::size_of::<__db_txn_token>(),
10149        20usize,
10150        concat!("Size of: ", stringify!(__db_txn_token))
10151    );
10152    assert_eq!(
10153        ::std::mem::align_of::<__db_txn_token>(),
10154        1usize,
10155        concat!("Alignment of ", stringify!(__db_txn_token))
10156    );
10157    assert_eq!(
10158        unsafe { &(*(::std::ptr::null::<__db_txn_token>())).buf as *const _ as usize },
10159        0usize,
10160        concat!(
10161            "Offset of field: ",
10162            stringify!(__db_txn_token),
10163            "::",
10164            stringify!(buf)
10165        )
10166    );
10167}
10168#[repr(C)]
10169#[derive(Debug, Copy, Clone)]
10170pub struct __db_repmgr_site {
10171    pub eid: ::std::os::raw::c_int,
10172    pub host: *mut ::std::os::raw::c_char,
10173    pub port: u_int,
10174    pub status: u_int32_t,
10175    pub flags: u_int32_t,
10176}
10177#[test]
10178fn bindgen_test_layout___db_repmgr_site() {
10179    assert_eq!(
10180        ::std::mem::size_of::<__db_repmgr_site>(),
10181        32usize,
10182        concat!("Size of: ", stringify!(__db_repmgr_site))
10183    );
10184    assert_eq!(
10185        ::std::mem::align_of::<__db_repmgr_site>(),
10186        8usize,
10187        concat!("Alignment of ", stringify!(__db_repmgr_site))
10188    );
10189    assert_eq!(
10190        unsafe { &(*(::std::ptr::null::<__db_repmgr_site>())).eid as *const _ as usize },
10191        0usize,
10192        concat!(
10193            "Offset of field: ",
10194            stringify!(__db_repmgr_site),
10195            "::",
10196            stringify!(eid)
10197        )
10198    );
10199    assert_eq!(
10200        unsafe { &(*(::std::ptr::null::<__db_repmgr_site>())).host as *const _ as usize },
10201        8usize,
10202        concat!(
10203            "Offset of field: ",
10204            stringify!(__db_repmgr_site),
10205            "::",
10206            stringify!(host)
10207        )
10208    );
10209    assert_eq!(
10210        unsafe { &(*(::std::ptr::null::<__db_repmgr_site>())).port as *const _ as usize },
10211        16usize,
10212        concat!(
10213            "Offset of field: ",
10214            stringify!(__db_repmgr_site),
10215            "::",
10216            stringify!(port)
10217        )
10218    );
10219    assert_eq!(
10220        unsafe { &(*(::std::ptr::null::<__db_repmgr_site>())).status as *const _ as usize },
10221        20usize,
10222        concat!(
10223            "Offset of field: ",
10224            stringify!(__db_repmgr_site),
10225            "::",
10226            stringify!(status)
10227        )
10228    );
10229    assert_eq!(
10230        unsafe { &(*(::std::ptr::null::<__db_repmgr_site>())).flags as *const _ as usize },
10231        24usize,
10232        concat!(
10233            "Offset of field: ",
10234            stringify!(__db_repmgr_site),
10235            "::",
10236            stringify!(flags)
10237        )
10238    );
10239}
10240impl Default for __db_repmgr_site {
10241    fn default() -> Self {
10242        unsafe { ::std::mem::zeroed() }
10243    }
10244}
10245#[repr(C)]
10246#[derive(Debug, Default, Copy, Clone)]
10247pub struct __db_rep_stat {
10248    pub st_startup_complete: u_int32_t,
10249    pub st_log_queued: uintmax_t,
10250    pub st_status: u_int32_t,
10251    pub st_next_lsn: DB_LSN,
10252    pub st_waiting_lsn: DB_LSN,
10253    pub st_max_perm_lsn: DB_LSN,
10254    pub st_next_pg: db_pgno_t,
10255    pub st_waiting_pg: db_pgno_t,
10256    pub st_dupmasters: u_int32_t,
10257    pub st_env_id: db_ssize_t,
10258    pub st_env_priority: u_int32_t,
10259    pub st_bulk_fills: uintmax_t,
10260    pub st_bulk_overflows: uintmax_t,
10261    pub st_bulk_records: uintmax_t,
10262    pub st_bulk_transfers: uintmax_t,
10263    pub st_client_rerequests: uintmax_t,
10264    pub st_client_svc_req: uintmax_t,
10265    pub st_client_svc_miss: uintmax_t,
10266    pub st_gen: u_int32_t,
10267    pub st_egen: u_int32_t,
10268    pub st_lease_chk: uintmax_t,
10269    pub st_lease_chk_misses: uintmax_t,
10270    pub st_lease_chk_refresh: uintmax_t,
10271    pub st_lease_sends: uintmax_t,
10272    pub st_log_duplicated: uintmax_t,
10273    pub st_log_queued_max: uintmax_t,
10274    pub st_log_queued_total: uintmax_t,
10275    pub st_log_records: uintmax_t,
10276    pub st_log_requested: uintmax_t,
10277    pub st_master: db_ssize_t,
10278    pub st_master_changes: uintmax_t,
10279    pub st_msgs_badgen: uintmax_t,
10280    pub st_msgs_processed: uintmax_t,
10281    pub st_msgs_recover: uintmax_t,
10282    pub st_msgs_send_failures: uintmax_t,
10283    pub st_msgs_sent: uintmax_t,
10284    pub st_newsites: uintmax_t,
10285    pub st_nsites: u_int32_t,
10286    pub st_nthrottles: uintmax_t,
10287    pub st_outdated: uintmax_t,
10288    pub st_pg_duplicated: uintmax_t,
10289    pub st_pg_records: uintmax_t,
10290    pub st_pg_requested: uintmax_t,
10291    pub st_txns_applied: uintmax_t,
10292    pub st_startsync_delayed: uintmax_t,
10293    pub st_elections: uintmax_t,
10294    pub st_elections_won: uintmax_t,
10295    pub st_election_cur_winner: db_ssize_t,
10296    pub st_election_gen: u_int32_t,
10297    pub st_election_datagen: u_int32_t,
10298    pub st_election_lsn: DB_LSN,
10299    pub st_election_nsites: u_int32_t,
10300    pub st_election_nvotes: u_int32_t,
10301    pub st_election_priority: u_int32_t,
10302    pub st_election_status: i32,
10303    pub st_election_tiebreaker: u_int32_t,
10304    pub st_election_votes: u_int32_t,
10305    pub st_election_sec: u_int32_t,
10306    pub st_election_usec: u_int32_t,
10307    pub st_max_lease_sec: u_int32_t,
10308    pub st_max_lease_usec: u_int32_t,
10309}
10310#[test]
10311fn bindgen_test_layout___db_rep_stat() {
10312    assert_eq!(
10313        ::std::mem::size_of::<__db_rep_stat>(),
10314        416usize,
10315        concat!("Size of: ", stringify!(__db_rep_stat))
10316    );
10317    assert_eq!(
10318        ::std::mem::align_of::<__db_rep_stat>(),
10319        8usize,
10320        concat!("Alignment of ", stringify!(__db_rep_stat))
10321    );
10322    assert_eq!(
10323        unsafe {
10324            &(*(::std::ptr::null::<__db_rep_stat>())).st_startup_complete as *const _ as usize
10325        },
10326        0usize,
10327        concat!(
10328            "Offset of field: ",
10329            stringify!(__db_rep_stat),
10330            "::",
10331            stringify!(st_startup_complete)
10332        )
10333    );
10334    assert_eq!(
10335        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_log_queued as *const _ as usize },
10336        8usize,
10337        concat!(
10338            "Offset of field: ",
10339            stringify!(__db_rep_stat),
10340            "::",
10341            stringify!(st_log_queued)
10342        )
10343    );
10344    assert_eq!(
10345        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_status as *const _ as usize },
10346        16usize,
10347        concat!(
10348            "Offset of field: ",
10349            stringify!(__db_rep_stat),
10350            "::",
10351            stringify!(st_status)
10352        )
10353    );
10354    assert_eq!(
10355        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_next_lsn as *const _ as usize },
10356        20usize,
10357        concat!(
10358            "Offset of field: ",
10359            stringify!(__db_rep_stat),
10360            "::",
10361            stringify!(st_next_lsn)
10362        )
10363    );
10364    assert_eq!(
10365        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_waiting_lsn as *const _ as usize },
10366        28usize,
10367        concat!(
10368            "Offset of field: ",
10369            stringify!(__db_rep_stat),
10370            "::",
10371            stringify!(st_waiting_lsn)
10372        )
10373    );
10374    assert_eq!(
10375        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_max_perm_lsn as *const _ as usize },
10376        36usize,
10377        concat!(
10378            "Offset of field: ",
10379            stringify!(__db_rep_stat),
10380            "::",
10381            stringify!(st_max_perm_lsn)
10382        )
10383    );
10384    assert_eq!(
10385        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_next_pg as *const _ as usize },
10386        44usize,
10387        concat!(
10388            "Offset of field: ",
10389            stringify!(__db_rep_stat),
10390            "::",
10391            stringify!(st_next_pg)
10392        )
10393    );
10394    assert_eq!(
10395        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_waiting_pg as *const _ as usize },
10396        48usize,
10397        concat!(
10398            "Offset of field: ",
10399            stringify!(__db_rep_stat),
10400            "::",
10401            stringify!(st_waiting_pg)
10402        )
10403    );
10404    assert_eq!(
10405        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_dupmasters as *const _ as usize },
10406        52usize,
10407        concat!(
10408            "Offset of field: ",
10409            stringify!(__db_rep_stat),
10410            "::",
10411            stringify!(st_dupmasters)
10412        )
10413    );
10414    assert_eq!(
10415        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_env_id as *const _ as usize },
10416        56usize,
10417        concat!(
10418            "Offset of field: ",
10419            stringify!(__db_rep_stat),
10420            "::",
10421            stringify!(st_env_id)
10422        )
10423    );
10424    assert_eq!(
10425        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_env_priority as *const _ as usize },
10426        64usize,
10427        concat!(
10428            "Offset of field: ",
10429            stringify!(__db_rep_stat),
10430            "::",
10431            stringify!(st_env_priority)
10432        )
10433    );
10434    assert_eq!(
10435        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_bulk_fills as *const _ as usize },
10436        72usize,
10437        concat!(
10438            "Offset of field: ",
10439            stringify!(__db_rep_stat),
10440            "::",
10441            stringify!(st_bulk_fills)
10442        )
10443    );
10444    assert_eq!(
10445        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_bulk_overflows as *const _ as usize },
10446        80usize,
10447        concat!(
10448            "Offset of field: ",
10449            stringify!(__db_rep_stat),
10450            "::",
10451            stringify!(st_bulk_overflows)
10452        )
10453    );
10454    assert_eq!(
10455        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_bulk_records as *const _ as usize },
10456        88usize,
10457        concat!(
10458            "Offset of field: ",
10459            stringify!(__db_rep_stat),
10460            "::",
10461            stringify!(st_bulk_records)
10462        )
10463    );
10464    assert_eq!(
10465        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_bulk_transfers as *const _ as usize },
10466        96usize,
10467        concat!(
10468            "Offset of field: ",
10469            stringify!(__db_rep_stat),
10470            "::",
10471            stringify!(st_bulk_transfers)
10472        )
10473    );
10474    assert_eq!(
10475        unsafe {
10476            &(*(::std::ptr::null::<__db_rep_stat>())).st_client_rerequests as *const _ as usize
10477        },
10478        104usize,
10479        concat!(
10480            "Offset of field: ",
10481            stringify!(__db_rep_stat),
10482            "::",
10483            stringify!(st_client_rerequests)
10484        )
10485    );
10486    assert_eq!(
10487        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_client_svc_req as *const _ as usize },
10488        112usize,
10489        concat!(
10490            "Offset of field: ",
10491            stringify!(__db_rep_stat),
10492            "::",
10493            stringify!(st_client_svc_req)
10494        )
10495    );
10496    assert_eq!(
10497        unsafe {
10498            &(*(::std::ptr::null::<__db_rep_stat>())).st_client_svc_miss as *const _ as usize
10499        },
10500        120usize,
10501        concat!(
10502            "Offset of field: ",
10503            stringify!(__db_rep_stat),
10504            "::",
10505            stringify!(st_client_svc_miss)
10506        )
10507    );
10508    assert_eq!(
10509        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_gen as *const _ as usize },
10510        128usize,
10511        concat!(
10512            "Offset of field: ",
10513            stringify!(__db_rep_stat),
10514            "::",
10515            stringify!(st_gen)
10516        )
10517    );
10518    assert_eq!(
10519        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_egen as *const _ as usize },
10520        132usize,
10521        concat!(
10522            "Offset of field: ",
10523            stringify!(__db_rep_stat),
10524            "::",
10525            stringify!(st_egen)
10526        )
10527    );
10528    assert_eq!(
10529        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_lease_chk as *const _ as usize },
10530        136usize,
10531        concat!(
10532            "Offset of field: ",
10533            stringify!(__db_rep_stat),
10534            "::",
10535            stringify!(st_lease_chk)
10536        )
10537    );
10538    assert_eq!(
10539        unsafe {
10540            &(*(::std::ptr::null::<__db_rep_stat>())).st_lease_chk_misses as *const _ as usize
10541        },
10542        144usize,
10543        concat!(
10544            "Offset of field: ",
10545            stringify!(__db_rep_stat),
10546            "::",
10547            stringify!(st_lease_chk_misses)
10548        )
10549    );
10550    assert_eq!(
10551        unsafe {
10552            &(*(::std::ptr::null::<__db_rep_stat>())).st_lease_chk_refresh as *const _ as usize
10553        },
10554        152usize,
10555        concat!(
10556            "Offset of field: ",
10557            stringify!(__db_rep_stat),
10558            "::",
10559            stringify!(st_lease_chk_refresh)
10560        )
10561    );
10562    assert_eq!(
10563        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_lease_sends as *const _ as usize },
10564        160usize,
10565        concat!(
10566            "Offset of field: ",
10567            stringify!(__db_rep_stat),
10568            "::",
10569            stringify!(st_lease_sends)
10570        )
10571    );
10572    assert_eq!(
10573        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_log_duplicated as *const _ as usize },
10574        168usize,
10575        concat!(
10576            "Offset of field: ",
10577            stringify!(__db_rep_stat),
10578            "::",
10579            stringify!(st_log_duplicated)
10580        )
10581    );
10582    assert_eq!(
10583        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_log_queued_max as *const _ as usize },
10584        176usize,
10585        concat!(
10586            "Offset of field: ",
10587            stringify!(__db_rep_stat),
10588            "::",
10589            stringify!(st_log_queued_max)
10590        )
10591    );
10592    assert_eq!(
10593        unsafe {
10594            &(*(::std::ptr::null::<__db_rep_stat>())).st_log_queued_total as *const _ as usize
10595        },
10596        184usize,
10597        concat!(
10598            "Offset of field: ",
10599            stringify!(__db_rep_stat),
10600            "::",
10601            stringify!(st_log_queued_total)
10602        )
10603    );
10604    assert_eq!(
10605        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_log_records as *const _ as usize },
10606        192usize,
10607        concat!(
10608            "Offset of field: ",
10609            stringify!(__db_rep_stat),
10610            "::",
10611            stringify!(st_log_records)
10612        )
10613    );
10614    assert_eq!(
10615        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_log_requested as *const _ as usize },
10616        200usize,
10617        concat!(
10618            "Offset of field: ",
10619            stringify!(__db_rep_stat),
10620            "::",
10621            stringify!(st_log_requested)
10622        )
10623    );
10624    assert_eq!(
10625        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_master as *const _ as usize },
10626        208usize,
10627        concat!(
10628            "Offset of field: ",
10629            stringify!(__db_rep_stat),
10630            "::",
10631            stringify!(st_master)
10632        )
10633    );
10634    assert_eq!(
10635        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_master_changes as *const _ as usize },
10636        216usize,
10637        concat!(
10638            "Offset of field: ",
10639            stringify!(__db_rep_stat),
10640            "::",
10641            stringify!(st_master_changes)
10642        )
10643    );
10644    assert_eq!(
10645        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_msgs_badgen as *const _ as usize },
10646        224usize,
10647        concat!(
10648            "Offset of field: ",
10649            stringify!(__db_rep_stat),
10650            "::",
10651            stringify!(st_msgs_badgen)
10652        )
10653    );
10654    assert_eq!(
10655        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_msgs_processed as *const _ as usize },
10656        232usize,
10657        concat!(
10658            "Offset of field: ",
10659            stringify!(__db_rep_stat),
10660            "::",
10661            stringify!(st_msgs_processed)
10662        )
10663    );
10664    assert_eq!(
10665        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_msgs_recover as *const _ as usize },
10666        240usize,
10667        concat!(
10668            "Offset of field: ",
10669            stringify!(__db_rep_stat),
10670            "::",
10671            stringify!(st_msgs_recover)
10672        )
10673    );
10674    assert_eq!(
10675        unsafe {
10676            &(*(::std::ptr::null::<__db_rep_stat>())).st_msgs_send_failures as *const _ as usize
10677        },
10678        248usize,
10679        concat!(
10680            "Offset of field: ",
10681            stringify!(__db_rep_stat),
10682            "::",
10683            stringify!(st_msgs_send_failures)
10684        )
10685    );
10686    assert_eq!(
10687        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_msgs_sent as *const _ as usize },
10688        256usize,
10689        concat!(
10690            "Offset of field: ",
10691            stringify!(__db_rep_stat),
10692            "::",
10693            stringify!(st_msgs_sent)
10694        )
10695    );
10696    assert_eq!(
10697        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_newsites as *const _ as usize },
10698        264usize,
10699        concat!(
10700            "Offset of field: ",
10701            stringify!(__db_rep_stat),
10702            "::",
10703            stringify!(st_newsites)
10704        )
10705    );
10706    assert_eq!(
10707        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_nsites as *const _ as usize },
10708        272usize,
10709        concat!(
10710            "Offset of field: ",
10711            stringify!(__db_rep_stat),
10712            "::",
10713            stringify!(st_nsites)
10714        )
10715    );
10716    assert_eq!(
10717        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_nthrottles as *const _ as usize },
10718        280usize,
10719        concat!(
10720            "Offset of field: ",
10721            stringify!(__db_rep_stat),
10722            "::",
10723            stringify!(st_nthrottles)
10724        )
10725    );
10726    assert_eq!(
10727        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_outdated as *const _ as usize },
10728        288usize,
10729        concat!(
10730            "Offset of field: ",
10731            stringify!(__db_rep_stat),
10732            "::",
10733            stringify!(st_outdated)
10734        )
10735    );
10736    assert_eq!(
10737        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_pg_duplicated as *const _ as usize },
10738        296usize,
10739        concat!(
10740            "Offset of field: ",
10741            stringify!(__db_rep_stat),
10742            "::",
10743            stringify!(st_pg_duplicated)
10744        )
10745    );
10746    assert_eq!(
10747        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_pg_records as *const _ as usize },
10748        304usize,
10749        concat!(
10750            "Offset of field: ",
10751            stringify!(__db_rep_stat),
10752            "::",
10753            stringify!(st_pg_records)
10754        )
10755    );
10756    assert_eq!(
10757        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_pg_requested as *const _ as usize },
10758        312usize,
10759        concat!(
10760            "Offset of field: ",
10761            stringify!(__db_rep_stat),
10762            "::",
10763            stringify!(st_pg_requested)
10764        )
10765    );
10766    assert_eq!(
10767        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_txns_applied as *const _ as usize },
10768        320usize,
10769        concat!(
10770            "Offset of field: ",
10771            stringify!(__db_rep_stat),
10772            "::",
10773            stringify!(st_txns_applied)
10774        )
10775    );
10776    assert_eq!(
10777        unsafe {
10778            &(*(::std::ptr::null::<__db_rep_stat>())).st_startsync_delayed as *const _ as usize
10779        },
10780        328usize,
10781        concat!(
10782            "Offset of field: ",
10783            stringify!(__db_rep_stat),
10784            "::",
10785            stringify!(st_startsync_delayed)
10786        )
10787    );
10788    assert_eq!(
10789        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_elections as *const _ as usize },
10790        336usize,
10791        concat!(
10792            "Offset of field: ",
10793            stringify!(__db_rep_stat),
10794            "::",
10795            stringify!(st_elections)
10796        )
10797    );
10798    assert_eq!(
10799        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_elections_won as *const _ as usize },
10800        344usize,
10801        concat!(
10802            "Offset of field: ",
10803            stringify!(__db_rep_stat),
10804            "::",
10805            stringify!(st_elections_won)
10806        )
10807    );
10808    assert_eq!(
10809        unsafe {
10810            &(*(::std::ptr::null::<__db_rep_stat>())).st_election_cur_winner as *const _ as usize
10811        },
10812        352usize,
10813        concat!(
10814            "Offset of field: ",
10815            stringify!(__db_rep_stat),
10816            "::",
10817            stringify!(st_election_cur_winner)
10818        )
10819    );
10820    assert_eq!(
10821        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_election_gen as *const _ as usize },
10822        360usize,
10823        concat!(
10824            "Offset of field: ",
10825            stringify!(__db_rep_stat),
10826            "::",
10827            stringify!(st_election_gen)
10828        )
10829    );
10830    assert_eq!(
10831        unsafe {
10832            &(*(::std::ptr::null::<__db_rep_stat>())).st_election_datagen as *const _ as usize
10833        },
10834        364usize,
10835        concat!(
10836            "Offset of field: ",
10837            stringify!(__db_rep_stat),
10838            "::",
10839            stringify!(st_election_datagen)
10840        )
10841    );
10842    assert_eq!(
10843        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_election_lsn as *const _ as usize },
10844        368usize,
10845        concat!(
10846            "Offset of field: ",
10847            stringify!(__db_rep_stat),
10848            "::",
10849            stringify!(st_election_lsn)
10850        )
10851    );
10852    assert_eq!(
10853        unsafe {
10854            &(*(::std::ptr::null::<__db_rep_stat>())).st_election_nsites as *const _ as usize
10855        },
10856        376usize,
10857        concat!(
10858            "Offset of field: ",
10859            stringify!(__db_rep_stat),
10860            "::",
10861            stringify!(st_election_nsites)
10862        )
10863    );
10864    assert_eq!(
10865        unsafe {
10866            &(*(::std::ptr::null::<__db_rep_stat>())).st_election_nvotes as *const _ as usize
10867        },
10868        380usize,
10869        concat!(
10870            "Offset of field: ",
10871            stringify!(__db_rep_stat),
10872            "::",
10873            stringify!(st_election_nvotes)
10874        )
10875    );
10876    assert_eq!(
10877        unsafe {
10878            &(*(::std::ptr::null::<__db_rep_stat>())).st_election_priority as *const _ as usize
10879        },
10880        384usize,
10881        concat!(
10882            "Offset of field: ",
10883            stringify!(__db_rep_stat),
10884            "::",
10885            stringify!(st_election_priority)
10886        )
10887    );
10888    assert_eq!(
10889        unsafe {
10890            &(*(::std::ptr::null::<__db_rep_stat>())).st_election_status as *const _ as usize
10891        },
10892        388usize,
10893        concat!(
10894            "Offset of field: ",
10895            stringify!(__db_rep_stat),
10896            "::",
10897            stringify!(st_election_status)
10898        )
10899    );
10900    assert_eq!(
10901        unsafe {
10902            &(*(::std::ptr::null::<__db_rep_stat>())).st_election_tiebreaker as *const _ as usize
10903        },
10904        392usize,
10905        concat!(
10906            "Offset of field: ",
10907            stringify!(__db_rep_stat),
10908            "::",
10909            stringify!(st_election_tiebreaker)
10910        )
10911    );
10912    assert_eq!(
10913        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_election_votes as *const _ as usize },
10914        396usize,
10915        concat!(
10916            "Offset of field: ",
10917            stringify!(__db_rep_stat),
10918            "::",
10919            stringify!(st_election_votes)
10920        )
10921    );
10922    assert_eq!(
10923        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_election_sec as *const _ as usize },
10924        400usize,
10925        concat!(
10926            "Offset of field: ",
10927            stringify!(__db_rep_stat),
10928            "::",
10929            stringify!(st_election_sec)
10930        )
10931    );
10932    assert_eq!(
10933        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_election_usec as *const _ as usize },
10934        404usize,
10935        concat!(
10936            "Offset of field: ",
10937            stringify!(__db_rep_stat),
10938            "::",
10939            stringify!(st_election_usec)
10940        )
10941    );
10942    assert_eq!(
10943        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_max_lease_sec as *const _ as usize },
10944        408usize,
10945        concat!(
10946            "Offset of field: ",
10947            stringify!(__db_rep_stat),
10948            "::",
10949            stringify!(st_max_lease_sec)
10950        )
10951    );
10952    assert_eq!(
10953        unsafe { &(*(::std::ptr::null::<__db_rep_stat>())).st_max_lease_usec as *const _ as usize },
10954        412usize,
10955        concat!(
10956            "Offset of field: ",
10957            stringify!(__db_rep_stat),
10958            "::",
10959            stringify!(st_max_lease_usec)
10960        )
10961    );
10962}
10963#[repr(C)]
10964#[derive(Debug, Default, Copy, Clone)]
10965pub struct __db_repmgr_stat {
10966    pub st_perm_failed: uintmax_t,
10967    pub st_msgs_queued: uintmax_t,
10968    pub st_msgs_dropped: uintmax_t,
10969    pub st_connection_drop: uintmax_t,
10970    pub st_connect_fail: uintmax_t,
10971    pub st_elect_threads: uintmax_t,
10972    pub st_max_elect_threads: uintmax_t,
10973}
10974#[test]
10975fn bindgen_test_layout___db_repmgr_stat() {
10976    assert_eq!(
10977        ::std::mem::size_of::<__db_repmgr_stat>(),
10978        56usize,
10979        concat!("Size of: ", stringify!(__db_repmgr_stat))
10980    );
10981    assert_eq!(
10982        ::std::mem::align_of::<__db_repmgr_stat>(),
10983        8usize,
10984        concat!("Alignment of ", stringify!(__db_repmgr_stat))
10985    );
10986    assert_eq!(
10987        unsafe { &(*(::std::ptr::null::<__db_repmgr_stat>())).st_perm_failed as *const _ as usize },
10988        0usize,
10989        concat!(
10990            "Offset of field: ",
10991            stringify!(__db_repmgr_stat),
10992            "::",
10993            stringify!(st_perm_failed)
10994        )
10995    );
10996    assert_eq!(
10997        unsafe { &(*(::std::ptr::null::<__db_repmgr_stat>())).st_msgs_queued as *const _ as usize },
10998        8usize,
10999        concat!(
11000            "Offset of field: ",
11001            stringify!(__db_repmgr_stat),
11002            "::",
11003            stringify!(st_msgs_queued)
11004        )
11005    );
11006    assert_eq!(
11007        unsafe {
11008            &(*(::std::ptr::null::<__db_repmgr_stat>())).st_msgs_dropped as *const _ as usize
11009        },
11010        16usize,
11011        concat!(
11012            "Offset of field: ",
11013            stringify!(__db_repmgr_stat),
11014            "::",
11015            stringify!(st_msgs_dropped)
11016        )
11017    );
11018    assert_eq!(
11019        unsafe {
11020            &(*(::std::ptr::null::<__db_repmgr_stat>())).st_connection_drop as *const _ as usize
11021        },
11022        24usize,
11023        concat!(
11024            "Offset of field: ",
11025            stringify!(__db_repmgr_stat),
11026            "::",
11027            stringify!(st_connection_drop)
11028        )
11029    );
11030    assert_eq!(
11031        unsafe {
11032            &(*(::std::ptr::null::<__db_repmgr_stat>())).st_connect_fail as *const _ as usize
11033        },
11034        32usize,
11035        concat!(
11036            "Offset of field: ",
11037            stringify!(__db_repmgr_stat),
11038            "::",
11039            stringify!(st_connect_fail)
11040        )
11041    );
11042    assert_eq!(
11043        unsafe {
11044            &(*(::std::ptr::null::<__db_repmgr_stat>())).st_elect_threads as *const _ as usize
11045        },
11046        40usize,
11047        concat!(
11048            "Offset of field: ",
11049            stringify!(__db_repmgr_stat),
11050            "::",
11051            stringify!(st_elect_threads)
11052        )
11053    );
11054    assert_eq!(
11055        unsafe {
11056            &(*(::std::ptr::null::<__db_repmgr_stat>())).st_max_elect_threads as *const _ as usize
11057        },
11058        48usize,
11059        concat!(
11060            "Offset of field: ",
11061            stringify!(__db_repmgr_stat),
11062            "::",
11063            stringify!(st_max_elect_threads)
11064        )
11065    );
11066}
11067#[repr(C)]
11068#[derive(Debug, Default, Copy, Clone)]
11069pub struct __db_repmgr_conn_err {
11070    pub eid: ::std::os::raw::c_int,
11071    pub error: ::std::os::raw::c_int,
11072}
11073#[test]
11074fn bindgen_test_layout___db_repmgr_conn_err() {
11075    assert_eq!(
11076        ::std::mem::size_of::<__db_repmgr_conn_err>(),
11077        8usize,
11078        concat!("Size of: ", stringify!(__db_repmgr_conn_err))
11079    );
11080    assert_eq!(
11081        ::std::mem::align_of::<__db_repmgr_conn_err>(),
11082        4usize,
11083        concat!("Alignment of ", stringify!(__db_repmgr_conn_err))
11084    );
11085    assert_eq!(
11086        unsafe { &(*(::std::ptr::null::<__db_repmgr_conn_err>())).eid as *const _ as usize },
11087        0usize,
11088        concat!(
11089            "Offset of field: ",
11090            stringify!(__db_repmgr_conn_err),
11091            "::",
11092            stringify!(eid)
11093        )
11094    );
11095    assert_eq!(
11096        unsafe { &(*(::std::ptr::null::<__db_repmgr_conn_err>())).error as *const _ as usize },
11097        4usize,
11098        concat!(
11099            "Offset of field: ",
11100            stringify!(__db_repmgr_conn_err),
11101            "::",
11102            stringify!(error)
11103        )
11104    );
11105}
11106#[doc = " Sequences."]
11107#[repr(C)]
11108#[derive(Debug, Default, Copy, Clone)]
11109pub struct __db_seq_record {
11110    pub seq_version: u_int32_t,
11111    pub flags: u_int32_t,
11112    pub seq_value: db_seq_t,
11113    pub seq_max: db_seq_t,
11114    pub seq_min: db_seq_t,
11115}
11116#[test]
11117fn bindgen_test_layout___db_seq_record() {
11118    assert_eq!(
11119        ::std::mem::size_of::<__db_seq_record>(),
11120        32usize,
11121        concat!("Size of: ", stringify!(__db_seq_record))
11122    );
11123    assert_eq!(
11124        ::std::mem::align_of::<__db_seq_record>(),
11125        8usize,
11126        concat!("Alignment of ", stringify!(__db_seq_record))
11127    );
11128    assert_eq!(
11129        unsafe { &(*(::std::ptr::null::<__db_seq_record>())).seq_version as *const _ as usize },
11130        0usize,
11131        concat!(
11132            "Offset of field: ",
11133            stringify!(__db_seq_record),
11134            "::",
11135            stringify!(seq_version)
11136        )
11137    );
11138    assert_eq!(
11139        unsafe { &(*(::std::ptr::null::<__db_seq_record>())).flags as *const _ as usize },
11140        4usize,
11141        concat!(
11142            "Offset of field: ",
11143            stringify!(__db_seq_record),
11144            "::",
11145            stringify!(flags)
11146        )
11147    );
11148    assert_eq!(
11149        unsafe { &(*(::std::ptr::null::<__db_seq_record>())).seq_value as *const _ as usize },
11150        8usize,
11151        concat!(
11152            "Offset of field: ",
11153            stringify!(__db_seq_record),
11154            "::",
11155            stringify!(seq_value)
11156        )
11157    );
11158    assert_eq!(
11159        unsafe { &(*(::std::ptr::null::<__db_seq_record>())).seq_max as *const _ as usize },
11160        16usize,
11161        concat!(
11162            "Offset of field: ",
11163            stringify!(__db_seq_record),
11164            "::",
11165            stringify!(seq_max)
11166        )
11167    );
11168    assert_eq!(
11169        unsafe { &(*(::std::ptr::null::<__db_seq_record>())).seq_min as *const _ as usize },
11170        24usize,
11171        concat!(
11172            "Offset of field: ",
11173            stringify!(__db_seq_record),
11174            "::",
11175            stringify!(seq_min)
11176        )
11177    );
11178}
11179#[repr(C)]
11180#[derive(Debug, Copy, Clone)]
11181pub struct __db_sequence {
11182    pub seq_dbp: *mut DB,
11183    pub mtx_seq: db_mutex_t,
11184    pub seq_rp: *mut DB_SEQ_RECORD,
11185    pub seq_record: DB_SEQ_RECORD,
11186    pub seq_cache_size: i32,
11187    pub seq_last_value: db_seq_t,
11188    pub seq_prev_value: db_seq_t,
11189    pub seq_key: DBT,
11190    pub seq_data: DBT,
11191    pub api_internal: *mut ::std::os::raw::c_void,
11192    pub close: ::std::option::Option<
11193        unsafe extern "C" fn(arg1: *mut DB_SEQUENCE, arg2: u_int32_t) -> ::std::os::raw::c_int,
11194    >,
11195    pub get: ::std::option::Option<
11196        unsafe extern "C" fn(
11197            arg1: *mut DB_SEQUENCE,
11198            arg2: *mut DB_TXN,
11199            arg3: i32,
11200            arg4: *mut db_seq_t,
11201            arg5: u_int32_t,
11202        ) -> ::std::os::raw::c_int,
11203    >,
11204    pub get_cachesize: ::std::option::Option<
11205        unsafe extern "C" fn(arg1: *mut DB_SEQUENCE, arg2: *mut i32) -> ::std::os::raw::c_int,
11206    >,
11207    pub get_db: ::std::option::Option<
11208        unsafe extern "C" fn(arg1: *mut DB_SEQUENCE, arg2: *mut *mut DB) -> ::std::os::raw::c_int,
11209    >,
11210    pub get_flags: ::std::option::Option<
11211        unsafe extern "C" fn(arg1: *mut DB_SEQUENCE, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
11212    >,
11213    pub get_key: ::std::option::Option<
11214        unsafe extern "C" fn(arg1: *mut DB_SEQUENCE, arg2: *mut DBT) -> ::std::os::raw::c_int,
11215    >,
11216    pub get_range: ::std::option::Option<
11217        unsafe extern "C" fn(
11218            arg1: *mut DB_SEQUENCE,
11219            arg2: *mut db_seq_t,
11220            arg3: *mut db_seq_t,
11221        ) -> ::std::os::raw::c_int,
11222    >,
11223    pub initial_value: ::std::option::Option<
11224        unsafe extern "C" fn(arg1: *mut DB_SEQUENCE, arg2: db_seq_t) -> ::std::os::raw::c_int,
11225    >,
11226    pub open: ::std::option::Option<
11227        unsafe extern "C" fn(
11228            arg1: *mut DB_SEQUENCE,
11229            arg2: *mut DB_TXN,
11230            arg3: *mut DBT,
11231            arg4: u_int32_t,
11232        ) -> ::std::os::raw::c_int,
11233    >,
11234    pub remove: ::std::option::Option<
11235        unsafe extern "C" fn(
11236            arg1: *mut DB_SEQUENCE,
11237            arg2: *mut DB_TXN,
11238            arg3: u_int32_t,
11239        ) -> ::std::os::raw::c_int,
11240    >,
11241    pub set_cachesize: ::std::option::Option<
11242        unsafe extern "C" fn(arg1: *mut DB_SEQUENCE, arg2: i32) -> ::std::os::raw::c_int,
11243    >,
11244    pub set_flags: ::std::option::Option<
11245        unsafe extern "C" fn(arg1: *mut DB_SEQUENCE, arg2: u_int32_t) -> ::std::os::raw::c_int,
11246    >,
11247    pub set_range: ::std::option::Option<
11248        unsafe extern "C" fn(
11249            arg1: *mut DB_SEQUENCE,
11250            arg2: db_seq_t,
11251            arg3: db_seq_t,
11252        ) -> ::std::os::raw::c_int,
11253    >,
11254    pub stat: ::std::option::Option<
11255        unsafe extern "C" fn(
11256            arg1: *mut DB_SEQUENCE,
11257            arg2: *mut *mut DB_SEQUENCE_STAT,
11258            arg3: u_int32_t,
11259        ) -> ::std::os::raw::c_int,
11260    >,
11261    pub stat_print: ::std::option::Option<
11262        unsafe extern "C" fn(arg1: *mut DB_SEQUENCE, arg2: u_int32_t) -> ::std::os::raw::c_int,
11263    >,
11264}
11265#[test]
11266fn bindgen_test_layout___db_sequence() {
11267    assert_eq!(
11268        ::std::mem::size_of::<__db_sequence>(),
11269        288usize,
11270        concat!("Size of: ", stringify!(__db_sequence))
11271    );
11272    assert_eq!(
11273        ::std::mem::align_of::<__db_sequence>(),
11274        8usize,
11275        concat!("Alignment of ", stringify!(__db_sequence))
11276    );
11277    assert_eq!(
11278        unsafe { &(*(::std::ptr::null::<__db_sequence>())).seq_dbp as *const _ as usize },
11279        0usize,
11280        concat!(
11281            "Offset of field: ",
11282            stringify!(__db_sequence),
11283            "::",
11284            stringify!(seq_dbp)
11285        )
11286    );
11287    assert_eq!(
11288        unsafe { &(*(::std::ptr::null::<__db_sequence>())).mtx_seq as *const _ as usize },
11289        8usize,
11290        concat!(
11291            "Offset of field: ",
11292            stringify!(__db_sequence),
11293            "::",
11294            stringify!(mtx_seq)
11295        )
11296    );
11297    assert_eq!(
11298        unsafe { &(*(::std::ptr::null::<__db_sequence>())).seq_rp as *const _ as usize },
11299        16usize,
11300        concat!(
11301            "Offset of field: ",
11302            stringify!(__db_sequence),
11303            "::",
11304            stringify!(seq_rp)
11305        )
11306    );
11307    assert_eq!(
11308        unsafe { &(*(::std::ptr::null::<__db_sequence>())).seq_record as *const _ as usize },
11309        24usize,
11310        concat!(
11311            "Offset of field: ",
11312            stringify!(__db_sequence),
11313            "::",
11314            stringify!(seq_record)
11315        )
11316    );
11317    assert_eq!(
11318        unsafe { &(*(::std::ptr::null::<__db_sequence>())).seq_cache_size as *const _ as usize },
11319        56usize,
11320        concat!(
11321            "Offset of field: ",
11322            stringify!(__db_sequence),
11323            "::",
11324            stringify!(seq_cache_size)
11325        )
11326    );
11327    assert_eq!(
11328        unsafe { &(*(::std::ptr::null::<__db_sequence>())).seq_last_value as *const _ as usize },
11329        64usize,
11330        concat!(
11331            "Offset of field: ",
11332            stringify!(__db_sequence),
11333            "::",
11334            stringify!(seq_last_value)
11335        )
11336    );
11337    assert_eq!(
11338        unsafe { &(*(::std::ptr::null::<__db_sequence>())).seq_prev_value as *const _ as usize },
11339        72usize,
11340        concat!(
11341            "Offset of field: ",
11342            stringify!(__db_sequence),
11343            "::",
11344            stringify!(seq_prev_value)
11345        )
11346    );
11347    assert_eq!(
11348        unsafe { &(*(::std::ptr::null::<__db_sequence>())).seq_key as *const _ as usize },
11349        80usize,
11350        concat!(
11351            "Offset of field: ",
11352            stringify!(__db_sequence),
11353            "::",
11354            stringify!(seq_key)
11355        )
11356    );
11357    assert_eq!(
11358        unsafe { &(*(::std::ptr::null::<__db_sequence>())).seq_data as *const _ as usize },
11359        120usize,
11360        concat!(
11361            "Offset of field: ",
11362            stringify!(__db_sequence),
11363            "::",
11364            stringify!(seq_data)
11365        )
11366    );
11367    assert_eq!(
11368        unsafe { &(*(::std::ptr::null::<__db_sequence>())).api_internal as *const _ as usize },
11369        160usize,
11370        concat!(
11371            "Offset of field: ",
11372            stringify!(__db_sequence),
11373            "::",
11374            stringify!(api_internal)
11375        )
11376    );
11377    assert_eq!(
11378        unsafe { &(*(::std::ptr::null::<__db_sequence>())).close as *const _ as usize },
11379        168usize,
11380        concat!(
11381            "Offset of field: ",
11382            stringify!(__db_sequence),
11383            "::",
11384            stringify!(close)
11385        )
11386    );
11387    assert_eq!(
11388        unsafe { &(*(::std::ptr::null::<__db_sequence>())).get as *const _ as usize },
11389        176usize,
11390        concat!(
11391            "Offset of field: ",
11392            stringify!(__db_sequence),
11393            "::",
11394            stringify!(get)
11395        )
11396    );
11397    assert_eq!(
11398        unsafe { &(*(::std::ptr::null::<__db_sequence>())).get_cachesize as *const _ as usize },
11399        184usize,
11400        concat!(
11401            "Offset of field: ",
11402            stringify!(__db_sequence),
11403            "::",
11404            stringify!(get_cachesize)
11405        )
11406    );
11407    assert_eq!(
11408        unsafe { &(*(::std::ptr::null::<__db_sequence>())).get_db as *const _ as usize },
11409        192usize,
11410        concat!(
11411            "Offset of field: ",
11412            stringify!(__db_sequence),
11413            "::",
11414            stringify!(get_db)
11415        )
11416    );
11417    assert_eq!(
11418        unsafe { &(*(::std::ptr::null::<__db_sequence>())).get_flags as *const _ as usize },
11419        200usize,
11420        concat!(
11421            "Offset of field: ",
11422            stringify!(__db_sequence),
11423            "::",
11424            stringify!(get_flags)
11425        )
11426    );
11427    assert_eq!(
11428        unsafe { &(*(::std::ptr::null::<__db_sequence>())).get_key as *const _ as usize },
11429        208usize,
11430        concat!(
11431            "Offset of field: ",
11432            stringify!(__db_sequence),
11433            "::",
11434            stringify!(get_key)
11435        )
11436    );
11437    assert_eq!(
11438        unsafe { &(*(::std::ptr::null::<__db_sequence>())).get_range as *const _ as usize },
11439        216usize,
11440        concat!(
11441            "Offset of field: ",
11442            stringify!(__db_sequence),
11443            "::",
11444            stringify!(get_range)
11445        )
11446    );
11447    assert_eq!(
11448        unsafe { &(*(::std::ptr::null::<__db_sequence>())).initial_value as *const _ as usize },
11449        224usize,
11450        concat!(
11451            "Offset of field: ",
11452            stringify!(__db_sequence),
11453            "::",
11454            stringify!(initial_value)
11455        )
11456    );
11457    assert_eq!(
11458        unsafe { &(*(::std::ptr::null::<__db_sequence>())).open as *const _ as usize },
11459        232usize,
11460        concat!(
11461            "Offset of field: ",
11462            stringify!(__db_sequence),
11463            "::",
11464            stringify!(open)
11465        )
11466    );
11467    assert_eq!(
11468        unsafe { &(*(::std::ptr::null::<__db_sequence>())).remove as *const _ as usize },
11469        240usize,
11470        concat!(
11471            "Offset of field: ",
11472            stringify!(__db_sequence),
11473            "::",
11474            stringify!(remove)
11475        )
11476    );
11477    assert_eq!(
11478        unsafe { &(*(::std::ptr::null::<__db_sequence>())).set_cachesize as *const _ as usize },
11479        248usize,
11480        concat!(
11481            "Offset of field: ",
11482            stringify!(__db_sequence),
11483            "::",
11484            stringify!(set_cachesize)
11485        )
11486    );
11487    assert_eq!(
11488        unsafe { &(*(::std::ptr::null::<__db_sequence>())).set_flags as *const _ as usize },
11489        256usize,
11490        concat!(
11491            "Offset of field: ",
11492            stringify!(__db_sequence),
11493            "::",
11494            stringify!(set_flags)
11495        )
11496    );
11497    assert_eq!(
11498        unsafe { &(*(::std::ptr::null::<__db_sequence>())).set_range as *const _ as usize },
11499        264usize,
11500        concat!(
11501            "Offset of field: ",
11502            stringify!(__db_sequence),
11503            "::",
11504            stringify!(set_range)
11505        )
11506    );
11507    assert_eq!(
11508        unsafe { &(*(::std::ptr::null::<__db_sequence>())).stat as *const _ as usize },
11509        272usize,
11510        concat!(
11511            "Offset of field: ",
11512            stringify!(__db_sequence),
11513            "::",
11514            stringify!(stat)
11515        )
11516    );
11517    assert_eq!(
11518        unsafe { &(*(::std::ptr::null::<__db_sequence>())).stat_print as *const _ as usize },
11519        280usize,
11520        concat!(
11521            "Offset of field: ",
11522            stringify!(__db_sequence),
11523            "::",
11524            stringify!(stat_print)
11525        )
11526    );
11527}
11528impl Default for __db_sequence {
11529    fn default() -> Self {
11530        unsafe { ::std::mem::zeroed() }
11531    }
11532}
11533#[repr(C)]
11534#[derive(Debug, Default, Copy, Clone)]
11535pub struct __db_seq_stat {
11536    pub st_wait: uintmax_t,
11537    pub st_nowait: uintmax_t,
11538    pub st_current: db_seq_t,
11539    pub st_value: db_seq_t,
11540    pub st_last_value: db_seq_t,
11541    pub st_min: db_seq_t,
11542    pub st_max: db_seq_t,
11543    pub st_cache_size: i32,
11544    pub st_flags: u_int32_t,
11545}
11546#[test]
11547fn bindgen_test_layout___db_seq_stat() {
11548    assert_eq!(
11549        ::std::mem::size_of::<__db_seq_stat>(),
11550        64usize,
11551        concat!("Size of: ", stringify!(__db_seq_stat))
11552    );
11553    assert_eq!(
11554        ::std::mem::align_of::<__db_seq_stat>(),
11555        8usize,
11556        concat!("Alignment of ", stringify!(__db_seq_stat))
11557    );
11558    assert_eq!(
11559        unsafe { &(*(::std::ptr::null::<__db_seq_stat>())).st_wait as *const _ as usize },
11560        0usize,
11561        concat!(
11562            "Offset of field: ",
11563            stringify!(__db_seq_stat),
11564            "::",
11565            stringify!(st_wait)
11566        )
11567    );
11568    assert_eq!(
11569        unsafe { &(*(::std::ptr::null::<__db_seq_stat>())).st_nowait as *const _ as usize },
11570        8usize,
11571        concat!(
11572            "Offset of field: ",
11573            stringify!(__db_seq_stat),
11574            "::",
11575            stringify!(st_nowait)
11576        )
11577    );
11578    assert_eq!(
11579        unsafe { &(*(::std::ptr::null::<__db_seq_stat>())).st_current as *const _ as usize },
11580        16usize,
11581        concat!(
11582            "Offset of field: ",
11583            stringify!(__db_seq_stat),
11584            "::",
11585            stringify!(st_current)
11586        )
11587    );
11588    assert_eq!(
11589        unsafe { &(*(::std::ptr::null::<__db_seq_stat>())).st_value as *const _ as usize },
11590        24usize,
11591        concat!(
11592            "Offset of field: ",
11593            stringify!(__db_seq_stat),
11594            "::",
11595            stringify!(st_value)
11596        )
11597    );
11598    assert_eq!(
11599        unsafe { &(*(::std::ptr::null::<__db_seq_stat>())).st_last_value as *const _ as usize },
11600        32usize,
11601        concat!(
11602            "Offset of field: ",
11603            stringify!(__db_seq_stat),
11604            "::",
11605            stringify!(st_last_value)
11606        )
11607    );
11608    assert_eq!(
11609        unsafe { &(*(::std::ptr::null::<__db_seq_stat>())).st_min as *const _ as usize },
11610        40usize,
11611        concat!(
11612            "Offset of field: ",
11613            stringify!(__db_seq_stat),
11614            "::",
11615            stringify!(st_min)
11616        )
11617    );
11618    assert_eq!(
11619        unsafe { &(*(::std::ptr::null::<__db_seq_stat>())).st_max as *const _ as usize },
11620        48usize,
11621        concat!(
11622            "Offset of field: ",
11623            stringify!(__db_seq_stat),
11624            "::",
11625            stringify!(st_max)
11626        )
11627    );
11628    assert_eq!(
11629        unsafe { &(*(::std::ptr::null::<__db_seq_stat>())).st_cache_size as *const _ as usize },
11630        56usize,
11631        concat!(
11632            "Offset of field: ",
11633            stringify!(__db_seq_stat),
11634            "::",
11635            stringify!(st_cache_size)
11636        )
11637    );
11638    assert_eq!(
11639        unsafe { &(*(::std::ptr::null::<__db_seq_stat>())).st_flags as *const _ as usize },
11640        60usize,
11641        concat!(
11642            "Offset of field: ",
11643            stringify!(__db_seq_stat),
11644            "::",
11645            stringify!(st_flags)
11646        )
11647    );
11648}
11649pub const DBTYPE_DB_BTREE: DBTYPE = 1;
11650pub const DBTYPE_DB_HASH: DBTYPE = 2;
11651pub const DBTYPE_DB_HEAP: DBTYPE = 6;
11652pub const DBTYPE_DB_RECNO: DBTYPE = 3;
11653pub const DBTYPE_DB_QUEUE: DBTYPE = 4;
11654pub const DBTYPE_DB_UNKNOWN: DBTYPE = 5;
11655#[doc = " Access methods."]
11656pub type DBTYPE = u32;
11657#[repr(C)]
11658#[derive(Debug, Copy, Clone)]
11659pub struct __db {
11660    #[doc = " Public: owned by the application."]
11661    pub pgsize: u_int32_t,
11662    pub priority: DB_CACHE_PRIORITY,
11663    pub db_append_recno: ::std::option::Option<
11664        unsafe extern "C" fn(
11665            arg1: *mut DB,
11666            arg2: *mut DBT,
11667            arg3: db_recno_t,
11668        ) -> ::std::os::raw::c_int,
11669    >,
11670    pub db_feedback: ::std::option::Option<
11671        unsafe extern "C" fn(
11672            arg1: *mut DB,
11673            arg2: ::std::os::raw::c_int,
11674            arg3: ::std::os::raw::c_int,
11675        ),
11676    >,
11677    pub dup_compare: ::std::option::Option<
11678        unsafe extern "C" fn(
11679            arg1: *mut DB,
11680            arg2: *const DBT,
11681            arg3: *const DBT,
11682        ) -> ::std::os::raw::c_int,
11683    >,
11684    pub app_private: *mut ::std::os::raw::c_void,
11685    #[doc = " Private: owned by DB."]
11686    pub dbenv: *mut DB_ENV,
11687    pub env: *mut ENV,
11688    pub type_: DBTYPE,
11689    pub mpf: *mut DB_MPOOLFILE,
11690    pub mutex: db_mutex_t,
11691    pub fname: *mut ::std::os::raw::c_char,
11692    pub dname: *mut ::std::os::raw::c_char,
11693    pub dirname: *const ::std::os::raw::c_char,
11694    pub open_flags: u_int32_t,
11695    pub fileid: [u_int8_t; 20usize],
11696    pub adj_fileid: u_int32_t,
11697    pub log_filename: *mut FNAME,
11698    pub meta_pgno: db_pgno_t,
11699    pub locker: *mut DB_LOCKER,
11700    pub cur_locker: *mut DB_LOCKER,
11701    pub cur_txn: *mut DB_TXN,
11702    pub associate_locker: *mut DB_LOCKER,
11703    pub handle_lock: DB_LOCK,
11704    pub timestamp: time_t,
11705    pub fid_gen: u_int32_t,
11706    pub my_rskey: DBT,
11707    pub my_rkey: DBT,
11708    pub my_rdata: DBT,
11709    pub saved_open_fhp: *mut DB_FH,
11710    pub dblistlinks: __db__bindgen_ty_1,
11711    pub free_queue: __db___cq_fq,
11712    pub active_queue: __db___cq_aq,
11713    pub join_queue: __db___cq_jq,
11714    pub s_secondaries: __db__bindgen_ty_2,
11715    pub s_links: __db__bindgen_ty_3,
11716    pub s_refcnt: u_int32_t,
11717    pub s_callback: ::std::option::Option<
11718        unsafe extern "C" fn(
11719            arg1: *mut DB,
11720            arg2: *const DBT,
11721            arg3: *const DBT,
11722            arg4: *mut DBT,
11723        ) -> ::std::os::raw::c_int,
11724    >,
11725    pub s_primary: *mut DB,
11726    pub s_assoc_flags: u_int32_t,
11727    pub f_primaries: __db__bindgen_ty_4,
11728    pub felink: __db__bindgen_ty_5,
11729    pub s_foreign: *mut DB,
11730    pub api_internal: *mut ::std::os::raw::c_void,
11731    pub bt_internal: *mut ::std::os::raw::c_void,
11732    pub h_internal: *mut ::std::os::raw::c_void,
11733    pub heap_internal: *mut ::std::os::raw::c_void,
11734    pub p_internal: *mut ::std::os::raw::c_void,
11735    pub q_internal: *mut ::std::os::raw::c_void,
11736    pub associate: ::std::option::Option<
11737        unsafe extern "C" fn(
11738            arg1: *mut DB,
11739            arg2: *mut DB_TXN,
11740            arg3: *mut DB,
11741            arg4: ::std::option::Option<
11742                unsafe extern "C" fn(
11743                    arg1: *mut DB,
11744                    arg2: *const DBT,
11745                    arg3: *const DBT,
11746                    arg4: *mut DBT,
11747                ) -> ::std::os::raw::c_int,
11748            >,
11749            arg5: u_int32_t,
11750        ) -> ::std::os::raw::c_int,
11751    >,
11752    pub associate_foreign: ::std::option::Option<
11753        unsafe extern "C" fn(
11754            arg1: *mut DB,
11755            arg2: *mut DB,
11756            arg3: ::std::option::Option<
11757                unsafe extern "C" fn(
11758                    arg1: *mut DB,
11759                    arg2: *const DBT,
11760                    arg3: *mut DBT,
11761                    arg4: *const DBT,
11762                    arg5: *mut ::std::os::raw::c_int,
11763                ) -> ::std::os::raw::c_int,
11764            >,
11765            arg4: u_int32_t,
11766        ) -> ::std::os::raw::c_int,
11767    >,
11768    pub close: ::std::option::Option<
11769        unsafe extern "C" fn(arg1: *mut DB, arg2: u_int32_t) -> ::std::os::raw::c_int,
11770    >,
11771    pub compact: ::std::option::Option<
11772        unsafe extern "C" fn(
11773            arg1: *mut DB,
11774            arg2: *mut DB_TXN,
11775            arg3: *mut DBT,
11776            arg4: *mut DBT,
11777            arg5: *mut DB_COMPACT,
11778            arg6: u_int32_t,
11779            arg7: *mut DBT,
11780        ) -> ::std::os::raw::c_int,
11781    >,
11782    pub cursor: ::std::option::Option<
11783        unsafe extern "C" fn(
11784            arg1: *mut DB,
11785            arg2: *mut DB_TXN,
11786            arg3: *mut *mut DBC,
11787            arg4: u_int32_t,
11788        ) -> ::std::os::raw::c_int,
11789    >,
11790    pub del: ::std::option::Option<
11791        unsafe extern "C" fn(
11792            arg1: *mut DB,
11793            arg2: *mut DB_TXN,
11794            arg3: *mut DBT,
11795            arg4: u_int32_t,
11796        ) -> ::std::os::raw::c_int,
11797    >,
11798    pub err: ::std::option::Option<
11799        unsafe extern "C" fn(
11800            arg1: *mut DB,
11801            arg2: ::std::os::raw::c_int,
11802            arg3: *const ::std::os::raw::c_char,
11803            ...
11804        ),
11805    >,
11806    pub errx: ::std::option::Option<
11807        unsafe extern "C" fn(arg1: *mut DB, arg2: *const ::std::os::raw::c_char, ...),
11808    >,
11809    pub exists: ::std::option::Option<
11810        unsafe extern "C" fn(
11811            arg1: *mut DB,
11812            arg2: *mut DB_TXN,
11813            arg3: *mut DBT,
11814            arg4: u_int32_t,
11815        ) -> ::std::os::raw::c_int,
11816    >,
11817    pub fd: ::std::option::Option<
11818        unsafe extern "C" fn(
11819            arg1: *mut DB,
11820            arg2: *mut ::std::os::raw::c_int,
11821        ) -> ::std::os::raw::c_int,
11822    >,
11823    pub get: ::std::option::Option<
11824        unsafe extern "C" fn(
11825            arg1: *mut DB,
11826            arg2: *mut DB_TXN,
11827            arg3: *mut DBT,
11828            arg4: *mut DBT,
11829            arg5: u_int32_t,
11830        ) -> ::std::os::raw::c_int,
11831    >,
11832    pub get_alloc: ::std::option::Option<
11833        unsafe extern "C" fn(
11834            arg1: *mut DB,
11835            arg2: *mut ::std::option::Option<
11836                unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void,
11837            >,
11838            arg3: *mut ::std::option::Option<
11839                unsafe extern "C" fn(
11840                    arg1: *mut ::std::os::raw::c_void,
11841                    arg2: usize,
11842                ) -> *mut ::std::os::raw::c_void,
11843            >,
11844            arg4: *mut ::std::option::Option<
11845                unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void),
11846            >,
11847        ) -> ::std::os::raw::c_int,
11848    >,
11849    pub get_append_recno: ::std::option::Option<
11850        unsafe extern "C" fn(
11851            arg1: *mut DB,
11852            arg2: *mut ::std::option::Option<
11853                unsafe extern "C" fn(
11854                    arg1: *mut DB,
11855                    arg2: *mut DBT,
11856                    arg3: db_recno_t,
11857                ) -> ::std::os::raw::c_int,
11858            >,
11859        ) -> ::std::os::raw::c_int,
11860    >,
11861    pub get_assoc_flags: ::std::option::Option<
11862        unsafe extern "C" fn(arg1: *mut DB, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
11863    >,
11864    pub get_bt_compare: ::std::option::Option<
11865        unsafe extern "C" fn(
11866            arg1: *mut DB,
11867            arg2: *mut ::std::option::Option<
11868                unsafe extern "C" fn(
11869                    arg1: *mut DB,
11870                    arg2: *const DBT,
11871                    arg3: *const DBT,
11872                ) -> ::std::os::raw::c_int,
11873            >,
11874        ) -> ::std::os::raw::c_int,
11875    >,
11876    pub get_bt_compress: ::std::option::Option<
11877        unsafe extern "C" fn(
11878            arg1: *mut DB,
11879            arg2: *mut ::std::option::Option<
11880                unsafe extern "C" fn(
11881                    arg1: *mut DB,
11882                    arg2: *const DBT,
11883                    arg3: *const DBT,
11884                    arg4: *const DBT,
11885                    arg5: *const DBT,
11886                    arg6: *mut DBT,
11887                ) -> ::std::os::raw::c_int,
11888            >,
11889            arg3: *mut ::std::option::Option<
11890                unsafe extern "C" fn(
11891                    arg1: *mut DB,
11892                    arg2: *const DBT,
11893                    arg3: *const DBT,
11894                    arg4: *mut DBT,
11895                    arg5: *mut DBT,
11896                    arg6: *mut DBT,
11897                ) -> ::std::os::raw::c_int,
11898            >,
11899        ) -> ::std::os::raw::c_int,
11900    >,
11901    pub get_bt_minkey: ::std::option::Option<
11902        unsafe extern "C" fn(arg1: *mut DB, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
11903    >,
11904    pub get_bt_prefix: ::std::option::Option<
11905        unsafe extern "C" fn(
11906            arg1: *mut DB,
11907            arg2: *mut ::std::option::Option<
11908                unsafe extern "C" fn(arg1: *mut DB, arg2: *const DBT, arg3: *const DBT) -> usize,
11909            >,
11910        ) -> ::std::os::raw::c_int,
11911    >,
11912    pub get_byteswapped: ::std::option::Option<
11913        unsafe extern "C" fn(
11914            arg1: *mut DB,
11915            arg2: *mut ::std::os::raw::c_int,
11916        ) -> ::std::os::raw::c_int,
11917    >,
11918    pub get_cachesize: ::std::option::Option<
11919        unsafe extern "C" fn(
11920            arg1: *mut DB,
11921            arg2: *mut u_int32_t,
11922            arg3: *mut u_int32_t,
11923            arg4: *mut ::std::os::raw::c_int,
11924        ) -> ::std::os::raw::c_int,
11925    >,
11926    pub get_create_dir: ::std::option::Option<
11927        unsafe extern "C" fn(
11928            arg1: *mut DB,
11929            arg2: *mut *const ::std::os::raw::c_char,
11930        ) -> ::std::os::raw::c_int,
11931    >,
11932    pub get_dbname: ::std::option::Option<
11933        unsafe extern "C" fn(
11934            arg1: *mut DB,
11935            arg2: *mut *const ::std::os::raw::c_char,
11936            arg3: *mut *const ::std::os::raw::c_char,
11937        ) -> ::std::os::raw::c_int,
11938    >,
11939    pub get_dup_compare: ::std::option::Option<
11940        unsafe extern "C" fn(
11941            arg1: *mut DB,
11942            arg2: *mut ::std::option::Option<
11943                unsafe extern "C" fn(
11944                    arg1: *mut DB,
11945                    arg2: *const DBT,
11946                    arg3: *const DBT,
11947                ) -> ::std::os::raw::c_int,
11948            >,
11949        ) -> ::std::os::raw::c_int,
11950    >,
11951    pub get_encrypt_flags: ::std::option::Option<
11952        unsafe extern "C" fn(arg1: *mut DB, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
11953    >,
11954    pub get_env: ::std::option::Option<unsafe extern "C" fn(arg1: *mut DB) -> *mut DB_ENV>,
11955    pub get_errcall: ::std::option::Option<
11956        unsafe extern "C" fn(
11957            arg1: *mut DB,
11958            arg2: *mut ::std::option::Option<
11959                unsafe extern "C" fn(
11960                    arg1: *const DB_ENV,
11961                    arg2: *const ::std::os::raw::c_char,
11962                    arg3: *const ::std::os::raw::c_char,
11963                ),
11964            >,
11965        ),
11966    >,
11967    pub get_errfile:
11968        ::std::option::Option<unsafe extern "C" fn(arg1: *mut DB, arg2: *mut *mut FILE)>,
11969    pub get_errpfx: ::std::option::Option<
11970        unsafe extern "C" fn(arg1: *mut DB, arg2: *mut *const ::std::os::raw::c_char),
11971    >,
11972    pub get_feedback: ::std::option::Option<
11973        unsafe extern "C" fn(
11974            arg1: *mut DB,
11975            arg2: *mut ::std::option::Option<
11976                unsafe extern "C" fn(
11977                    arg1: *mut DB,
11978                    arg2: ::std::os::raw::c_int,
11979                    arg3: ::std::os::raw::c_int,
11980                ),
11981            >,
11982        ) -> ::std::os::raw::c_int,
11983    >,
11984    pub get_flags: ::std::option::Option<
11985        unsafe extern "C" fn(arg1: *mut DB, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
11986    >,
11987    pub get_h_compare: ::std::option::Option<
11988        unsafe extern "C" fn(
11989            arg1: *mut DB,
11990            arg2: *mut ::std::option::Option<
11991                unsafe extern "C" fn(
11992                    arg1: *mut DB,
11993                    arg2: *const DBT,
11994                    arg3: *const DBT,
11995                ) -> ::std::os::raw::c_int,
11996            >,
11997        ) -> ::std::os::raw::c_int,
11998    >,
11999    pub get_h_ffactor: ::std::option::Option<
12000        unsafe extern "C" fn(arg1: *mut DB, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
12001    >,
12002    pub get_h_hash: ::std::option::Option<
12003        unsafe extern "C" fn(
12004            arg1: *mut DB,
12005            arg2: *mut ::std::option::Option<
12006                unsafe extern "C" fn(
12007                    arg1: *mut DB,
12008                    arg2: *const ::std::os::raw::c_void,
12009                    arg3: u_int32_t,
12010                ) -> u_int32_t,
12011            >,
12012        ) -> ::std::os::raw::c_int,
12013    >,
12014    pub get_h_nelem: ::std::option::Option<
12015        unsafe extern "C" fn(arg1: *mut DB, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
12016    >,
12017    pub get_heapsize: ::std::option::Option<
12018        unsafe extern "C" fn(
12019            arg1: *mut DB,
12020            arg2: *mut u_int32_t,
12021            arg3: *mut u_int32_t,
12022        ) -> ::std::os::raw::c_int,
12023    >,
12024    pub get_heap_regionsize: ::std::option::Option<
12025        unsafe extern "C" fn(arg1: *mut DB, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
12026    >,
12027    pub get_lk_exclusive: ::std::option::Option<
12028        unsafe extern "C" fn(
12029            arg1: *mut DB,
12030            arg2: *mut ::std::os::raw::c_int,
12031            arg3: *mut ::std::os::raw::c_int,
12032        ) -> ::std::os::raw::c_int,
12033    >,
12034    pub get_lorder: ::std::option::Option<
12035        unsafe extern "C" fn(
12036            arg1: *mut DB,
12037            arg2: *mut ::std::os::raw::c_int,
12038        ) -> ::std::os::raw::c_int,
12039    >,
12040    pub get_mpf: ::std::option::Option<unsafe extern "C" fn(arg1: *mut DB) -> *mut DB_MPOOLFILE>,
12041    pub get_msgcall: ::std::option::Option<
12042        unsafe extern "C" fn(
12043            arg1: *mut DB,
12044            arg2: *mut ::std::option::Option<
12045                unsafe extern "C" fn(arg1: *const DB_ENV, arg2: *const ::std::os::raw::c_char),
12046            >,
12047        ),
12048    >,
12049    pub get_msgfile:
12050        ::std::option::Option<unsafe extern "C" fn(arg1: *mut DB, arg2: *mut *mut FILE)>,
12051    pub get_multiple:
12052        ::std::option::Option<unsafe extern "C" fn(arg1: *mut DB) -> ::std::os::raw::c_int>,
12053    pub get_open_flags: ::std::option::Option<
12054        unsafe extern "C" fn(arg1: *mut DB, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
12055    >,
12056    pub get_pagesize: ::std::option::Option<
12057        unsafe extern "C" fn(arg1: *mut DB, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
12058    >,
12059    pub get_partition_callback: ::std::option::Option<
12060        unsafe extern "C" fn(
12061            arg1: *mut DB,
12062            arg2: *mut u_int32_t,
12063            arg3: *mut ::std::option::Option<
12064                unsafe extern "C" fn(arg1: *mut DB, key: *mut DBT) -> u_int32_t,
12065            >,
12066        ) -> ::std::os::raw::c_int,
12067    >,
12068    pub get_partition_dirs: ::std::option::Option<
12069        unsafe extern "C" fn(
12070            arg1: *mut DB,
12071            arg2: *mut *mut *const ::std::os::raw::c_char,
12072        ) -> ::std::os::raw::c_int,
12073    >,
12074    pub get_partition_keys: ::std::option::Option<
12075        unsafe extern "C" fn(
12076            arg1: *mut DB,
12077            arg2: *mut u_int32_t,
12078            arg3: *mut *mut DBT,
12079        ) -> ::std::os::raw::c_int,
12080    >,
12081    pub get_priority: ::std::option::Option<
12082        unsafe extern "C" fn(arg1: *mut DB, arg2: *mut DB_CACHE_PRIORITY) -> ::std::os::raw::c_int,
12083    >,
12084    pub get_q_extentsize: ::std::option::Option<
12085        unsafe extern "C" fn(arg1: *mut DB, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
12086    >,
12087    pub get_re_delim: ::std::option::Option<
12088        unsafe extern "C" fn(
12089            arg1: *mut DB,
12090            arg2: *mut ::std::os::raw::c_int,
12091        ) -> ::std::os::raw::c_int,
12092    >,
12093    pub get_re_len: ::std::option::Option<
12094        unsafe extern "C" fn(arg1: *mut DB, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
12095    >,
12096    pub get_re_pad: ::std::option::Option<
12097        unsafe extern "C" fn(
12098            arg1: *mut DB,
12099            arg2: *mut ::std::os::raw::c_int,
12100        ) -> ::std::os::raw::c_int,
12101    >,
12102    pub get_re_source: ::std::option::Option<
12103        unsafe extern "C" fn(
12104            arg1: *mut DB,
12105            arg2: *mut *const ::std::os::raw::c_char,
12106        ) -> ::std::os::raw::c_int,
12107    >,
12108    pub get_transactional:
12109        ::std::option::Option<unsafe extern "C" fn(arg1: *mut DB) -> ::std::os::raw::c_int>,
12110    pub get_type: ::std::option::Option<
12111        unsafe extern "C" fn(arg1: *mut DB, arg2: *mut DBTYPE) -> ::std::os::raw::c_int,
12112    >,
12113    pub join: ::std::option::Option<
12114        unsafe extern "C" fn(
12115            arg1: *mut DB,
12116            arg2: *mut *mut DBC,
12117            arg3: *mut *mut DBC,
12118            arg4: u_int32_t,
12119        ) -> ::std::os::raw::c_int,
12120    >,
12121    pub key_range: ::std::option::Option<
12122        unsafe extern "C" fn(
12123            arg1: *mut DB,
12124            arg2: *mut DB_TXN,
12125            arg3: *mut DBT,
12126            arg4: *mut DB_KEY_RANGE,
12127            arg5: u_int32_t,
12128        ) -> ::std::os::raw::c_int,
12129    >,
12130    pub open: ::std::option::Option<
12131        unsafe extern "C" fn(
12132            arg1: *mut DB,
12133            arg2: *mut DB_TXN,
12134            arg3: *const ::std::os::raw::c_char,
12135            arg4: *const ::std::os::raw::c_char,
12136            arg5: DBTYPE,
12137            arg6: u_int32_t,
12138            arg7: ::std::os::raw::c_int,
12139        ) -> ::std::os::raw::c_int,
12140    >,
12141    pub pget: ::std::option::Option<
12142        unsafe extern "C" fn(
12143            arg1: *mut DB,
12144            arg2: *mut DB_TXN,
12145            arg3: *mut DBT,
12146            arg4: *mut DBT,
12147            arg5: *mut DBT,
12148            arg6: u_int32_t,
12149        ) -> ::std::os::raw::c_int,
12150    >,
12151    pub put: ::std::option::Option<
12152        unsafe extern "C" fn(
12153            arg1: *mut DB,
12154            arg2: *mut DB_TXN,
12155            arg3: *mut DBT,
12156            arg4: *mut DBT,
12157            arg5: u_int32_t,
12158        ) -> ::std::os::raw::c_int,
12159    >,
12160    pub remove: ::std::option::Option<
12161        unsafe extern "C" fn(
12162            arg1: *mut DB,
12163            arg2: *const ::std::os::raw::c_char,
12164            arg3: *const ::std::os::raw::c_char,
12165            arg4: u_int32_t,
12166        ) -> ::std::os::raw::c_int,
12167    >,
12168    pub rename: ::std::option::Option<
12169        unsafe extern "C" fn(
12170            arg1: *mut DB,
12171            arg2: *const ::std::os::raw::c_char,
12172            arg3: *const ::std::os::raw::c_char,
12173            arg4: *const ::std::os::raw::c_char,
12174            arg5: u_int32_t,
12175        ) -> ::std::os::raw::c_int,
12176    >,
12177    pub set_alloc: ::std::option::Option<
12178        unsafe extern "C" fn(
12179            arg1: *mut DB,
12180            arg2: ::std::option::Option<
12181                unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void,
12182            >,
12183            arg3: ::std::option::Option<
12184                unsafe extern "C" fn(
12185                    arg1: *mut ::std::os::raw::c_void,
12186                    arg2: usize,
12187                ) -> *mut ::std::os::raw::c_void,
12188            >,
12189            arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
12190        ) -> ::std::os::raw::c_int,
12191    >,
12192    pub set_append_recno: ::std::option::Option<
12193        unsafe extern "C" fn(
12194            arg1: *mut DB,
12195            arg2: ::std::option::Option<
12196                unsafe extern "C" fn(
12197                    arg1: *mut DB,
12198                    arg2: *mut DBT,
12199                    arg3: db_recno_t,
12200                ) -> ::std::os::raw::c_int,
12201            >,
12202        ) -> ::std::os::raw::c_int,
12203    >,
12204    pub set_bt_compare: ::std::option::Option<
12205        unsafe extern "C" fn(
12206            arg1: *mut DB,
12207            arg2: ::std::option::Option<
12208                unsafe extern "C" fn(
12209                    arg1: *mut DB,
12210                    arg2: *const DBT,
12211                    arg3: *const DBT,
12212                ) -> ::std::os::raw::c_int,
12213            >,
12214        ) -> ::std::os::raw::c_int,
12215    >,
12216    pub set_bt_compress: ::std::option::Option<
12217        unsafe extern "C" fn(
12218            arg1: *mut DB,
12219            arg2: ::std::option::Option<
12220                unsafe extern "C" fn(
12221                    arg1: *mut DB,
12222                    arg2: *const DBT,
12223                    arg3: *const DBT,
12224                    arg4: *const DBT,
12225                    arg5: *const DBT,
12226                    arg6: *mut DBT,
12227                ) -> ::std::os::raw::c_int,
12228            >,
12229            arg3: ::std::option::Option<
12230                unsafe extern "C" fn(
12231                    arg1: *mut DB,
12232                    arg2: *const DBT,
12233                    arg3: *const DBT,
12234                    arg4: *mut DBT,
12235                    arg5: *mut DBT,
12236                    arg6: *mut DBT,
12237                ) -> ::std::os::raw::c_int,
12238            >,
12239        ) -> ::std::os::raw::c_int,
12240    >,
12241    pub set_bt_minkey: ::std::option::Option<
12242        unsafe extern "C" fn(arg1: *mut DB, arg2: u_int32_t) -> ::std::os::raw::c_int,
12243    >,
12244    pub set_bt_prefix: ::std::option::Option<
12245        unsafe extern "C" fn(
12246            arg1: *mut DB,
12247            arg2: ::std::option::Option<
12248                unsafe extern "C" fn(arg1: *mut DB, arg2: *const DBT, arg3: *const DBT) -> usize,
12249            >,
12250        ) -> ::std::os::raw::c_int,
12251    >,
12252    pub set_cachesize: ::std::option::Option<
12253        unsafe extern "C" fn(
12254            arg1: *mut DB,
12255            arg2: u_int32_t,
12256            arg3: u_int32_t,
12257            arg4: ::std::os::raw::c_int,
12258        ) -> ::std::os::raw::c_int,
12259    >,
12260    pub set_create_dir: ::std::option::Option<
12261        unsafe extern "C" fn(
12262            arg1: *mut DB,
12263            arg2: *const ::std::os::raw::c_char,
12264        ) -> ::std::os::raw::c_int,
12265    >,
12266    pub set_dup_compare: ::std::option::Option<
12267        unsafe extern "C" fn(
12268            arg1: *mut DB,
12269            arg2: ::std::option::Option<
12270                unsafe extern "C" fn(
12271                    arg1: *mut DB,
12272                    arg2: *const DBT,
12273                    arg3: *const DBT,
12274                ) -> ::std::os::raw::c_int,
12275            >,
12276        ) -> ::std::os::raw::c_int,
12277    >,
12278    pub set_encrypt: ::std::option::Option<
12279        unsafe extern "C" fn(
12280            arg1: *mut DB,
12281            arg2: *const ::std::os::raw::c_char,
12282            arg3: u_int32_t,
12283        ) -> ::std::os::raw::c_int,
12284    >,
12285    pub set_errcall: ::std::option::Option<
12286        unsafe extern "C" fn(
12287            arg1: *mut DB,
12288            arg2: ::std::option::Option<
12289                unsafe extern "C" fn(
12290                    arg1: *const DB_ENV,
12291                    arg2: *const ::std::os::raw::c_char,
12292                    arg3: *const ::std::os::raw::c_char,
12293                ),
12294            >,
12295        ),
12296    >,
12297    pub set_errfile: ::std::option::Option<unsafe extern "C" fn(arg1: *mut DB, arg2: *mut FILE)>,
12298    pub set_errpfx: ::std::option::Option<
12299        unsafe extern "C" fn(arg1: *mut DB, arg2: *const ::std::os::raw::c_char),
12300    >,
12301    pub set_feedback: ::std::option::Option<
12302        unsafe extern "C" fn(
12303            arg1: *mut DB,
12304            arg2: ::std::option::Option<
12305                unsafe extern "C" fn(
12306                    arg1: *mut DB,
12307                    arg2: ::std::os::raw::c_int,
12308                    arg3: ::std::os::raw::c_int,
12309                ),
12310            >,
12311        ) -> ::std::os::raw::c_int,
12312    >,
12313    pub set_flags: ::std::option::Option<
12314        unsafe extern "C" fn(arg1: *mut DB, arg2: u_int32_t) -> ::std::os::raw::c_int,
12315    >,
12316    pub set_h_compare: ::std::option::Option<
12317        unsafe extern "C" fn(
12318            arg1: *mut DB,
12319            arg2: ::std::option::Option<
12320                unsafe extern "C" fn(
12321                    arg1: *mut DB,
12322                    arg2: *const DBT,
12323                    arg3: *const DBT,
12324                ) -> ::std::os::raw::c_int,
12325            >,
12326        ) -> ::std::os::raw::c_int,
12327    >,
12328    pub set_h_ffactor: ::std::option::Option<
12329        unsafe extern "C" fn(arg1: *mut DB, arg2: u_int32_t) -> ::std::os::raw::c_int,
12330    >,
12331    pub set_h_hash: ::std::option::Option<
12332        unsafe extern "C" fn(
12333            arg1: *mut DB,
12334            arg2: ::std::option::Option<
12335                unsafe extern "C" fn(
12336                    arg1: *mut DB,
12337                    arg2: *const ::std::os::raw::c_void,
12338                    arg3: u_int32_t,
12339                ) -> u_int32_t,
12340            >,
12341        ) -> ::std::os::raw::c_int,
12342    >,
12343    pub set_h_nelem: ::std::option::Option<
12344        unsafe extern "C" fn(arg1: *mut DB, arg2: u_int32_t) -> ::std::os::raw::c_int,
12345    >,
12346    pub set_heapsize: ::std::option::Option<
12347        unsafe extern "C" fn(
12348            arg1: *mut DB,
12349            arg2: u_int32_t,
12350            arg3: u_int32_t,
12351            arg4: u_int32_t,
12352        ) -> ::std::os::raw::c_int,
12353    >,
12354    pub set_heap_regionsize: ::std::option::Option<
12355        unsafe extern "C" fn(arg1: *mut DB, arg2: u_int32_t) -> ::std::os::raw::c_int,
12356    >,
12357    pub set_lk_exclusive: ::std::option::Option<
12358        unsafe extern "C" fn(arg1: *mut DB, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
12359    >,
12360    pub set_lorder: ::std::option::Option<
12361        unsafe extern "C" fn(arg1: *mut DB, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
12362    >,
12363    pub set_msgcall: ::std::option::Option<
12364        unsafe extern "C" fn(
12365            arg1: *mut DB,
12366            arg2: ::std::option::Option<
12367                unsafe extern "C" fn(arg1: *const DB_ENV, arg2: *const ::std::os::raw::c_char),
12368            >,
12369        ),
12370    >,
12371    pub set_msgfile: ::std::option::Option<unsafe extern "C" fn(arg1: *mut DB, arg2: *mut FILE)>,
12372    pub set_pagesize: ::std::option::Option<
12373        unsafe extern "C" fn(arg1: *mut DB, arg2: u_int32_t) -> ::std::os::raw::c_int,
12374    >,
12375    pub set_paniccall: ::std::option::Option<
12376        unsafe extern "C" fn(
12377            arg1: *mut DB,
12378            arg2: ::std::option::Option<
12379                unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: ::std::os::raw::c_int),
12380            >,
12381        ) -> ::std::os::raw::c_int,
12382    >,
12383    pub set_partition: ::std::option::Option<
12384        unsafe extern "C" fn(
12385            arg1: *mut DB,
12386            arg2: u_int32_t,
12387            arg3: *mut DBT,
12388            arg4: ::std::option::Option<
12389                unsafe extern "C" fn(arg1: *mut DB, key: *mut DBT) -> u_int32_t,
12390            >,
12391        ) -> ::std::os::raw::c_int,
12392    >,
12393    pub set_partition_dirs: ::std::option::Option<
12394        unsafe extern "C" fn(
12395            arg1: *mut DB,
12396            arg2: *mut *const ::std::os::raw::c_char,
12397        ) -> ::std::os::raw::c_int,
12398    >,
12399    pub set_priority: ::std::option::Option<
12400        unsafe extern "C" fn(arg1: *mut DB, arg2: DB_CACHE_PRIORITY) -> ::std::os::raw::c_int,
12401    >,
12402    pub set_q_extentsize: ::std::option::Option<
12403        unsafe extern "C" fn(arg1: *mut DB, arg2: u_int32_t) -> ::std::os::raw::c_int,
12404    >,
12405    pub set_re_delim: ::std::option::Option<
12406        unsafe extern "C" fn(arg1: *mut DB, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
12407    >,
12408    pub set_re_len: ::std::option::Option<
12409        unsafe extern "C" fn(arg1: *mut DB, arg2: u_int32_t) -> ::std::os::raw::c_int,
12410    >,
12411    pub set_re_pad: ::std::option::Option<
12412        unsafe extern "C" fn(arg1: *mut DB, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
12413    >,
12414    pub set_re_source: ::std::option::Option<
12415        unsafe extern "C" fn(
12416            arg1: *mut DB,
12417            arg2: *const ::std::os::raw::c_char,
12418        ) -> ::std::os::raw::c_int,
12419    >,
12420    pub sort_multiple: ::std::option::Option<
12421        unsafe extern "C" fn(
12422            arg1: *mut DB,
12423            arg2: *mut DBT,
12424            arg3: *mut DBT,
12425            arg4: u_int32_t,
12426        ) -> ::std::os::raw::c_int,
12427    >,
12428    pub stat: ::std::option::Option<
12429        unsafe extern "C" fn(
12430            arg1: *mut DB,
12431            arg2: *mut DB_TXN,
12432            arg3: *mut ::std::os::raw::c_void,
12433            arg4: u_int32_t,
12434        ) -> ::std::os::raw::c_int,
12435    >,
12436    pub stat_print: ::std::option::Option<
12437        unsafe extern "C" fn(arg1: *mut DB, arg2: u_int32_t) -> ::std::os::raw::c_int,
12438    >,
12439    pub sync: ::std::option::Option<
12440        unsafe extern "C" fn(arg1: *mut DB, arg2: u_int32_t) -> ::std::os::raw::c_int,
12441    >,
12442    pub truncate: ::std::option::Option<
12443        unsafe extern "C" fn(
12444            arg1: *mut DB,
12445            arg2: *mut DB_TXN,
12446            arg3: *mut u_int32_t,
12447            arg4: u_int32_t,
12448        ) -> ::std::os::raw::c_int,
12449    >,
12450    pub upgrade: ::std::option::Option<
12451        unsafe extern "C" fn(
12452            arg1: *mut DB,
12453            arg2: *const ::std::os::raw::c_char,
12454            arg3: u_int32_t,
12455        ) -> ::std::os::raw::c_int,
12456    >,
12457    pub verify: ::std::option::Option<
12458        unsafe extern "C" fn(
12459            arg1: *mut DB,
12460            arg2: *const ::std::os::raw::c_char,
12461            arg3: *const ::std::os::raw::c_char,
12462            arg4: *mut FILE,
12463            arg5: u_int32_t,
12464        ) -> ::std::os::raw::c_int,
12465    >,
12466    pub dump: ::std::option::Option<
12467        unsafe extern "C" fn(
12468            arg1: *mut DB,
12469            arg2: *const ::std::os::raw::c_char,
12470            arg3: ::std::option::Option<
12471                unsafe extern "C" fn(
12472                    arg1: *mut ::std::os::raw::c_void,
12473                    arg2: *const ::std::os::raw::c_void,
12474                ) -> ::std::os::raw::c_int,
12475            >,
12476            arg4: *mut ::std::os::raw::c_void,
12477            arg5: ::std::os::raw::c_int,
12478            arg6: ::std::os::raw::c_int,
12479        ) -> ::std::os::raw::c_int,
12480    >,
12481    pub db_am_remove: ::std::option::Option<
12482        unsafe extern "C" fn(
12483            arg1: *mut DB,
12484            arg2: *mut DB_THREAD_INFO,
12485            arg3: *mut DB_TXN,
12486            arg4: *const ::std::os::raw::c_char,
12487            arg5: *const ::std::os::raw::c_char,
12488            arg6: u_int32_t,
12489        ) -> ::std::os::raw::c_int,
12490    >,
12491    pub db_am_rename: ::std::option::Option<
12492        unsafe extern "C" fn(
12493            arg1: *mut DB,
12494            arg2: *mut DB_THREAD_INFO,
12495            arg3: *mut DB_TXN,
12496            arg4: *const ::std::os::raw::c_char,
12497            arg5: *const ::std::os::raw::c_char,
12498            arg6: *const ::std::os::raw::c_char,
12499        ) -> ::std::os::raw::c_int,
12500    >,
12501    pub stored_get: ::std::option::Option<
12502        unsafe extern "C" fn(
12503            arg1: *mut DB,
12504            arg2: *mut DB_TXN,
12505            arg3: *mut DBT,
12506            arg4: *mut DBT,
12507            arg5: u_int32_t,
12508        ) -> ::std::os::raw::c_int,
12509    >,
12510    pub stored_close: ::std::option::Option<
12511        unsafe extern "C" fn(arg1: *mut DB, arg2: u_int32_t) -> ::std::os::raw::c_int,
12512    >,
12513    pub alt_close: ::std::option::Option<
12514        unsafe extern "C" fn(arg1: *mut DB, arg2: u_int32_t) -> ::std::os::raw::c_int,
12515    >,
12516    pub am_ok: u_int32_t,
12517    pub preserve_fid: ::std::os::raw::c_int,
12518    pub orig_flags: u_int32_t,
12519    pub flags: u_int32_t,
12520    pub orig_flags2: u_int32_t,
12521    pub flags2: u_int32_t,
12522}
12523#[repr(C)]
12524#[derive(Debug, Copy, Clone)]
12525pub struct __db__bindgen_ty_1 {
12526    pub tqe_next: *mut __db,
12527    pub tqe_prev: *mut *mut __db,
12528}
12529#[test]
12530fn bindgen_test_layout___db__bindgen_ty_1() {
12531    assert_eq!(
12532        ::std::mem::size_of::<__db__bindgen_ty_1>(),
12533        16usize,
12534        concat!("Size of: ", stringify!(__db__bindgen_ty_1))
12535    );
12536    assert_eq!(
12537        ::std::mem::align_of::<__db__bindgen_ty_1>(),
12538        8usize,
12539        concat!("Alignment of ", stringify!(__db__bindgen_ty_1))
12540    );
12541    assert_eq!(
12542        unsafe { &(*(::std::ptr::null::<__db__bindgen_ty_1>())).tqe_next as *const _ as usize },
12543        0usize,
12544        concat!(
12545            "Offset of field: ",
12546            stringify!(__db__bindgen_ty_1),
12547            "::",
12548            stringify!(tqe_next)
12549        )
12550    );
12551    assert_eq!(
12552        unsafe { &(*(::std::ptr::null::<__db__bindgen_ty_1>())).tqe_prev as *const _ as usize },
12553        8usize,
12554        concat!(
12555            "Offset of field: ",
12556            stringify!(__db__bindgen_ty_1),
12557            "::",
12558            stringify!(tqe_prev)
12559        )
12560    );
12561}
12562impl Default for __db__bindgen_ty_1 {
12563    fn default() -> Self {
12564        unsafe { ::std::mem::zeroed() }
12565    }
12566}
12567#[repr(C)]
12568#[derive(Debug, Copy, Clone)]
12569pub struct __db___cq_fq {
12570    pub tqh_first: *mut __dbc,
12571    pub tqh_last: *mut *mut __dbc,
12572}
12573#[test]
12574fn bindgen_test_layout___db___cq_fq() {
12575    assert_eq!(
12576        ::std::mem::size_of::<__db___cq_fq>(),
12577        16usize,
12578        concat!("Size of: ", stringify!(__db___cq_fq))
12579    );
12580    assert_eq!(
12581        ::std::mem::align_of::<__db___cq_fq>(),
12582        8usize,
12583        concat!("Alignment of ", stringify!(__db___cq_fq))
12584    );
12585    assert_eq!(
12586        unsafe { &(*(::std::ptr::null::<__db___cq_fq>())).tqh_first as *const _ as usize },
12587        0usize,
12588        concat!(
12589            "Offset of field: ",
12590            stringify!(__db___cq_fq),
12591            "::",
12592            stringify!(tqh_first)
12593        )
12594    );
12595    assert_eq!(
12596        unsafe { &(*(::std::ptr::null::<__db___cq_fq>())).tqh_last as *const _ as usize },
12597        8usize,
12598        concat!(
12599            "Offset of field: ",
12600            stringify!(__db___cq_fq),
12601            "::",
12602            stringify!(tqh_last)
12603        )
12604    );
12605}
12606impl Default for __db___cq_fq {
12607    fn default() -> Self {
12608        unsafe { ::std::mem::zeroed() }
12609    }
12610}
12611#[repr(C)]
12612#[derive(Debug, Copy, Clone)]
12613pub struct __db___cq_aq {
12614    pub tqh_first: *mut __dbc,
12615    pub tqh_last: *mut *mut __dbc,
12616}
12617#[test]
12618fn bindgen_test_layout___db___cq_aq() {
12619    assert_eq!(
12620        ::std::mem::size_of::<__db___cq_aq>(),
12621        16usize,
12622        concat!("Size of: ", stringify!(__db___cq_aq))
12623    );
12624    assert_eq!(
12625        ::std::mem::align_of::<__db___cq_aq>(),
12626        8usize,
12627        concat!("Alignment of ", stringify!(__db___cq_aq))
12628    );
12629    assert_eq!(
12630        unsafe { &(*(::std::ptr::null::<__db___cq_aq>())).tqh_first as *const _ as usize },
12631        0usize,
12632        concat!(
12633            "Offset of field: ",
12634            stringify!(__db___cq_aq),
12635            "::",
12636            stringify!(tqh_first)
12637        )
12638    );
12639    assert_eq!(
12640        unsafe { &(*(::std::ptr::null::<__db___cq_aq>())).tqh_last as *const _ as usize },
12641        8usize,
12642        concat!(
12643            "Offset of field: ",
12644            stringify!(__db___cq_aq),
12645            "::",
12646            stringify!(tqh_last)
12647        )
12648    );
12649}
12650impl Default for __db___cq_aq {
12651    fn default() -> Self {
12652        unsafe { ::std::mem::zeroed() }
12653    }
12654}
12655#[repr(C)]
12656#[derive(Debug, Copy, Clone)]
12657pub struct __db___cq_jq {
12658    pub tqh_first: *mut __dbc,
12659    pub tqh_last: *mut *mut __dbc,
12660}
12661#[test]
12662fn bindgen_test_layout___db___cq_jq() {
12663    assert_eq!(
12664        ::std::mem::size_of::<__db___cq_jq>(),
12665        16usize,
12666        concat!("Size of: ", stringify!(__db___cq_jq))
12667    );
12668    assert_eq!(
12669        ::std::mem::align_of::<__db___cq_jq>(),
12670        8usize,
12671        concat!("Alignment of ", stringify!(__db___cq_jq))
12672    );
12673    assert_eq!(
12674        unsafe { &(*(::std::ptr::null::<__db___cq_jq>())).tqh_first as *const _ as usize },
12675        0usize,
12676        concat!(
12677            "Offset of field: ",
12678            stringify!(__db___cq_jq),
12679            "::",
12680            stringify!(tqh_first)
12681        )
12682    );
12683    assert_eq!(
12684        unsafe { &(*(::std::ptr::null::<__db___cq_jq>())).tqh_last as *const _ as usize },
12685        8usize,
12686        concat!(
12687            "Offset of field: ",
12688            stringify!(__db___cq_jq),
12689            "::",
12690            stringify!(tqh_last)
12691        )
12692    );
12693}
12694impl Default for __db___cq_jq {
12695    fn default() -> Self {
12696        unsafe { ::std::mem::zeroed() }
12697    }
12698}
12699#[repr(C)]
12700#[derive(Debug, Copy, Clone)]
12701pub struct __db__bindgen_ty_2 {
12702    pub lh_first: *mut __db,
12703}
12704#[test]
12705fn bindgen_test_layout___db__bindgen_ty_2() {
12706    assert_eq!(
12707        ::std::mem::size_of::<__db__bindgen_ty_2>(),
12708        8usize,
12709        concat!("Size of: ", stringify!(__db__bindgen_ty_2))
12710    );
12711    assert_eq!(
12712        ::std::mem::align_of::<__db__bindgen_ty_2>(),
12713        8usize,
12714        concat!("Alignment of ", stringify!(__db__bindgen_ty_2))
12715    );
12716    assert_eq!(
12717        unsafe { &(*(::std::ptr::null::<__db__bindgen_ty_2>())).lh_first as *const _ as usize },
12718        0usize,
12719        concat!(
12720            "Offset of field: ",
12721            stringify!(__db__bindgen_ty_2),
12722            "::",
12723            stringify!(lh_first)
12724        )
12725    );
12726}
12727impl Default for __db__bindgen_ty_2 {
12728    fn default() -> Self {
12729        unsafe { ::std::mem::zeroed() }
12730    }
12731}
12732#[repr(C)]
12733#[derive(Debug, Copy, Clone)]
12734pub struct __db__bindgen_ty_3 {
12735    pub le_next: *mut __db,
12736    pub le_prev: *mut *mut __db,
12737}
12738#[test]
12739fn bindgen_test_layout___db__bindgen_ty_3() {
12740    assert_eq!(
12741        ::std::mem::size_of::<__db__bindgen_ty_3>(),
12742        16usize,
12743        concat!("Size of: ", stringify!(__db__bindgen_ty_3))
12744    );
12745    assert_eq!(
12746        ::std::mem::align_of::<__db__bindgen_ty_3>(),
12747        8usize,
12748        concat!("Alignment of ", stringify!(__db__bindgen_ty_3))
12749    );
12750    assert_eq!(
12751        unsafe { &(*(::std::ptr::null::<__db__bindgen_ty_3>())).le_next as *const _ as usize },
12752        0usize,
12753        concat!(
12754            "Offset of field: ",
12755            stringify!(__db__bindgen_ty_3),
12756            "::",
12757            stringify!(le_next)
12758        )
12759    );
12760    assert_eq!(
12761        unsafe { &(*(::std::ptr::null::<__db__bindgen_ty_3>())).le_prev as *const _ as usize },
12762        8usize,
12763        concat!(
12764            "Offset of field: ",
12765            stringify!(__db__bindgen_ty_3),
12766            "::",
12767            stringify!(le_prev)
12768        )
12769    );
12770}
12771impl Default for __db__bindgen_ty_3 {
12772    fn default() -> Self {
12773        unsafe { ::std::mem::zeroed() }
12774    }
12775}
12776#[repr(C)]
12777#[derive(Debug, Copy, Clone)]
12778pub struct __db__bindgen_ty_4 {
12779    pub lh_first: *mut __db_foreign_info,
12780}
12781#[test]
12782fn bindgen_test_layout___db__bindgen_ty_4() {
12783    assert_eq!(
12784        ::std::mem::size_of::<__db__bindgen_ty_4>(),
12785        8usize,
12786        concat!("Size of: ", stringify!(__db__bindgen_ty_4))
12787    );
12788    assert_eq!(
12789        ::std::mem::align_of::<__db__bindgen_ty_4>(),
12790        8usize,
12791        concat!("Alignment of ", stringify!(__db__bindgen_ty_4))
12792    );
12793    assert_eq!(
12794        unsafe { &(*(::std::ptr::null::<__db__bindgen_ty_4>())).lh_first as *const _ as usize },
12795        0usize,
12796        concat!(
12797            "Offset of field: ",
12798            stringify!(__db__bindgen_ty_4),
12799            "::",
12800            stringify!(lh_first)
12801        )
12802    );
12803}
12804impl Default for __db__bindgen_ty_4 {
12805    fn default() -> Self {
12806        unsafe { ::std::mem::zeroed() }
12807    }
12808}
12809#[repr(C)]
12810#[derive(Debug, Copy, Clone)]
12811pub struct __db__bindgen_ty_5 {
12812    pub tqe_next: *mut __db,
12813    pub tqe_prev: *mut *mut __db,
12814}
12815#[test]
12816fn bindgen_test_layout___db__bindgen_ty_5() {
12817    assert_eq!(
12818        ::std::mem::size_of::<__db__bindgen_ty_5>(),
12819        16usize,
12820        concat!("Size of: ", stringify!(__db__bindgen_ty_5))
12821    );
12822    assert_eq!(
12823        ::std::mem::align_of::<__db__bindgen_ty_5>(),
12824        8usize,
12825        concat!("Alignment of ", stringify!(__db__bindgen_ty_5))
12826    );
12827    assert_eq!(
12828        unsafe { &(*(::std::ptr::null::<__db__bindgen_ty_5>())).tqe_next as *const _ as usize },
12829        0usize,
12830        concat!(
12831            "Offset of field: ",
12832            stringify!(__db__bindgen_ty_5),
12833            "::",
12834            stringify!(tqe_next)
12835        )
12836    );
12837    assert_eq!(
12838        unsafe { &(*(::std::ptr::null::<__db__bindgen_ty_5>())).tqe_prev as *const _ as usize },
12839        8usize,
12840        concat!(
12841            "Offset of field: ",
12842            stringify!(__db__bindgen_ty_5),
12843            "::",
12844            stringify!(tqe_prev)
12845        )
12846    );
12847}
12848impl Default for __db__bindgen_ty_5 {
12849    fn default() -> Self {
12850        unsafe { ::std::mem::zeroed() }
12851    }
12852}
12853#[test]
12854fn bindgen_test_layout___db() {
12855    assert_eq!(
12856        ::std::mem::size_of::<__db>(),
12857        1456usize,
12858        concat!("Size of: ", stringify!(__db))
12859    );
12860    assert_eq!(
12861        ::std::mem::align_of::<__db>(),
12862        8usize,
12863        concat!("Alignment of ", stringify!(__db))
12864    );
12865    assert_eq!(
12866        unsafe { &(*(::std::ptr::null::<__db>())).pgsize as *const _ as usize },
12867        0usize,
12868        concat!(
12869            "Offset of field: ",
12870            stringify!(__db),
12871            "::",
12872            stringify!(pgsize)
12873        )
12874    );
12875    assert_eq!(
12876        unsafe { &(*(::std::ptr::null::<__db>())).priority as *const _ as usize },
12877        4usize,
12878        concat!(
12879            "Offset of field: ",
12880            stringify!(__db),
12881            "::",
12882            stringify!(priority)
12883        )
12884    );
12885    assert_eq!(
12886        unsafe { &(*(::std::ptr::null::<__db>())).db_append_recno as *const _ as usize },
12887        8usize,
12888        concat!(
12889            "Offset of field: ",
12890            stringify!(__db),
12891            "::",
12892            stringify!(db_append_recno)
12893        )
12894    );
12895    assert_eq!(
12896        unsafe { &(*(::std::ptr::null::<__db>())).db_feedback as *const _ as usize },
12897        16usize,
12898        concat!(
12899            "Offset of field: ",
12900            stringify!(__db),
12901            "::",
12902            stringify!(db_feedback)
12903        )
12904    );
12905    assert_eq!(
12906        unsafe { &(*(::std::ptr::null::<__db>())).dup_compare as *const _ as usize },
12907        24usize,
12908        concat!(
12909            "Offset of field: ",
12910            stringify!(__db),
12911            "::",
12912            stringify!(dup_compare)
12913        )
12914    );
12915    assert_eq!(
12916        unsafe { &(*(::std::ptr::null::<__db>())).app_private as *const _ as usize },
12917        32usize,
12918        concat!(
12919            "Offset of field: ",
12920            stringify!(__db),
12921            "::",
12922            stringify!(app_private)
12923        )
12924    );
12925    assert_eq!(
12926        unsafe { &(*(::std::ptr::null::<__db>())).dbenv as *const _ as usize },
12927        40usize,
12928        concat!(
12929            "Offset of field: ",
12930            stringify!(__db),
12931            "::",
12932            stringify!(dbenv)
12933        )
12934    );
12935    assert_eq!(
12936        unsafe { &(*(::std::ptr::null::<__db>())).env as *const _ as usize },
12937        48usize,
12938        concat!("Offset of field: ", stringify!(__db), "::", stringify!(env))
12939    );
12940    assert_eq!(
12941        unsafe { &(*(::std::ptr::null::<__db>())).type_ as *const _ as usize },
12942        56usize,
12943        concat!(
12944            "Offset of field: ",
12945            stringify!(__db),
12946            "::",
12947            stringify!(type_)
12948        )
12949    );
12950    assert_eq!(
12951        unsafe { &(*(::std::ptr::null::<__db>())).mpf as *const _ as usize },
12952        64usize,
12953        concat!("Offset of field: ", stringify!(__db), "::", stringify!(mpf))
12954    );
12955    assert_eq!(
12956        unsafe { &(*(::std::ptr::null::<__db>())).mutex as *const _ as usize },
12957        72usize,
12958        concat!(
12959            "Offset of field: ",
12960            stringify!(__db),
12961            "::",
12962            stringify!(mutex)
12963        )
12964    );
12965    assert_eq!(
12966        unsafe { &(*(::std::ptr::null::<__db>())).fname as *const _ as usize },
12967        80usize,
12968        concat!(
12969            "Offset of field: ",
12970            stringify!(__db),
12971            "::",
12972            stringify!(fname)
12973        )
12974    );
12975    assert_eq!(
12976        unsafe { &(*(::std::ptr::null::<__db>())).dname as *const _ as usize },
12977        88usize,
12978        concat!(
12979            "Offset of field: ",
12980            stringify!(__db),
12981            "::",
12982            stringify!(dname)
12983        )
12984    );
12985    assert_eq!(
12986        unsafe { &(*(::std::ptr::null::<__db>())).dirname as *const _ as usize },
12987        96usize,
12988        concat!(
12989            "Offset of field: ",
12990            stringify!(__db),
12991            "::",
12992            stringify!(dirname)
12993        )
12994    );
12995    assert_eq!(
12996        unsafe { &(*(::std::ptr::null::<__db>())).open_flags as *const _ as usize },
12997        104usize,
12998        concat!(
12999            "Offset of field: ",
13000            stringify!(__db),
13001            "::",
13002            stringify!(open_flags)
13003        )
13004    );
13005    assert_eq!(
13006        unsafe { &(*(::std::ptr::null::<__db>())).fileid as *const _ as usize },
13007        108usize,
13008        concat!(
13009            "Offset of field: ",
13010            stringify!(__db),
13011            "::",
13012            stringify!(fileid)
13013        )
13014    );
13015    assert_eq!(
13016        unsafe { &(*(::std::ptr::null::<__db>())).adj_fileid as *const _ as usize },
13017        128usize,
13018        concat!(
13019            "Offset of field: ",
13020            stringify!(__db),
13021            "::",
13022            stringify!(adj_fileid)
13023        )
13024    );
13025    assert_eq!(
13026        unsafe { &(*(::std::ptr::null::<__db>())).log_filename as *const _ as usize },
13027        136usize,
13028        concat!(
13029            "Offset of field: ",
13030            stringify!(__db),
13031            "::",
13032            stringify!(log_filename)
13033        )
13034    );
13035    assert_eq!(
13036        unsafe { &(*(::std::ptr::null::<__db>())).meta_pgno as *const _ as usize },
13037        144usize,
13038        concat!(
13039            "Offset of field: ",
13040            stringify!(__db),
13041            "::",
13042            stringify!(meta_pgno)
13043        )
13044    );
13045    assert_eq!(
13046        unsafe { &(*(::std::ptr::null::<__db>())).locker as *const _ as usize },
13047        152usize,
13048        concat!(
13049            "Offset of field: ",
13050            stringify!(__db),
13051            "::",
13052            stringify!(locker)
13053        )
13054    );
13055    assert_eq!(
13056        unsafe { &(*(::std::ptr::null::<__db>())).cur_locker as *const _ as usize },
13057        160usize,
13058        concat!(
13059            "Offset of field: ",
13060            stringify!(__db),
13061            "::",
13062            stringify!(cur_locker)
13063        )
13064    );
13065    assert_eq!(
13066        unsafe { &(*(::std::ptr::null::<__db>())).cur_txn as *const _ as usize },
13067        168usize,
13068        concat!(
13069            "Offset of field: ",
13070            stringify!(__db),
13071            "::",
13072            stringify!(cur_txn)
13073        )
13074    );
13075    assert_eq!(
13076        unsafe { &(*(::std::ptr::null::<__db>())).associate_locker as *const _ as usize },
13077        176usize,
13078        concat!(
13079            "Offset of field: ",
13080            stringify!(__db),
13081            "::",
13082            stringify!(associate_locker)
13083        )
13084    );
13085    assert_eq!(
13086        unsafe { &(*(::std::ptr::null::<__db>())).handle_lock as *const _ as usize },
13087        184usize,
13088        concat!(
13089            "Offset of field: ",
13090            stringify!(__db),
13091            "::",
13092            stringify!(handle_lock)
13093        )
13094    );
13095    assert_eq!(
13096        unsafe { &(*(::std::ptr::null::<__db>())).timestamp as *const _ as usize },
13097        208usize,
13098        concat!(
13099            "Offset of field: ",
13100            stringify!(__db),
13101            "::",
13102            stringify!(timestamp)
13103        )
13104    );
13105    assert_eq!(
13106        unsafe { &(*(::std::ptr::null::<__db>())).fid_gen as *const _ as usize },
13107        216usize,
13108        concat!(
13109            "Offset of field: ",
13110            stringify!(__db),
13111            "::",
13112            stringify!(fid_gen)
13113        )
13114    );
13115    assert_eq!(
13116        unsafe { &(*(::std::ptr::null::<__db>())).my_rskey as *const _ as usize },
13117        224usize,
13118        concat!(
13119            "Offset of field: ",
13120            stringify!(__db),
13121            "::",
13122            stringify!(my_rskey)
13123        )
13124    );
13125    assert_eq!(
13126        unsafe { &(*(::std::ptr::null::<__db>())).my_rkey as *const _ as usize },
13127        264usize,
13128        concat!(
13129            "Offset of field: ",
13130            stringify!(__db),
13131            "::",
13132            stringify!(my_rkey)
13133        )
13134    );
13135    assert_eq!(
13136        unsafe { &(*(::std::ptr::null::<__db>())).my_rdata as *const _ as usize },
13137        304usize,
13138        concat!(
13139            "Offset of field: ",
13140            stringify!(__db),
13141            "::",
13142            stringify!(my_rdata)
13143        )
13144    );
13145    assert_eq!(
13146        unsafe { &(*(::std::ptr::null::<__db>())).saved_open_fhp as *const _ as usize },
13147        344usize,
13148        concat!(
13149            "Offset of field: ",
13150            stringify!(__db),
13151            "::",
13152            stringify!(saved_open_fhp)
13153        )
13154    );
13155    assert_eq!(
13156        unsafe { &(*(::std::ptr::null::<__db>())).dblistlinks as *const _ as usize },
13157        352usize,
13158        concat!(
13159            "Offset of field: ",
13160            stringify!(__db),
13161            "::",
13162            stringify!(dblistlinks)
13163        )
13164    );
13165    assert_eq!(
13166        unsafe { &(*(::std::ptr::null::<__db>())).free_queue as *const _ as usize },
13167        368usize,
13168        concat!(
13169            "Offset of field: ",
13170            stringify!(__db),
13171            "::",
13172            stringify!(free_queue)
13173        )
13174    );
13175    assert_eq!(
13176        unsafe { &(*(::std::ptr::null::<__db>())).active_queue as *const _ as usize },
13177        384usize,
13178        concat!(
13179            "Offset of field: ",
13180            stringify!(__db),
13181            "::",
13182            stringify!(active_queue)
13183        )
13184    );
13185    assert_eq!(
13186        unsafe { &(*(::std::ptr::null::<__db>())).join_queue as *const _ as usize },
13187        400usize,
13188        concat!(
13189            "Offset of field: ",
13190            stringify!(__db),
13191            "::",
13192            stringify!(join_queue)
13193        )
13194    );
13195    assert_eq!(
13196        unsafe { &(*(::std::ptr::null::<__db>())).s_secondaries as *const _ as usize },
13197        416usize,
13198        concat!(
13199            "Offset of field: ",
13200            stringify!(__db),
13201            "::",
13202            stringify!(s_secondaries)
13203        )
13204    );
13205    assert_eq!(
13206        unsafe { &(*(::std::ptr::null::<__db>())).s_links as *const _ as usize },
13207        424usize,
13208        concat!(
13209            "Offset of field: ",
13210            stringify!(__db),
13211            "::",
13212            stringify!(s_links)
13213        )
13214    );
13215    assert_eq!(
13216        unsafe { &(*(::std::ptr::null::<__db>())).s_refcnt as *const _ as usize },
13217        440usize,
13218        concat!(
13219            "Offset of field: ",
13220            stringify!(__db),
13221            "::",
13222            stringify!(s_refcnt)
13223        )
13224    );
13225    assert_eq!(
13226        unsafe { &(*(::std::ptr::null::<__db>())).s_callback as *const _ as usize },
13227        448usize,
13228        concat!(
13229            "Offset of field: ",
13230            stringify!(__db),
13231            "::",
13232            stringify!(s_callback)
13233        )
13234    );
13235    assert_eq!(
13236        unsafe { &(*(::std::ptr::null::<__db>())).s_primary as *const _ as usize },
13237        456usize,
13238        concat!(
13239            "Offset of field: ",
13240            stringify!(__db),
13241            "::",
13242            stringify!(s_primary)
13243        )
13244    );
13245    assert_eq!(
13246        unsafe { &(*(::std::ptr::null::<__db>())).s_assoc_flags as *const _ as usize },
13247        464usize,
13248        concat!(
13249            "Offset of field: ",
13250            stringify!(__db),
13251            "::",
13252            stringify!(s_assoc_flags)
13253        )
13254    );
13255    assert_eq!(
13256        unsafe { &(*(::std::ptr::null::<__db>())).f_primaries as *const _ as usize },
13257        472usize,
13258        concat!(
13259            "Offset of field: ",
13260            stringify!(__db),
13261            "::",
13262            stringify!(f_primaries)
13263        )
13264    );
13265    assert_eq!(
13266        unsafe { &(*(::std::ptr::null::<__db>())).felink as *const _ as usize },
13267        480usize,
13268        concat!(
13269            "Offset of field: ",
13270            stringify!(__db),
13271            "::",
13272            stringify!(felink)
13273        )
13274    );
13275    assert_eq!(
13276        unsafe { &(*(::std::ptr::null::<__db>())).s_foreign as *const _ as usize },
13277        496usize,
13278        concat!(
13279            "Offset of field: ",
13280            stringify!(__db),
13281            "::",
13282            stringify!(s_foreign)
13283        )
13284    );
13285    assert_eq!(
13286        unsafe { &(*(::std::ptr::null::<__db>())).api_internal as *const _ as usize },
13287        504usize,
13288        concat!(
13289            "Offset of field: ",
13290            stringify!(__db),
13291            "::",
13292            stringify!(api_internal)
13293        )
13294    );
13295    assert_eq!(
13296        unsafe { &(*(::std::ptr::null::<__db>())).bt_internal as *const _ as usize },
13297        512usize,
13298        concat!(
13299            "Offset of field: ",
13300            stringify!(__db),
13301            "::",
13302            stringify!(bt_internal)
13303        )
13304    );
13305    assert_eq!(
13306        unsafe { &(*(::std::ptr::null::<__db>())).h_internal as *const _ as usize },
13307        520usize,
13308        concat!(
13309            "Offset of field: ",
13310            stringify!(__db),
13311            "::",
13312            stringify!(h_internal)
13313        )
13314    );
13315    assert_eq!(
13316        unsafe { &(*(::std::ptr::null::<__db>())).heap_internal as *const _ as usize },
13317        528usize,
13318        concat!(
13319            "Offset of field: ",
13320            stringify!(__db),
13321            "::",
13322            stringify!(heap_internal)
13323        )
13324    );
13325    assert_eq!(
13326        unsafe { &(*(::std::ptr::null::<__db>())).p_internal as *const _ as usize },
13327        536usize,
13328        concat!(
13329            "Offset of field: ",
13330            stringify!(__db),
13331            "::",
13332            stringify!(p_internal)
13333        )
13334    );
13335    assert_eq!(
13336        unsafe { &(*(::std::ptr::null::<__db>())).q_internal as *const _ as usize },
13337        544usize,
13338        concat!(
13339            "Offset of field: ",
13340            stringify!(__db),
13341            "::",
13342            stringify!(q_internal)
13343        )
13344    );
13345    assert_eq!(
13346        unsafe { &(*(::std::ptr::null::<__db>())).associate as *const _ as usize },
13347        552usize,
13348        concat!(
13349            "Offset of field: ",
13350            stringify!(__db),
13351            "::",
13352            stringify!(associate)
13353        )
13354    );
13355    assert_eq!(
13356        unsafe { &(*(::std::ptr::null::<__db>())).associate_foreign as *const _ as usize },
13357        560usize,
13358        concat!(
13359            "Offset of field: ",
13360            stringify!(__db),
13361            "::",
13362            stringify!(associate_foreign)
13363        )
13364    );
13365    assert_eq!(
13366        unsafe { &(*(::std::ptr::null::<__db>())).close as *const _ as usize },
13367        568usize,
13368        concat!(
13369            "Offset of field: ",
13370            stringify!(__db),
13371            "::",
13372            stringify!(close)
13373        )
13374    );
13375    assert_eq!(
13376        unsafe { &(*(::std::ptr::null::<__db>())).compact as *const _ as usize },
13377        576usize,
13378        concat!(
13379            "Offset of field: ",
13380            stringify!(__db),
13381            "::",
13382            stringify!(compact)
13383        )
13384    );
13385    assert_eq!(
13386        unsafe { &(*(::std::ptr::null::<__db>())).cursor as *const _ as usize },
13387        584usize,
13388        concat!(
13389            "Offset of field: ",
13390            stringify!(__db),
13391            "::",
13392            stringify!(cursor)
13393        )
13394    );
13395    assert_eq!(
13396        unsafe { &(*(::std::ptr::null::<__db>())).del as *const _ as usize },
13397        592usize,
13398        concat!("Offset of field: ", stringify!(__db), "::", stringify!(del))
13399    );
13400    assert_eq!(
13401        unsafe { &(*(::std::ptr::null::<__db>())).err as *const _ as usize },
13402        600usize,
13403        concat!("Offset of field: ", stringify!(__db), "::", stringify!(err))
13404    );
13405    assert_eq!(
13406        unsafe { &(*(::std::ptr::null::<__db>())).errx as *const _ as usize },
13407        608usize,
13408        concat!(
13409            "Offset of field: ",
13410            stringify!(__db),
13411            "::",
13412            stringify!(errx)
13413        )
13414    );
13415    assert_eq!(
13416        unsafe { &(*(::std::ptr::null::<__db>())).exists as *const _ as usize },
13417        616usize,
13418        concat!(
13419            "Offset of field: ",
13420            stringify!(__db),
13421            "::",
13422            stringify!(exists)
13423        )
13424    );
13425    assert_eq!(
13426        unsafe { &(*(::std::ptr::null::<__db>())).fd as *const _ as usize },
13427        624usize,
13428        concat!("Offset of field: ", stringify!(__db), "::", stringify!(fd))
13429    );
13430    assert_eq!(
13431        unsafe { &(*(::std::ptr::null::<__db>())).get as *const _ as usize },
13432        632usize,
13433        concat!("Offset of field: ", stringify!(__db), "::", stringify!(get))
13434    );
13435    assert_eq!(
13436        unsafe { &(*(::std::ptr::null::<__db>())).get_alloc as *const _ as usize },
13437        640usize,
13438        concat!(
13439            "Offset of field: ",
13440            stringify!(__db),
13441            "::",
13442            stringify!(get_alloc)
13443        )
13444    );
13445    assert_eq!(
13446        unsafe { &(*(::std::ptr::null::<__db>())).get_append_recno as *const _ as usize },
13447        648usize,
13448        concat!(
13449            "Offset of field: ",
13450            stringify!(__db),
13451            "::",
13452            stringify!(get_append_recno)
13453        )
13454    );
13455    assert_eq!(
13456        unsafe { &(*(::std::ptr::null::<__db>())).get_assoc_flags as *const _ as usize },
13457        656usize,
13458        concat!(
13459            "Offset of field: ",
13460            stringify!(__db),
13461            "::",
13462            stringify!(get_assoc_flags)
13463        )
13464    );
13465    assert_eq!(
13466        unsafe { &(*(::std::ptr::null::<__db>())).get_bt_compare as *const _ as usize },
13467        664usize,
13468        concat!(
13469            "Offset of field: ",
13470            stringify!(__db),
13471            "::",
13472            stringify!(get_bt_compare)
13473        )
13474    );
13475    assert_eq!(
13476        unsafe { &(*(::std::ptr::null::<__db>())).get_bt_compress as *const _ as usize },
13477        672usize,
13478        concat!(
13479            "Offset of field: ",
13480            stringify!(__db),
13481            "::",
13482            stringify!(get_bt_compress)
13483        )
13484    );
13485    assert_eq!(
13486        unsafe { &(*(::std::ptr::null::<__db>())).get_bt_minkey as *const _ as usize },
13487        680usize,
13488        concat!(
13489            "Offset of field: ",
13490            stringify!(__db),
13491            "::",
13492            stringify!(get_bt_minkey)
13493        )
13494    );
13495    assert_eq!(
13496        unsafe { &(*(::std::ptr::null::<__db>())).get_bt_prefix as *const _ as usize },
13497        688usize,
13498        concat!(
13499            "Offset of field: ",
13500            stringify!(__db),
13501            "::",
13502            stringify!(get_bt_prefix)
13503        )
13504    );
13505    assert_eq!(
13506        unsafe { &(*(::std::ptr::null::<__db>())).get_byteswapped as *const _ as usize },
13507        696usize,
13508        concat!(
13509            "Offset of field: ",
13510            stringify!(__db),
13511            "::",
13512            stringify!(get_byteswapped)
13513        )
13514    );
13515    assert_eq!(
13516        unsafe { &(*(::std::ptr::null::<__db>())).get_cachesize as *const _ as usize },
13517        704usize,
13518        concat!(
13519            "Offset of field: ",
13520            stringify!(__db),
13521            "::",
13522            stringify!(get_cachesize)
13523        )
13524    );
13525    assert_eq!(
13526        unsafe { &(*(::std::ptr::null::<__db>())).get_create_dir as *const _ as usize },
13527        712usize,
13528        concat!(
13529            "Offset of field: ",
13530            stringify!(__db),
13531            "::",
13532            stringify!(get_create_dir)
13533        )
13534    );
13535    assert_eq!(
13536        unsafe { &(*(::std::ptr::null::<__db>())).get_dbname as *const _ as usize },
13537        720usize,
13538        concat!(
13539            "Offset of field: ",
13540            stringify!(__db),
13541            "::",
13542            stringify!(get_dbname)
13543        )
13544    );
13545    assert_eq!(
13546        unsafe { &(*(::std::ptr::null::<__db>())).get_dup_compare as *const _ as usize },
13547        728usize,
13548        concat!(
13549            "Offset of field: ",
13550            stringify!(__db),
13551            "::",
13552            stringify!(get_dup_compare)
13553        )
13554    );
13555    assert_eq!(
13556        unsafe { &(*(::std::ptr::null::<__db>())).get_encrypt_flags as *const _ as usize },
13557        736usize,
13558        concat!(
13559            "Offset of field: ",
13560            stringify!(__db),
13561            "::",
13562            stringify!(get_encrypt_flags)
13563        )
13564    );
13565    assert_eq!(
13566        unsafe { &(*(::std::ptr::null::<__db>())).get_env as *const _ as usize },
13567        744usize,
13568        concat!(
13569            "Offset of field: ",
13570            stringify!(__db),
13571            "::",
13572            stringify!(get_env)
13573        )
13574    );
13575    assert_eq!(
13576        unsafe { &(*(::std::ptr::null::<__db>())).get_errcall as *const _ as usize },
13577        752usize,
13578        concat!(
13579            "Offset of field: ",
13580            stringify!(__db),
13581            "::",
13582            stringify!(get_errcall)
13583        )
13584    );
13585    assert_eq!(
13586        unsafe { &(*(::std::ptr::null::<__db>())).get_errfile as *const _ as usize },
13587        760usize,
13588        concat!(
13589            "Offset of field: ",
13590            stringify!(__db),
13591            "::",
13592            stringify!(get_errfile)
13593        )
13594    );
13595    assert_eq!(
13596        unsafe { &(*(::std::ptr::null::<__db>())).get_errpfx as *const _ as usize },
13597        768usize,
13598        concat!(
13599            "Offset of field: ",
13600            stringify!(__db),
13601            "::",
13602            stringify!(get_errpfx)
13603        )
13604    );
13605    assert_eq!(
13606        unsafe { &(*(::std::ptr::null::<__db>())).get_feedback as *const _ as usize },
13607        776usize,
13608        concat!(
13609            "Offset of field: ",
13610            stringify!(__db),
13611            "::",
13612            stringify!(get_feedback)
13613        )
13614    );
13615    assert_eq!(
13616        unsafe { &(*(::std::ptr::null::<__db>())).get_flags as *const _ as usize },
13617        784usize,
13618        concat!(
13619            "Offset of field: ",
13620            stringify!(__db),
13621            "::",
13622            stringify!(get_flags)
13623        )
13624    );
13625    assert_eq!(
13626        unsafe { &(*(::std::ptr::null::<__db>())).get_h_compare as *const _ as usize },
13627        792usize,
13628        concat!(
13629            "Offset of field: ",
13630            stringify!(__db),
13631            "::",
13632            stringify!(get_h_compare)
13633        )
13634    );
13635    assert_eq!(
13636        unsafe { &(*(::std::ptr::null::<__db>())).get_h_ffactor as *const _ as usize },
13637        800usize,
13638        concat!(
13639            "Offset of field: ",
13640            stringify!(__db),
13641            "::",
13642            stringify!(get_h_ffactor)
13643        )
13644    );
13645    assert_eq!(
13646        unsafe { &(*(::std::ptr::null::<__db>())).get_h_hash as *const _ as usize },
13647        808usize,
13648        concat!(
13649            "Offset of field: ",
13650            stringify!(__db),
13651            "::",
13652            stringify!(get_h_hash)
13653        )
13654    );
13655    assert_eq!(
13656        unsafe { &(*(::std::ptr::null::<__db>())).get_h_nelem as *const _ as usize },
13657        816usize,
13658        concat!(
13659            "Offset of field: ",
13660            stringify!(__db),
13661            "::",
13662            stringify!(get_h_nelem)
13663        )
13664    );
13665    assert_eq!(
13666        unsafe { &(*(::std::ptr::null::<__db>())).get_heapsize as *const _ as usize },
13667        824usize,
13668        concat!(
13669            "Offset of field: ",
13670            stringify!(__db),
13671            "::",
13672            stringify!(get_heapsize)
13673        )
13674    );
13675    assert_eq!(
13676        unsafe { &(*(::std::ptr::null::<__db>())).get_heap_regionsize as *const _ as usize },
13677        832usize,
13678        concat!(
13679            "Offset of field: ",
13680            stringify!(__db),
13681            "::",
13682            stringify!(get_heap_regionsize)
13683        )
13684    );
13685    assert_eq!(
13686        unsafe { &(*(::std::ptr::null::<__db>())).get_lk_exclusive as *const _ as usize },
13687        840usize,
13688        concat!(
13689            "Offset of field: ",
13690            stringify!(__db),
13691            "::",
13692            stringify!(get_lk_exclusive)
13693        )
13694    );
13695    assert_eq!(
13696        unsafe { &(*(::std::ptr::null::<__db>())).get_lorder as *const _ as usize },
13697        848usize,
13698        concat!(
13699            "Offset of field: ",
13700            stringify!(__db),
13701            "::",
13702            stringify!(get_lorder)
13703        )
13704    );
13705    assert_eq!(
13706        unsafe { &(*(::std::ptr::null::<__db>())).get_mpf as *const _ as usize },
13707        856usize,
13708        concat!(
13709            "Offset of field: ",
13710            stringify!(__db),
13711            "::",
13712            stringify!(get_mpf)
13713        )
13714    );
13715    assert_eq!(
13716        unsafe { &(*(::std::ptr::null::<__db>())).get_msgcall as *const _ as usize },
13717        864usize,
13718        concat!(
13719            "Offset of field: ",
13720            stringify!(__db),
13721            "::",
13722            stringify!(get_msgcall)
13723        )
13724    );
13725    assert_eq!(
13726        unsafe { &(*(::std::ptr::null::<__db>())).get_msgfile as *const _ as usize },
13727        872usize,
13728        concat!(
13729            "Offset of field: ",
13730            stringify!(__db),
13731            "::",
13732            stringify!(get_msgfile)
13733        )
13734    );
13735    assert_eq!(
13736        unsafe { &(*(::std::ptr::null::<__db>())).get_multiple as *const _ as usize },
13737        880usize,
13738        concat!(
13739            "Offset of field: ",
13740            stringify!(__db),
13741            "::",
13742            stringify!(get_multiple)
13743        )
13744    );
13745    assert_eq!(
13746        unsafe { &(*(::std::ptr::null::<__db>())).get_open_flags as *const _ as usize },
13747        888usize,
13748        concat!(
13749            "Offset of field: ",
13750            stringify!(__db),
13751            "::",
13752            stringify!(get_open_flags)
13753        )
13754    );
13755    assert_eq!(
13756        unsafe { &(*(::std::ptr::null::<__db>())).get_pagesize as *const _ as usize },
13757        896usize,
13758        concat!(
13759            "Offset of field: ",
13760            stringify!(__db),
13761            "::",
13762            stringify!(get_pagesize)
13763        )
13764    );
13765    assert_eq!(
13766        unsafe { &(*(::std::ptr::null::<__db>())).get_partition_callback as *const _ as usize },
13767        904usize,
13768        concat!(
13769            "Offset of field: ",
13770            stringify!(__db),
13771            "::",
13772            stringify!(get_partition_callback)
13773        )
13774    );
13775    assert_eq!(
13776        unsafe { &(*(::std::ptr::null::<__db>())).get_partition_dirs as *const _ as usize },
13777        912usize,
13778        concat!(
13779            "Offset of field: ",
13780            stringify!(__db),
13781            "::",
13782            stringify!(get_partition_dirs)
13783        )
13784    );
13785    assert_eq!(
13786        unsafe { &(*(::std::ptr::null::<__db>())).get_partition_keys as *const _ as usize },
13787        920usize,
13788        concat!(
13789            "Offset of field: ",
13790            stringify!(__db),
13791            "::",
13792            stringify!(get_partition_keys)
13793        )
13794    );
13795    assert_eq!(
13796        unsafe { &(*(::std::ptr::null::<__db>())).get_priority as *const _ as usize },
13797        928usize,
13798        concat!(
13799            "Offset of field: ",
13800            stringify!(__db),
13801            "::",
13802            stringify!(get_priority)
13803        )
13804    );
13805    assert_eq!(
13806        unsafe { &(*(::std::ptr::null::<__db>())).get_q_extentsize as *const _ as usize },
13807        936usize,
13808        concat!(
13809            "Offset of field: ",
13810            stringify!(__db),
13811            "::",
13812            stringify!(get_q_extentsize)
13813        )
13814    );
13815    assert_eq!(
13816        unsafe { &(*(::std::ptr::null::<__db>())).get_re_delim as *const _ as usize },
13817        944usize,
13818        concat!(
13819            "Offset of field: ",
13820            stringify!(__db),
13821            "::",
13822            stringify!(get_re_delim)
13823        )
13824    );
13825    assert_eq!(
13826        unsafe { &(*(::std::ptr::null::<__db>())).get_re_len as *const _ as usize },
13827        952usize,
13828        concat!(
13829            "Offset of field: ",
13830            stringify!(__db),
13831            "::",
13832            stringify!(get_re_len)
13833        )
13834    );
13835    assert_eq!(
13836        unsafe { &(*(::std::ptr::null::<__db>())).get_re_pad as *const _ as usize },
13837        960usize,
13838        concat!(
13839            "Offset of field: ",
13840            stringify!(__db),
13841            "::",
13842            stringify!(get_re_pad)
13843        )
13844    );
13845    assert_eq!(
13846        unsafe { &(*(::std::ptr::null::<__db>())).get_re_source as *const _ as usize },
13847        968usize,
13848        concat!(
13849            "Offset of field: ",
13850            stringify!(__db),
13851            "::",
13852            stringify!(get_re_source)
13853        )
13854    );
13855    assert_eq!(
13856        unsafe { &(*(::std::ptr::null::<__db>())).get_transactional as *const _ as usize },
13857        976usize,
13858        concat!(
13859            "Offset of field: ",
13860            stringify!(__db),
13861            "::",
13862            stringify!(get_transactional)
13863        )
13864    );
13865    assert_eq!(
13866        unsafe { &(*(::std::ptr::null::<__db>())).get_type as *const _ as usize },
13867        984usize,
13868        concat!(
13869            "Offset of field: ",
13870            stringify!(__db),
13871            "::",
13872            stringify!(get_type)
13873        )
13874    );
13875    assert_eq!(
13876        unsafe { &(*(::std::ptr::null::<__db>())).join as *const _ as usize },
13877        992usize,
13878        concat!(
13879            "Offset of field: ",
13880            stringify!(__db),
13881            "::",
13882            stringify!(join)
13883        )
13884    );
13885    assert_eq!(
13886        unsafe { &(*(::std::ptr::null::<__db>())).key_range as *const _ as usize },
13887        1000usize,
13888        concat!(
13889            "Offset of field: ",
13890            stringify!(__db),
13891            "::",
13892            stringify!(key_range)
13893        )
13894    );
13895    assert_eq!(
13896        unsafe { &(*(::std::ptr::null::<__db>())).open as *const _ as usize },
13897        1008usize,
13898        concat!(
13899            "Offset of field: ",
13900            stringify!(__db),
13901            "::",
13902            stringify!(open)
13903        )
13904    );
13905    assert_eq!(
13906        unsafe { &(*(::std::ptr::null::<__db>())).pget as *const _ as usize },
13907        1016usize,
13908        concat!(
13909            "Offset of field: ",
13910            stringify!(__db),
13911            "::",
13912            stringify!(pget)
13913        )
13914    );
13915    assert_eq!(
13916        unsafe { &(*(::std::ptr::null::<__db>())).put as *const _ as usize },
13917        1024usize,
13918        concat!("Offset of field: ", stringify!(__db), "::", stringify!(put))
13919    );
13920    assert_eq!(
13921        unsafe { &(*(::std::ptr::null::<__db>())).remove as *const _ as usize },
13922        1032usize,
13923        concat!(
13924            "Offset of field: ",
13925            stringify!(__db),
13926            "::",
13927            stringify!(remove)
13928        )
13929    );
13930    assert_eq!(
13931        unsafe { &(*(::std::ptr::null::<__db>())).rename as *const _ as usize },
13932        1040usize,
13933        concat!(
13934            "Offset of field: ",
13935            stringify!(__db),
13936            "::",
13937            stringify!(rename)
13938        )
13939    );
13940    assert_eq!(
13941        unsafe { &(*(::std::ptr::null::<__db>())).set_alloc as *const _ as usize },
13942        1048usize,
13943        concat!(
13944            "Offset of field: ",
13945            stringify!(__db),
13946            "::",
13947            stringify!(set_alloc)
13948        )
13949    );
13950    assert_eq!(
13951        unsafe { &(*(::std::ptr::null::<__db>())).set_append_recno as *const _ as usize },
13952        1056usize,
13953        concat!(
13954            "Offset of field: ",
13955            stringify!(__db),
13956            "::",
13957            stringify!(set_append_recno)
13958        )
13959    );
13960    assert_eq!(
13961        unsafe { &(*(::std::ptr::null::<__db>())).set_bt_compare as *const _ as usize },
13962        1064usize,
13963        concat!(
13964            "Offset of field: ",
13965            stringify!(__db),
13966            "::",
13967            stringify!(set_bt_compare)
13968        )
13969    );
13970    assert_eq!(
13971        unsafe { &(*(::std::ptr::null::<__db>())).set_bt_compress as *const _ as usize },
13972        1072usize,
13973        concat!(
13974            "Offset of field: ",
13975            stringify!(__db),
13976            "::",
13977            stringify!(set_bt_compress)
13978        )
13979    );
13980    assert_eq!(
13981        unsafe { &(*(::std::ptr::null::<__db>())).set_bt_minkey as *const _ as usize },
13982        1080usize,
13983        concat!(
13984            "Offset of field: ",
13985            stringify!(__db),
13986            "::",
13987            stringify!(set_bt_minkey)
13988        )
13989    );
13990    assert_eq!(
13991        unsafe { &(*(::std::ptr::null::<__db>())).set_bt_prefix as *const _ as usize },
13992        1088usize,
13993        concat!(
13994            "Offset of field: ",
13995            stringify!(__db),
13996            "::",
13997            stringify!(set_bt_prefix)
13998        )
13999    );
14000    assert_eq!(
14001        unsafe { &(*(::std::ptr::null::<__db>())).set_cachesize as *const _ as usize },
14002        1096usize,
14003        concat!(
14004            "Offset of field: ",
14005            stringify!(__db),
14006            "::",
14007            stringify!(set_cachesize)
14008        )
14009    );
14010    assert_eq!(
14011        unsafe { &(*(::std::ptr::null::<__db>())).set_create_dir as *const _ as usize },
14012        1104usize,
14013        concat!(
14014            "Offset of field: ",
14015            stringify!(__db),
14016            "::",
14017            stringify!(set_create_dir)
14018        )
14019    );
14020    assert_eq!(
14021        unsafe { &(*(::std::ptr::null::<__db>())).set_dup_compare as *const _ as usize },
14022        1112usize,
14023        concat!(
14024            "Offset of field: ",
14025            stringify!(__db),
14026            "::",
14027            stringify!(set_dup_compare)
14028        )
14029    );
14030    assert_eq!(
14031        unsafe { &(*(::std::ptr::null::<__db>())).set_encrypt as *const _ as usize },
14032        1120usize,
14033        concat!(
14034            "Offset of field: ",
14035            stringify!(__db),
14036            "::",
14037            stringify!(set_encrypt)
14038        )
14039    );
14040    assert_eq!(
14041        unsafe { &(*(::std::ptr::null::<__db>())).set_errcall as *const _ as usize },
14042        1128usize,
14043        concat!(
14044            "Offset of field: ",
14045            stringify!(__db),
14046            "::",
14047            stringify!(set_errcall)
14048        )
14049    );
14050    assert_eq!(
14051        unsafe { &(*(::std::ptr::null::<__db>())).set_errfile as *const _ as usize },
14052        1136usize,
14053        concat!(
14054            "Offset of field: ",
14055            stringify!(__db),
14056            "::",
14057            stringify!(set_errfile)
14058        )
14059    );
14060    assert_eq!(
14061        unsafe { &(*(::std::ptr::null::<__db>())).set_errpfx as *const _ as usize },
14062        1144usize,
14063        concat!(
14064            "Offset of field: ",
14065            stringify!(__db),
14066            "::",
14067            stringify!(set_errpfx)
14068        )
14069    );
14070    assert_eq!(
14071        unsafe { &(*(::std::ptr::null::<__db>())).set_feedback as *const _ as usize },
14072        1152usize,
14073        concat!(
14074            "Offset of field: ",
14075            stringify!(__db),
14076            "::",
14077            stringify!(set_feedback)
14078        )
14079    );
14080    assert_eq!(
14081        unsafe { &(*(::std::ptr::null::<__db>())).set_flags as *const _ as usize },
14082        1160usize,
14083        concat!(
14084            "Offset of field: ",
14085            stringify!(__db),
14086            "::",
14087            stringify!(set_flags)
14088        )
14089    );
14090    assert_eq!(
14091        unsafe { &(*(::std::ptr::null::<__db>())).set_h_compare as *const _ as usize },
14092        1168usize,
14093        concat!(
14094            "Offset of field: ",
14095            stringify!(__db),
14096            "::",
14097            stringify!(set_h_compare)
14098        )
14099    );
14100    assert_eq!(
14101        unsafe { &(*(::std::ptr::null::<__db>())).set_h_ffactor as *const _ as usize },
14102        1176usize,
14103        concat!(
14104            "Offset of field: ",
14105            stringify!(__db),
14106            "::",
14107            stringify!(set_h_ffactor)
14108        )
14109    );
14110    assert_eq!(
14111        unsafe { &(*(::std::ptr::null::<__db>())).set_h_hash as *const _ as usize },
14112        1184usize,
14113        concat!(
14114            "Offset of field: ",
14115            stringify!(__db),
14116            "::",
14117            stringify!(set_h_hash)
14118        )
14119    );
14120    assert_eq!(
14121        unsafe { &(*(::std::ptr::null::<__db>())).set_h_nelem as *const _ as usize },
14122        1192usize,
14123        concat!(
14124            "Offset of field: ",
14125            stringify!(__db),
14126            "::",
14127            stringify!(set_h_nelem)
14128        )
14129    );
14130    assert_eq!(
14131        unsafe { &(*(::std::ptr::null::<__db>())).set_heapsize as *const _ as usize },
14132        1200usize,
14133        concat!(
14134            "Offset of field: ",
14135            stringify!(__db),
14136            "::",
14137            stringify!(set_heapsize)
14138        )
14139    );
14140    assert_eq!(
14141        unsafe { &(*(::std::ptr::null::<__db>())).set_heap_regionsize as *const _ as usize },
14142        1208usize,
14143        concat!(
14144            "Offset of field: ",
14145            stringify!(__db),
14146            "::",
14147            stringify!(set_heap_regionsize)
14148        )
14149    );
14150    assert_eq!(
14151        unsafe { &(*(::std::ptr::null::<__db>())).set_lk_exclusive as *const _ as usize },
14152        1216usize,
14153        concat!(
14154            "Offset of field: ",
14155            stringify!(__db),
14156            "::",
14157            stringify!(set_lk_exclusive)
14158        )
14159    );
14160    assert_eq!(
14161        unsafe { &(*(::std::ptr::null::<__db>())).set_lorder as *const _ as usize },
14162        1224usize,
14163        concat!(
14164            "Offset of field: ",
14165            stringify!(__db),
14166            "::",
14167            stringify!(set_lorder)
14168        )
14169    );
14170    assert_eq!(
14171        unsafe { &(*(::std::ptr::null::<__db>())).set_msgcall as *const _ as usize },
14172        1232usize,
14173        concat!(
14174            "Offset of field: ",
14175            stringify!(__db),
14176            "::",
14177            stringify!(set_msgcall)
14178        )
14179    );
14180    assert_eq!(
14181        unsafe { &(*(::std::ptr::null::<__db>())).set_msgfile as *const _ as usize },
14182        1240usize,
14183        concat!(
14184            "Offset of field: ",
14185            stringify!(__db),
14186            "::",
14187            stringify!(set_msgfile)
14188        )
14189    );
14190    assert_eq!(
14191        unsafe { &(*(::std::ptr::null::<__db>())).set_pagesize as *const _ as usize },
14192        1248usize,
14193        concat!(
14194            "Offset of field: ",
14195            stringify!(__db),
14196            "::",
14197            stringify!(set_pagesize)
14198        )
14199    );
14200    assert_eq!(
14201        unsafe { &(*(::std::ptr::null::<__db>())).set_paniccall as *const _ as usize },
14202        1256usize,
14203        concat!(
14204            "Offset of field: ",
14205            stringify!(__db),
14206            "::",
14207            stringify!(set_paniccall)
14208        )
14209    );
14210    assert_eq!(
14211        unsafe { &(*(::std::ptr::null::<__db>())).set_partition as *const _ as usize },
14212        1264usize,
14213        concat!(
14214            "Offset of field: ",
14215            stringify!(__db),
14216            "::",
14217            stringify!(set_partition)
14218        )
14219    );
14220    assert_eq!(
14221        unsafe { &(*(::std::ptr::null::<__db>())).set_partition_dirs as *const _ as usize },
14222        1272usize,
14223        concat!(
14224            "Offset of field: ",
14225            stringify!(__db),
14226            "::",
14227            stringify!(set_partition_dirs)
14228        )
14229    );
14230    assert_eq!(
14231        unsafe { &(*(::std::ptr::null::<__db>())).set_priority as *const _ as usize },
14232        1280usize,
14233        concat!(
14234            "Offset of field: ",
14235            stringify!(__db),
14236            "::",
14237            stringify!(set_priority)
14238        )
14239    );
14240    assert_eq!(
14241        unsafe { &(*(::std::ptr::null::<__db>())).set_q_extentsize as *const _ as usize },
14242        1288usize,
14243        concat!(
14244            "Offset of field: ",
14245            stringify!(__db),
14246            "::",
14247            stringify!(set_q_extentsize)
14248        )
14249    );
14250    assert_eq!(
14251        unsafe { &(*(::std::ptr::null::<__db>())).set_re_delim as *const _ as usize },
14252        1296usize,
14253        concat!(
14254            "Offset of field: ",
14255            stringify!(__db),
14256            "::",
14257            stringify!(set_re_delim)
14258        )
14259    );
14260    assert_eq!(
14261        unsafe { &(*(::std::ptr::null::<__db>())).set_re_len as *const _ as usize },
14262        1304usize,
14263        concat!(
14264            "Offset of field: ",
14265            stringify!(__db),
14266            "::",
14267            stringify!(set_re_len)
14268        )
14269    );
14270    assert_eq!(
14271        unsafe { &(*(::std::ptr::null::<__db>())).set_re_pad as *const _ as usize },
14272        1312usize,
14273        concat!(
14274            "Offset of field: ",
14275            stringify!(__db),
14276            "::",
14277            stringify!(set_re_pad)
14278        )
14279    );
14280    assert_eq!(
14281        unsafe { &(*(::std::ptr::null::<__db>())).set_re_source as *const _ as usize },
14282        1320usize,
14283        concat!(
14284            "Offset of field: ",
14285            stringify!(__db),
14286            "::",
14287            stringify!(set_re_source)
14288        )
14289    );
14290    assert_eq!(
14291        unsafe { &(*(::std::ptr::null::<__db>())).sort_multiple as *const _ as usize },
14292        1328usize,
14293        concat!(
14294            "Offset of field: ",
14295            stringify!(__db),
14296            "::",
14297            stringify!(sort_multiple)
14298        )
14299    );
14300    assert_eq!(
14301        unsafe { &(*(::std::ptr::null::<__db>())).stat as *const _ as usize },
14302        1336usize,
14303        concat!(
14304            "Offset of field: ",
14305            stringify!(__db),
14306            "::",
14307            stringify!(stat)
14308        )
14309    );
14310    assert_eq!(
14311        unsafe { &(*(::std::ptr::null::<__db>())).stat_print as *const _ as usize },
14312        1344usize,
14313        concat!(
14314            "Offset of field: ",
14315            stringify!(__db),
14316            "::",
14317            stringify!(stat_print)
14318        )
14319    );
14320    assert_eq!(
14321        unsafe { &(*(::std::ptr::null::<__db>())).sync as *const _ as usize },
14322        1352usize,
14323        concat!(
14324            "Offset of field: ",
14325            stringify!(__db),
14326            "::",
14327            stringify!(sync)
14328        )
14329    );
14330    assert_eq!(
14331        unsafe { &(*(::std::ptr::null::<__db>())).truncate as *const _ as usize },
14332        1360usize,
14333        concat!(
14334            "Offset of field: ",
14335            stringify!(__db),
14336            "::",
14337            stringify!(truncate)
14338        )
14339    );
14340    assert_eq!(
14341        unsafe { &(*(::std::ptr::null::<__db>())).upgrade as *const _ as usize },
14342        1368usize,
14343        concat!(
14344            "Offset of field: ",
14345            stringify!(__db),
14346            "::",
14347            stringify!(upgrade)
14348        )
14349    );
14350    assert_eq!(
14351        unsafe { &(*(::std::ptr::null::<__db>())).verify as *const _ as usize },
14352        1376usize,
14353        concat!(
14354            "Offset of field: ",
14355            stringify!(__db),
14356            "::",
14357            stringify!(verify)
14358        )
14359    );
14360    assert_eq!(
14361        unsafe { &(*(::std::ptr::null::<__db>())).dump as *const _ as usize },
14362        1384usize,
14363        concat!(
14364            "Offset of field: ",
14365            stringify!(__db),
14366            "::",
14367            stringify!(dump)
14368        )
14369    );
14370    assert_eq!(
14371        unsafe { &(*(::std::ptr::null::<__db>())).db_am_remove as *const _ as usize },
14372        1392usize,
14373        concat!(
14374            "Offset of field: ",
14375            stringify!(__db),
14376            "::",
14377            stringify!(db_am_remove)
14378        )
14379    );
14380    assert_eq!(
14381        unsafe { &(*(::std::ptr::null::<__db>())).db_am_rename as *const _ as usize },
14382        1400usize,
14383        concat!(
14384            "Offset of field: ",
14385            stringify!(__db),
14386            "::",
14387            stringify!(db_am_rename)
14388        )
14389    );
14390    assert_eq!(
14391        unsafe { &(*(::std::ptr::null::<__db>())).stored_get as *const _ as usize },
14392        1408usize,
14393        concat!(
14394            "Offset of field: ",
14395            stringify!(__db),
14396            "::",
14397            stringify!(stored_get)
14398        )
14399    );
14400    assert_eq!(
14401        unsafe { &(*(::std::ptr::null::<__db>())).stored_close as *const _ as usize },
14402        1416usize,
14403        concat!(
14404            "Offset of field: ",
14405            stringify!(__db),
14406            "::",
14407            stringify!(stored_close)
14408        )
14409    );
14410    assert_eq!(
14411        unsafe { &(*(::std::ptr::null::<__db>())).alt_close as *const _ as usize },
14412        1424usize,
14413        concat!(
14414            "Offset of field: ",
14415            stringify!(__db),
14416            "::",
14417            stringify!(alt_close)
14418        )
14419    );
14420    assert_eq!(
14421        unsafe { &(*(::std::ptr::null::<__db>())).am_ok as *const _ as usize },
14422        1432usize,
14423        concat!(
14424            "Offset of field: ",
14425            stringify!(__db),
14426            "::",
14427            stringify!(am_ok)
14428        )
14429    );
14430    assert_eq!(
14431        unsafe { &(*(::std::ptr::null::<__db>())).preserve_fid as *const _ as usize },
14432        1436usize,
14433        concat!(
14434            "Offset of field: ",
14435            stringify!(__db),
14436            "::",
14437            stringify!(preserve_fid)
14438        )
14439    );
14440    assert_eq!(
14441        unsafe { &(*(::std::ptr::null::<__db>())).orig_flags as *const _ as usize },
14442        1440usize,
14443        concat!(
14444            "Offset of field: ",
14445            stringify!(__db),
14446            "::",
14447            stringify!(orig_flags)
14448        )
14449    );
14450    assert_eq!(
14451        unsafe { &(*(::std::ptr::null::<__db>())).flags as *const _ as usize },
14452        1444usize,
14453        concat!(
14454            "Offset of field: ",
14455            stringify!(__db),
14456            "::",
14457            stringify!(flags)
14458        )
14459    );
14460    assert_eq!(
14461        unsafe { &(*(::std::ptr::null::<__db>())).orig_flags2 as *const _ as usize },
14462        1448usize,
14463        concat!(
14464            "Offset of field: ",
14465            stringify!(__db),
14466            "::",
14467            stringify!(orig_flags2)
14468        )
14469    );
14470    assert_eq!(
14471        unsafe { &(*(::std::ptr::null::<__db>())).flags2 as *const _ as usize },
14472        1452usize,
14473        concat!(
14474            "Offset of field: ",
14475            stringify!(__db),
14476            "::",
14477            stringify!(flags2)
14478        )
14479    );
14480}
14481impl Default for __db {
14482    fn default() -> Self {
14483        unsafe { ::std::mem::zeroed() }
14484    }
14485}
14486#[repr(C)]
14487#[derive(Debug, Default, Copy, Clone)]
14488pub struct __db_heap_rid {
14489    pub pgno: db_pgno_t,
14490    pub indx: db_indx_t,
14491}
14492#[test]
14493fn bindgen_test_layout___db_heap_rid() {
14494    assert_eq!(
14495        ::std::mem::size_of::<__db_heap_rid>(),
14496        8usize,
14497        concat!("Size of: ", stringify!(__db_heap_rid))
14498    );
14499    assert_eq!(
14500        ::std::mem::align_of::<__db_heap_rid>(),
14501        4usize,
14502        concat!("Alignment of ", stringify!(__db_heap_rid))
14503    );
14504    assert_eq!(
14505        unsafe { &(*(::std::ptr::null::<__db_heap_rid>())).pgno as *const _ as usize },
14506        0usize,
14507        concat!(
14508            "Offset of field: ",
14509            stringify!(__db_heap_rid),
14510            "::",
14511            stringify!(pgno)
14512        )
14513    );
14514    assert_eq!(
14515        unsafe { &(*(::std::ptr::null::<__db_heap_rid>())).indx as *const _ as usize },
14516        4usize,
14517        concat!(
14518            "Offset of field: ",
14519            stringify!(__db_heap_rid),
14520            "::",
14521            stringify!(indx)
14522        )
14523    );
14524}
14525#[doc = " Access method cursors."]
14526#[repr(C)]
14527#[derive(Debug, Copy, Clone)]
14528pub struct __dbc {
14529    pub dbp: *mut DB,
14530    pub dbenv: *mut DB_ENV,
14531    pub env: *mut ENV,
14532    pub thread_info: *mut DB_THREAD_INFO,
14533    pub txn: *mut DB_TXN,
14534    pub priority: DB_CACHE_PRIORITY,
14535    pub links: __dbc__bindgen_ty_1,
14536    pub txn_cursors: __dbc__bindgen_ty_2,
14537    pub rskey: *mut DBT,
14538    pub rkey: *mut DBT,
14539    pub rdata: *mut DBT,
14540    pub my_rskey: DBT,
14541    pub my_rkey: DBT,
14542    pub my_rdata: DBT,
14543    pub lref: *mut DB_LOCKER,
14544    pub locker: *mut DB_LOCKER,
14545    pub lock_dbt: DBT,
14546    pub lock: DB_LOCK_ILOCK,
14547    pub mylock: DB_LOCK,
14548    pub dbtype: DBTYPE,
14549    pub internal: *mut DBC_INTERNAL,
14550    pub close: ::std::option::Option<unsafe extern "C" fn(arg1: *mut DBC) -> ::std::os::raw::c_int>,
14551    pub cmp: ::std::option::Option<
14552        unsafe extern "C" fn(
14553            arg1: *mut DBC,
14554            arg2: *mut DBC,
14555            arg3: *mut ::std::os::raw::c_int,
14556            arg4: u_int32_t,
14557        ) -> ::std::os::raw::c_int,
14558    >,
14559    pub count: ::std::option::Option<
14560        unsafe extern "C" fn(
14561            arg1: *mut DBC,
14562            arg2: *mut db_recno_t,
14563            arg3: u_int32_t,
14564        ) -> ::std::os::raw::c_int,
14565    >,
14566    pub del: ::std::option::Option<
14567        unsafe extern "C" fn(arg1: *mut DBC, arg2: u_int32_t) -> ::std::os::raw::c_int,
14568    >,
14569    pub dup: ::std::option::Option<
14570        unsafe extern "C" fn(
14571            arg1: *mut DBC,
14572            arg2: *mut *mut DBC,
14573            arg3: u_int32_t,
14574        ) -> ::std::os::raw::c_int,
14575    >,
14576    pub get: ::std::option::Option<
14577        unsafe extern "C" fn(
14578            arg1: *mut DBC,
14579            arg2: *mut DBT,
14580            arg3: *mut DBT,
14581            arg4: u_int32_t,
14582        ) -> ::std::os::raw::c_int,
14583    >,
14584    pub get_priority: ::std::option::Option<
14585        unsafe extern "C" fn(arg1: *mut DBC, arg2: *mut DB_CACHE_PRIORITY) -> ::std::os::raw::c_int,
14586    >,
14587    pub pget: ::std::option::Option<
14588        unsafe extern "C" fn(
14589            arg1: *mut DBC,
14590            arg2: *mut DBT,
14591            arg3: *mut DBT,
14592            arg4: *mut DBT,
14593            arg5: u_int32_t,
14594        ) -> ::std::os::raw::c_int,
14595    >,
14596    pub put: ::std::option::Option<
14597        unsafe extern "C" fn(
14598            arg1: *mut DBC,
14599            arg2: *mut DBT,
14600            arg3: *mut DBT,
14601            arg4: u_int32_t,
14602        ) -> ::std::os::raw::c_int,
14603    >,
14604    pub set_priority: ::std::option::Option<
14605        unsafe extern "C" fn(arg1: *mut DBC, arg2: DB_CACHE_PRIORITY) -> ::std::os::raw::c_int,
14606    >,
14607    pub c_close:
14608        ::std::option::Option<unsafe extern "C" fn(arg1: *mut DBC) -> ::std::os::raw::c_int>,
14609    pub c_count: ::std::option::Option<
14610        unsafe extern "C" fn(
14611            arg1: *mut DBC,
14612            arg2: *mut db_recno_t,
14613            arg3: u_int32_t,
14614        ) -> ::std::os::raw::c_int,
14615    >,
14616    pub c_del: ::std::option::Option<
14617        unsafe extern "C" fn(arg1: *mut DBC, arg2: u_int32_t) -> ::std::os::raw::c_int,
14618    >,
14619    pub c_dup: ::std::option::Option<
14620        unsafe extern "C" fn(
14621            arg1: *mut DBC,
14622            arg2: *mut *mut DBC,
14623            arg3: u_int32_t,
14624        ) -> ::std::os::raw::c_int,
14625    >,
14626    pub c_get: ::std::option::Option<
14627        unsafe extern "C" fn(
14628            arg1: *mut DBC,
14629            arg2: *mut DBT,
14630            arg3: *mut DBT,
14631            arg4: u_int32_t,
14632        ) -> ::std::os::raw::c_int,
14633    >,
14634    pub c_pget: ::std::option::Option<
14635        unsafe extern "C" fn(
14636            arg1: *mut DBC,
14637            arg2: *mut DBT,
14638            arg3: *mut DBT,
14639            arg4: *mut DBT,
14640            arg5: u_int32_t,
14641        ) -> ::std::os::raw::c_int,
14642    >,
14643    pub c_put: ::std::option::Option<
14644        unsafe extern "C" fn(
14645            arg1: *mut DBC,
14646            arg2: *mut DBT,
14647            arg3: *mut DBT,
14648            arg4: u_int32_t,
14649        ) -> ::std::os::raw::c_int,
14650    >,
14651    pub am_bulk: ::std::option::Option<
14652        unsafe extern "C" fn(
14653            arg1: *mut DBC,
14654            arg2: *mut DBT,
14655            arg3: u_int32_t,
14656        ) -> ::std::os::raw::c_int,
14657    >,
14658    pub am_close: ::std::option::Option<
14659        unsafe extern "C" fn(
14660            arg1: *mut DBC,
14661            arg2: db_pgno_t,
14662            arg3: *mut ::std::os::raw::c_int,
14663        ) -> ::std::os::raw::c_int,
14664    >,
14665    pub am_del: ::std::option::Option<
14666        unsafe extern "C" fn(arg1: *mut DBC, arg2: u_int32_t) -> ::std::os::raw::c_int,
14667    >,
14668    pub am_destroy:
14669        ::std::option::Option<unsafe extern "C" fn(arg1: *mut DBC) -> ::std::os::raw::c_int>,
14670    pub am_get: ::std::option::Option<
14671        unsafe extern "C" fn(
14672            arg1: *mut DBC,
14673            arg2: *mut DBT,
14674            arg3: *mut DBT,
14675            arg4: u_int32_t,
14676            arg5: *mut db_pgno_t,
14677        ) -> ::std::os::raw::c_int,
14678    >,
14679    pub am_put: ::std::option::Option<
14680        unsafe extern "C" fn(
14681            arg1: *mut DBC,
14682            arg2: *mut DBT,
14683            arg3: *mut DBT,
14684            arg4: u_int32_t,
14685            arg5: *mut db_pgno_t,
14686        ) -> ::std::os::raw::c_int,
14687    >,
14688    pub am_writelock:
14689        ::std::option::Option<unsafe extern "C" fn(arg1: *mut DBC) -> ::std::os::raw::c_int>,
14690    pub flags: u_int32_t,
14691}
14692#[repr(C)]
14693#[derive(Debug, Copy, Clone)]
14694pub struct __dbc__bindgen_ty_1 {
14695    pub tqe_next: *mut DBC,
14696    pub tqe_prev: *mut *mut DBC,
14697}
14698#[test]
14699fn bindgen_test_layout___dbc__bindgen_ty_1() {
14700    assert_eq!(
14701        ::std::mem::size_of::<__dbc__bindgen_ty_1>(),
14702        16usize,
14703        concat!("Size of: ", stringify!(__dbc__bindgen_ty_1))
14704    );
14705    assert_eq!(
14706        ::std::mem::align_of::<__dbc__bindgen_ty_1>(),
14707        8usize,
14708        concat!("Alignment of ", stringify!(__dbc__bindgen_ty_1))
14709    );
14710    assert_eq!(
14711        unsafe { &(*(::std::ptr::null::<__dbc__bindgen_ty_1>())).tqe_next as *const _ as usize },
14712        0usize,
14713        concat!(
14714            "Offset of field: ",
14715            stringify!(__dbc__bindgen_ty_1),
14716            "::",
14717            stringify!(tqe_next)
14718        )
14719    );
14720    assert_eq!(
14721        unsafe { &(*(::std::ptr::null::<__dbc__bindgen_ty_1>())).tqe_prev as *const _ as usize },
14722        8usize,
14723        concat!(
14724            "Offset of field: ",
14725            stringify!(__dbc__bindgen_ty_1),
14726            "::",
14727            stringify!(tqe_prev)
14728        )
14729    );
14730}
14731impl Default for __dbc__bindgen_ty_1 {
14732    fn default() -> Self {
14733        unsafe { ::std::mem::zeroed() }
14734    }
14735}
14736#[repr(C)]
14737#[derive(Debug, Copy, Clone)]
14738pub struct __dbc__bindgen_ty_2 {
14739    pub tqe_next: *mut DBC,
14740    pub tqe_prev: *mut *mut DBC,
14741}
14742#[test]
14743fn bindgen_test_layout___dbc__bindgen_ty_2() {
14744    assert_eq!(
14745        ::std::mem::size_of::<__dbc__bindgen_ty_2>(),
14746        16usize,
14747        concat!("Size of: ", stringify!(__dbc__bindgen_ty_2))
14748    );
14749    assert_eq!(
14750        ::std::mem::align_of::<__dbc__bindgen_ty_2>(),
14751        8usize,
14752        concat!("Alignment of ", stringify!(__dbc__bindgen_ty_2))
14753    );
14754    assert_eq!(
14755        unsafe { &(*(::std::ptr::null::<__dbc__bindgen_ty_2>())).tqe_next as *const _ as usize },
14756        0usize,
14757        concat!(
14758            "Offset of field: ",
14759            stringify!(__dbc__bindgen_ty_2),
14760            "::",
14761            stringify!(tqe_next)
14762        )
14763    );
14764    assert_eq!(
14765        unsafe { &(*(::std::ptr::null::<__dbc__bindgen_ty_2>())).tqe_prev as *const _ as usize },
14766        8usize,
14767        concat!(
14768            "Offset of field: ",
14769            stringify!(__dbc__bindgen_ty_2),
14770            "::",
14771            stringify!(tqe_prev)
14772        )
14773    );
14774}
14775impl Default for __dbc__bindgen_ty_2 {
14776    fn default() -> Self {
14777        unsafe { ::std::mem::zeroed() }
14778    }
14779}
14780#[test]
14781fn bindgen_test_layout___dbc() {
14782    assert_eq!(
14783        ::std::mem::size_of::<__dbc>(),
14784        552usize,
14785        concat!("Size of: ", stringify!(__dbc))
14786    );
14787    assert_eq!(
14788        ::std::mem::align_of::<__dbc>(),
14789        8usize,
14790        concat!("Alignment of ", stringify!(__dbc))
14791    );
14792    assert_eq!(
14793        unsafe { &(*(::std::ptr::null::<__dbc>())).dbp as *const _ as usize },
14794        0usize,
14795        concat!(
14796            "Offset of field: ",
14797            stringify!(__dbc),
14798            "::",
14799            stringify!(dbp)
14800        )
14801    );
14802    assert_eq!(
14803        unsafe { &(*(::std::ptr::null::<__dbc>())).dbenv as *const _ as usize },
14804        8usize,
14805        concat!(
14806            "Offset of field: ",
14807            stringify!(__dbc),
14808            "::",
14809            stringify!(dbenv)
14810        )
14811    );
14812    assert_eq!(
14813        unsafe { &(*(::std::ptr::null::<__dbc>())).env as *const _ as usize },
14814        16usize,
14815        concat!(
14816            "Offset of field: ",
14817            stringify!(__dbc),
14818            "::",
14819            stringify!(env)
14820        )
14821    );
14822    assert_eq!(
14823        unsafe { &(*(::std::ptr::null::<__dbc>())).thread_info as *const _ as usize },
14824        24usize,
14825        concat!(
14826            "Offset of field: ",
14827            stringify!(__dbc),
14828            "::",
14829            stringify!(thread_info)
14830        )
14831    );
14832    assert_eq!(
14833        unsafe { &(*(::std::ptr::null::<__dbc>())).txn as *const _ as usize },
14834        32usize,
14835        concat!(
14836            "Offset of field: ",
14837            stringify!(__dbc),
14838            "::",
14839            stringify!(txn)
14840        )
14841    );
14842    assert_eq!(
14843        unsafe { &(*(::std::ptr::null::<__dbc>())).priority as *const _ as usize },
14844        40usize,
14845        concat!(
14846            "Offset of field: ",
14847            stringify!(__dbc),
14848            "::",
14849            stringify!(priority)
14850        )
14851    );
14852    assert_eq!(
14853        unsafe { &(*(::std::ptr::null::<__dbc>())).links as *const _ as usize },
14854        48usize,
14855        concat!(
14856            "Offset of field: ",
14857            stringify!(__dbc),
14858            "::",
14859            stringify!(links)
14860        )
14861    );
14862    assert_eq!(
14863        unsafe { &(*(::std::ptr::null::<__dbc>())).txn_cursors as *const _ as usize },
14864        64usize,
14865        concat!(
14866            "Offset of field: ",
14867            stringify!(__dbc),
14868            "::",
14869            stringify!(txn_cursors)
14870        )
14871    );
14872    assert_eq!(
14873        unsafe { &(*(::std::ptr::null::<__dbc>())).rskey as *const _ as usize },
14874        80usize,
14875        concat!(
14876            "Offset of field: ",
14877            stringify!(__dbc),
14878            "::",
14879            stringify!(rskey)
14880        )
14881    );
14882    assert_eq!(
14883        unsafe { &(*(::std::ptr::null::<__dbc>())).rkey as *const _ as usize },
14884        88usize,
14885        concat!(
14886            "Offset of field: ",
14887            stringify!(__dbc),
14888            "::",
14889            stringify!(rkey)
14890        )
14891    );
14892    assert_eq!(
14893        unsafe { &(*(::std::ptr::null::<__dbc>())).rdata as *const _ as usize },
14894        96usize,
14895        concat!(
14896            "Offset of field: ",
14897            stringify!(__dbc),
14898            "::",
14899            stringify!(rdata)
14900        )
14901    );
14902    assert_eq!(
14903        unsafe { &(*(::std::ptr::null::<__dbc>())).my_rskey as *const _ as usize },
14904        104usize,
14905        concat!(
14906            "Offset of field: ",
14907            stringify!(__dbc),
14908            "::",
14909            stringify!(my_rskey)
14910        )
14911    );
14912    assert_eq!(
14913        unsafe { &(*(::std::ptr::null::<__dbc>())).my_rkey as *const _ as usize },
14914        144usize,
14915        concat!(
14916            "Offset of field: ",
14917            stringify!(__dbc),
14918            "::",
14919            stringify!(my_rkey)
14920        )
14921    );
14922    assert_eq!(
14923        unsafe { &(*(::std::ptr::null::<__dbc>())).my_rdata as *const _ as usize },
14924        184usize,
14925        concat!(
14926            "Offset of field: ",
14927            stringify!(__dbc),
14928            "::",
14929            stringify!(my_rdata)
14930        )
14931    );
14932    assert_eq!(
14933        unsafe { &(*(::std::ptr::null::<__dbc>())).lref as *const _ as usize },
14934        224usize,
14935        concat!(
14936            "Offset of field: ",
14937            stringify!(__dbc),
14938            "::",
14939            stringify!(lref)
14940        )
14941    );
14942    assert_eq!(
14943        unsafe { &(*(::std::ptr::null::<__dbc>())).locker as *const _ as usize },
14944        232usize,
14945        concat!(
14946            "Offset of field: ",
14947            stringify!(__dbc),
14948            "::",
14949            stringify!(locker)
14950        )
14951    );
14952    assert_eq!(
14953        unsafe { &(*(::std::ptr::null::<__dbc>())).lock_dbt as *const _ as usize },
14954        240usize,
14955        concat!(
14956            "Offset of field: ",
14957            stringify!(__dbc),
14958            "::",
14959            stringify!(lock_dbt)
14960        )
14961    );
14962    assert_eq!(
14963        unsafe { &(*(::std::ptr::null::<__dbc>())).lock as *const _ as usize },
14964        280usize,
14965        concat!(
14966            "Offset of field: ",
14967            stringify!(__dbc),
14968            "::",
14969            stringify!(lock)
14970        )
14971    );
14972    assert_eq!(
14973        unsafe { &(*(::std::ptr::null::<__dbc>())).mylock as *const _ as usize },
14974        312usize,
14975        concat!(
14976            "Offset of field: ",
14977            stringify!(__dbc),
14978            "::",
14979            stringify!(mylock)
14980        )
14981    );
14982    assert_eq!(
14983        unsafe { &(*(::std::ptr::null::<__dbc>())).dbtype as *const _ as usize },
14984        336usize,
14985        concat!(
14986            "Offset of field: ",
14987            stringify!(__dbc),
14988            "::",
14989            stringify!(dbtype)
14990        )
14991    );
14992    assert_eq!(
14993        unsafe { &(*(::std::ptr::null::<__dbc>())).internal as *const _ as usize },
14994        344usize,
14995        concat!(
14996            "Offset of field: ",
14997            stringify!(__dbc),
14998            "::",
14999            stringify!(internal)
15000        )
15001    );
15002    assert_eq!(
15003        unsafe { &(*(::std::ptr::null::<__dbc>())).close as *const _ as usize },
15004        352usize,
15005        concat!(
15006            "Offset of field: ",
15007            stringify!(__dbc),
15008            "::",
15009            stringify!(close)
15010        )
15011    );
15012    assert_eq!(
15013        unsafe { &(*(::std::ptr::null::<__dbc>())).cmp as *const _ as usize },
15014        360usize,
15015        concat!(
15016            "Offset of field: ",
15017            stringify!(__dbc),
15018            "::",
15019            stringify!(cmp)
15020        )
15021    );
15022    assert_eq!(
15023        unsafe { &(*(::std::ptr::null::<__dbc>())).count as *const _ as usize },
15024        368usize,
15025        concat!(
15026            "Offset of field: ",
15027            stringify!(__dbc),
15028            "::",
15029            stringify!(count)
15030        )
15031    );
15032    assert_eq!(
15033        unsafe { &(*(::std::ptr::null::<__dbc>())).del as *const _ as usize },
15034        376usize,
15035        concat!(
15036            "Offset of field: ",
15037            stringify!(__dbc),
15038            "::",
15039            stringify!(del)
15040        )
15041    );
15042    assert_eq!(
15043        unsafe { &(*(::std::ptr::null::<__dbc>())).dup as *const _ as usize },
15044        384usize,
15045        concat!(
15046            "Offset of field: ",
15047            stringify!(__dbc),
15048            "::",
15049            stringify!(dup)
15050        )
15051    );
15052    assert_eq!(
15053        unsafe { &(*(::std::ptr::null::<__dbc>())).get as *const _ as usize },
15054        392usize,
15055        concat!(
15056            "Offset of field: ",
15057            stringify!(__dbc),
15058            "::",
15059            stringify!(get)
15060        )
15061    );
15062    assert_eq!(
15063        unsafe { &(*(::std::ptr::null::<__dbc>())).get_priority as *const _ as usize },
15064        400usize,
15065        concat!(
15066            "Offset of field: ",
15067            stringify!(__dbc),
15068            "::",
15069            stringify!(get_priority)
15070        )
15071    );
15072    assert_eq!(
15073        unsafe { &(*(::std::ptr::null::<__dbc>())).pget as *const _ as usize },
15074        408usize,
15075        concat!(
15076            "Offset of field: ",
15077            stringify!(__dbc),
15078            "::",
15079            stringify!(pget)
15080        )
15081    );
15082    assert_eq!(
15083        unsafe { &(*(::std::ptr::null::<__dbc>())).put as *const _ as usize },
15084        416usize,
15085        concat!(
15086            "Offset of field: ",
15087            stringify!(__dbc),
15088            "::",
15089            stringify!(put)
15090        )
15091    );
15092    assert_eq!(
15093        unsafe { &(*(::std::ptr::null::<__dbc>())).set_priority as *const _ as usize },
15094        424usize,
15095        concat!(
15096            "Offset of field: ",
15097            stringify!(__dbc),
15098            "::",
15099            stringify!(set_priority)
15100        )
15101    );
15102    assert_eq!(
15103        unsafe { &(*(::std::ptr::null::<__dbc>())).c_close as *const _ as usize },
15104        432usize,
15105        concat!(
15106            "Offset of field: ",
15107            stringify!(__dbc),
15108            "::",
15109            stringify!(c_close)
15110        )
15111    );
15112    assert_eq!(
15113        unsafe { &(*(::std::ptr::null::<__dbc>())).c_count as *const _ as usize },
15114        440usize,
15115        concat!(
15116            "Offset of field: ",
15117            stringify!(__dbc),
15118            "::",
15119            stringify!(c_count)
15120        )
15121    );
15122    assert_eq!(
15123        unsafe { &(*(::std::ptr::null::<__dbc>())).c_del as *const _ as usize },
15124        448usize,
15125        concat!(
15126            "Offset of field: ",
15127            stringify!(__dbc),
15128            "::",
15129            stringify!(c_del)
15130        )
15131    );
15132    assert_eq!(
15133        unsafe { &(*(::std::ptr::null::<__dbc>())).c_dup as *const _ as usize },
15134        456usize,
15135        concat!(
15136            "Offset of field: ",
15137            stringify!(__dbc),
15138            "::",
15139            stringify!(c_dup)
15140        )
15141    );
15142    assert_eq!(
15143        unsafe { &(*(::std::ptr::null::<__dbc>())).c_get as *const _ as usize },
15144        464usize,
15145        concat!(
15146            "Offset of field: ",
15147            stringify!(__dbc),
15148            "::",
15149            stringify!(c_get)
15150        )
15151    );
15152    assert_eq!(
15153        unsafe { &(*(::std::ptr::null::<__dbc>())).c_pget as *const _ as usize },
15154        472usize,
15155        concat!(
15156            "Offset of field: ",
15157            stringify!(__dbc),
15158            "::",
15159            stringify!(c_pget)
15160        )
15161    );
15162    assert_eq!(
15163        unsafe { &(*(::std::ptr::null::<__dbc>())).c_put as *const _ as usize },
15164        480usize,
15165        concat!(
15166            "Offset of field: ",
15167            stringify!(__dbc),
15168            "::",
15169            stringify!(c_put)
15170        )
15171    );
15172    assert_eq!(
15173        unsafe { &(*(::std::ptr::null::<__dbc>())).am_bulk as *const _ as usize },
15174        488usize,
15175        concat!(
15176            "Offset of field: ",
15177            stringify!(__dbc),
15178            "::",
15179            stringify!(am_bulk)
15180        )
15181    );
15182    assert_eq!(
15183        unsafe { &(*(::std::ptr::null::<__dbc>())).am_close as *const _ as usize },
15184        496usize,
15185        concat!(
15186            "Offset of field: ",
15187            stringify!(__dbc),
15188            "::",
15189            stringify!(am_close)
15190        )
15191    );
15192    assert_eq!(
15193        unsafe { &(*(::std::ptr::null::<__dbc>())).am_del as *const _ as usize },
15194        504usize,
15195        concat!(
15196            "Offset of field: ",
15197            stringify!(__dbc),
15198            "::",
15199            stringify!(am_del)
15200        )
15201    );
15202    assert_eq!(
15203        unsafe { &(*(::std::ptr::null::<__dbc>())).am_destroy as *const _ as usize },
15204        512usize,
15205        concat!(
15206            "Offset of field: ",
15207            stringify!(__dbc),
15208            "::",
15209            stringify!(am_destroy)
15210        )
15211    );
15212    assert_eq!(
15213        unsafe { &(*(::std::ptr::null::<__dbc>())).am_get as *const _ as usize },
15214        520usize,
15215        concat!(
15216            "Offset of field: ",
15217            stringify!(__dbc),
15218            "::",
15219            stringify!(am_get)
15220        )
15221    );
15222    assert_eq!(
15223        unsafe { &(*(::std::ptr::null::<__dbc>())).am_put as *const _ as usize },
15224        528usize,
15225        concat!(
15226            "Offset of field: ",
15227            stringify!(__dbc),
15228            "::",
15229            stringify!(am_put)
15230        )
15231    );
15232    assert_eq!(
15233        unsafe { &(*(::std::ptr::null::<__dbc>())).am_writelock as *const _ as usize },
15234        536usize,
15235        concat!(
15236            "Offset of field: ",
15237            stringify!(__dbc),
15238            "::",
15239            stringify!(am_writelock)
15240        )
15241    );
15242    assert_eq!(
15243        unsafe { &(*(::std::ptr::null::<__dbc>())).flags as *const _ as usize },
15244        544usize,
15245        concat!(
15246            "Offset of field: ",
15247            stringify!(__dbc),
15248            "::",
15249            stringify!(flags)
15250        )
15251    );
15252}
15253impl Default for __dbc {
15254    fn default() -> Self {
15255        unsafe { ::std::mem::zeroed() }
15256    }
15257}
15258#[repr(C)]
15259#[derive(Debug, Default, Copy, Clone)]
15260pub struct __key_range {
15261    pub less: f64,
15262    pub equal: f64,
15263    pub greater: f64,
15264}
15265#[test]
15266fn bindgen_test_layout___key_range() {
15267    assert_eq!(
15268        ::std::mem::size_of::<__key_range>(),
15269        24usize,
15270        concat!("Size of: ", stringify!(__key_range))
15271    );
15272    assert_eq!(
15273        ::std::mem::align_of::<__key_range>(),
15274        8usize,
15275        concat!("Alignment of ", stringify!(__key_range))
15276    );
15277    assert_eq!(
15278        unsafe { &(*(::std::ptr::null::<__key_range>())).less as *const _ as usize },
15279        0usize,
15280        concat!(
15281            "Offset of field: ",
15282            stringify!(__key_range),
15283            "::",
15284            stringify!(less)
15285        )
15286    );
15287    assert_eq!(
15288        unsafe { &(*(::std::ptr::null::<__key_range>())).equal as *const _ as usize },
15289        8usize,
15290        concat!(
15291            "Offset of field: ",
15292            stringify!(__key_range),
15293            "::",
15294            stringify!(equal)
15295        )
15296    );
15297    assert_eq!(
15298        unsafe { &(*(::std::ptr::null::<__key_range>())).greater as *const _ as usize },
15299        16usize,
15300        concat!(
15301            "Offset of field: ",
15302            stringify!(__key_range),
15303            "::",
15304            stringify!(greater)
15305        )
15306    );
15307}
15308#[repr(C)]
15309#[derive(Debug, Default, Copy, Clone)]
15310pub struct __db_bt_stat {
15311    pub bt_magic: u_int32_t,
15312    pub bt_version: u_int32_t,
15313    pub bt_metaflags: u_int32_t,
15314    pub bt_nkeys: u_int32_t,
15315    pub bt_ndata: u_int32_t,
15316    pub bt_pagecnt: u_int32_t,
15317    pub bt_pagesize: u_int32_t,
15318    pub bt_minkey: u_int32_t,
15319    pub bt_re_len: u_int32_t,
15320    pub bt_re_pad: u_int32_t,
15321    pub bt_levels: u_int32_t,
15322    pub bt_int_pg: u_int32_t,
15323    pub bt_leaf_pg: u_int32_t,
15324    pub bt_dup_pg: u_int32_t,
15325    pub bt_over_pg: u_int32_t,
15326    pub bt_empty_pg: u_int32_t,
15327    pub bt_free: u_int32_t,
15328    pub bt_int_pgfree: uintmax_t,
15329    pub bt_leaf_pgfree: uintmax_t,
15330    pub bt_dup_pgfree: uintmax_t,
15331    pub bt_over_pgfree: uintmax_t,
15332}
15333#[test]
15334fn bindgen_test_layout___db_bt_stat() {
15335    assert_eq!(
15336        ::std::mem::size_of::<__db_bt_stat>(),
15337        104usize,
15338        concat!("Size of: ", stringify!(__db_bt_stat))
15339    );
15340    assert_eq!(
15341        ::std::mem::align_of::<__db_bt_stat>(),
15342        8usize,
15343        concat!("Alignment of ", stringify!(__db_bt_stat))
15344    );
15345    assert_eq!(
15346        unsafe { &(*(::std::ptr::null::<__db_bt_stat>())).bt_magic as *const _ as usize },
15347        0usize,
15348        concat!(
15349            "Offset of field: ",
15350            stringify!(__db_bt_stat),
15351            "::",
15352            stringify!(bt_magic)
15353        )
15354    );
15355    assert_eq!(
15356        unsafe { &(*(::std::ptr::null::<__db_bt_stat>())).bt_version as *const _ as usize },
15357        4usize,
15358        concat!(
15359            "Offset of field: ",
15360            stringify!(__db_bt_stat),
15361            "::",
15362            stringify!(bt_version)
15363        )
15364    );
15365    assert_eq!(
15366        unsafe { &(*(::std::ptr::null::<__db_bt_stat>())).bt_metaflags as *const _ as usize },
15367        8usize,
15368        concat!(
15369            "Offset of field: ",
15370            stringify!(__db_bt_stat),
15371            "::",
15372            stringify!(bt_metaflags)
15373        )
15374    );
15375    assert_eq!(
15376        unsafe { &(*(::std::ptr::null::<__db_bt_stat>())).bt_nkeys as *const _ as usize },
15377        12usize,
15378        concat!(
15379            "Offset of field: ",
15380            stringify!(__db_bt_stat),
15381            "::",
15382            stringify!(bt_nkeys)
15383        )
15384    );
15385    assert_eq!(
15386        unsafe { &(*(::std::ptr::null::<__db_bt_stat>())).bt_ndata as *const _ as usize },
15387        16usize,
15388        concat!(
15389            "Offset of field: ",
15390            stringify!(__db_bt_stat),
15391            "::",
15392            stringify!(bt_ndata)
15393        )
15394    );
15395    assert_eq!(
15396        unsafe { &(*(::std::ptr::null::<__db_bt_stat>())).bt_pagecnt as *const _ as usize },
15397        20usize,
15398        concat!(
15399            "Offset of field: ",
15400            stringify!(__db_bt_stat),
15401            "::",
15402            stringify!(bt_pagecnt)
15403        )
15404    );
15405    assert_eq!(
15406        unsafe { &(*(::std::ptr::null::<__db_bt_stat>())).bt_pagesize as *const _ as usize },
15407        24usize,
15408        concat!(
15409            "Offset of field: ",
15410            stringify!(__db_bt_stat),
15411            "::",
15412            stringify!(bt_pagesize)
15413        )
15414    );
15415    assert_eq!(
15416        unsafe { &(*(::std::ptr::null::<__db_bt_stat>())).bt_minkey as *const _ as usize },
15417        28usize,
15418        concat!(
15419            "Offset of field: ",
15420            stringify!(__db_bt_stat),
15421            "::",
15422            stringify!(bt_minkey)
15423        )
15424    );
15425    assert_eq!(
15426        unsafe { &(*(::std::ptr::null::<__db_bt_stat>())).bt_re_len as *const _ as usize },
15427        32usize,
15428        concat!(
15429            "Offset of field: ",
15430            stringify!(__db_bt_stat),
15431            "::",
15432            stringify!(bt_re_len)
15433        )
15434    );
15435    assert_eq!(
15436        unsafe { &(*(::std::ptr::null::<__db_bt_stat>())).bt_re_pad as *const _ as usize },
15437        36usize,
15438        concat!(
15439            "Offset of field: ",
15440            stringify!(__db_bt_stat),
15441            "::",
15442            stringify!(bt_re_pad)
15443        )
15444    );
15445    assert_eq!(
15446        unsafe { &(*(::std::ptr::null::<__db_bt_stat>())).bt_levels as *const _ as usize },
15447        40usize,
15448        concat!(
15449            "Offset of field: ",
15450            stringify!(__db_bt_stat),
15451            "::",
15452            stringify!(bt_levels)
15453        )
15454    );
15455    assert_eq!(
15456        unsafe { &(*(::std::ptr::null::<__db_bt_stat>())).bt_int_pg as *const _ as usize },
15457        44usize,
15458        concat!(
15459            "Offset of field: ",
15460            stringify!(__db_bt_stat),
15461            "::",
15462            stringify!(bt_int_pg)
15463        )
15464    );
15465    assert_eq!(
15466        unsafe { &(*(::std::ptr::null::<__db_bt_stat>())).bt_leaf_pg as *const _ as usize },
15467        48usize,
15468        concat!(
15469            "Offset of field: ",
15470            stringify!(__db_bt_stat),
15471            "::",
15472            stringify!(bt_leaf_pg)
15473        )
15474    );
15475    assert_eq!(
15476        unsafe { &(*(::std::ptr::null::<__db_bt_stat>())).bt_dup_pg as *const _ as usize },
15477        52usize,
15478        concat!(
15479            "Offset of field: ",
15480            stringify!(__db_bt_stat),
15481            "::",
15482            stringify!(bt_dup_pg)
15483        )
15484    );
15485    assert_eq!(
15486        unsafe { &(*(::std::ptr::null::<__db_bt_stat>())).bt_over_pg as *const _ as usize },
15487        56usize,
15488        concat!(
15489            "Offset of field: ",
15490            stringify!(__db_bt_stat),
15491            "::",
15492            stringify!(bt_over_pg)
15493        )
15494    );
15495    assert_eq!(
15496        unsafe { &(*(::std::ptr::null::<__db_bt_stat>())).bt_empty_pg as *const _ as usize },
15497        60usize,
15498        concat!(
15499            "Offset of field: ",
15500            stringify!(__db_bt_stat),
15501            "::",
15502            stringify!(bt_empty_pg)
15503        )
15504    );
15505    assert_eq!(
15506        unsafe { &(*(::std::ptr::null::<__db_bt_stat>())).bt_free as *const _ as usize },
15507        64usize,
15508        concat!(
15509            "Offset of field: ",
15510            stringify!(__db_bt_stat),
15511            "::",
15512            stringify!(bt_free)
15513        )
15514    );
15515    assert_eq!(
15516        unsafe { &(*(::std::ptr::null::<__db_bt_stat>())).bt_int_pgfree as *const _ as usize },
15517        72usize,
15518        concat!(
15519            "Offset of field: ",
15520            stringify!(__db_bt_stat),
15521            "::",
15522            stringify!(bt_int_pgfree)
15523        )
15524    );
15525    assert_eq!(
15526        unsafe { &(*(::std::ptr::null::<__db_bt_stat>())).bt_leaf_pgfree as *const _ as usize },
15527        80usize,
15528        concat!(
15529            "Offset of field: ",
15530            stringify!(__db_bt_stat),
15531            "::",
15532            stringify!(bt_leaf_pgfree)
15533        )
15534    );
15535    assert_eq!(
15536        unsafe { &(*(::std::ptr::null::<__db_bt_stat>())).bt_dup_pgfree as *const _ as usize },
15537        88usize,
15538        concat!(
15539            "Offset of field: ",
15540            stringify!(__db_bt_stat),
15541            "::",
15542            stringify!(bt_dup_pgfree)
15543        )
15544    );
15545    assert_eq!(
15546        unsafe { &(*(::std::ptr::null::<__db_bt_stat>())).bt_over_pgfree as *const _ as usize },
15547        96usize,
15548        concat!(
15549            "Offset of field: ",
15550            stringify!(__db_bt_stat),
15551            "::",
15552            stringify!(bt_over_pgfree)
15553        )
15554    );
15555}
15556#[repr(C)]
15557#[derive(Debug, Default, Copy, Clone)]
15558pub struct __db_compact {
15559    pub compact_fillpercent: u_int32_t,
15560    pub compact_timeout: db_timeout_t,
15561    pub compact_pages: u_int32_t,
15562    pub compact_empty_buckets: u_int32_t,
15563    pub compact_pages_free: u_int32_t,
15564    pub compact_pages_examine: u_int32_t,
15565    pub compact_levels: u_int32_t,
15566    pub compact_deadlock: u_int32_t,
15567    pub compact_pages_truncated: db_pgno_t,
15568    pub compact_truncate: db_pgno_t,
15569}
15570#[test]
15571fn bindgen_test_layout___db_compact() {
15572    assert_eq!(
15573        ::std::mem::size_of::<__db_compact>(),
15574        40usize,
15575        concat!("Size of: ", stringify!(__db_compact))
15576    );
15577    assert_eq!(
15578        ::std::mem::align_of::<__db_compact>(),
15579        4usize,
15580        concat!("Alignment of ", stringify!(__db_compact))
15581    );
15582    assert_eq!(
15583        unsafe {
15584            &(*(::std::ptr::null::<__db_compact>())).compact_fillpercent as *const _ as usize
15585        },
15586        0usize,
15587        concat!(
15588            "Offset of field: ",
15589            stringify!(__db_compact),
15590            "::",
15591            stringify!(compact_fillpercent)
15592        )
15593    );
15594    assert_eq!(
15595        unsafe { &(*(::std::ptr::null::<__db_compact>())).compact_timeout as *const _ as usize },
15596        4usize,
15597        concat!(
15598            "Offset of field: ",
15599            stringify!(__db_compact),
15600            "::",
15601            stringify!(compact_timeout)
15602        )
15603    );
15604    assert_eq!(
15605        unsafe { &(*(::std::ptr::null::<__db_compact>())).compact_pages as *const _ as usize },
15606        8usize,
15607        concat!(
15608            "Offset of field: ",
15609            stringify!(__db_compact),
15610            "::",
15611            stringify!(compact_pages)
15612        )
15613    );
15614    assert_eq!(
15615        unsafe {
15616            &(*(::std::ptr::null::<__db_compact>())).compact_empty_buckets as *const _ as usize
15617        },
15618        12usize,
15619        concat!(
15620            "Offset of field: ",
15621            stringify!(__db_compact),
15622            "::",
15623            stringify!(compact_empty_buckets)
15624        )
15625    );
15626    assert_eq!(
15627        unsafe { &(*(::std::ptr::null::<__db_compact>())).compact_pages_free as *const _ as usize },
15628        16usize,
15629        concat!(
15630            "Offset of field: ",
15631            stringify!(__db_compact),
15632            "::",
15633            stringify!(compact_pages_free)
15634        )
15635    );
15636    assert_eq!(
15637        unsafe {
15638            &(*(::std::ptr::null::<__db_compact>())).compact_pages_examine as *const _ as usize
15639        },
15640        20usize,
15641        concat!(
15642            "Offset of field: ",
15643            stringify!(__db_compact),
15644            "::",
15645            stringify!(compact_pages_examine)
15646        )
15647    );
15648    assert_eq!(
15649        unsafe { &(*(::std::ptr::null::<__db_compact>())).compact_levels as *const _ as usize },
15650        24usize,
15651        concat!(
15652            "Offset of field: ",
15653            stringify!(__db_compact),
15654            "::",
15655            stringify!(compact_levels)
15656        )
15657    );
15658    assert_eq!(
15659        unsafe { &(*(::std::ptr::null::<__db_compact>())).compact_deadlock as *const _ as usize },
15660        28usize,
15661        concat!(
15662            "Offset of field: ",
15663            stringify!(__db_compact),
15664            "::",
15665            stringify!(compact_deadlock)
15666        )
15667    );
15668    assert_eq!(
15669        unsafe {
15670            &(*(::std::ptr::null::<__db_compact>())).compact_pages_truncated as *const _ as usize
15671        },
15672        32usize,
15673        concat!(
15674            "Offset of field: ",
15675            stringify!(__db_compact),
15676            "::",
15677            stringify!(compact_pages_truncated)
15678        )
15679    );
15680    assert_eq!(
15681        unsafe { &(*(::std::ptr::null::<__db_compact>())).compact_truncate as *const _ as usize },
15682        36usize,
15683        concat!(
15684            "Offset of field: ",
15685            stringify!(__db_compact),
15686            "::",
15687            stringify!(compact_truncate)
15688        )
15689    );
15690}
15691#[repr(C)]
15692#[derive(Debug, Default, Copy, Clone)]
15693pub struct __db_h_stat {
15694    pub hash_magic: u_int32_t,
15695    pub hash_version: u_int32_t,
15696    pub hash_metaflags: u_int32_t,
15697    pub hash_nkeys: u_int32_t,
15698    pub hash_ndata: u_int32_t,
15699    pub hash_pagecnt: u_int32_t,
15700    pub hash_pagesize: u_int32_t,
15701    pub hash_ffactor: u_int32_t,
15702    pub hash_buckets: u_int32_t,
15703    pub hash_free: u_int32_t,
15704    pub hash_bfree: uintmax_t,
15705    pub hash_bigpages: u_int32_t,
15706    pub hash_big_bfree: uintmax_t,
15707    pub hash_overflows: u_int32_t,
15708    pub hash_ovfl_free: uintmax_t,
15709    pub hash_dup: u_int32_t,
15710    pub hash_dup_free: uintmax_t,
15711}
15712#[test]
15713fn bindgen_test_layout___db_h_stat() {
15714    assert_eq!(
15715        ::std::mem::size_of::<__db_h_stat>(),
15716        96usize,
15717        concat!("Size of: ", stringify!(__db_h_stat))
15718    );
15719    assert_eq!(
15720        ::std::mem::align_of::<__db_h_stat>(),
15721        8usize,
15722        concat!("Alignment of ", stringify!(__db_h_stat))
15723    );
15724    assert_eq!(
15725        unsafe { &(*(::std::ptr::null::<__db_h_stat>())).hash_magic as *const _ as usize },
15726        0usize,
15727        concat!(
15728            "Offset of field: ",
15729            stringify!(__db_h_stat),
15730            "::",
15731            stringify!(hash_magic)
15732        )
15733    );
15734    assert_eq!(
15735        unsafe { &(*(::std::ptr::null::<__db_h_stat>())).hash_version as *const _ as usize },
15736        4usize,
15737        concat!(
15738            "Offset of field: ",
15739            stringify!(__db_h_stat),
15740            "::",
15741            stringify!(hash_version)
15742        )
15743    );
15744    assert_eq!(
15745        unsafe { &(*(::std::ptr::null::<__db_h_stat>())).hash_metaflags as *const _ as usize },
15746        8usize,
15747        concat!(
15748            "Offset of field: ",
15749            stringify!(__db_h_stat),
15750            "::",
15751            stringify!(hash_metaflags)
15752        )
15753    );
15754    assert_eq!(
15755        unsafe { &(*(::std::ptr::null::<__db_h_stat>())).hash_nkeys as *const _ as usize },
15756        12usize,
15757        concat!(
15758            "Offset of field: ",
15759            stringify!(__db_h_stat),
15760            "::",
15761            stringify!(hash_nkeys)
15762        )
15763    );
15764    assert_eq!(
15765        unsafe { &(*(::std::ptr::null::<__db_h_stat>())).hash_ndata as *const _ as usize },
15766        16usize,
15767        concat!(
15768            "Offset of field: ",
15769            stringify!(__db_h_stat),
15770            "::",
15771            stringify!(hash_ndata)
15772        )
15773    );
15774    assert_eq!(
15775        unsafe { &(*(::std::ptr::null::<__db_h_stat>())).hash_pagecnt as *const _ as usize },
15776        20usize,
15777        concat!(
15778            "Offset of field: ",
15779            stringify!(__db_h_stat),
15780            "::",
15781            stringify!(hash_pagecnt)
15782        )
15783    );
15784    assert_eq!(
15785        unsafe { &(*(::std::ptr::null::<__db_h_stat>())).hash_pagesize as *const _ as usize },
15786        24usize,
15787        concat!(
15788            "Offset of field: ",
15789            stringify!(__db_h_stat),
15790            "::",
15791            stringify!(hash_pagesize)
15792        )
15793    );
15794    assert_eq!(
15795        unsafe { &(*(::std::ptr::null::<__db_h_stat>())).hash_ffactor as *const _ as usize },
15796        28usize,
15797        concat!(
15798            "Offset of field: ",
15799            stringify!(__db_h_stat),
15800            "::",
15801            stringify!(hash_ffactor)
15802        )
15803    );
15804    assert_eq!(
15805        unsafe { &(*(::std::ptr::null::<__db_h_stat>())).hash_buckets as *const _ as usize },
15806        32usize,
15807        concat!(
15808            "Offset of field: ",
15809            stringify!(__db_h_stat),
15810            "::",
15811            stringify!(hash_buckets)
15812        )
15813    );
15814    assert_eq!(
15815        unsafe { &(*(::std::ptr::null::<__db_h_stat>())).hash_free as *const _ as usize },
15816        36usize,
15817        concat!(
15818            "Offset of field: ",
15819            stringify!(__db_h_stat),
15820            "::",
15821            stringify!(hash_free)
15822        )
15823    );
15824    assert_eq!(
15825        unsafe { &(*(::std::ptr::null::<__db_h_stat>())).hash_bfree as *const _ as usize },
15826        40usize,
15827        concat!(
15828            "Offset of field: ",
15829            stringify!(__db_h_stat),
15830            "::",
15831            stringify!(hash_bfree)
15832        )
15833    );
15834    assert_eq!(
15835        unsafe { &(*(::std::ptr::null::<__db_h_stat>())).hash_bigpages as *const _ as usize },
15836        48usize,
15837        concat!(
15838            "Offset of field: ",
15839            stringify!(__db_h_stat),
15840            "::",
15841            stringify!(hash_bigpages)
15842        )
15843    );
15844    assert_eq!(
15845        unsafe { &(*(::std::ptr::null::<__db_h_stat>())).hash_big_bfree as *const _ as usize },
15846        56usize,
15847        concat!(
15848            "Offset of field: ",
15849            stringify!(__db_h_stat),
15850            "::",
15851            stringify!(hash_big_bfree)
15852        )
15853    );
15854    assert_eq!(
15855        unsafe { &(*(::std::ptr::null::<__db_h_stat>())).hash_overflows as *const _ as usize },
15856        64usize,
15857        concat!(
15858            "Offset of field: ",
15859            stringify!(__db_h_stat),
15860            "::",
15861            stringify!(hash_overflows)
15862        )
15863    );
15864    assert_eq!(
15865        unsafe { &(*(::std::ptr::null::<__db_h_stat>())).hash_ovfl_free as *const _ as usize },
15866        72usize,
15867        concat!(
15868            "Offset of field: ",
15869            stringify!(__db_h_stat),
15870            "::",
15871            stringify!(hash_ovfl_free)
15872        )
15873    );
15874    assert_eq!(
15875        unsafe { &(*(::std::ptr::null::<__db_h_stat>())).hash_dup as *const _ as usize },
15876        80usize,
15877        concat!(
15878            "Offset of field: ",
15879            stringify!(__db_h_stat),
15880            "::",
15881            stringify!(hash_dup)
15882        )
15883    );
15884    assert_eq!(
15885        unsafe { &(*(::std::ptr::null::<__db_h_stat>())).hash_dup_free as *const _ as usize },
15886        88usize,
15887        concat!(
15888            "Offset of field: ",
15889            stringify!(__db_h_stat),
15890            "::",
15891            stringify!(hash_dup_free)
15892        )
15893    );
15894}
15895#[repr(C)]
15896#[derive(Debug, Default, Copy, Clone)]
15897pub struct __db_heap_stat {
15898    pub heap_magic: u_int32_t,
15899    pub heap_version: u_int32_t,
15900    pub heap_metaflags: u_int32_t,
15901    pub heap_nrecs: u_int32_t,
15902    pub heap_pagecnt: u_int32_t,
15903    pub heap_pagesize: u_int32_t,
15904    pub heap_nregions: u_int32_t,
15905    pub heap_regionsize: u_int32_t,
15906}
15907#[test]
15908fn bindgen_test_layout___db_heap_stat() {
15909    assert_eq!(
15910        ::std::mem::size_of::<__db_heap_stat>(),
15911        32usize,
15912        concat!("Size of: ", stringify!(__db_heap_stat))
15913    );
15914    assert_eq!(
15915        ::std::mem::align_of::<__db_heap_stat>(),
15916        4usize,
15917        concat!("Alignment of ", stringify!(__db_heap_stat))
15918    );
15919    assert_eq!(
15920        unsafe { &(*(::std::ptr::null::<__db_heap_stat>())).heap_magic as *const _ as usize },
15921        0usize,
15922        concat!(
15923            "Offset of field: ",
15924            stringify!(__db_heap_stat),
15925            "::",
15926            stringify!(heap_magic)
15927        )
15928    );
15929    assert_eq!(
15930        unsafe { &(*(::std::ptr::null::<__db_heap_stat>())).heap_version as *const _ as usize },
15931        4usize,
15932        concat!(
15933            "Offset of field: ",
15934            stringify!(__db_heap_stat),
15935            "::",
15936            stringify!(heap_version)
15937        )
15938    );
15939    assert_eq!(
15940        unsafe { &(*(::std::ptr::null::<__db_heap_stat>())).heap_metaflags as *const _ as usize },
15941        8usize,
15942        concat!(
15943            "Offset of field: ",
15944            stringify!(__db_heap_stat),
15945            "::",
15946            stringify!(heap_metaflags)
15947        )
15948    );
15949    assert_eq!(
15950        unsafe { &(*(::std::ptr::null::<__db_heap_stat>())).heap_nrecs as *const _ as usize },
15951        12usize,
15952        concat!(
15953            "Offset of field: ",
15954            stringify!(__db_heap_stat),
15955            "::",
15956            stringify!(heap_nrecs)
15957        )
15958    );
15959    assert_eq!(
15960        unsafe { &(*(::std::ptr::null::<__db_heap_stat>())).heap_pagecnt as *const _ as usize },
15961        16usize,
15962        concat!(
15963            "Offset of field: ",
15964            stringify!(__db_heap_stat),
15965            "::",
15966            stringify!(heap_pagecnt)
15967        )
15968    );
15969    assert_eq!(
15970        unsafe { &(*(::std::ptr::null::<__db_heap_stat>())).heap_pagesize as *const _ as usize },
15971        20usize,
15972        concat!(
15973            "Offset of field: ",
15974            stringify!(__db_heap_stat),
15975            "::",
15976            stringify!(heap_pagesize)
15977        )
15978    );
15979    assert_eq!(
15980        unsafe { &(*(::std::ptr::null::<__db_heap_stat>())).heap_nregions as *const _ as usize },
15981        24usize,
15982        concat!(
15983            "Offset of field: ",
15984            stringify!(__db_heap_stat),
15985            "::",
15986            stringify!(heap_nregions)
15987        )
15988    );
15989    assert_eq!(
15990        unsafe { &(*(::std::ptr::null::<__db_heap_stat>())).heap_regionsize as *const _ as usize },
15991        28usize,
15992        concat!(
15993            "Offset of field: ",
15994            stringify!(__db_heap_stat),
15995            "::",
15996            stringify!(heap_regionsize)
15997        )
15998    );
15999}
16000#[repr(C)]
16001#[derive(Debug, Default, Copy, Clone)]
16002pub struct __db_qam_stat {
16003    pub qs_magic: u_int32_t,
16004    pub qs_version: u_int32_t,
16005    pub qs_metaflags: u_int32_t,
16006    pub qs_nkeys: u_int32_t,
16007    pub qs_ndata: u_int32_t,
16008    pub qs_pagesize: u_int32_t,
16009    pub qs_extentsize: u_int32_t,
16010    pub qs_pages: u_int32_t,
16011    pub qs_re_len: u_int32_t,
16012    pub qs_re_pad: u_int32_t,
16013    pub qs_pgfree: u_int32_t,
16014    pub qs_first_recno: u_int32_t,
16015    pub qs_cur_recno: u_int32_t,
16016}
16017#[test]
16018fn bindgen_test_layout___db_qam_stat() {
16019    assert_eq!(
16020        ::std::mem::size_of::<__db_qam_stat>(),
16021        52usize,
16022        concat!("Size of: ", stringify!(__db_qam_stat))
16023    );
16024    assert_eq!(
16025        ::std::mem::align_of::<__db_qam_stat>(),
16026        4usize,
16027        concat!("Alignment of ", stringify!(__db_qam_stat))
16028    );
16029    assert_eq!(
16030        unsafe { &(*(::std::ptr::null::<__db_qam_stat>())).qs_magic as *const _ as usize },
16031        0usize,
16032        concat!(
16033            "Offset of field: ",
16034            stringify!(__db_qam_stat),
16035            "::",
16036            stringify!(qs_magic)
16037        )
16038    );
16039    assert_eq!(
16040        unsafe { &(*(::std::ptr::null::<__db_qam_stat>())).qs_version as *const _ as usize },
16041        4usize,
16042        concat!(
16043            "Offset of field: ",
16044            stringify!(__db_qam_stat),
16045            "::",
16046            stringify!(qs_version)
16047        )
16048    );
16049    assert_eq!(
16050        unsafe { &(*(::std::ptr::null::<__db_qam_stat>())).qs_metaflags as *const _ as usize },
16051        8usize,
16052        concat!(
16053            "Offset of field: ",
16054            stringify!(__db_qam_stat),
16055            "::",
16056            stringify!(qs_metaflags)
16057        )
16058    );
16059    assert_eq!(
16060        unsafe { &(*(::std::ptr::null::<__db_qam_stat>())).qs_nkeys as *const _ as usize },
16061        12usize,
16062        concat!(
16063            "Offset of field: ",
16064            stringify!(__db_qam_stat),
16065            "::",
16066            stringify!(qs_nkeys)
16067        )
16068    );
16069    assert_eq!(
16070        unsafe { &(*(::std::ptr::null::<__db_qam_stat>())).qs_ndata as *const _ as usize },
16071        16usize,
16072        concat!(
16073            "Offset of field: ",
16074            stringify!(__db_qam_stat),
16075            "::",
16076            stringify!(qs_ndata)
16077        )
16078    );
16079    assert_eq!(
16080        unsafe { &(*(::std::ptr::null::<__db_qam_stat>())).qs_pagesize as *const _ as usize },
16081        20usize,
16082        concat!(
16083            "Offset of field: ",
16084            stringify!(__db_qam_stat),
16085            "::",
16086            stringify!(qs_pagesize)
16087        )
16088    );
16089    assert_eq!(
16090        unsafe { &(*(::std::ptr::null::<__db_qam_stat>())).qs_extentsize as *const _ as usize },
16091        24usize,
16092        concat!(
16093            "Offset of field: ",
16094            stringify!(__db_qam_stat),
16095            "::",
16096            stringify!(qs_extentsize)
16097        )
16098    );
16099    assert_eq!(
16100        unsafe { &(*(::std::ptr::null::<__db_qam_stat>())).qs_pages as *const _ as usize },
16101        28usize,
16102        concat!(
16103            "Offset of field: ",
16104            stringify!(__db_qam_stat),
16105            "::",
16106            stringify!(qs_pages)
16107        )
16108    );
16109    assert_eq!(
16110        unsafe { &(*(::std::ptr::null::<__db_qam_stat>())).qs_re_len as *const _ as usize },
16111        32usize,
16112        concat!(
16113            "Offset of field: ",
16114            stringify!(__db_qam_stat),
16115            "::",
16116            stringify!(qs_re_len)
16117        )
16118    );
16119    assert_eq!(
16120        unsafe { &(*(::std::ptr::null::<__db_qam_stat>())).qs_re_pad as *const _ as usize },
16121        36usize,
16122        concat!(
16123            "Offset of field: ",
16124            stringify!(__db_qam_stat),
16125            "::",
16126            stringify!(qs_re_pad)
16127        )
16128    );
16129    assert_eq!(
16130        unsafe { &(*(::std::ptr::null::<__db_qam_stat>())).qs_pgfree as *const _ as usize },
16131        40usize,
16132        concat!(
16133            "Offset of field: ",
16134            stringify!(__db_qam_stat),
16135            "::",
16136            stringify!(qs_pgfree)
16137        )
16138    );
16139    assert_eq!(
16140        unsafe { &(*(::std::ptr::null::<__db_qam_stat>())).qs_first_recno as *const _ as usize },
16141        44usize,
16142        concat!(
16143            "Offset of field: ",
16144            stringify!(__db_qam_stat),
16145            "::",
16146            stringify!(qs_first_recno)
16147        )
16148    );
16149    assert_eq!(
16150        unsafe { &(*(::std::ptr::null::<__db_qam_stat>())).qs_cur_recno as *const _ as usize },
16151        48usize,
16152        concat!(
16153            "Offset of field: ",
16154            stringify!(__db_qam_stat),
16155            "::",
16156            stringify!(qs_cur_recno)
16157        )
16158    );
16159}
16160pub const DB_MEM_CONFIG_DB_MEM_LOCK: DB_MEM_CONFIG = 1;
16161pub const DB_MEM_CONFIG_DB_MEM_LOCKOBJECT: DB_MEM_CONFIG = 2;
16162pub const DB_MEM_CONFIG_DB_MEM_LOCKER: DB_MEM_CONFIG = 3;
16163pub const DB_MEM_CONFIG_DB_MEM_LOGID: DB_MEM_CONFIG = 4;
16164pub const DB_MEM_CONFIG_DB_MEM_TRANSACTION: DB_MEM_CONFIG = 5;
16165pub const DB_MEM_CONFIG_DB_MEM_THREAD: DB_MEM_CONFIG = 6;
16166pub type DB_MEM_CONFIG = u32;
16167pub const DB_BACKUP_CONFIG_DB_BACKUP_READ_COUNT: DB_BACKUP_CONFIG = 1;
16168pub const DB_BACKUP_CONFIG_DB_BACKUP_READ_SLEEP: DB_BACKUP_CONFIG = 2;
16169pub const DB_BACKUP_CONFIG_DB_BACKUP_SIZE: DB_BACKUP_CONFIG = 3;
16170pub const DB_BACKUP_CONFIG_DB_BACKUP_WRITE_DIRECT: DB_BACKUP_CONFIG = 4;
16171pub type DB_BACKUP_CONFIG = u32;
16172#[repr(C)]
16173#[derive(Debug, Copy, Clone)]
16174pub struct __db_env {
16175    pub env: *mut ENV,
16176    pub mtx_db_env: db_mutex_t,
16177    pub db_errcall: ::std::option::Option<
16178        unsafe extern "C" fn(
16179            arg1: *const DB_ENV,
16180            arg2: *const ::std::os::raw::c_char,
16181            arg3: *const ::std::os::raw::c_char,
16182        ),
16183    >,
16184    pub db_errfile: *mut FILE,
16185    pub db_errpfx: *const ::std::os::raw::c_char,
16186    pub db_msgcall: ::std::option::Option<
16187        unsafe extern "C" fn(arg1: *const DB_ENV, arg2: *const ::std::os::raw::c_char),
16188    >,
16189    pub db_msgfile: *mut FILE,
16190    pub app_dispatch: ::std::option::Option<
16191        unsafe extern "C" fn(
16192            arg1: *mut DB_ENV,
16193            arg2: *mut DBT,
16194            arg3: *mut DB_LSN,
16195            arg4: db_recops,
16196        ) -> ::std::os::raw::c_int,
16197    >,
16198    pub db_event_func: ::std::option::Option<
16199        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t, arg3: *mut ::std::os::raw::c_void),
16200    >,
16201    pub db_feedback: ::std::option::Option<
16202        unsafe extern "C" fn(
16203            arg1: *mut DB_ENV,
16204            arg2: ::std::os::raw::c_int,
16205            arg3: ::std::os::raw::c_int,
16206        ),
16207    >,
16208    pub db_free: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
16209    pub db_paniccall:
16210        ::std::option::Option<unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: ::std::os::raw::c_int)>,
16211    pub db_malloc:
16212        ::std::option::Option<unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void>,
16213    pub db_realloc: ::std::option::Option<
16214        unsafe extern "C" fn(
16215            arg1: *mut ::std::os::raw::c_void,
16216            arg2: usize,
16217        ) -> *mut ::std::os::raw::c_void,
16218    >,
16219    pub is_alive: ::std::option::Option<
16220        unsafe extern "C" fn(
16221            arg1: *mut DB_ENV,
16222            arg2: pid_t,
16223            arg3: db_threadid_t,
16224            arg4: u_int32_t,
16225        ) -> ::std::os::raw::c_int,
16226    >,
16227    pub thread_id: ::std::option::Option<
16228        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut pid_t, arg3: *mut db_threadid_t),
16229    >,
16230    pub thread_id_string: ::std::option::Option<
16231        unsafe extern "C" fn(
16232            arg1: *mut DB_ENV,
16233            arg2: pid_t,
16234            arg3: db_threadid_t,
16235            arg4: *mut ::std::os::raw::c_char,
16236        ) -> *mut ::std::os::raw::c_char,
16237    >,
16238    pub db_log_dir: *mut ::std::os::raw::c_char,
16239    pub db_md_dir: *mut ::std::os::raw::c_char,
16240    pub db_tmp_dir: *mut ::std::os::raw::c_char,
16241    pub db_create_dir: *mut ::std::os::raw::c_char,
16242    pub db_data_dir: *mut *mut ::std::os::raw::c_char,
16243    pub data_cnt: ::std::os::raw::c_int,
16244    pub data_next: ::std::os::raw::c_int,
16245    pub intermediate_dir_mode: *mut ::std::os::raw::c_char,
16246    pub shm_key: ::std::os::raw::c_long,
16247    pub passwd: *mut ::std::os::raw::c_char,
16248    pub passwd_len: usize,
16249    pub app_private: *mut ::std::os::raw::c_void,
16250    pub api1_internal: *mut ::std::os::raw::c_void,
16251    pub api2_internal: *mut ::std::os::raw::c_void,
16252    pub verbose: u_int32_t,
16253    pub mutex_align: u_int32_t,
16254    pub mutex_cnt: u_int32_t,
16255    pub mutex_inc: u_int32_t,
16256    pub mutex_max: u_int32_t,
16257    pub mutex_tas_spins: u_int32_t,
16258    pub lk_conflicts: *mut u_int8_t,
16259    pub lk_modes: ::std::os::raw::c_int,
16260    pub lk_detect: u_int32_t,
16261    pub lk_max: u_int32_t,
16262    pub lk_max_lockers: u_int32_t,
16263    pub lk_max_objects: u_int32_t,
16264    pub lk_init: u_int32_t,
16265    pub lk_init_lockers: u_int32_t,
16266    pub lk_init_objects: u_int32_t,
16267    pub lk_partitions: u_int32_t,
16268    pub lk_timeout: db_timeout_t,
16269    pub locker_t_size: u_int32_t,
16270    pub object_t_size: u_int32_t,
16271    pub lg_bsize: u_int32_t,
16272    pub lg_fileid_init: u_int32_t,
16273    pub lg_filemode: ::std::os::raw::c_int,
16274    pub lg_regionmax: u_int32_t,
16275    pub lg_size: u_int32_t,
16276    pub lg_flags: u_int32_t,
16277    pub mp_gbytes: u_int32_t,
16278    pub mp_bytes: u_int32_t,
16279    pub mp_max_gbytes: u_int32_t,
16280    pub mp_max_bytes: u_int32_t,
16281    pub mp_mmapsize: usize,
16282    pub mp_maxopenfd: ::std::os::raw::c_int,
16283    pub mp_maxwrite: ::std::os::raw::c_int,
16284    pub mp_ncache: u_int,
16285    pub mp_pagesize: u_int32_t,
16286    pub mp_tablesize: u_int32_t,
16287    pub mp_mtxcount: u_int32_t,
16288    pub mp_maxwrite_sleep: db_timeout_t,
16289    pub tx_init: u_int32_t,
16290    pub tx_max: u_int32_t,
16291    pub tx_timestamp: time_t,
16292    pub tx_timeout: db_timeout_t,
16293    pub thr_init: u_int32_t,
16294    pub thr_max: u_int32_t,
16295    pub memory_max: roff_t,
16296    pub registry: *mut DB_FH,
16297    pub registry_off: u_int32_t,
16298    pub envreg_timeout: db_timeout_t,
16299    pub flags: u_int32_t,
16300    pub add_data_dir: ::std::option::Option<
16301        unsafe extern "C" fn(
16302            arg1: *mut DB_ENV,
16303            arg2: *const ::std::os::raw::c_char,
16304        ) -> ::std::os::raw::c_int,
16305    >,
16306    pub backup: ::std::option::Option<
16307        unsafe extern "C" fn(
16308            arg1: *mut DB_ENV,
16309            arg2: *const ::std::os::raw::c_char,
16310            arg3: u_int32_t,
16311        ) -> ::std::os::raw::c_int,
16312    >,
16313    pub cdsgroup_begin: ::std::option::Option<
16314        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut *mut DB_TXN) -> ::std::os::raw::c_int,
16315    >,
16316    pub close: ::std::option::Option<
16317        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
16318    >,
16319    pub dbbackup: ::std::option::Option<
16320        unsafe extern "C" fn(
16321            arg1: *mut DB_ENV,
16322            arg2: *const ::std::os::raw::c_char,
16323            arg3: *const ::std::os::raw::c_char,
16324            arg4: u_int32_t,
16325        ) -> ::std::os::raw::c_int,
16326    >,
16327    pub dbremove: ::std::option::Option<
16328        unsafe extern "C" fn(
16329            arg1: *mut DB_ENV,
16330            arg2: *mut DB_TXN,
16331            arg3: *const ::std::os::raw::c_char,
16332            arg4: *const ::std::os::raw::c_char,
16333            arg5: u_int32_t,
16334        ) -> ::std::os::raw::c_int,
16335    >,
16336    pub dbrename: ::std::option::Option<
16337        unsafe extern "C" fn(
16338            arg1: *mut DB_ENV,
16339            arg2: *mut DB_TXN,
16340            arg3: *const ::std::os::raw::c_char,
16341            arg4: *const ::std::os::raw::c_char,
16342            arg5: *const ::std::os::raw::c_char,
16343            arg6: u_int32_t,
16344        ) -> ::std::os::raw::c_int,
16345    >,
16346    pub err: ::std::option::Option<
16347        unsafe extern "C" fn(
16348            arg1: *const DB_ENV,
16349            arg2: ::std::os::raw::c_int,
16350            arg3: *const ::std::os::raw::c_char,
16351            ...
16352        ),
16353    >,
16354    pub errx: ::std::option::Option<
16355        unsafe extern "C" fn(arg1: *const DB_ENV, arg2: *const ::std::os::raw::c_char, ...),
16356    >,
16357    pub failchk: ::std::option::Option<
16358        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
16359    >,
16360    pub fileid_reset: ::std::option::Option<
16361        unsafe extern "C" fn(
16362            arg1: *mut DB_ENV,
16363            arg2: *const ::std::os::raw::c_char,
16364            arg3: u_int32_t,
16365        ) -> ::std::os::raw::c_int,
16366    >,
16367    pub get_alloc: ::std::option::Option<
16368        unsafe extern "C" fn(
16369            arg1: *mut DB_ENV,
16370            arg2: *mut ::std::option::Option<
16371                unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void,
16372            >,
16373            arg3: *mut ::std::option::Option<
16374                unsafe extern "C" fn(
16375                    arg1: *mut ::std::os::raw::c_void,
16376                    arg2: usize,
16377                ) -> *mut ::std::os::raw::c_void,
16378            >,
16379            arg4: *mut ::std::option::Option<
16380                unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void),
16381            >,
16382        ) -> ::std::os::raw::c_int,
16383    >,
16384    pub get_app_dispatch: ::std::option::Option<
16385        unsafe extern "C" fn(
16386            arg1: *mut DB_ENV,
16387            arg2: *mut ::std::option::Option<
16388                unsafe extern "C" fn(
16389                    arg1: *mut DB_ENV,
16390                    arg2: *mut DBT,
16391                    arg3: *mut DB_LSN,
16392                    arg4: db_recops,
16393                ) -> ::std::os::raw::c_int,
16394            >,
16395        ) -> ::std::os::raw::c_int,
16396    >,
16397    pub get_cache_max: ::std::option::Option<
16398        unsafe extern "C" fn(
16399            arg1: *mut DB_ENV,
16400            arg2: *mut u_int32_t,
16401            arg3: *mut u_int32_t,
16402        ) -> ::std::os::raw::c_int,
16403    >,
16404    pub get_cachesize: ::std::option::Option<
16405        unsafe extern "C" fn(
16406            arg1: *mut DB_ENV,
16407            arg2: *mut u_int32_t,
16408            arg3: *mut u_int32_t,
16409            arg4: *mut ::std::os::raw::c_int,
16410        ) -> ::std::os::raw::c_int,
16411    >,
16412    pub get_create_dir: ::std::option::Option<
16413        unsafe extern "C" fn(
16414            arg1: *mut DB_ENV,
16415            arg2: *mut *const ::std::os::raw::c_char,
16416        ) -> ::std::os::raw::c_int,
16417    >,
16418    pub get_data_dirs: ::std::option::Option<
16419        unsafe extern "C" fn(
16420            arg1: *mut DB_ENV,
16421            arg2: *mut *mut *const ::std::os::raw::c_char,
16422        ) -> ::std::os::raw::c_int,
16423    >,
16424    pub get_data_len: ::std::option::Option<
16425        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
16426    >,
16427    pub get_backup_callbacks: ::std::option::Option<
16428        unsafe extern "C" fn(
16429            arg1: *mut DB_ENV,
16430            arg2: *mut ::std::option::Option<
16431                unsafe extern "C" fn(
16432                    arg1: *mut DB_ENV,
16433                    arg2: *const ::std::os::raw::c_char,
16434                    arg3: *const ::std::os::raw::c_char,
16435                    arg4: *mut *mut ::std::os::raw::c_void,
16436                ) -> ::std::os::raw::c_int,
16437            >,
16438            arg3: *mut ::std::option::Option<
16439                unsafe extern "C" fn(
16440                    arg1: *mut DB_ENV,
16441                    arg2: u_int32_t,
16442                    arg3: u_int32_t,
16443                    arg4: u_int32_t,
16444                    arg5: *mut u_int8_t,
16445                    arg6: *mut ::std::os::raw::c_void,
16446                ) -> ::std::os::raw::c_int,
16447            >,
16448            arg4: *mut ::std::option::Option<
16449                unsafe extern "C" fn(
16450                    arg1: *mut DB_ENV,
16451                    arg2: *const ::std::os::raw::c_char,
16452                    arg3: *mut ::std::os::raw::c_void,
16453                ) -> ::std::os::raw::c_int,
16454            >,
16455        ) -> ::std::os::raw::c_int,
16456    >,
16457    pub get_backup_config: ::std::option::Option<
16458        unsafe extern "C" fn(
16459            arg1: *mut DB_ENV,
16460            arg2: DB_BACKUP_CONFIG,
16461            arg3: *mut u_int32_t,
16462        ) -> ::std::os::raw::c_int,
16463    >,
16464    pub get_encrypt_flags: ::std::option::Option<
16465        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
16466    >,
16467    pub get_errcall: ::std::option::Option<
16468        unsafe extern "C" fn(
16469            arg1: *mut DB_ENV,
16470            arg2: *mut ::std::option::Option<
16471                unsafe extern "C" fn(
16472                    arg1: *const DB_ENV,
16473                    arg2: *const ::std::os::raw::c_char,
16474                    arg3: *const ::std::os::raw::c_char,
16475                ),
16476            >,
16477        ),
16478    >,
16479    pub get_errfile:
16480        ::std::option::Option<unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut *mut FILE)>,
16481    pub get_errpfx: ::std::option::Option<
16482        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut *const ::std::os::raw::c_char),
16483    >,
16484    pub get_flags: ::std::option::Option<
16485        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
16486    >,
16487    pub get_feedback: ::std::option::Option<
16488        unsafe extern "C" fn(
16489            arg1: *mut DB_ENV,
16490            arg2: *mut ::std::option::Option<
16491                unsafe extern "C" fn(
16492                    arg1: *mut DB_ENV,
16493                    arg2: ::std::os::raw::c_int,
16494                    arg3: ::std::os::raw::c_int,
16495                ),
16496            >,
16497        ) -> ::std::os::raw::c_int,
16498    >,
16499    pub get_home: ::std::option::Option<
16500        unsafe extern "C" fn(
16501            arg1: *mut DB_ENV,
16502            arg2: *mut *const ::std::os::raw::c_char,
16503        ) -> ::std::os::raw::c_int,
16504    >,
16505    pub get_intermediate_dir_mode: ::std::option::Option<
16506        unsafe extern "C" fn(
16507            arg1: *mut DB_ENV,
16508            arg2: *mut *const ::std::os::raw::c_char,
16509        ) -> ::std::os::raw::c_int,
16510    >,
16511    pub get_isalive: ::std::option::Option<
16512        unsafe extern "C" fn(
16513            arg1: *mut DB_ENV,
16514            arg2: *mut ::std::option::Option<
16515                unsafe extern "C" fn(
16516                    arg1: *mut DB_ENV,
16517                    arg2: pid_t,
16518                    arg3: db_threadid_t,
16519                    arg4: u_int32_t,
16520                ) -> ::std::os::raw::c_int,
16521            >,
16522        ) -> ::std::os::raw::c_int,
16523    >,
16524    pub get_lg_bsize: ::std::option::Option<
16525        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
16526    >,
16527    pub get_lg_dir: ::std::option::Option<
16528        unsafe extern "C" fn(
16529            arg1: *mut DB_ENV,
16530            arg2: *mut *const ::std::os::raw::c_char,
16531        ) -> ::std::os::raw::c_int,
16532    >,
16533    pub get_lg_filemode: ::std::option::Option<
16534        unsafe extern "C" fn(
16535            arg1: *mut DB_ENV,
16536            arg2: *mut ::std::os::raw::c_int,
16537        ) -> ::std::os::raw::c_int,
16538    >,
16539    pub get_lg_max: ::std::option::Option<
16540        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
16541    >,
16542    pub get_lg_regionmax: ::std::option::Option<
16543        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
16544    >,
16545    pub get_lk_conflicts: ::std::option::Option<
16546        unsafe extern "C" fn(
16547            arg1: *mut DB_ENV,
16548            arg2: *mut *const u_int8_t,
16549            arg3: *mut ::std::os::raw::c_int,
16550        ) -> ::std::os::raw::c_int,
16551    >,
16552    pub get_lk_detect: ::std::option::Option<
16553        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
16554    >,
16555    pub get_lk_max_lockers: ::std::option::Option<
16556        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
16557    >,
16558    pub get_lk_max_locks: ::std::option::Option<
16559        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
16560    >,
16561    pub get_lk_max_objects: ::std::option::Option<
16562        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
16563    >,
16564    pub get_lk_partitions: ::std::option::Option<
16565        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
16566    >,
16567    pub get_lk_priority: ::std::option::Option<
16568        unsafe extern "C" fn(
16569            arg1: *mut DB_ENV,
16570            arg2: u_int32_t,
16571            arg3: *mut u_int32_t,
16572        ) -> ::std::os::raw::c_int,
16573    >,
16574    pub get_lk_tablesize: ::std::option::Option<
16575        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
16576    >,
16577    pub get_memory_init: ::std::option::Option<
16578        unsafe extern "C" fn(
16579            arg1: *mut DB_ENV,
16580            arg2: DB_MEM_CONFIG,
16581            arg3: *mut u_int32_t,
16582        ) -> ::std::os::raw::c_int,
16583    >,
16584    pub get_memory_max: ::std::option::Option<
16585        unsafe extern "C" fn(
16586            arg1: *mut DB_ENV,
16587            arg2: *mut u_int32_t,
16588            arg3: *mut u_int32_t,
16589        ) -> ::std::os::raw::c_int,
16590    >,
16591    pub get_metadata_dir: ::std::option::Option<
16592        unsafe extern "C" fn(
16593            arg1: *mut DB_ENV,
16594            arg2: *mut *const ::std::os::raw::c_char,
16595        ) -> ::std::os::raw::c_int,
16596    >,
16597    pub get_mp_max_openfd: ::std::option::Option<
16598        unsafe extern "C" fn(
16599            arg1: *mut DB_ENV,
16600            arg2: *mut ::std::os::raw::c_int,
16601        ) -> ::std::os::raw::c_int,
16602    >,
16603    pub get_mp_max_write: ::std::option::Option<
16604        unsafe extern "C" fn(
16605            arg1: *mut DB_ENV,
16606            arg2: *mut ::std::os::raw::c_int,
16607            arg3: *mut db_timeout_t,
16608        ) -> ::std::os::raw::c_int,
16609    >,
16610    pub get_mp_mmapsize: ::std::option::Option<
16611        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut usize) -> ::std::os::raw::c_int,
16612    >,
16613    pub get_mp_mtxcount: ::std::option::Option<
16614        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
16615    >,
16616    pub get_mp_pagesize: ::std::option::Option<
16617        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
16618    >,
16619    pub get_mp_tablesize: ::std::option::Option<
16620        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
16621    >,
16622    pub get_msgcall: ::std::option::Option<
16623        unsafe extern "C" fn(
16624            arg1: *mut DB_ENV,
16625            arg2: *mut ::std::option::Option<
16626                unsafe extern "C" fn(arg1: *const DB_ENV, arg2: *const ::std::os::raw::c_char),
16627            >,
16628        ),
16629    >,
16630    pub get_msgfile:
16631        ::std::option::Option<unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut *mut FILE)>,
16632    pub get_open_flags: ::std::option::Option<
16633        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
16634    >,
16635    pub get_shm_key: ::std::option::Option<
16636        unsafe extern "C" fn(
16637            arg1: *mut DB_ENV,
16638            arg2: *mut ::std::os::raw::c_long,
16639        ) -> ::std::os::raw::c_int,
16640    >,
16641    pub get_thread_count: ::std::option::Option<
16642        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
16643    >,
16644    pub get_thread_id_fn: ::std::option::Option<
16645        unsafe extern "C" fn(
16646            arg1: *mut DB_ENV,
16647            arg2: *mut ::std::option::Option<
16648                unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut pid_t, arg3: *mut db_threadid_t),
16649            >,
16650        ) -> ::std::os::raw::c_int,
16651    >,
16652    pub get_thread_id_string_fn: ::std::option::Option<
16653        unsafe extern "C" fn(
16654            arg1: *mut DB_ENV,
16655            arg2: *mut ::std::option::Option<
16656                unsafe extern "C" fn(
16657                    arg1: *mut DB_ENV,
16658                    arg2: pid_t,
16659                    arg3: db_threadid_t,
16660                    arg4: *mut ::std::os::raw::c_char,
16661                ) -> *mut ::std::os::raw::c_char,
16662            >,
16663        ) -> ::std::os::raw::c_int,
16664    >,
16665    pub get_timeout: ::std::option::Option<
16666        unsafe extern "C" fn(
16667            arg1: *mut DB_ENV,
16668            arg2: *mut db_timeout_t,
16669            arg3: u_int32_t,
16670        ) -> ::std::os::raw::c_int,
16671    >,
16672    pub get_tmp_dir: ::std::option::Option<
16673        unsafe extern "C" fn(
16674            arg1: *mut DB_ENV,
16675            arg2: *mut *const ::std::os::raw::c_char,
16676        ) -> ::std::os::raw::c_int,
16677    >,
16678    pub get_tx_max: ::std::option::Option<
16679        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
16680    >,
16681    pub get_tx_timestamp: ::std::option::Option<
16682        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut time_t) -> ::std::os::raw::c_int,
16683    >,
16684    pub get_verbose: ::std::option::Option<
16685        unsafe extern "C" fn(
16686            arg1: *mut DB_ENV,
16687            arg2: u_int32_t,
16688            arg3: *mut ::std::os::raw::c_int,
16689        ) -> ::std::os::raw::c_int,
16690    >,
16691    pub is_bigendian: ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>,
16692    pub lock_detect: ::std::option::Option<
16693        unsafe extern "C" fn(
16694            arg1: *mut DB_ENV,
16695            arg2: u_int32_t,
16696            arg3: u_int32_t,
16697            arg4: *mut ::std::os::raw::c_int,
16698        ) -> ::std::os::raw::c_int,
16699    >,
16700    pub lock_get: ::std::option::Option<
16701        unsafe extern "C" fn(
16702            arg1: *mut DB_ENV,
16703            arg2: u_int32_t,
16704            arg3: u_int32_t,
16705            arg4: *mut DBT,
16706            arg5: db_lockmode_t,
16707            arg6: *mut DB_LOCK,
16708        ) -> ::std::os::raw::c_int,
16709    >,
16710    pub lock_id: ::std::option::Option<
16711        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
16712    >,
16713    pub lock_id_free: ::std::option::Option<
16714        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
16715    >,
16716    pub lock_put: ::std::option::Option<
16717        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut DB_LOCK) -> ::std::os::raw::c_int,
16718    >,
16719    pub lock_stat: ::std::option::Option<
16720        unsafe extern "C" fn(
16721            arg1: *mut DB_ENV,
16722            arg2: *mut *mut DB_LOCK_STAT,
16723            arg3: u_int32_t,
16724        ) -> ::std::os::raw::c_int,
16725    >,
16726    pub lock_stat_print: ::std::option::Option<
16727        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
16728    >,
16729    pub lock_vec: ::std::option::Option<
16730        unsafe extern "C" fn(
16731            arg1: *mut DB_ENV,
16732            arg2: u_int32_t,
16733            arg3: u_int32_t,
16734            arg4: *mut DB_LOCKREQ,
16735            arg5: ::std::os::raw::c_int,
16736            arg6: *mut *mut DB_LOCKREQ,
16737        ) -> ::std::os::raw::c_int,
16738    >,
16739    pub log_archive: ::std::option::Option<
16740        unsafe extern "C" fn(
16741            arg1: *mut DB_ENV,
16742            arg2: *mut *mut *mut ::std::os::raw::c_char,
16743            arg3: u_int32_t,
16744        ) -> ::std::os::raw::c_int,
16745    >,
16746    pub log_cursor: ::std::option::Option<
16747        unsafe extern "C" fn(
16748            arg1: *mut DB_ENV,
16749            arg2: *mut *mut DB_LOGC,
16750            arg3: u_int32_t,
16751        ) -> ::std::os::raw::c_int,
16752    >,
16753    pub log_file: ::std::option::Option<
16754        unsafe extern "C" fn(
16755            arg1: *mut DB_ENV,
16756            arg2: *const DB_LSN,
16757            arg3: *mut ::std::os::raw::c_char,
16758            arg4: usize,
16759        ) -> ::std::os::raw::c_int,
16760    >,
16761    pub log_flush: ::std::option::Option<
16762        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *const DB_LSN) -> ::std::os::raw::c_int,
16763    >,
16764    pub log_get_config: ::std::option::Option<
16765        unsafe extern "C" fn(
16766            arg1: *mut DB_ENV,
16767            arg2: u_int32_t,
16768            arg3: *mut ::std::os::raw::c_int,
16769        ) -> ::std::os::raw::c_int,
16770    >,
16771    pub log_printf: ::std::option::Option<
16772        unsafe extern "C" fn(
16773            arg1: *mut DB_ENV,
16774            arg2: *mut DB_TXN,
16775            arg3: *const ::std::os::raw::c_char,
16776            ...
16777        ) -> ::std::os::raw::c_int,
16778    >,
16779    pub log_put: ::std::option::Option<
16780        unsafe extern "C" fn(
16781            arg1: *mut DB_ENV,
16782            arg2: *mut DB_LSN,
16783            arg3: *const DBT,
16784            arg4: u_int32_t,
16785        ) -> ::std::os::raw::c_int,
16786    >,
16787    pub log_put_record: ::std::option::Option<
16788        unsafe extern "C" fn(
16789            arg1: *mut DB_ENV,
16790            arg2: *mut DB,
16791            arg3: *mut DB_TXN,
16792            arg4: *mut DB_LSN,
16793            arg5: u_int32_t,
16794            arg6: u_int32_t,
16795            arg7: u_int32_t,
16796            arg8: u_int32_t,
16797            arg9: *mut DB_LOG_RECSPEC,
16798            ...
16799        ) -> ::std::os::raw::c_int,
16800    >,
16801    pub log_read_record: ::std::option::Option<
16802        unsafe extern "C" fn(
16803            arg1: *mut DB_ENV,
16804            arg2: *mut *mut DB,
16805            arg3: *mut ::std::os::raw::c_void,
16806            arg4: *mut ::std::os::raw::c_void,
16807            arg5: *mut DB_LOG_RECSPEC,
16808            arg6: u_int32_t,
16809            arg7: *mut *mut ::std::os::raw::c_void,
16810        ) -> ::std::os::raw::c_int,
16811    >,
16812    pub log_set_config: ::std::option::Option<
16813        unsafe extern "C" fn(
16814            arg1: *mut DB_ENV,
16815            arg2: u_int32_t,
16816            arg3: ::std::os::raw::c_int,
16817        ) -> ::std::os::raw::c_int,
16818    >,
16819    pub log_stat: ::std::option::Option<
16820        unsafe extern "C" fn(
16821            arg1: *mut DB_ENV,
16822            arg2: *mut *mut DB_LOG_STAT,
16823            arg3: u_int32_t,
16824        ) -> ::std::os::raw::c_int,
16825    >,
16826    pub log_stat_print: ::std::option::Option<
16827        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
16828    >,
16829    pub log_verify: ::std::option::Option<
16830        unsafe extern "C" fn(
16831            arg1: *mut DB_ENV,
16832            arg2: *const DB_LOG_VERIFY_CONFIG,
16833        ) -> ::std::os::raw::c_int,
16834    >,
16835    pub lsn_reset: ::std::option::Option<
16836        unsafe extern "C" fn(
16837            arg1: *mut DB_ENV,
16838            arg2: *const ::std::os::raw::c_char,
16839            arg3: u_int32_t,
16840        ) -> ::std::os::raw::c_int,
16841    >,
16842    pub memp_fcreate: ::std::option::Option<
16843        unsafe extern "C" fn(
16844            arg1: *mut DB_ENV,
16845            arg2: *mut *mut DB_MPOOLFILE,
16846            arg3: u_int32_t,
16847        ) -> ::std::os::raw::c_int,
16848    >,
16849    pub memp_register: ::std::option::Option<
16850        unsafe extern "C" fn(
16851            arg1: *mut DB_ENV,
16852            arg2: ::std::os::raw::c_int,
16853            arg3: ::std::option::Option<
16854                unsafe extern "C" fn(
16855                    arg1: *mut DB_ENV,
16856                    arg2: db_pgno_t,
16857                    arg3: *mut ::std::os::raw::c_void,
16858                    arg4: *mut DBT,
16859                ) -> ::std::os::raw::c_int,
16860            >,
16861            arg4: ::std::option::Option<
16862                unsafe extern "C" fn(
16863                    arg1: *mut DB_ENV,
16864                    arg2: db_pgno_t,
16865                    arg3: *mut ::std::os::raw::c_void,
16866                    arg4: *mut DBT,
16867                ) -> ::std::os::raw::c_int,
16868            >,
16869        ) -> ::std::os::raw::c_int,
16870    >,
16871    pub memp_stat: ::std::option::Option<
16872        unsafe extern "C" fn(
16873            arg1: *mut DB_ENV,
16874            arg2: *mut *mut DB_MPOOL_STAT,
16875            arg3: *mut *mut *mut DB_MPOOL_FSTAT,
16876            arg4: u_int32_t,
16877        ) -> ::std::os::raw::c_int,
16878    >,
16879    pub memp_stat_print: ::std::option::Option<
16880        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
16881    >,
16882    pub memp_sync: ::std::option::Option<
16883        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut DB_LSN) -> ::std::os::raw::c_int,
16884    >,
16885    pub memp_trickle: ::std::option::Option<
16886        unsafe extern "C" fn(
16887            arg1: *mut DB_ENV,
16888            arg2: ::std::os::raw::c_int,
16889            arg3: *mut ::std::os::raw::c_int,
16890        ) -> ::std::os::raw::c_int,
16891    >,
16892    pub mutex_alloc: ::std::option::Option<
16893        unsafe extern "C" fn(
16894            arg1: *mut DB_ENV,
16895            arg2: u_int32_t,
16896            arg3: *mut db_mutex_t,
16897        ) -> ::std::os::raw::c_int,
16898    >,
16899    pub mutex_free: ::std::option::Option<
16900        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: db_mutex_t) -> ::std::os::raw::c_int,
16901    >,
16902    pub mutex_get_align: ::std::option::Option<
16903        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
16904    >,
16905    pub mutex_get_increment: ::std::option::Option<
16906        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
16907    >,
16908    pub mutex_get_init: ::std::option::Option<
16909        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
16910    >,
16911    pub mutex_get_max: ::std::option::Option<
16912        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
16913    >,
16914    pub mutex_get_tas_spins: ::std::option::Option<
16915        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
16916    >,
16917    pub mutex_lock: ::std::option::Option<
16918        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: db_mutex_t) -> ::std::os::raw::c_int,
16919    >,
16920    pub mutex_set_align: ::std::option::Option<
16921        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
16922    >,
16923    pub mutex_set_increment: ::std::option::Option<
16924        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
16925    >,
16926    pub mutex_set_init: ::std::option::Option<
16927        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
16928    >,
16929    pub mutex_set_max: ::std::option::Option<
16930        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
16931    >,
16932    pub mutex_set_tas_spins: ::std::option::Option<
16933        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
16934    >,
16935    pub mutex_stat: ::std::option::Option<
16936        unsafe extern "C" fn(
16937            arg1: *mut DB_ENV,
16938            arg2: *mut *mut DB_MUTEX_STAT,
16939            arg3: u_int32_t,
16940        ) -> ::std::os::raw::c_int,
16941    >,
16942    pub mutex_stat_print: ::std::option::Option<
16943        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
16944    >,
16945    pub mutex_unlock: ::std::option::Option<
16946        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: db_mutex_t) -> ::std::os::raw::c_int,
16947    >,
16948    pub open: ::std::option::Option<
16949        unsafe extern "C" fn(
16950            arg1: *mut DB_ENV,
16951            arg2: *const ::std::os::raw::c_char,
16952            arg3: u_int32_t,
16953            arg4: ::std::os::raw::c_int,
16954        ) -> ::std::os::raw::c_int,
16955    >,
16956    pub remove: ::std::option::Option<
16957        unsafe extern "C" fn(
16958            arg1: *mut DB_ENV,
16959            arg2: *const ::std::os::raw::c_char,
16960            arg3: u_int32_t,
16961        ) -> ::std::os::raw::c_int,
16962    >,
16963    pub rep_elect: ::std::option::Option<
16964        unsafe extern "C" fn(
16965            arg1: *mut DB_ENV,
16966            arg2: u_int32_t,
16967            arg3: u_int32_t,
16968            arg4: u_int32_t,
16969        ) -> ::std::os::raw::c_int,
16970    >,
16971    pub rep_flush:
16972        ::std::option::Option<unsafe extern "C" fn(arg1: *mut DB_ENV) -> ::std::os::raw::c_int>,
16973    pub rep_get_clockskew: ::std::option::Option<
16974        unsafe extern "C" fn(
16975            arg1: *mut DB_ENV,
16976            arg2: *mut u_int32_t,
16977            arg3: *mut u_int32_t,
16978        ) -> ::std::os::raw::c_int,
16979    >,
16980    pub rep_get_config: ::std::option::Option<
16981        unsafe extern "C" fn(
16982            arg1: *mut DB_ENV,
16983            arg2: u_int32_t,
16984            arg3: *mut ::std::os::raw::c_int,
16985        ) -> ::std::os::raw::c_int,
16986    >,
16987    pub rep_get_limit: ::std::option::Option<
16988        unsafe extern "C" fn(
16989            arg1: *mut DB_ENV,
16990            arg2: *mut u_int32_t,
16991            arg3: *mut u_int32_t,
16992        ) -> ::std::os::raw::c_int,
16993    >,
16994    pub rep_get_nsites: ::std::option::Option<
16995        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
16996    >,
16997    pub rep_get_priority: ::std::option::Option<
16998        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut u_int32_t) -> ::std::os::raw::c_int,
16999    >,
17000    pub rep_get_request: ::std::option::Option<
17001        unsafe extern "C" fn(
17002            arg1: *mut DB_ENV,
17003            arg2: *mut u_int32_t,
17004            arg3: *mut u_int32_t,
17005        ) -> ::std::os::raw::c_int,
17006    >,
17007    pub rep_get_timeout: ::std::option::Option<
17008        unsafe extern "C" fn(
17009            arg1: *mut DB_ENV,
17010            arg2: ::std::os::raw::c_int,
17011            arg3: *mut u_int32_t,
17012        ) -> ::std::os::raw::c_int,
17013    >,
17014    pub rep_process_message: ::std::option::Option<
17015        unsafe extern "C" fn(
17016            arg1: *mut DB_ENV,
17017            arg2: *mut DBT,
17018            arg3: *mut DBT,
17019            arg4: ::std::os::raw::c_int,
17020            arg5: *mut DB_LSN,
17021        ) -> ::std::os::raw::c_int,
17022    >,
17023    pub rep_set_clockskew: ::std::option::Option<
17024        unsafe extern "C" fn(
17025            arg1: *mut DB_ENV,
17026            arg2: u_int32_t,
17027            arg3: u_int32_t,
17028        ) -> ::std::os::raw::c_int,
17029    >,
17030    pub rep_set_config: ::std::option::Option<
17031        unsafe extern "C" fn(
17032            arg1: *mut DB_ENV,
17033            arg2: u_int32_t,
17034            arg3: ::std::os::raw::c_int,
17035        ) -> ::std::os::raw::c_int,
17036    >,
17037    pub rep_set_limit: ::std::option::Option<
17038        unsafe extern "C" fn(
17039            arg1: *mut DB_ENV,
17040            arg2: u_int32_t,
17041            arg3: u_int32_t,
17042        ) -> ::std::os::raw::c_int,
17043    >,
17044    pub rep_set_nsites: ::std::option::Option<
17045        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
17046    >,
17047    pub rep_set_priority: ::std::option::Option<
17048        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
17049    >,
17050    pub rep_set_request: ::std::option::Option<
17051        unsafe extern "C" fn(
17052            arg1: *mut DB_ENV,
17053            arg2: u_int32_t,
17054            arg3: u_int32_t,
17055        ) -> ::std::os::raw::c_int,
17056    >,
17057    pub rep_set_timeout: ::std::option::Option<
17058        unsafe extern "C" fn(
17059            arg1: *mut DB_ENV,
17060            arg2: ::std::os::raw::c_int,
17061            arg3: db_timeout_t,
17062        ) -> ::std::os::raw::c_int,
17063    >,
17064    pub rep_set_transport: ::std::option::Option<
17065        unsafe extern "C" fn(
17066            arg1: *mut DB_ENV,
17067            arg2: ::std::os::raw::c_int,
17068            arg3: ::std::option::Option<
17069                unsafe extern "C" fn(
17070                    arg1: *mut DB_ENV,
17071                    arg2: *const DBT,
17072                    arg3: *const DBT,
17073                    arg4: *const DB_LSN,
17074                    arg5: ::std::os::raw::c_int,
17075                    arg6: u_int32_t,
17076                ) -> ::std::os::raw::c_int,
17077            >,
17078        ) -> ::std::os::raw::c_int,
17079    >,
17080    pub rep_start: ::std::option::Option<
17081        unsafe extern "C" fn(
17082            arg1: *mut DB_ENV,
17083            arg2: *mut DBT,
17084            arg3: u_int32_t,
17085        ) -> ::std::os::raw::c_int,
17086    >,
17087    pub rep_stat: ::std::option::Option<
17088        unsafe extern "C" fn(
17089            arg1: *mut DB_ENV,
17090            arg2: *mut *mut DB_REP_STAT,
17091            arg3: u_int32_t,
17092        ) -> ::std::os::raw::c_int,
17093    >,
17094    pub rep_stat_print: ::std::option::Option<
17095        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
17096    >,
17097    pub rep_sync: ::std::option::Option<
17098        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
17099    >,
17100    pub repmgr_channel: ::std::option::Option<
17101        unsafe extern "C" fn(
17102            arg1: *mut DB_ENV,
17103            arg2: ::std::os::raw::c_int,
17104            arg3: *mut *mut DB_CHANNEL,
17105            arg4: u_int32_t,
17106        ) -> ::std::os::raw::c_int,
17107    >,
17108    pub repmgr_get_ack_policy: ::std::option::Option<
17109        unsafe extern "C" fn(
17110            arg1: *mut DB_ENV,
17111            arg2: *mut ::std::os::raw::c_int,
17112        ) -> ::std::os::raw::c_int,
17113    >,
17114    pub repmgr_local_site: ::std::option::Option<
17115        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut *mut DB_SITE) -> ::std::os::raw::c_int,
17116    >,
17117    pub repmgr_msg_dispatch: ::std::option::Option<
17118        unsafe extern "C" fn(
17119            arg1: *mut DB_ENV,
17120            arg2: ::std::option::Option<
17121                unsafe extern "C" fn(
17122                    arg1: *mut DB_ENV,
17123                    arg2: *mut DB_CHANNEL,
17124                    arg3: *mut DBT,
17125                    arg4: u_int32_t,
17126                    arg5: u_int32_t,
17127                ),
17128            >,
17129            arg3: u_int32_t,
17130        ) -> ::std::os::raw::c_int,
17131    >,
17132    pub repmgr_set_ack_policy: ::std::option::Option<
17133        unsafe extern "C" fn(
17134            arg1: *mut DB_ENV,
17135            arg2: ::std::os::raw::c_int,
17136        ) -> ::std::os::raw::c_int,
17137    >,
17138    pub repmgr_site: ::std::option::Option<
17139        unsafe extern "C" fn(
17140            arg1: *mut DB_ENV,
17141            arg2: *const ::std::os::raw::c_char,
17142            arg3: u_int,
17143            arg4: *mut *mut DB_SITE,
17144            arg5: u_int32_t,
17145        ) -> ::std::os::raw::c_int,
17146    >,
17147    pub repmgr_site_by_eid: ::std::option::Option<
17148        unsafe extern "C" fn(
17149            arg1: *mut DB_ENV,
17150            arg2: ::std::os::raw::c_int,
17151            arg3: *mut *mut DB_SITE,
17152        ) -> ::std::os::raw::c_int,
17153    >,
17154    pub repmgr_site_list: ::std::option::Option<
17155        unsafe extern "C" fn(
17156            arg1: *mut DB_ENV,
17157            arg2: *mut u_int,
17158            arg3: *mut *mut DB_REPMGR_SITE,
17159        ) -> ::std::os::raw::c_int,
17160    >,
17161    pub repmgr_start: ::std::option::Option<
17162        unsafe extern "C" fn(
17163            arg1: *mut DB_ENV,
17164            arg2: ::std::os::raw::c_int,
17165            arg3: u_int32_t,
17166        ) -> ::std::os::raw::c_int,
17167    >,
17168    pub repmgr_stat: ::std::option::Option<
17169        unsafe extern "C" fn(
17170            arg1: *mut DB_ENV,
17171            arg2: *mut *mut DB_REPMGR_STAT,
17172            arg3: u_int32_t,
17173        ) -> ::std::os::raw::c_int,
17174    >,
17175    pub repmgr_stat_print: ::std::option::Option<
17176        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
17177    >,
17178    pub set_alloc: ::std::option::Option<
17179        unsafe extern "C" fn(
17180            arg1: *mut DB_ENV,
17181            arg2: ::std::option::Option<
17182                unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void,
17183            >,
17184            arg3: ::std::option::Option<
17185                unsafe extern "C" fn(
17186                    arg1: *mut ::std::os::raw::c_void,
17187                    arg2: usize,
17188                ) -> *mut ::std::os::raw::c_void,
17189            >,
17190            arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
17191        ) -> ::std::os::raw::c_int,
17192    >,
17193    pub set_app_dispatch: ::std::option::Option<
17194        unsafe extern "C" fn(
17195            arg1: *mut DB_ENV,
17196            arg2: ::std::option::Option<
17197                unsafe extern "C" fn(
17198                    arg1: *mut DB_ENV,
17199                    arg2: *mut DBT,
17200                    arg3: *mut DB_LSN,
17201                    arg4: db_recops,
17202                ) -> ::std::os::raw::c_int,
17203            >,
17204        ) -> ::std::os::raw::c_int,
17205    >,
17206    pub set_cache_max: ::std::option::Option<
17207        unsafe extern "C" fn(
17208            arg1: *mut DB_ENV,
17209            arg2: u_int32_t,
17210            arg3: u_int32_t,
17211        ) -> ::std::os::raw::c_int,
17212    >,
17213    pub set_cachesize: ::std::option::Option<
17214        unsafe extern "C" fn(
17215            arg1: *mut DB_ENV,
17216            arg2: u_int32_t,
17217            arg3: u_int32_t,
17218            arg4: ::std::os::raw::c_int,
17219        ) -> ::std::os::raw::c_int,
17220    >,
17221    pub set_create_dir: ::std::option::Option<
17222        unsafe extern "C" fn(
17223            arg1: *mut DB_ENV,
17224            arg2: *const ::std::os::raw::c_char,
17225        ) -> ::std::os::raw::c_int,
17226    >,
17227    pub set_data_dir: ::std::option::Option<
17228        unsafe extern "C" fn(
17229            arg1: *mut DB_ENV,
17230            arg2: *const ::std::os::raw::c_char,
17231        ) -> ::std::os::raw::c_int,
17232    >,
17233    pub set_data_len: ::std::option::Option<
17234        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
17235    >,
17236    pub set_backup_callbacks: ::std::option::Option<
17237        unsafe extern "C" fn(
17238            arg1: *mut DB_ENV,
17239            arg2: ::std::option::Option<
17240                unsafe extern "C" fn(
17241                    arg1: *mut DB_ENV,
17242                    arg2: *const ::std::os::raw::c_char,
17243                    arg3: *const ::std::os::raw::c_char,
17244                    arg4: *mut *mut ::std::os::raw::c_void,
17245                ) -> ::std::os::raw::c_int,
17246            >,
17247            arg3: ::std::option::Option<
17248                unsafe extern "C" fn(
17249                    arg1: *mut DB_ENV,
17250                    arg2: u_int32_t,
17251                    arg3: u_int32_t,
17252                    arg4: u_int32_t,
17253                    arg5: *mut u_int8_t,
17254                    arg6: *mut ::std::os::raw::c_void,
17255                ) -> ::std::os::raw::c_int,
17256            >,
17257            arg4: ::std::option::Option<
17258                unsafe extern "C" fn(
17259                    arg1: *mut DB_ENV,
17260                    arg2: *const ::std::os::raw::c_char,
17261                    arg3: *mut ::std::os::raw::c_void,
17262                ) -> ::std::os::raw::c_int,
17263            >,
17264        ) -> ::std::os::raw::c_int,
17265    >,
17266    pub set_backup_config: ::std::option::Option<
17267        unsafe extern "C" fn(
17268            arg1: *mut DB_ENV,
17269            arg2: DB_BACKUP_CONFIG,
17270            arg3: u_int32_t,
17271        ) -> ::std::os::raw::c_int,
17272    >,
17273    pub set_encrypt: ::std::option::Option<
17274        unsafe extern "C" fn(
17275            arg1: *mut DB_ENV,
17276            arg2: *const ::std::os::raw::c_char,
17277            arg3: u_int32_t,
17278        ) -> ::std::os::raw::c_int,
17279    >,
17280    pub set_errcall: ::std::option::Option<
17281        unsafe extern "C" fn(
17282            arg1: *mut DB_ENV,
17283            arg2: ::std::option::Option<
17284                unsafe extern "C" fn(
17285                    arg1: *const DB_ENV,
17286                    arg2: *const ::std::os::raw::c_char,
17287                    arg3: *const ::std::os::raw::c_char,
17288                ),
17289            >,
17290        ),
17291    >,
17292    pub set_errfile:
17293        ::std::option::Option<unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut FILE)>,
17294    pub set_errpfx: ::std::option::Option<
17295        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *const ::std::os::raw::c_char),
17296    >,
17297    pub set_event_notify: ::std::option::Option<
17298        unsafe extern "C" fn(
17299            arg1: *mut DB_ENV,
17300            arg2: ::std::option::Option<
17301                unsafe extern "C" fn(
17302                    arg1: *mut DB_ENV,
17303                    arg2: u_int32_t,
17304                    arg3: *mut ::std::os::raw::c_void,
17305                ),
17306            >,
17307        ) -> ::std::os::raw::c_int,
17308    >,
17309    pub set_feedback: ::std::option::Option<
17310        unsafe extern "C" fn(
17311            arg1: *mut DB_ENV,
17312            arg2: ::std::option::Option<
17313                unsafe extern "C" fn(
17314                    arg1: *mut DB_ENV,
17315                    arg2: ::std::os::raw::c_int,
17316                    arg3: ::std::os::raw::c_int,
17317                ),
17318            >,
17319        ) -> ::std::os::raw::c_int,
17320    >,
17321    pub set_flags: ::std::option::Option<
17322        unsafe extern "C" fn(
17323            arg1: *mut DB_ENV,
17324            arg2: u_int32_t,
17325            arg3: ::std::os::raw::c_int,
17326        ) -> ::std::os::raw::c_int,
17327    >,
17328    pub set_intermediate_dir_mode: ::std::option::Option<
17329        unsafe extern "C" fn(
17330            arg1: *mut DB_ENV,
17331            arg2: *const ::std::os::raw::c_char,
17332        ) -> ::std::os::raw::c_int,
17333    >,
17334    pub set_isalive: ::std::option::Option<
17335        unsafe extern "C" fn(
17336            arg1: *mut DB_ENV,
17337            arg2: ::std::option::Option<
17338                unsafe extern "C" fn(
17339                    arg1: *mut DB_ENV,
17340                    arg2: pid_t,
17341                    arg3: db_threadid_t,
17342                    arg4: u_int32_t,
17343                ) -> ::std::os::raw::c_int,
17344            >,
17345        ) -> ::std::os::raw::c_int,
17346    >,
17347    pub set_lg_bsize: ::std::option::Option<
17348        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
17349    >,
17350    pub set_lg_dir: ::std::option::Option<
17351        unsafe extern "C" fn(
17352            arg1: *mut DB_ENV,
17353            arg2: *const ::std::os::raw::c_char,
17354        ) -> ::std::os::raw::c_int,
17355    >,
17356    pub set_lg_filemode: ::std::option::Option<
17357        unsafe extern "C" fn(
17358            arg1: *mut DB_ENV,
17359            arg2: ::std::os::raw::c_int,
17360        ) -> ::std::os::raw::c_int,
17361    >,
17362    pub set_lg_max: ::std::option::Option<
17363        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
17364    >,
17365    pub set_lg_regionmax: ::std::option::Option<
17366        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
17367    >,
17368    pub set_lk_conflicts: ::std::option::Option<
17369        unsafe extern "C" fn(
17370            arg1: *mut DB_ENV,
17371            arg2: *mut u_int8_t,
17372            arg3: ::std::os::raw::c_int,
17373        ) -> ::std::os::raw::c_int,
17374    >,
17375    pub set_lk_detect: ::std::option::Option<
17376        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
17377    >,
17378    pub set_lk_max_lockers: ::std::option::Option<
17379        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
17380    >,
17381    pub set_lk_max_locks: ::std::option::Option<
17382        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
17383    >,
17384    pub set_lk_max_objects: ::std::option::Option<
17385        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
17386    >,
17387    pub set_lk_partitions: ::std::option::Option<
17388        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
17389    >,
17390    pub set_lk_priority: ::std::option::Option<
17391        unsafe extern "C" fn(
17392            arg1: *mut DB_ENV,
17393            arg2: u_int32_t,
17394            arg3: u_int32_t,
17395        ) -> ::std::os::raw::c_int,
17396    >,
17397    pub set_lk_tablesize: ::std::option::Option<
17398        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
17399    >,
17400    pub set_memory_init: ::std::option::Option<
17401        unsafe extern "C" fn(
17402            arg1: *mut DB_ENV,
17403            arg2: DB_MEM_CONFIG,
17404            arg3: u_int32_t,
17405        ) -> ::std::os::raw::c_int,
17406    >,
17407    pub set_memory_max: ::std::option::Option<
17408        unsafe extern "C" fn(
17409            arg1: *mut DB_ENV,
17410            arg2: u_int32_t,
17411            arg3: u_int32_t,
17412        ) -> ::std::os::raw::c_int,
17413    >,
17414    pub set_metadata_dir: ::std::option::Option<
17415        unsafe extern "C" fn(
17416            arg1: *mut DB_ENV,
17417            arg2: *const ::std::os::raw::c_char,
17418        ) -> ::std::os::raw::c_int,
17419    >,
17420    pub set_mp_max_openfd: ::std::option::Option<
17421        unsafe extern "C" fn(
17422            arg1: *mut DB_ENV,
17423            arg2: ::std::os::raw::c_int,
17424        ) -> ::std::os::raw::c_int,
17425    >,
17426    pub set_mp_max_write: ::std::option::Option<
17427        unsafe extern "C" fn(
17428            arg1: *mut DB_ENV,
17429            arg2: ::std::os::raw::c_int,
17430            arg3: db_timeout_t,
17431        ) -> ::std::os::raw::c_int,
17432    >,
17433    pub set_mp_mmapsize: ::std::option::Option<
17434        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: usize) -> ::std::os::raw::c_int,
17435    >,
17436    pub set_mp_mtxcount: ::std::option::Option<
17437        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
17438    >,
17439    pub set_mp_pagesize: ::std::option::Option<
17440        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
17441    >,
17442    pub set_mp_tablesize: ::std::option::Option<
17443        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
17444    >,
17445    pub set_msgcall: ::std::option::Option<
17446        unsafe extern "C" fn(
17447            arg1: *mut DB_ENV,
17448            arg2: ::std::option::Option<
17449                unsafe extern "C" fn(arg1: *const DB_ENV, arg2: *const ::std::os::raw::c_char),
17450            >,
17451        ),
17452    >,
17453    pub set_msgfile:
17454        ::std::option::Option<unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut FILE)>,
17455    pub set_paniccall: ::std::option::Option<
17456        unsafe extern "C" fn(
17457            arg1: *mut DB_ENV,
17458            arg2: ::std::option::Option<
17459                unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: ::std::os::raw::c_int),
17460            >,
17461        ) -> ::std::os::raw::c_int,
17462    >,
17463    pub set_shm_key: ::std::option::Option<
17464        unsafe extern "C" fn(
17465            arg1: *mut DB_ENV,
17466            arg2: ::std::os::raw::c_long,
17467        ) -> ::std::os::raw::c_int,
17468    >,
17469    pub set_thread_count: ::std::option::Option<
17470        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
17471    >,
17472    pub set_thread_id: ::std::option::Option<
17473        unsafe extern "C" fn(
17474            arg1: *mut DB_ENV,
17475            arg2: ::std::option::Option<
17476                unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut pid_t, arg3: *mut db_threadid_t),
17477            >,
17478        ) -> ::std::os::raw::c_int,
17479    >,
17480    pub set_thread_id_string: ::std::option::Option<
17481        unsafe extern "C" fn(
17482            arg1: *mut DB_ENV,
17483            arg2: ::std::option::Option<
17484                unsafe extern "C" fn(
17485                    arg1: *mut DB_ENV,
17486                    arg2: pid_t,
17487                    arg3: db_threadid_t,
17488                    arg4: *mut ::std::os::raw::c_char,
17489                ) -> *mut ::std::os::raw::c_char,
17490            >,
17491        ) -> ::std::os::raw::c_int,
17492    >,
17493    pub set_timeout: ::std::option::Option<
17494        unsafe extern "C" fn(
17495            arg1: *mut DB_ENV,
17496            arg2: db_timeout_t,
17497            arg3: u_int32_t,
17498        ) -> ::std::os::raw::c_int,
17499    >,
17500    pub set_tmp_dir: ::std::option::Option<
17501        unsafe extern "C" fn(
17502            arg1: *mut DB_ENV,
17503            arg2: *const ::std::os::raw::c_char,
17504        ) -> ::std::os::raw::c_int,
17505    >,
17506    pub set_tx_max: ::std::option::Option<
17507        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
17508    >,
17509    pub set_tx_timestamp: ::std::option::Option<
17510        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: *mut time_t) -> ::std::os::raw::c_int,
17511    >,
17512    pub set_verbose: ::std::option::Option<
17513        unsafe extern "C" fn(
17514            arg1: *mut DB_ENV,
17515            arg2: u_int32_t,
17516            arg3: ::std::os::raw::c_int,
17517        ) -> ::std::os::raw::c_int,
17518    >,
17519    pub txn_applied: ::std::option::Option<
17520        unsafe extern "C" fn(
17521            arg1: *mut DB_ENV,
17522            arg2: *mut DB_TXN_TOKEN,
17523            arg3: db_timeout_t,
17524            arg4: u_int32_t,
17525        ) -> ::std::os::raw::c_int,
17526    >,
17527    pub stat_print: ::std::option::Option<
17528        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
17529    >,
17530    pub txn_begin: ::std::option::Option<
17531        unsafe extern "C" fn(
17532            arg1: *mut DB_ENV,
17533            arg2: *mut DB_TXN,
17534            arg3: *mut *mut DB_TXN,
17535            arg4: u_int32_t,
17536        ) -> ::std::os::raw::c_int,
17537    >,
17538    pub txn_checkpoint: ::std::option::Option<
17539        unsafe extern "C" fn(
17540            arg1: *mut DB_ENV,
17541            arg2: u_int32_t,
17542            arg3: u_int32_t,
17543            arg4: u_int32_t,
17544        ) -> ::std::os::raw::c_int,
17545    >,
17546    pub txn_recover: ::std::option::Option<
17547        unsafe extern "C" fn(
17548            arg1: *mut DB_ENV,
17549            arg2: *mut DB_PREPLIST,
17550            arg3: ::std::os::raw::c_long,
17551            arg4: *mut ::std::os::raw::c_long,
17552            arg5: u_int32_t,
17553        ) -> ::std::os::raw::c_int,
17554    >,
17555    pub txn_stat: ::std::option::Option<
17556        unsafe extern "C" fn(
17557            arg1: *mut DB_ENV,
17558            arg2: *mut *mut DB_TXN_STAT,
17559            arg3: u_int32_t,
17560        ) -> ::std::os::raw::c_int,
17561    >,
17562    pub txn_stat_print: ::std::option::Option<
17563        unsafe extern "C" fn(arg1: *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int,
17564    >,
17565    pub prdbt: ::std::option::Option<
17566        unsafe extern "C" fn(
17567            arg1: *mut DBT,
17568            arg2: ::std::os::raw::c_int,
17569            arg3: *const ::std::os::raw::c_char,
17570            arg4: *mut ::std::os::raw::c_void,
17571            arg5: ::std::option::Option<
17572                unsafe extern "C" fn(
17573                    arg1: *mut ::std::os::raw::c_void,
17574                    arg2: *const ::std::os::raw::c_void,
17575                ) -> ::std::os::raw::c_int,
17576            >,
17577            arg6: ::std::os::raw::c_int,
17578            arg7: ::std::os::raw::c_int,
17579        ) -> ::std::os::raw::c_int,
17580    >,
17581}
17582#[test]
17583fn bindgen_test_layout___db_env() {
17584    assert_eq!(
17585        ::std::mem::size_of::<__db_env>(),
17586        2088usize,
17587        concat!("Size of: ", stringify!(__db_env))
17588    );
17589    assert_eq!(
17590        ::std::mem::align_of::<__db_env>(),
17591        8usize,
17592        concat!("Alignment of ", stringify!(__db_env))
17593    );
17594    assert_eq!(
17595        unsafe { &(*(::std::ptr::null::<__db_env>())).env as *const _ as usize },
17596        0usize,
17597        concat!(
17598            "Offset of field: ",
17599            stringify!(__db_env),
17600            "::",
17601            stringify!(env)
17602        )
17603    );
17604    assert_eq!(
17605        unsafe { &(*(::std::ptr::null::<__db_env>())).mtx_db_env as *const _ as usize },
17606        8usize,
17607        concat!(
17608            "Offset of field: ",
17609            stringify!(__db_env),
17610            "::",
17611            stringify!(mtx_db_env)
17612        )
17613    );
17614    assert_eq!(
17615        unsafe { &(*(::std::ptr::null::<__db_env>())).db_errcall as *const _ as usize },
17616        16usize,
17617        concat!(
17618            "Offset of field: ",
17619            stringify!(__db_env),
17620            "::",
17621            stringify!(db_errcall)
17622        )
17623    );
17624    assert_eq!(
17625        unsafe { &(*(::std::ptr::null::<__db_env>())).db_errfile as *const _ as usize },
17626        24usize,
17627        concat!(
17628            "Offset of field: ",
17629            stringify!(__db_env),
17630            "::",
17631            stringify!(db_errfile)
17632        )
17633    );
17634    assert_eq!(
17635        unsafe { &(*(::std::ptr::null::<__db_env>())).db_errpfx as *const _ as usize },
17636        32usize,
17637        concat!(
17638            "Offset of field: ",
17639            stringify!(__db_env),
17640            "::",
17641            stringify!(db_errpfx)
17642        )
17643    );
17644    assert_eq!(
17645        unsafe { &(*(::std::ptr::null::<__db_env>())).db_msgcall as *const _ as usize },
17646        40usize,
17647        concat!(
17648            "Offset of field: ",
17649            stringify!(__db_env),
17650            "::",
17651            stringify!(db_msgcall)
17652        )
17653    );
17654    assert_eq!(
17655        unsafe { &(*(::std::ptr::null::<__db_env>())).db_msgfile as *const _ as usize },
17656        48usize,
17657        concat!(
17658            "Offset of field: ",
17659            stringify!(__db_env),
17660            "::",
17661            stringify!(db_msgfile)
17662        )
17663    );
17664    assert_eq!(
17665        unsafe { &(*(::std::ptr::null::<__db_env>())).app_dispatch as *const _ as usize },
17666        56usize,
17667        concat!(
17668            "Offset of field: ",
17669            stringify!(__db_env),
17670            "::",
17671            stringify!(app_dispatch)
17672        )
17673    );
17674    assert_eq!(
17675        unsafe { &(*(::std::ptr::null::<__db_env>())).db_event_func as *const _ as usize },
17676        64usize,
17677        concat!(
17678            "Offset of field: ",
17679            stringify!(__db_env),
17680            "::",
17681            stringify!(db_event_func)
17682        )
17683    );
17684    assert_eq!(
17685        unsafe { &(*(::std::ptr::null::<__db_env>())).db_feedback as *const _ as usize },
17686        72usize,
17687        concat!(
17688            "Offset of field: ",
17689            stringify!(__db_env),
17690            "::",
17691            stringify!(db_feedback)
17692        )
17693    );
17694    assert_eq!(
17695        unsafe { &(*(::std::ptr::null::<__db_env>())).db_free as *const _ as usize },
17696        80usize,
17697        concat!(
17698            "Offset of field: ",
17699            stringify!(__db_env),
17700            "::",
17701            stringify!(db_free)
17702        )
17703    );
17704    assert_eq!(
17705        unsafe { &(*(::std::ptr::null::<__db_env>())).db_paniccall as *const _ as usize },
17706        88usize,
17707        concat!(
17708            "Offset of field: ",
17709            stringify!(__db_env),
17710            "::",
17711            stringify!(db_paniccall)
17712        )
17713    );
17714    assert_eq!(
17715        unsafe { &(*(::std::ptr::null::<__db_env>())).db_malloc as *const _ as usize },
17716        96usize,
17717        concat!(
17718            "Offset of field: ",
17719            stringify!(__db_env),
17720            "::",
17721            stringify!(db_malloc)
17722        )
17723    );
17724    assert_eq!(
17725        unsafe { &(*(::std::ptr::null::<__db_env>())).db_realloc as *const _ as usize },
17726        104usize,
17727        concat!(
17728            "Offset of field: ",
17729            stringify!(__db_env),
17730            "::",
17731            stringify!(db_realloc)
17732        )
17733    );
17734    assert_eq!(
17735        unsafe { &(*(::std::ptr::null::<__db_env>())).is_alive as *const _ as usize },
17736        112usize,
17737        concat!(
17738            "Offset of field: ",
17739            stringify!(__db_env),
17740            "::",
17741            stringify!(is_alive)
17742        )
17743    );
17744    assert_eq!(
17745        unsafe { &(*(::std::ptr::null::<__db_env>())).thread_id as *const _ as usize },
17746        120usize,
17747        concat!(
17748            "Offset of field: ",
17749            stringify!(__db_env),
17750            "::",
17751            stringify!(thread_id)
17752        )
17753    );
17754    assert_eq!(
17755        unsafe { &(*(::std::ptr::null::<__db_env>())).thread_id_string as *const _ as usize },
17756        128usize,
17757        concat!(
17758            "Offset of field: ",
17759            stringify!(__db_env),
17760            "::",
17761            stringify!(thread_id_string)
17762        )
17763    );
17764    assert_eq!(
17765        unsafe { &(*(::std::ptr::null::<__db_env>())).db_log_dir as *const _ as usize },
17766        136usize,
17767        concat!(
17768            "Offset of field: ",
17769            stringify!(__db_env),
17770            "::",
17771            stringify!(db_log_dir)
17772        )
17773    );
17774    assert_eq!(
17775        unsafe { &(*(::std::ptr::null::<__db_env>())).db_md_dir as *const _ as usize },
17776        144usize,
17777        concat!(
17778            "Offset of field: ",
17779            stringify!(__db_env),
17780            "::",
17781            stringify!(db_md_dir)
17782        )
17783    );
17784    assert_eq!(
17785        unsafe { &(*(::std::ptr::null::<__db_env>())).db_tmp_dir as *const _ as usize },
17786        152usize,
17787        concat!(
17788            "Offset of field: ",
17789            stringify!(__db_env),
17790            "::",
17791            stringify!(db_tmp_dir)
17792        )
17793    );
17794    assert_eq!(
17795        unsafe { &(*(::std::ptr::null::<__db_env>())).db_create_dir as *const _ as usize },
17796        160usize,
17797        concat!(
17798            "Offset of field: ",
17799            stringify!(__db_env),
17800            "::",
17801            stringify!(db_create_dir)
17802        )
17803    );
17804    assert_eq!(
17805        unsafe { &(*(::std::ptr::null::<__db_env>())).db_data_dir as *const _ as usize },
17806        168usize,
17807        concat!(
17808            "Offset of field: ",
17809            stringify!(__db_env),
17810            "::",
17811            stringify!(db_data_dir)
17812        )
17813    );
17814    assert_eq!(
17815        unsafe { &(*(::std::ptr::null::<__db_env>())).data_cnt as *const _ as usize },
17816        176usize,
17817        concat!(
17818            "Offset of field: ",
17819            stringify!(__db_env),
17820            "::",
17821            stringify!(data_cnt)
17822        )
17823    );
17824    assert_eq!(
17825        unsafe { &(*(::std::ptr::null::<__db_env>())).data_next as *const _ as usize },
17826        180usize,
17827        concat!(
17828            "Offset of field: ",
17829            stringify!(__db_env),
17830            "::",
17831            stringify!(data_next)
17832        )
17833    );
17834    assert_eq!(
17835        unsafe { &(*(::std::ptr::null::<__db_env>())).intermediate_dir_mode as *const _ as usize },
17836        184usize,
17837        concat!(
17838            "Offset of field: ",
17839            stringify!(__db_env),
17840            "::",
17841            stringify!(intermediate_dir_mode)
17842        )
17843    );
17844    assert_eq!(
17845        unsafe { &(*(::std::ptr::null::<__db_env>())).shm_key as *const _ as usize },
17846        192usize,
17847        concat!(
17848            "Offset of field: ",
17849            stringify!(__db_env),
17850            "::",
17851            stringify!(shm_key)
17852        )
17853    );
17854    assert_eq!(
17855        unsafe { &(*(::std::ptr::null::<__db_env>())).passwd as *const _ as usize },
17856        200usize,
17857        concat!(
17858            "Offset of field: ",
17859            stringify!(__db_env),
17860            "::",
17861            stringify!(passwd)
17862        )
17863    );
17864    assert_eq!(
17865        unsafe { &(*(::std::ptr::null::<__db_env>())).passwd_len as *const _ as usize },
17866        208usize,
17867        concat!(
17868            "Offset of field: ",
17869            stringify!(__db_env),
17870            "::",
17871            stringify!(passwd_len)
17872        )
17873    );
17874    assert_eq!(
17875        unsafe { &(*(::std::ptr::null::<__db_env>())).app_private as *const _ as usize },
17876        216usize,
17877        concat!(
17878            "Offset of field: ",
17879            stringify!(__db_env),
17880            "::",
17881            stringify!(app_private)
17882        )
17883    );
17884    assert_eq!(
17885        unsafe { &(*(::std::ptr::null::<__db_env>())).api1_internal as *const _ as usize },
17886        224usize,
17887        concat!(
17888            "Offset of field: ",
17889            stringify!(__db_env),
17890            "::",
17891            stringify!(api1_internal)
17892        )
17893    );
17894    assert_eq!(
17895        unsafe { &(*(::std::ptr::null::<__db_env>())).api2_internal as *const _ as usize },
17896        232usize,
17897        concat!(
17898            "Offset of field: ",
17899            stringify!(__db_env),
17900            "::",
17901            stringify!(api2_internal)
17902        )
17903    );
17904    assert_eq!(
17905        unsafe { &(*(::std::ptr::null::<__db_env>())).verbose as *const _ as usize },
17906        240usize,
17907        concat!(
17908            "Offset of field: ",
17909            stringify!(__db_env),
17910            "::",
17911            stringify!(verbose)
17912        )
17913    );
17914    assert_eq!(
17915        unsafe { &(*(::std::ptr::null::<__db_env>())).mutex_align as *const _ as usize },
17916        244usize,
17917        concat!(
17918            "Offset of field: ",
17919            stringify!(__db_env),
17920            "::",
17921            stringify!(mutex_align)
17922        )
17923    );
17924    assert_eq!(
17925        unsafe { &(*(::std::ptr::null::<__db_env>())).mutex_cnt as *const _ as usize },
17926        248usize,
17927        concat!(
17928            "Offset of field: ",
17929            stringify!(__db_env),
17930            "::",
17931            stringify!(mutex_cnt)
17932        )
17933    );
17934    assert_eq!(
17935        unsafe { &(*(::std::ptr::null::<__db_env>())).mutex_inc as *const _ as usize },
17936        252usize,
17937        concat!(
17938            "Offset of field: ",
17939            stringify!(__db_env),
17940            "::",
17941            stringify!(mutex_inc)
17942        )
17943    );
17944    assert_eq!(
17945        unsafe { &(*(::std::ptr::null::<__db_env>())).mutex_max as *const _ as usize },
17946        256usize,
17947        concat!(
17948            "Offset of field: ",
17949            stringify!(__db_env),
17950            "::",
17951            stringify!(mutex_max)
17952        )
17953    );
17954    assert_eq!(
17955        unsafe { &(*(::std::ptr::null::<__db_env>())).mutex_tas_spins as *const _ as usize },
17956        260usize,
17957        concat!(
17958            "Offset of field: ",
17959            stringify!(__db_env),
17960            "::",
17961            stringify!(mutex_tas_spins)
17962        )
17963    );
17964    assert_eq!(
17965        unsafe { &(*(::std::ptr::null::<__db_env>())).lk_conflicts as *const _ as usize },
17966        264usize,
17967        concat!(
17968            "Offset of field: ",
17969            stringify!(__db_env),
17970            "::",
17971            stringify!(lk_conflicts)
17972        )
17973    );
17974    assert_eq!(
17975        unsafe { &(*(::std::ptr::null::<__db_env>())).lk_modes as *const _ as usize },
17976        272usize,
17977        concat!(
17978            "Offset of field: ",
17979            stringify!(__db_env),
17980            "::",
17981            stringify!(lk_modes)
17982        )
17983    );
17984    assert_eq!(
17985        unsafe { &(*(::std::ptr::null::<__db_env>())).lk_detect as *const _ as usize },
17986        276usize,
17987        concat!(
17988            "Offset of field: ",
17989            stringify!(__db_env),
17990            "::",
17991            stringify!(lk_detect)
17992        )
17993    );
17994    assert_eq!(
17995        unsafe { &(*(::std::ptr::null::<__db_env>())).lk_max as *const _ as usize },
17996        280usize,
17997        concat!(
17998            "Offset of field: ",
17999            stringify!(__db_env),
18000            "::",
18001            stringify!(lk_max)
18002        )
18003    );
18004    assert_eq!(
18005        unsafe { &(*(::std::ptr::null::<__db_env>())).lk_max_lockers as *const _ as usize },
18006        284usize,
18007        concat!(
18008            "Offset of field: ",
18009            stringify!(__db_env),
18010            "::",
18011            stringify!(lk_max_lockers)
18012        )
18013    );
18014    assert_eq!(
18015        unsafe { &(*(::std::ptr::null::<__db_env>())).lk_max_objects as *const _ as usize },
18016        288usize,
18017        concat!(
18018            "Offset of field: ",
18019            stringify!(__db_env),
18020            "::",
18021            stringify!(lk_max_objects)
18022        )
18023    );
18024    assert_eq!(
18025        unsafe { &(*(::std::ptr::null::<__db_env>())).lk_init as *const _ as usize },
18026        292usize,
18027        concat!(
18028            "Offset of field: ",
18029            stringify!(__db_env),
18030            "::",
18031            stringify!(lk_init)
18032        )
18033    );
18034    assert_eq!(
18035        unsafe { &(*(::std::ptr::null::<__db_env>())).lk_init_lockers as *const _ as usize },
18036        296usize,
18037        concat!(
18038            "Offset of field: ",
18039            stringify!(__db_env),
18040            "::",
18041            stringify!(lk_init_lockers)
18042        )
18043    );
18044    assert_eq!(
18045        unsafe { &(*(::std::ptr::null::<__db_env>())).lk_init_objects as *const _ as usize },
18046        300usize,
18047        concat!(
18048            "Offset of field: ",
18049            stringify!(__db_env),
18050            "::",
18051            stringify!(lk_init_objects)
18052        )
18053    );
18054    assert_eq!(
18055        unsafe { &(*(::std::ptr::null::<__db_env>())).lk_partitions as *const _ as usize },
18056        304usize,
18057        concat!(
18058            "Offset of field: ",
18059            stringify!(__db_env),
18060            "::",
18061            stringify!(lk_partitions)
18062        )
18063    );
18064    assert_eq!(
18065        unsafe { &(*(::std::ptr::null::<__db_env>())).lk_timeout as *const _ as usize },
18066        308usize,
18067        concat!(
18068            "Offset of field: ",
18069            stringify!(__db_env),
18070            "::",
18071            stringify!(lk_timeout)
18072        )
18073    );
18074    assert_eq!(
18075        unsafe { &(*(::std::ptr::null::<__db_env>())).locker_t_size as *const _ as usize },
18076        312usize,
18077        concat!(
18078            "Offset of field: ",
18079            stringify!(__db_env),
18080            "::",
18081            stringify!(locker_t_size)
18082        )
18083    );
18084    assert_eq!(
18085        unsafe { &(*(::std::ptr::null::<__db_env>())).object_t_size as *const _ as usize },
18086        316usize,
18087        concat!(
18088            "Offset of field: ",
18089            stringify!(__db_env),
18090            "::",
18091            stringify!(object_t_size)
18092        )
18093    );
18094    assert_eq!(
18095        unsafe { &(*(::std::ptr::null::<__db_env>())).lg_bsize as *const _ as usize },
18096        320usize,
18097        concat!(
18098            "Offset of field: ",
18099            stringify!(__db_env),
18100            "::",
18101            stringify!(lg_bsize)
18102        )
18103    );
18104    assert_eq!(
18105        unsafe { &(*(::std::ptr::null::<__db_env>())).lg_fileid_init as *const _ as usize },
18106        324usize,
18107        concat!(
18108            "Offset of field: ",
18109            stringify!(__db_env),
18110            "::",
18111            stringify!(lg_fileid_init)
18112        )
18113    );
18114    assert_eq!(
18115        unsafe { &(*(::std::ptr::null::<__db_env>())).lg_filemode as *const _ as usize },
18116        328usize,
18117        concat!(
18118            "Offset of field: ",
18119            stringify!(__db_env),
18120            "::",
18121            stringify!(lg_filemode)
18122        )
18123    );
18124    assert_eq!(
18125        unsafe { &(*(::std::ptr::null::<__db_env>())).lg_regionmax as *const _ as usize },
18126        332usize,
18127        concat!(
18128            "Offset of field: ",
18129            stringify!(__db_env),
18130            "::",
18131            stringify!(lg_regionmax)
18132        )
18133    );
18134    assert_eq!(
18135        unsafe { &(*(::std::ptr::null::<__db_env>())).lg_size as *const _ as usize },
18136        336usize,
18137        concat!(
18138            "Offset of field: ",
18139            stringify!(__db_env),
18140            "::",
18141            stringify!(lg_size)
18142        )
18143    );
18144    assert_eq!(
18145        unsafe { &(*(::std::ptr::null::<__db_env>())).lg_flags as *const _ as usize },
18146        340usize,
18147        concat!(
18148            "Offset of field: ",
18149            stringify!(__db_env),
18150            "::",
18151            stringify!(lg_flags)
18152        )
18153    );
18154    assert_eq!(
18155        unsafe { &(*(::std::ptr::null::<__db_env>())).mp_gbytes as *const _ as usize },
18156        344usize,
18157        concat!(
18158            "Offset of field: ",
18159            stringify!(__db_env),
18160            "::",
18161            stringify!(mp_gbytes)
18162        )
18163    );
18164    assert_eq!(
18165        unsafe { &(*(::std::ptr::null::<__db_env>())).mp_bytes as *const _ as usize },
18166        348usize,
18167        concat!(
18168            "Offset of field: ",
18169            stringify!(__db_env),
18170            "::",
18171            stringify!(mp_bytes)
18172        )
18173    );
18174    assert_eq!(
18175        unsafe { &(*(::std::ptr::null::<__db_env>())).mp_max_gbytes as *const _ as usize },
18176        352usize,
18177        concat!(
18178            "Offset of field: ",
18179            stringify!(__db_env),
18180            "::",
18181            stringify!(mp_max_gbytes)
18182        )
18183    );
18184    assert_eq!(
18185        unsafe { &(*(::std::ptr::null::<__db_env>())).mp_max_bytes as *const _ as usize },
18186        356usize,
18187        concat!(
18188            "Offset of field: ",
18189            stringify!(__db_env),
18190            "::",
18191            stringify!(mp_max_bytes)
18192        )
18193    );
18194    assert_eq!(
18195        unsafe { &(*(::std::ptr::null::<__db_env>())).mp_mmapsize as *const _ as usize },
18196        360usize,
18197        concat!(
18198            "Offset of field: ",
18199            stringify!(__db_env),
18200            "::",
18201            stringify!(mp_mmapsize)
18202        )
18203    );
18204    assert_eq!(
18205        unsafe { &(*(::std::ptr::null::<__db_env>())).mp_maxopenfd as *const _ as usize },
18206        368usize,
18207        concat!(
18208            "Offset of field: ",
18209            stringify!(__db_env),
18210            "::",
18211            stringify!(mp_maxopenfd)
18212        )
18213    );
18214    assert_eq!(
18215        unsafe { &(*(::std::ptr::null::<__db_env>())).mp_maxwrite as *const _ as usize },
18216        372usize,
18217        concat!(
18218            "Offset of field: ",
18219            stringify!(__db_env),
18220            "::",
18221            stringify!(mp_maxwrite)
18222        )
18223    );
18224    assert_eq!(
18225        unsafe { &(*(::std::ptr::null::<__db_env>())).mp_ncache as *const _ as usize },
18226        376usize,
18227        concat!(
18228            "Offset of field: ",
18229            stringify!(__db_env),
18230            "::",
18231            stringify!(mp_ncache)
18232        )
18233    );
18234    assert_eq!(
18235        unsafe { &(*(::std::ptr::null::<__db_env>())).mp_pagesize as *const _ as usize },
18236        380usize,
18237        concat!(
18238            "Offset of field: ",
18239            stringify!(__db_env),
18240            "::",
18241            stringify!(mp_pagesize)
18242        )
18243    );
18244    assert_eq!(
18245        unsafe { &(*(::std::ptr::null::<__db_env>())).mp_tablesize as *const _ as usize },
18246        384usize,
18247        concat!(
18248            "Offset of field: ",
18249            stringify!(__db_env),
18250            "::",
18251            stringify!(mp_tablesize)
18252        )
18253    );
18254    assert_eq!(
18255        unsafe { &(*(::std::ptr::null::<__db_env>())).mp_mtxcount as *const _ as usize },
18256        388usize,
18257        concat!(
18258            "Offset of field: ",
18259            stringify!(__db_env),
18260            "::",
18261            stringify!(mp_mtxcount)
18262        )
18263    );
18264    assert_eq!(
18265        unsafe { &(*(::std::ptr::null::<__db_env>())).mp_maxwrite_sleep as *const _ as usize },
18266        392usize,
18267        concat!(
18268            "Offset of field: ",
18269            stringify!(__db_env),
18270            "::",
18271            stringify!(mp_maxwrite_sleep)
18272        )
18273    );
18274    assert_eq!(
18275        unsafe { &(*(::std::ptr::null::<__db_env>())).tx_init as *const _ as usize },
18276        396usize,
18277        concat!(
18278            "Offset of field: ",
18279            stringify!(__db_env),
18280            "::",
18281            stringify!(tx_init)
18282        )
18283    );
18284    assert_eq!(
18285        unsafe { &(*(::std::ptr::null::<__db_env>())).tx_max as *const _ as usize },
18286        400usize,
18287        concat!(
18288            "Offset of field: ",
18289            stringify!(__db_env),
18290            "::",
18291            stringify!(tx_max)
18292        )
18293    );
18294    assert_eq!(
18295        unsafe { &(*(::std::ptr::null::<__db_env>())).tx_timestamp as *const _ as usize },
18296        408usize,
18297        concat!(
18298            "Offset of field: ",
18299            stringify!(__db_env),
18300            "::",
18301            stringify!(tx_timestamp)
18302        )
18303    );
18304    assert_eq!(
18305        unsafe { &(*(::std::ptr::null::<__db_env>())).tx_timeout as *const _ as usize },
18306        416usize,
18307        concat!(
18308            "Offset of field: ",
18309            stringify!(__db_env),
18310            "::",
18311            stringify!(tx_timeout)
18312        )
18313    );
18314    assert_eq!(
18315        unsafe { &(*(::std::ptr::null::<__db_env>())).thr_init as *const _ as usize },
18316        420usize,
18317        concat!(
18318            "Offset of field: ",
18319            stringify!(__db_env),
18320            "::",
18321            stringify!(thr_init)
18322        )
18323    );
18324    assert_eq!(
18325        unsafe { &(*(::std::ptr::null::<__db_env>())).thr_max as *const _ as usize },
18326        424usize,
18327        concat!(
18328            "Offset of field: ",
18329            stringify!(__db_env),
18330            "::",
18331            stringify!(thr_max)
18332        )
18333    );
18334    assert_eq!(
18335        unsafe { &(*(::std::ptr::null::<__db_env>())).memory_max as *const _ as usize },
18336        432usize,
18337        concat!(
18338            "Offset of field: ",
18339            stringify!(__db_env),
18340            "::",
18341            stringify!(memory_max)
18342        )
18343    );
18344    assert_eq!(
18345        unsafe { &(*(::std::ptr::null::<__db_env>())).registry as *const _ as usize },
18346        440usize,
18347        concat!(
18348            "Offset of field: ",
18349            stringify!(__db_env),
18350            "::",
18351            stringify!(registry)
18352        )
18353    );
18354    assert_eq!(
18355        unsafe { &(*(::std::ptr::null::<__db_env>())).registry_off as *const _ as usize },
18356        448usize,
18357        concat!(
18358            "Offset of field: ",
18359            stringify!(__db_env),
18360            "::",
18361            stringify!(registry_off)
18362        )
18363    );
18364    assert_eq!(
18365        unsafe { &(*(::std::ptr::null::<__db_env>())).envreg_timeout as *const _ as usize },
18366        452usize,
18367        concat!(
18368            "Offset of field: ",
18369            stringify!(__db_env),
18370            "::",
18371            stringify!(envreg_timeout)
18372        )
18373    );
18374    assert_eq!(
18375        unsafe { &(*(::std::ptr::null::<__db_env>())).flags as *const _ as usize },
18376        456usize,
18377        concat!(
18378            "Offset of field: ",
18379            stringify!(__db_env),
18380            "::",
18381            stringify!(flags)
18382        )
18383    );
18384    assert_eq!(
18385        unsafe { &(*(::std::ptr::null::<__db_env>())).add_data_dir as *const _ as usize },
18386        464usize,
18387        concat!(
18388            "Offset of field: ",
18389            stringify!(__db_env),
18390            "::",
18391            stringify!(add_data_dir)
18392        )
18393    );
18394    assert_eq!(
18395        unsafe { &(*(::std::ptr::null::<__db_env>())).backup as *const _ as usize },
18396        472usize,
18397        concat!(
18398            "Offset of field: ",
18399            stringify!(__db_env),
18400            "::",
18401            stringify!(backup)
18402        )
18403    );
18404    assert_eq!(
18405        unsafe { &(*(::std::ptr::null::<__db_env>())).cdsgroup_begin as *const _ as usize },
18406        480usize,
18407        concat!(
18408            "Offset of field: ",
18409            stringify!(__db_env),
18410            "::",
18411            stringify!(cdsgroup_begin)
18412        )
18413    );
18414    assert_eq!(
18415        unsafe { &(*(::std::ptr::null::<__db_env>())).close as *const _ as usize },
18416        488usize,
18417        concat!(
18418            "Offset of field: ",
18419            stringify!(__db_env),
18420            "::",
18421            stringify!(close)
18422        )
18423    );
18424    assert_eq!(
18425        unsafe { &(*(::std::ptr::null::<__db_env>())).dbbackup as *const _ as usize },
18426        496usize,
18427        concat!(
18428            "Offset of field: ",
18429            stringify!(__db_env),
18430            "::",
18431            stringify!(dbbackup)
18432        )
18433    );
18434    assert_eq!(
18435        unsafe { &(*(::std::ptr::null::<__db_env>())).dbremove as *const _ as usize },
18436        504usize,
18437        concat!(
18438            "Offset of field: ",
18439            stringify!(__db_env),
18440            "::",
18441            stringify!(dbremove)
18442        )
18443    );
18444    assert_eq!(
18445        unsafe { &(*(::std::ptr::null::<__db_env>())).dbrename as *const _ as usize },
18446        512usize,
18447        concat!(
18448            "Offset of field: ",
18449            stringify!(__db_env),
18450            "::",
18451            stringify!(dbrename)
18452        )
18453    );
18454    assert_eq!(
18455        unsafe { &(*(::std::ptr::null::<__db_env>())).err as *const _ as usize },
18456        520usize,
18457        concat!(
18458            "Offset of field: ",
18459            stringify!(__db_env),
18460            "::",
18461            stringify!(err)
18462        )
18463    );
18464    assert_eq!(
18465        unsafe { &(*(::std::ptr::null::<__db_env>())).errx as *const _ as usize },
18466        528usize,
18467        concat!(
18468            "Offset of field: ",
18469            stringify!(__db_env),
18470            "::",
18471            stringify!(errx)
18472        )
18473    );
18474    assert_eq!(
18475        unsafe { &(*(::std::ptr::null::<__db_env>())).failchk as *const _ as usize },
18476        536usize,
18477        concat!(
18478            "Offset of field: ",
18479            stringify!(__db_env),
18480            "::",
18481            stringify!(failchk)
18482        )
18483    );
18484    assert_eq!(
18485        unsafe { &(*(::std::ptr::null::<__db_env>())).fileid_reset as *const _ as usize },
18486        544usize,
18487        concat!(
18488            "Offset of field: ",
18489            stringify!(__db_env),
18490            "::",
18491            stringify!(fileid_reset)
18492        )
18493    );
18494    assert_eq!(
18495        unsafe { &(*(::std::ptr::null::<__db_env>())).get_alloc as *const _ as usize },
18496        552usize,
18497        concat!(
18498            "Offset of field: ",
18499            stringify!(__db_env),
18500            "::",
18501            stringify!(get_alloc)
18502        )
18503    );
18504    assert_eq!(
18505        unsafe { &(*(::std::ptr::null::<__db_env>())).get_app_dispatch as *const _ as usize },
18506        560usize,
18507        concat!(
18508            "Offset of field: ",
18509            stringify!(__db_env),
18510            "::",
18511            stringify!(get_app_dispatch)
18512        )
18513    );
18514    assert_eq!(
18515        unsafe { &(*(::std::ptr::null::<__db_env>())).get_cache_max as *const _ as usize },
18516        568usize,
18517        concat!(
18518            "Offset of field: ",
18519            stringify!(__db_env),
18520            "::",
18521            stringify!(get_cache_max)
18522        )
18523    );
18524    assert_eq!(
18525        unsafe { &(*(::std::ptr::null::<__db_env>())).get_cachesize as *const _ as usize },
18526        576usize,
18527        concat!(
18528            "Offset of field: ",
18529            stringify!(__db_env),
18530            "::",
18531            stringify!(get_cachesize)
18532        )
18533    );
18534    assert_eq!(
18535        unsafe { &(*(::std::ptr::null::<__db_env>())).get_create_dir as *const _ as usize },
18536        584usize,
18537        concat!(
18538            "Offset of field: ",
18539            stringify!(__db_env),
18540            "::",
18541            stringify!(get_create_dir)
18542        )
18543    );
18544    assert_eq!(
18545        unsafe { &(*(::std::ptr::null::<__db_env>())).get_data_dirs as *const _ as usize },
18546        592usize,
18547        concat!(
18548            "Offset of field: ",
18549            stringify!(__db_env),
18550            "::",
18551            stringify!(get_data_dirs)
18552        )
18553    );
18554    assert_eq!(
18555        unsafe { &(*(::std::ptr::null::<__db_env>())).get_data_len as *const _ as usize },
18556        600usize,
18557        concat!(
18558            "Offset of field: ",
18559            stringify!(__db_env),
18560            "::",
18561            stringify!(get_data_len)
18562        )
18563    );
18564    assert_eq!(
18565        unsafe { &(*(::std::ptr::null::<__db_env>())).get_backup_callbacks as *const _ as usize },
18566        608usize,
18567        concat!(
18568            "Offset of field: ",
18569            stringify!(__db_env),
18570            "::",
18571            stringify!(get_backup_callbacks)
18572        )
18573    );
18574    assert_eq!(
18575        unsafe { &(*(::std::ptr::null::<__db_env>())).get_backup_config as *const _ as usize },
18576        616usize,
18577        concat!(
18578            "Offset of field: ",
18579            stringify!(__db_env),
18580            "::",
18581            stringify!(get_backup_config)
18582        )
18583    );
18584    assert_eq!(
18585        unsafe { &(*(::std::ptr::null::<__db_env>())).get_encrypt_flags as *const _ as usize },
18586        624usize,
18587        concat!(
18588            "Offset of field: ",
18589            stringify!(__db_env),
18590            "::",
18591            stringify!(get_encrypt_flags)
18592        )
18593    );
18594    assert_eq!(
18595        unsafe { &(*(::std::ptr::null::<__db_env>())).get_errcall as *const _ as usize },
18596        632usize,
18597        concat!(
18598            "Offset of field: ",
18599            stringify!(__db_env),
18600            "::",
18601            stringify!(get_errcall)
18602        )
18603    );
18604    assert_eq!(
18605        unsafe { &(*(::std::ptr::null::<__db_env>())).get_errfile as *const _ as usize },
18606        640usize,
18607        concat!(
18608            "Offset of field: ",
18609            stringify!(__db_env),
18610            "::",
18611            stringify!(get_errfile)
18612        )
18613    );
18614    assert_eq!(
18615        unsafe { &(*(::std::ptr::null::<__db_env>())).get_errpfx as *const _ as usize },
18616        648usize,
18617        concat!(
18618            "Offset of field: ",
18619            stringify!(__db_env),
18620            "::",
18621            stringify!(get_errpfx)
18622        )
18623    );
18624    assert_eq!(
18625        unsafe { &(*(::std::ptr::null::<__db_env>())).get_flags as *const _ as usize },
18626        656usize,
18627        concat!(
18628            "Offset of field: ",
18629            stringify!(__db_env),
18630            "::",
18631            stringify!(get_flags)
18632        )
18633    );
18634    assert_eq!(
18635        unsafe { &(*(::std::ptr::null::<__db_env>())).get_feedback as *const _ as usize },
18636        664usize,
18637        concat!(
18638            "Offset of field: ",
18639            stringify!(__db_env),
18640            "::",
18641            stringify!(get_feedback)
18642        )
18643    );
18644    assert_eq!(
18645        unsafe { &(*(::std::ptr::null::<__db_env>())).get_home as *const _ as usize },
18646        672usize,
18647        concat!(
18648            "Offset of field: ",
18649            stringify!(__db_env),
18650            "::",
18651            stringify!(get_home)
18652        )
18653    );
18654    assert_eq!(
18655        unsafe {
18656            &(*(::std::ptr::null::<__db_env>())).get_intermediate_dir_mode as *const _ as usize
18657        },
18658        680usize,
18659        concat!(
18660            "Offset of field: ",
18661            stringify!(__db_env),
18662            "::",
18663            stringify!(get_intermediate_dir_mode)
18664        )
18665    );
18666    assert_eq!(
18667        unsafe { &(*(::std::ptr::null::<__db_env>())).get_isalive as *const _ as usize },
18668        688usize,
18669        concat!(
18670            "Offset of field: ",
18671            stringify!(__db_env),
18672            "::",
18673            stringify!(get_isalive)
18674        )
18675    );
18676    assert_eq!(
18677        unsafe { &(*(::std::ptr::null::<__db_env>())).get_lg_bsize as *const _ as usize },
18678        696usize,
18679        concat!(
18680            "Offset of field: ",
18681            stringify!(__db_env),
18682            "::",
18683            stringify!(get_lg_bsize)
18684        )
18685    );
18686    assert_eq!(
18687        unsafe { &(*(::std::ptr::null::<__db_env>())).get_lg_dir as *const _ as usize },
18688        704usize,
18689        concat!(
18690            "Offset of field: ",
18691            stringify!(__db_env),
18692            "::",
18693            stringify!(get_lg_dir)
18694        )
18695    );
18696    assert_eq!(
18697        unsafe { &(*(::std::ptr::null::<__db_env>())).get_lg_filemode as *const _ as usize },
18698        712usize,
18699        concat!(
18700            "Offset of field: ",
18701            stringify!(__db_env),
18702            "::",
18703            stringify!(get_lg_filemode)
18704        )
18705    );
18706    assert_eq!(
18707        unsafe { &(*(::std::ptr::null::<__db_env>())).get_lg_max as *const _ as usize },
18708        720usize,
18709        concat!(
18710            "Offset of field: ",
18711            stringify!(__db_env),
18712            "::",
18713            stringify!(get_lg_max)
18714        )
18715    );
18716    assert_eq!(
18717        unsafe { &(*(::std::ptr::null::<__db_env>())).get_lg_regionmax as *const _ as usize },
18718        728usize,
18719        concat!(
18720            "Offset of field: ",
18721            stringify!(__db_env),
18722            "::",
18723            stringify!(get_lg_regionmax)
18724        )
18725    );
18726    assert_eq!(
18727        unsafe { &(*(::std::ptr::null::<__db_env>())).get_lk_conflicts as *const _ as usize },
18728        736usize,
18729        concat!(
18730            "Offset of field: ",
18731            stringify!(__db_env),
18732            "::",
18733            stringify!(get_lk_conflicts)
18734        )
18735    );
18736    assert_eq!(
18737        unsafe { &(*(::std::ptr::null::<__db_env>())).get_lk_detect as *const _ as usize },
18738        744usize,
18739        concat!(
18740            "Offset of field: ",
18741            stringify!(__db_env),
18742            "::",
18743            stringify!(get_lk_detect)
18744        )
18745    );
18746    assert_eq!(
18747        unsafe { &(*(::std::ptr::null::<__db_env>())).get_lk_max_lockers as *const _ as usize },
18748        752usize,
18749        concat!(
18750            "Offset of field: ",
18751            stringify!(__db_env),
18752            "::",
18753            stringify!(get_lk_max_lockers)
18754        )
18755    );
18756    assert_eq!(
18757        unsafe { &(*(::std::ptr::null::<__db_env>())).get_lk_max_locks as *const _ as usize },
18758        760usize,
18759        concat!(
18760            "Offset of field: ",
18761            stringify!(__db_env),
18762            "::",
18763            stringify!(get_lk_max_locks)
18764        )
18765    );
18766    assert_eq!(
18767        unsafe { &(*(::std::ptr::null::<__db_env>())).get_lk_max_objects as *const _ as usize },
18768        768usize,
18769        concat!(
18770            "Offset of field: ",
18771            stringify!(__db_env),
18772            "::",
18773            stringify!(get_lk_max_objects)
18774        )
18775    );
18776    assert_eq!(
18777        unsafe { &(*(::std::ptr::null::<__db_env>())).get_lk_partitions as *const _ as usize },
18778        776usize,
18779        concat!(
18780            "Offset of field: ",
18781            stringify!(__db_env),
18782            "::",
18783            stringify!(get_lk_partitions)
18784        )
18785    );
18786    assert_eq!(
18787        unsafe { &(*(::std::ptr::null::<__db_env>())).get_lk_priority as *const _ as usize },
18788        784usize,
18789        concat!(
18790            "Offset of field: ",
18791            stringify!(__db_env),
18792            "::",
18793            stringify!(get_lk_priority)
18794        )
18795    );
18796    assert_eq!(
18797        unsafe { &(*(::std::ptr::null::<__db_env>())).get_lk_tablesize as *const _ as usize },
18798        792usize,
18799        concat!(
18800            "Offset of field: ",
18801            stringify!(__db_env),
18802            "::",
18803            stringify!(get_lk_tablesize)
18804        )
18805    );
18806    assert_eq!(
18807        unsafe { &(*(::std::ptr::null::<__db_env>())).get_memory_init as *const _ as usize },
18808        800usize,
18809        concat!(
18810            "Offset of field: ",
18811            stringify!(__db_env),
18812            "::",
18813            stringify!(get_memory_init)
18814        )
18815    );
18816    assert_eq!(
18817        unsafe { &(*(::std::ptr::null::<__db_env>())).get_memory_max as *const _ as usize },
18818        808usize,
18819        concat!(
18820            "Offset of field: ",
18821            stringify!(__db_env),
18822            "::",
18823            stringify!(get_memory_max)
18824        )
18825    );
18826    assert_eq!(
18827        unsafe { &(*(::std::ptr::null::<__db_env>())).get_metadata_dir as *const _ as usize },
18828        816usize,
18829        concat!(
18830            "Offset of field: ",
18831            stringify!(__db_env),
18832            "::",
18833            stringify!(get_metadata_dir)
18834        )
18835    );
18836    assert_eq!(
18837        unsafe { &(*(::std::ptr::null::<__db_env>())).get_mp_max_openfd as *const _ as usize },
18838        824usize,
18839        concat!(
18840            "Offset of field: ",
18841            stringify!(__db_env),
18842            "::",
18843            stringify!(get_mp_max_openfd)
18844        )
18845    );
18846    assert_eq!(
18847        unsafe { &(*(::std::ptr::null::<__db_env>())).get_mp_max_write as *const _ as usize },
18848        832usize,
18849        concat!(
18850            "Offset of field: ",
18851            stringify!(__db_env),
18852            "::",
18853            stringify!(get_mp_max_write)
18854        )
18855    );
18856    assert_eq!(
18857        unsafe { &(*(::std::ptr::null::<__db_env>())).get_mp_mmapsize as *const _ as usize },
18858        840usize,
18859        concat!(
18860            "Offset of field: ",
18861            stringify!(__db_env),
18862            "::",
18863            stringify!(get_mp_mmapsize)
18864        )
18865    );
18866    assert_eq!(
18867        unsafe { &(*(::std::ptr::null::<__db_env>())).get_mp_mtxcount as *const _ as usize },
18868        848usize,
18869        concat!(
18870            "Offset of field: ",
18871            stringify!(__db_env),
18872            "::",
18873            stringify!(get_mp_mtxcount)
18874        )
18875    );
18876    assert_eq!(
18877        unsafe { &(*(::std::ptr::null::<__db_env>())).get_mp_pagesize as *const _ as usize },
18878        856usize,
18879        concat!(
18880            "Offset of field: ",
18881            stringify!(__db_env),
18882            "::",
18883            stringify!(get_mp_pagesize)
18884        )
18885    );
18886    assert_eq!(
18887        unsafe { &(*(::std::ptr::null::<__db_env>())).get_mp_tablesize as *const _ as usize },
18888        864usize,
18889        concat!(
18890            "Offset of field: ",
18891            stringify!(__db_env),
18892            "::",
18893            stringify!(get_mp_tablesize)
18894        )
18895    );
18896    assert_eq!(
18897        unsafe { &(*(::std::ptr::null::<__db_env>())).get_msgcall as *const _ as usize },
18898        872usize,
18899        concat!(
18900            "Offset of field: ",
18901            stringify!(__db_env),
18902            "::",
18903            stringify!(get_msgcall)
18904        )
18905    );
18906    assert_eq!(
18907        unsafe { &(*(::std::ptr::null::<__db_env>())).get_msgfile as *const _ as usize },
18908        880usize,
18909        concat!(
18910            "Offset of field: ",
18911            stringify!(__db_env),
18912            "::",
18913            stringify!(get_msgfile)
18914        )
18915    );
18916    assert_eq!(
18917        unsafe { &(*(::std::ptr::null::<__db_env>())).get_open_flags as *const _ as usize },
18918        888usize,
18919        concat!(
18920            "Offset of field: ",
18921            stringify!(__db_env),
18922            "::",
18923            stringify!(get_open_flags)
18924        )
18925    );
18926    assert_eq!(
18927        unsafe { &(*(::std::ptr::null::<__db_env>())).get_shm_key as *const _ as usize },
18928        896usize,
18929        concat!(
18930            "Offset of field: ",
18931            stringify!(__db_env),
18932            "::",
18933            stringify!(get_shm_key)
18934        )
18935    );
18936    assert_eq!(
18937        unsafe { &(*(::std::ptr::null::<__db_env>())).get_thread_count as *const _ as usize },
18938        904usize,
18939        concat!(
18940            "Offset of field: ",
18941            stringify!(__db_env),
18942            "::",
18943            stringify!(get_thread_count)
18944        )
18945    );
18946    assert_eq!(
18947        unsafe { &(*(::std::ptr::null::<__db_env>())).get_thread_id_fn as *const _ as usize },
18948        912usize,
18949        concat!(
18950            "Offset of field: ",
18951            stringify!(__db_env),
18952            "::",
18953            stringify!(get_thread_id_fn)
18954        )
18955    );
18956    assert_eq!(
18957        unsafe {
18958            &(*(::std::ptr::null::<__db_env>())).get_thread_id_string_fn as *const _ as usize
18959        },
18960        920usize,
18961        concat!(
18962            "Offset of field: ",
18963            stringify!(__db_env),
18964            "::",
18965            stringify!(get_thread_id_string_fn)
18966        )
18967    );
18968    assert_eq!(
18969        unsafe { &(*(::std::ptr::null::<__db_env>())).get_timeout as *const _ as usize },
18970        928usize,
18971        concat!(
18972            "Offset of field: ",
18973            stringify!(__db_env),
18974            "::",
18975            stringify!(get_timeout)
18976        )
18977    );
18978    assert_eq!(
18979        unsafe { &(*(::std::ptr::null::<__db_env>())).get_tmp_dir as *const _ as usize },
18980        936usize,
18981        concat!(
18982            "Offset of field: ",
18983            stringify!(__db_env),
18984            "::",
18985            stringify!(get_tmp_dir)
18986        )
18987    );
18988    assert_eq!(
18989        unsafe { &(*(::std::ptr::null::<__db_env>())).get_tx_max as *const _ as usize },
18990        944usize,
18991        concat!(
18992            "Offset of field: ",
18993            stringify!(__db_env),
18994            "::",
18995            stringify!(get_tx_max)
18996        )
18997    );
18998    assert_eq!(
18999        unsafe { &(*(::std::ptr::null::<__db_env>())).get_tx_timestamp as *const _ as usize },
19000        952usize,
19001        concat!(
19002            "Offset of field: ",
19003            stringify!(__db_env),
19004            "::",
19005            stringify!(get_tx_timestamp)
19006        )
19007    );
19008    assert_eq!(
19009        unsafe { &(*(::std::ptr::null::<__db_env>())).get_verbose as *const _ as usize },
19010        960usize,
19011        concat!(
19012            "Offset of field: ",
19013            stringify!(__db_env),
19014            "::",
19015            stringify!(get_verbose)
19016        )
19017    );
19018    assert_eq!(
19019        unsafe { &(*(::std::ptr::null::<__db_env>())).is_bigendian as *const _ as usize },
19020        968usize,
19021        concat!(
19022            "Offset of field: ",
19023            stringify!(__db_env),
19024            "::",
19025            stringify!(is_bigendian)
19026        )
19027    );
19028    assert_eq!(
19029        unsafe { &(*(::std::ptr::null::<__db_env>())).lock_detect as *const _ as usize },
19030        976usize,
19031        concat!(
19032            "Offset of field: ",
19033            stringify!(__db_env),
19034            "::",
19035            stringify!(lock_detect)
19036        )
19037    );
19038    assert_eq!(
19039        unsafe { &(*(::std::ptr::null::<__db_env>())).lock_get as *const _ as usize },
19040        984usize,
19041        concat!(
19042            "Offset of field: ",
19043            stringify!(__db_env),
19044            "::",
19045            stringify!(lock_get)
19046        )
19047    );
19048    assert_eq!(
19049        unsafe { &(*(::std::ptr::null::<__db_env>())).lock_id as *const _ as usize },
19050        992usize,
19051        concat!(
19052            "Offset of field: ",
19053            stringify!(__db_env),
19054            "::",
19055            stringify!(lock_id)
19056        )
19057    );
19058    assert_eq!(
19059        unsafe { &(*(::std::ptr::null::<__db_env>())).lock_id_free as *const _ as usize },
19060        1000usize,
19061        concat!(
19062            "Offset of field: ",
19063            stringify!(__db_env),
19064            "::",
19065            stringify!(lock_id_free)
19066        )
19067    );
19068    assert_eq!(
19069        unsafe { &(*(::std::ptr::null::<__db_env>())).lock_put as *const _ as usize },
19070        1008usize,
19071        concat!(
19072            "Offset of field: ",
19073            stringify!(__db_env),
19074            "::",
19075            stringify!(lock_put)
19076        )
19077    );
19078    assert_eq!(
19079        unsafe { &(*(::std::ptr::null::<__db_env>())).lock_stat as *const _ as usize },
19080        1016usize,
19081        concat!(
19082            "Offset of field: ",
19083            stringify!(__db_env),
19084            "::",
19085            stringify!(lock_stat)
19086        )
19087    );
19088    assert_eq!(
19089        unsafe { &(*(::std::ptr::null::<__db_env>())).lock_stat_print as *const _ as usize },
19090        1024usize,
19091        concat!(
19092            "Offset of field: ",
19093            stringify!(__db_env),
19094            "::",
19095            stringify!(lock_stat_print)
19096        )
19097    );
19098    assert_eq!(
19099        unsafe { &(*(::std::ptr::null::<__db_env>())).lock_vec as *const _ as usize },
19100        1032usize,
19101        concat!(
19102            "Offset of field: ",
19103            stringify!(__db_env),
19104            "::",
19105            stringify!(lock_vec)
19106        )
19107    );
19108    assert_eq!(
19109        unsafe { &(*(::std::ptr::null::<__db_env>())).log_archive as *const _ as usize },
19110        1040usize,
19111        concat!(
19112            "Offset of field: ",
19113            stringify!(__db_env),
19114            "::",
19115            stringify!(log_archive)
19116        )
19117    );
19118    assert_eq!(
19119        unsafe { &(*(::std::ptr::null::<__db_env>())).log_cursor as *const _ as usize },
19120        1048usize,
19121        concat!(
19122            "Offset of field: ",
19123            stringify!(__db_env),
19124            "::",
19125            stringify!(log_cursor)
19126        )
19127    );
19128    assert_eq!(
19129        unsafe { &(*(::std::ptr::null::<__db_env>())).log_file as *const _ as usize },
19130        1056usize,
19131        concat!(
19132            "Offset of field: ",
19133            stringify!(__db_env),
19134            "::",
19135            stringify!(log_file)
19136        )
19137    );
19138    assert_eq!(
19139        unsafe { &(*(::std::ptr::null::<__db_env>())).log_flush as *const _ as usize },
19140        1064usize,
19141        concat!(
19142            "Offset of field: ",
19143            stringify!(__db_env),
19144            "::",
19145            stringify!(log_flush)
19146        )
19147    );
19148    assert_eq!(
19149        unsafe { &(*(::std::ptr::null::<__db_env>())).log_get_config as *const _ as usize },
19150        1072usize,
19151        concat!(
19152            "Offset of field: ",
19153            stringify!(__db_env),
19154            "::",
19155            stringify!(log_get_config)
19156        )
19157    );
19158    assert_eq!(
19159        unsafe { &(*(::std::ptr::null::<__db_env>())).log_printf as *const _ as usize },
19160        1080usize,
19161        concat!(
19162            "Offset of field: ",
19163            stringify!(__db_env),
19164            "::",
19165            stringify!(log_printf)
19166        )
19167    );
19168    assert_eq!(
19169        unsafe { &(*(::std::ptr::null::<__db_env>())).log_put as *const _ as usize },
19170        1088usize,
19171        concat!(
19172            "Offset of field: ",
19173            stringify!(__db_env),
19174            "::",
19175            stringify!(log_put)
19176        )
19177    );
19178    assert_eq!(
19179        unsafe { &(*(::std::ptr::null::<__db_env>())).log_put_record as *const _ as usize },
19180        1096usize,
19181        concat!(
19182            "Offset of field: ",
19183            stringify!(__db_env),
19184            "::",
19185            stringify!(log_put_record)
19186        )
19187    );
19188    assert_eq!(
19189        unsafe { &(*(::std::ptr::null::<__db_env>())).log_read_record as *const _ as usize },
19190        1104usize,
19191        concat!(
19192            "Offset of field: ",
19193            stringify!(__db_env),
19194            "::",
19195            stringify!(log_read_record)
19196        )
19197    );
19198    assert_eq!(
19199        unsafe { &(*(::std::ptr::null::<__db_env>())).log_set_config as *const _ as usize },
19200        1112usize,
19201        concat!(
19202            "Offset of field: ",
19203            stringify!(__db_env),
19204            "::",
19205            stringify!(log_set_config)
19206        )
19207    );
19208    assert_eq!(
19209        unsafe { &(*(::std::ptr::null::<__db_env>())).log_stat as *const _ as usize },
19210        1120usize,
19211        concat!(
19212            "Offset of field: ",
19213            stringify!(__db_env),
19214            "::",
19215            stringify!(log_stat)
19216        )
19217    );
19218    assert_eq!(
19219        unsafe { &(*(::std::ptr::null::<__db_env>())).log_stat_print as *const _ as usize },
19220        1128usize,
19221        concat!(
19222            "Offset of field: ",
19223            stringify!(__db_env),
19224            "::",
19225            stringify!(log_stat_print)
19226        )
19227    );
19228    assert_eq!(
19229        unsafe { &(*(::std::ptr::null::<__db_env>())).log_verify as *const _ as usize },
19230        1136usize,
19231        concat!(
19232            "Offset of field: ",
19233            stringify!(__db_env),
19234            "::",
19235            stringify!(log_verify)
19236        )
19237    );
19238    assert_eq!(
19239        unsafe { &(*(::std::ptr::null::<__db_env>())).lsn_reset as *const _ as usize },
19240        1144usize,
19241        concat!(
19242            "Offset of field: ",
19243            stringify!(__db_env),
19244            "::",
19245            stringify!(lsn_reset)
19246        )
19247    );
19248    assert_eq!(
19249        unsafe { &(*(::std::ptr::null::<__db_env>())).memp_fcreate as *const _ as usize },
19250        1152usize,
19251        concat!(
19252            "Offset of field: ",
19253            stringify!(__db_env),
19254            "::",
19255            stringify!(memp_fcreate)
19256        )
19257    );
19258    assert_eq!(
19259        unsafe { &(*(::std::ptr::null::<__db_env>())).memp_register as *const _ as usize },
19260        1160usize,
19261        concat!(
19262            "Offset of field: ",
19263            stringify!(__db_env),
19264            "::",
19265            stringify!(memp_register)
19266        )
19267    );
19268    assert_eq!(
19269        unsafe { &(*(::std::ptr::null::<__db_env>())).memp_stat as *const _ as usize },
19270        1168usize,
19271        concat!(
19272            "Offset of field: ",
19273            stringify!(__db_env),
19274            "::",
19275            stringify!(memp_stat)
19276        )
19277    );
19278    assert_eq!(
19279        unsafe { &(*(::std::ptr::null::<__db_env>())).memp_stat_print as *const _ as usize },
19280        1176usize,
19281        concat!(
19282            "Offset of field: ",
19283            stringify!(__db_env),
19284            "::",
19285            stringify!(memp_stat_print)
19286        )
19287    );
19288    assert_eq!(
19289        unsafe { &(*(::std::ptr::null::<__db_env>())).memp_sync as *const _ as usize },
19290        1184usize,
19291        concat!(
19292            "Offset of field: ",
19293            stringify!(__db_env),
19294            "::",
19295            stringify!(memp_sync)
19296        )
19297    );
19298    assert_eq!(
19299        unsafe { &(*(::std::ptr::null::<__db_env>())).memp_trickle as *const _ as usize },
19300        1192usize,
19301        concat!(
19302            "Offset of field: ",
19303            stringify!(__db_env),
19304            "::",
19305            stringify!(memp_trickle)
19306        )
19307    );
19308    assert_eq!(
19309        unsafe { &(*(::std::ptr::null::<__db_env>())).mutex_alloc as *const _ as usize },
19310        1200usize,
19311        concat!(
19312            "Offset of field: ",
19313            stringify!(__db_env),
19314            "::",
19315            stringify!(mutex_alloc)
19316        )
19317    );
19318    assert_eq!(
19319        unsafe { &(*(::std::ptr::null::<__db_env>())).mutex_free as *const _ as usize },
19320        1208usize,
19321        concat!(
19322            "Offset of field: ",
19323            stringify!(__db_env),
19324            "::",
19325            stringify!(mutex_free)
19326        )
19327    );
19328    assert_eq!(
19329        unsafe { &(*(::std::ptr::null::<__db_env>())).mutex_get_align as *const _ as usize },
19330        1216usize,
19331        concat!(
19332            "Offset of field: ",
19333            stringify!(__db_env),
19334            "::",
19335            stringify!(mutex_get_align)
19336        )
19337    );
19338    assert_eq!(
19339        unsafe { &(*(::std::ptr::null::<__db_env>())).mutex_get_increment as *const _ as usize },
19340        1224usize,
19341        concat!(
19342            "Offset of field: ",
19343            stringify!(__db_env),
19344            "::",
19345            stringify!(mutex_get_increment)
19346        )
19347    );
19348    assert_eq!(
19349        unsafe { &(*(::std::ptr::null::<__db_env>())).mutex_get_init as *const _ as usize },
19350        1232usize,
19351        concat!(
19352            "Offset of field: ",
19353            stringify!(__db_env),
19354            "::",
19355            stringify!(mutex_get_init)
19356        )
19357    );
19358    assert_eq!(
19359        unsafe { &(*(::std::ptr::null::<__db_env>())).mutex_get_max as *const _ as usize },
19360        1240usize,
19361        concat!(
19362            "Offset of field: ",
19363            stringify!(__db_env),
19364            "::",
19365            stringify!(mutex_get_max)
19366        )
19367    );
19368    assert_eq!(
19369        unsafe { &(*(::std::ptr::null::<__db_env>())).mutex_get_tas_spins as *const _ as usize },
19370        1248usize,
19371        concat!(
19372            "Offset of field: ",
19373            stringify!(__db_env),
19374            "::",
19375            stringify!(mutex_get_tas_spins)
19376        )
19377    );
19378    assert_eq!(
19379        unsafe { &(*(::std::ptr::null::<__db_env>())).mutex_lock as *const _ as usize },
19380        1256usize,
19381        concat!(
19382            "Offset of field: ",
19383            stringify!(__db_env),
19384            "::",
19385            stringify!(mutex_lock)
19386        )
19387    );
19388    assert_eq!(
19389        unsafe { &(*(::std::ptr::null::<__db_env>())).mutex_set_align as *const _ as usize },
19390        1264usize,
19391        concat!(
19392            "Offset of field: ",
19393            stringify!(__db_env),
19394            "::",
19395            stringify!(mutex_set_align)
19396        )
19397    );
19398    assert_eq!(
19399        unsafe { &(*(::std::ptr::null::<__db_env>())).mutex_set_increment as *const _ as usize },
19400        1272usize,
19401        concat!(
19402            "Offset of field: ",
19403            stringify!(__db_env),
19404            "::",
19405            stringify!(mutex_set_increment)
19406        )
19407    );
19408    assert_eq!(
19409        unsafe { &(*(::std::ptr::null::<__db_env>())).mutex_set_init as *const _ as usize },
19410        1280usize,
19411        concat!(
19412            "Offset of field: ",
19413            stringify!(__db_env),
19414            "::",
19415            stringify!(mutex_set_init)
19416        )
19417    );
19418    assert_eq!(
19419        unsafe { &(*(::std::ptr::null::<__db_env>())).mutex_set_max as *const _ as usize },
19420        1288usize,
19421        concat!(
19422            "Offset of field: ",
19423            stringify!(__db_env),
19424            "::",
19425            stringify!(mutex_set_max)
19426        )
19427    );
19428    assert_eq!(
19429        unsafe { &(*(::std::ptr::null::<__db_env>())).mutex_set_tas_spins as *const _ as usize },
19430        1296usize,
19431        concat!(
19432            "Offset of field: ",
19433            stringify!(__db_env),
19434            "::",
19435            stringify!(mutex_set_tas_spins)
19436        )
19437    );
19438    assert_eq!(
19439        unsafe { &(*(::std::ptr::null::<__db_env>())).mutex_stat as *const _ as usize },
19440        1304usize,
19441        concat!(
19442            "Offset of field: ",
19443            stringify!(__db_env),
19444            "::",
19445            stringify!(mutex_stat)
19446        )
19447    );
19448    assert_eq!(
19449        unsafe { &(*(::std::ptr::null::<__db_env>())).mutex_stat_print as *const _ as usize },
19450        1312usize,
19451        concat!(
19452            "Offset of field: ",
19453            stringify!(__db_env),
19454            "::",
19455            stringify!(mutex_stat_print)
19456        )
19457    );
19458    assert_eq!(
19459        unsafe { &(*(::std::ptr::null::<__db_env>())).mutex_unlock as *const _ as usize },
19460        1320usize,
19461        concat!(
19462            "Offset of field: ",
19463            stringify!(__db_env),
19464            "::",
19465            stringify!(mutex_unlock)
19466        )
19467    );
19468    assert_eq!(
19469        unsafe { &(*(::std::ptr::null::<__db_env>())).open as *const _ as usize },
19470        1328usize,
19471        concat!(
19472            "Offset of field: ",
19473            stringify!(__db_env),
19474            "::",
19475            stringify!(open)
19476        )
19477    );
19478    assert_eq!(
19479        unsafe { &(*(::std::ptr::null::<__db_env>())).remove as *const _ as usize },
19480        1336usize,
19481        concat!(
19482            "Offset of field: ",
19483            stringify!(__db_env),
19484            "::",
19485            stringify!(remove)
19486        )
19487    );
19488    assert_eq!(
19489        unsafe { &(*(::std::ptr::null::<__db_env>())).rep_elect as *const _ as usize },
19490        1344usize,
19491        concat!(
19492            "Offset of field: ",
19493            stringify!(__db_env),
19494            "::",
19495            stringify!(rep_elect)
19496        )
19497    );
19498    assert_eq!(
19499        unsafe { &(*(::std::ptr::null::<__db_env>())).rep_flush as *const _ as usize },
19500        1352usize,
19501        concat!(
19502            "Offset of field: ",
19503            stringify!(__db_env),
19504            "::",
19505            stringify!(rep_flush)
19506        )
19507    );
19508    assert_eq!(
19509        unsafe { &(*(::std::ptr::null::<__db_env>())).rep_get_clockskew as *const _ as usize },
19510        1360usize,
19511        concat!(
19512            "Offset of field: ",
19513            stringify!(__db_env),
19514            "::",
19515            stringify!(rep_get_clockskew)
19516        )
19517    );
19518    assert_eq!(
19519        unsafe { &(*(::std::ptr::null::<__db_env>())).rep_get_config as *const _ as usize },
19520        1368usize,
19521        concat!(
19522            "Offset of field: ",
19523            stringify!(__db_env),
19524            "::",
19525            stringify!(rep_get_config)
19526        )
19527    );
19528    assert_eq!(
19529        unsafe { &(*(::std::ptr::null::<__db_env>())).rep_get_limit as *const _ as usize },
19530        1376usize,
19531        concat!(
19532            "Offset of field: ",
19533            stringify!(__db_env),
19534            "::",
19535            stringify!(rep_get_limit)
19536        )
19537    );
19538    assert_eq!(
19539        unsafe { &(*(::std::ptr::null::<__db_env>())).rep_get_nsites as *const _ as usize },
19540        1384usize,
19541        concat!(
19542            "Offset of field: ",
19543            stringify!(__db_env),
19544            "::",
19545            stringify!(rep_get_nsites)
19546        )
19547    );
19548    assert_eq!(
19549        unsafe { &(*(::std::ptr::null::<__db_env>())).rep_get_priority as *const _ as usize },
19550        1392usize,
19551        concat!(
19552            "Offset of field: ",
19553            stringify!(__db_env),
19554            "::",
19555            stringify!(rep_get_priority)
19556        )
19557    );
19558    assert_eq!(
19559        unsafe { &(*(::std::ptr::null::<__db_env>())).rep_get_request as *const _ as usize },
19560        1400usize,
19561        concat!(
19562            "Offset of field: ",
19563            stringify!(__db_env),
19564            "::",
19565            stringify!(rep_get_request)
19566        )
19567    );
19568    assert_eq!(
19569        unsafe { &(*(::std::ptr::null::<__db_env>())).rep_get_timeout as *const _ as usize },
19570        1408usize,
19571        concat!(
19572            "Offset of field: ",
19573            stringify!(__db_env),
19574            "::",
19575            stringify!(rep_get_timeout)
19576        )
19577    );
19578    assert_eq!(
19579        unsafe { &(*(::std::ptr::null::<__db_env>())).rep_process_message as *const _ as usize },
19580        1416usize,
19581        concat!(
19582            "Offset of field: ",
19583            stringify!(__db_env),
19584            "::",
19585            stringify!(rep_process_message)
19586        )
19587    );
19588    assert_eq!(
19589        unsafe { &(*(::std::ptr::null::<__db_env>())).rep_set_clockskew as *const _ as usize },
19590        1424usize,
19591        concat!(
19592            "Offset of field: ",
19593            stringify!(__db_env),
19594            "::",
19595            stringify!(rep_set_clockskew)
19596        )
19597    );
19598    assert_eq!(
19599        unsafe { &(*(::std::ptr::null::<__db_env>())).rep_set_config as *const _ as usize },
19600        1432usize,
19601        concat!(
19602            "Offset of field: ",
19603            stringify!(__db_env),
19604            "::",
19605            stringify!(rep_set_config)
19606        )
19607    );
19608    assert_eq!(
19609        unsafe { &(*(::std::ptr::null::<__db_env>())).rep_set_limit as *const _ as usize },
19610        1440usize,
19611        concat!(
19612            "Offset of field: ",
19613            stringify!(__db_env),
19614            "::",
19615            stringify!(rep_set_limit)
19616        )
19617    );
19618    assert_eq!(
19619        unsafe { &(*(::std::ptr::null::<__db_env>())).rep_set_nsites as *const _ as usize },
19620        1448usize,
19621        concat!(
19622            "Offset of field: ",
19623            stringify!(__db_env),
19624            "::",
19625            stringify!(rep_set_nsites)
19626        )
19627    );
19628    assert_eq!(
19629        unsafe { &(*(::std::ptr::null::<__db_env>())).rep_set_priority as *const _ as usize },
19630        1456usize,
19631        concat!(
19632            "Offset of field: ",
19633            stringify!(__db_env),
19634            "::",
19635            stringify!(rep_set_priority)
19636        )
19637    );
19638    assert_eq!(
19639        unsafe { &(*(::std::ptr::null::<__db_env>())).rep_set_request as *const _ as usize },
19640        1464usize,
19641        concat!(
19642            "Offset of field: ",
19643            stringify!(__db_env),
19644            "::",
19645            stringify!(rep_set_request)
19646        )
19647    );
19648    assert_eq!(
19649        unsafe { &(*(::std::ptr::null::<__db_env>())).rep_set_timeout as *const _ as usize },
19650        1472usize,
19651        concat!(
19652            "Offset of field: ",
19653            stringify!(__db_env),
19654            "::",
19655            stringify!(rep_set_timeout)
19656        )
19657    );
19658    assert_eq!(
19659        unsafe { &(*(::std::ptr::null::<__db_env>())).rep_set_transport as *const _ as usize },
19660        1480usize,
19661        concat!(
19662            "Offset of field: ",
19663            stringify!(__db_env),
19664            "::",
19665            stringify!(rep_set_transport)
19666        )
19667    );
19668    assert_eq!(
19669        unsafe { &(*(::std::ptr::null::<__db_env>())).rep_start as *const _ as usize },
19670        1488usize,
19671        concat!(
19672            "Offset of field: ",
19673            stringify!(__db_env),
19674            "::",
19675            stringify!(rep_start)
19676        )
19677    );
19678    assert_eq!(
19679        unsafe { &(*(::std::ptr::null::<__db_env>())).rep_stat as *const _ as usize },
19680        1496usize,
19681        concat!(
19682            "Offset of field: ",
19683            stringify!(__db_env),
19684            "::",
19685            stringify!(rep_stat)
19686        )
19687    );
19688    assert_eq!(
19689        unsafe { &(*(::std::ptr::null::<__db_env>())).rep_stat_print as *const _ as usize },
19690        1504usize,
19691        concat!(
19692            "Offset of field: ",
19693            stringify!(__db_env),
19694            "::",
19695            stringify!(rep_stat_print)
19696        )
19697    );
19698    assert_eq!(
19699        unsafe { &(*(::std::ptr::null::<__db_env>())).rep_sync as *const _ as usize },
19700        1512usize,
19701        concat!(
19702            "Offset of field: ",
19703            stringify!(__db_env),
19704            "::",
19705            stringify!(rep_sync)
19706        )
19707    );
19708    assert_eq!(
19709        unsafe { &(*(::std::ptr::null::<__db_env>())).repmgr_channel as *const _ as usize },
19710        1520usize,
19711        concat!(
19712            "Offset of field: ",
19713            stringify!(__db_env),
19714            "::",
19715            stringify!(repmgr_channel)
19716        )
19717    );
19718    assert_eq!(
19719        unsafe { &(*(::std::ptr::null::<__db_env>())).repmgr_get_ack_policy as *const _ as usize },
19720        1528usize,
19721        concat!(
19722            "Offset of field: ",
19723            stringify!(__db_env),
19724            "::",
19725            stringify!(repmgr_get_ack_policy)
19726        )
19727    );
19728    assert_eq!(
19729        unsafe { &(*(::std::ptr::null::<__db_env>())).repmgr_local_site as *const _ as usize },
19730        1536usize,
19731        concat!(
19732            "Offset of field: ",
19733            stringify!(__db_env),
19734            "::",
19735            stringify!(repmgr_local_site)
19736        )
19737    );
19738    assert_eq!(
19739        unsafe { &(*(::std::ptr::null::<__db_env>())).repmgr_msg_dispatch as *const _ as usize },
19740        1544usize,
19741        concat!(
19742            "Offset of field: ",
19743            stringify!(__db_env),
19744            "::",
19745            stringify!(repmgr_msg_dispatch)
19746        )
19747    );
19748    assert_eq!(
19749        unsafe { &(*(::std::ptr::null::<__db_env>())).repmgr_set_ack_policy as *const _ as usize },
19750        1552usize,
19751        concat!(
19752            "Offset of field: ",
19753            stringify!(__db_env),
19754            "::",
19755            stringify!(repmgr_set_ack_policy)
19756        )
19757    );
19758    assert_eq!(
19759        unsafe { &(*(::std::ptr::null::<__db_env>())).repmgr_site as *const _ as usize },
19760        1560usize,
19761        concat!(
19762            "Offset of field: ",
19763            stringify!(__db_env),
19764            "::",
19765            stringify!(repmgr_site)
19766        )
19767    );
19768    assert_eq!(
19769        unsafe { &(*(::std::ptr::null::<__db_env>())).repmgr_site_by_eid as *const _ as usize },
19770        1568usize,
19771        concat!(
19772            "Offset of field: ",
19773            stringify!(__db_env),
19774            "::",
19775            stringify!(repmgr_site_by_eid)
19776        )
19777    );
19778    assert_eq!(
19779        unsafe { &(*(::std::ptr::null::<__db_env>())).repmgr_site_list as *const _ as usize },
19780        1576usize,
19781        concat!(
19782            "Offset of field: ",
19783            stringify!(__db_env),
19784            "::",
19785            stringify!(repmgr_site_list)
19786        )
19787    );
19788    assert_eq!(
19789        unsafe { &(*(::std::ptr::null::<__db_env>())).repmgr_start as *const _ as usize },
19790        1584usize,
19791        concat!(
19792            "Offset of field: ",
19793            stringify!(__db_env),
19794            "::",
19795            stringify!(repmgr_start)
19796        )
19797    );
19798    assert_eq!(
19799        unsafe { &(*(::std::ptr::null::<__db_env>())).repmgr_stat as *const _ as usize },
19800        1592usize,
19801        concat!(
19802            "Offset of field: ",
19803            stringify!(__db_env),
19804            "::",
19805            stringify!(repmgr_stat)
19806        )
19807    );
19808    assert_eq!(
19809        unsafe { &(*(::std::ptr::null::<__db_env>())).repmgr_stat_print as *const _ as usize },
19810        1600usize,
19811        concat!(
19812            "Offset of field: ",
19813            stringify!(__db_env),
19814            "::",
19815            stringify!(repmgr_stat_print)
19816        )
19817    );
19818    assert_eq!(
19819        unsafe { &(*(::std::ptr::null::<__db_env>())).set_alloc as *const _ as usize },
19820        1608usize,
19821        concat!(
19822            "Offset of field: ",
19823            stringify!(__db_env),
19824            "::",
19825            stringify!(set_alloc)
19826        )
19827    );
19828    assert_eq!(
19829        unsafe { &(*(::std::ptr::null::<__db_env>())).set_app_dispatch as *const _ as usize },
19830        1616usize,
19831        concat!(
19832            "Offset of field: ",
19833            stringify!(__db_env),
19834            "::",
19835            stringify!(set_app_dispatch)
19836        )
19837    );
19838    assert_eq!(
19839        unsafe { &(*(::std::ptr::null::<__db_env>())).set_cache_max as *const _ as usize },
19840        1624usize,
19841        concat!(
19842            "Offset of field: ",
19843            stringify!(__db_env),
19844            "::",
19845            stringify!(set_cache_max)
19846        )
19847    );
19848    assert_eq!(
19849        unsafe { &(*(::std::ptr::null::<__db_env>())).set_cachesize as *const _ as usize },
19850        1632usize,
19851        concat!(
19852            "Offset of field: ",
19853            stringify!(__db_env),
19854            "::",
19855            stringify!(set_cachesize)
19856        )
19857    );
19858    assert_eq!(
19859        unsafe { &(*(::std::ptr::null::<__db_env>())).set_create_dir as *const _ as usize },
19860        1640usize,
19861        concat!(
19862            "Offset of field: ",
19863            stringify!(__db_env),
19864            "::",
19865            stringify!(set_create_dir)
19866        )
19867    );
19868    assert_eq!(
19869        unsafe { &(*(::std::ptr::null::<__db_env>())).set_data_dir as *const _ as usize },
19870        1648usize,
19871        concat!(
19872            "Offset of field: ",
19873            stringify!(__db_env),
19874            "::",
19875            stringify!(set_data_dir)
19876        )
19877    );
19878    assert_eq!(
19879        unsafe { &(*(::std::ptr::null::<__db_env>())).set_data_len as *const _ as usize },
19880        1656usize,
19881        concat!(
19882            "Offset of field: ",
19883            stringify!(__db_env),
19884            "::",
19885            stringify!(set_data_len)
19886        )
19887    );
19888    assert_eq!(
19889        unsafe { &(*(::std::ptr::null::<__db_env>())).set_backup_callbacks as *const _ as usize },
19890        1664usize,
19891        concat!(
19892            "Offset of field: ",
19893            stringify!(__db_env),
19894            "::",
19895            stringify!(set_backup_callbacks)
19896        )
19897    );
19898    assert_eq!(
19899        unsafe { &(*(::std::ptr::null::<__db_env>())).set_backup_config as *const _ as usize },
19900        1672usize,
19901        concat!(
19902            "Offset of field: ",
19903            stringify!(__db_env),
19904            "::",
19905            stringify!(set_backup_config)
19906        )
19907    );
19908    assert_eq!(
19909        unsafe { &(*(::std::ptr::null::<__db_env>())).set_encrypt as *const _ as usize },
19910        1680usize,
19911        concat!(
19912            "Offset of field: ",
19913            stringify!(__db_env),
19914            "::",
19915            stringify!(set_encrypt)
19916        )
19917    );
19918    assert_eq!(
19919        unsafe { &(*(::std::ptr::null::<__db_env>())).set_errcall as *const _ as usize },
19920        1688usize,
19921        concat!(
19922            "Offset of field: ",
19923            stringify!(__db_env),
19924            "::",
19925            stringify!(set_errcall)
19926        )
19927    );
19928    assert_eq!(
19929        unsafe { &(*(::std::ptr::null::<__db_env>())).set_errfile as *const _ as usize },
19930        1696usize,
19931        concat!(
19932            "Offset of field: ",
19933            stringify!(__db_env),
19934            "::",
19935            stringify!(set_errfile)
19936        )
19937    );
19938    assert_eq!(
19939        unsafe { &(*(::std::ptr::null::<__db_env>())).set_errpfx as *const _ as usize },
19940        1704usize,
19941        concat!(
19942            "Offset of field: ",
19943            stringify!(__db_env),
19944            "::",
19945            stringify!(set_errpfx)
19946        )
19947    );
19948    assert_eq!(
19949        unsafe { &(*(::std::ptr::null::<__db_env>())).set_event_notify as *const _ as usize },
19950        1712usize,
19951        concat!(
19952            "Offset of field: ",
19953            stringify!(__db_env),
19954            "::",
19955            stringify!(set_event_notify)
19956        )
19957    );
19958    assert_eq!(
19959        unsafe { &(*(::std::ptr::null::<__db_env>())).set_feedback as *const _ as usize },
19960        1720usize,
19961        concat!(
19962            "Offset of field: ",
19963            stringify!(__db_env),
19964            "::",
19965            stringify!(set_feedback)
19966        )
19967    );
19968    assert_eq!(
19969        unsafe { &(*(::std::ptr::null::<__db_env>())).set_flags as *const _ as usize },
19970        1728usize,
19971        concat!(
19972            "Offset of field: ",
19973            stringify!(__db_env),
19974            "::",
19975            stringify!(set_flags)
19976        )
19977    );
19978    assert_eq!(
19979        unsafe {
19980            &(*(::std::ptr::null::<__db_env>())).set_intermediate_dir_mode as *const _ as usize
19981        },
19982        1736usize,
19983        concat!(
19984            "Offset of field: ",
19985            stringify!(__db_env),
19986            "::",
19987            stringify!(set_intermediate_dir_mode)
19988        )
19989    );
19990    assert_eq!(
19991        unsafe { &(*(::std::ptr::null::<__db_env>())).set_isalive as *const _ as usize },
19992        1744usize,
19993        concat!(
19994            "Offset of field: ",
19995            stringify!(__db_env),
19996            "::",
19997            stringify!(set_isalive)
19998        )
19999    );
20000    assert_eq!(
20001        unsafe { &(*(::std::ptr::null::<__db_env>())).set_lg_bsize as *const _ as usize },
20002        1752usize,
20003        concat!(
20004            "Offset of field: ",
20005            stringify!(__db_env),
20006            "::",
20007            stringify!(set_lg_bsize)
20008        )
20009    );
20010    assert_eq!(
20011        unsafe { &(*(::std::ptr::null::<__db_env>())).set_lg_dir as *const _ as usize },
20012        1760usize,
20013        concat!(
20014            "Offset of field: ",
20015            stringify!(__db_env),
20016            "::",
20017            stringify!(set_lg_dir)
20018        )
20019    );
20020    assert_eq!(
20021        unsafe { &(*(::std::ptr::null::<__db_env>())).set_lg_filemode as *const _ as usize },
20022        1768usize,
20023        concat!(
20024            "Offset of field: ",
20025            stringify!(__db_env),
20026            "::",
20027            stringify!(set_lg_filemode)
20028        )
20029    );
20030    assert_eq!(
20031        unsafe { &(*(::std::ptr::null::<__db_env>())).set_lg_max as *const _ as usize },
20032        1776usize,
20033        concat!(
20034            "Offset of field: ",
20035            stringify!(__db_env),
20036            "::",
20037            stringify!(set_lg_max)
20038        )
20039    );
20040    assert_eq!(
20041        unsafe { &(*(::std::ptr::null::<__db_env>())).set_lg_regionmax as *const _ as usize },
20042        1784usize,
20043        concat!(
20044            "Offset of field: ",
20045            stringify!(__db_env),
20046            "::",
20047            stringify!(set_lg_regionmax)
20048        )
20049    );
20050    assert_eq!(
20051        unsafe { &(*(::std::ptr::null::<__db_env>())).set_lk_conflicts as *const _ as usize },
20052        1792usize,
20053        concat!(
20054            "Offset of field: ",
20055            stringify!(__db_env),
20056            "::",
20057            stringify!(set_lk_conflicts)
20058        )
20059    );
20060    assert_eq!(
20061        unsafe { &(*(::std::ptr::null::<__db_env>())).set_lk_detect as *const _ as usize },
20062        1800usize,
20063        concat!(
20064            "Offset of field: ",
20065            stringify!(__db_env),
20066            "::",
20067            stringify!(set_lk_detect)
20068        )
20069    );
20070    assert_eq!(
20071        unsafe { &(*(::std::ptr::null::<__db_env>())).set_lk_max_lockers as *const _ as usize },
20072        1808usize,
20073        concat!(
20074            "Offset of field: ",
20075            stringify!(__db_env),
20076            "::",
20077            stringify!(set_lk_max_lockers)
20078        )
20079    );
20080    assert_eq!(
20081        unsafe { &(*(::std::ptr::null::<__db_env>())).set_lk_max_locks as *const _ as usize },
20082        1816usize,
20083        concat!(
20084            "Offset of field: ",
20085            stringify!(__db_env),
20086            "::",
20087            stringify!(set_lk_max_locks)
20088        )
20089    );
20090    assert_eq!(
20091        unsafe { &(*(::std::ptr::null::<__db_env>())).set_lk_max_objects as *const _ as usize },
20092        1824usize,
20093        concat!(
20094            "Offset of field: ",
20095            stringify!(__db_env),
20096            "::",
20097            stringify!(set_lk_max_objects)
20098        )
20099    );
20100    assert_eq!(
20101        unsafe { &(*(::std::ptr::null::<__db_env>())).set_lk_partitions as *const _ as usize },
20102        1832usize,
20103        concat!(
20104            "Offset of field: ",
20105            stringify!(__db_env),
20106            "::",
20107            stringify!(set_lk_partitions)
20108        )
20109    );
20110    assert_eq!(
20111        unsafe { &(*(::std::ptr::null::<__db_env>())).set_lk_priority as *const _ as usize },
20112        1840usize,
20113        concat!(
20114            "Offset of field: ",
20115            stringify!(__db_env),
20116            "::",
20117            stringify!(set_lk_priority)
20118        )
20119    );
20120    assert_eq!(
20121        unsafe { &(*(::std::ptr::null::<__db_env>())).set_lk_tablesize as *const _ as usize },
20122        1848usize,
20123        concat!(
20124            "Offset of field: ",
20125            stringify!(__db_env),
20126            "::",
20127            stringify!(set_lk_tablesize)
20128        )
20129    );
20130    assert_eq!(
20131        unsafe { &(*(::std::ptr::null::<__db_env>())).set_memory_init as *const _ as usize },
20132        1856usize,
20133        concat!(
20134            "Offset of field: ",
20135            stringify!(__db_env),
20136            "::",
20137            stringify!(set_memory_init)
20138        )
20139    );
20140    assert_eq!(
20141        unsafe { &(*(::std::ptr::null::<__db_env>())).set_memory_max as *const _ as usize },
20142        1864usize,
20143        concat!(
20144            "Offset of field: ",
20145            stringify!(__db_env),
20146            "::",
20147            stringify!(set_memory_max)
20148        )
20149    );
20150    assert_eq!(
20151        unsafe { &(*(::std::ptr::null::<__db_env>())).set_metadata_dir as *const _ as usize },
20152        1872usize,
20153        concat!(
20154            "Offset of field: ",
20155            stringify!(__db_env),
20156            "::",
20157            stringify!(set_metadata_dir)
20158        )
20159    );
20160    assert_eq!(
20161        unsafe { &(*(::std::ptr::null::<__db_env>())).set_mp_max_openfd as *const _ as usize },
20162        1880usize,
20163        concat!(
20164            "Offset of field: ",
20165            stringify!(__db_env),
20166            "::",
20167            stringify!(set_mp_max_openfd)
20168        )
20169    );
20170    assert_eq!(
20171        unsafe { &(*(::std::ptr::null::<__db_env>())).set_mp_max_write as *const _ as usize },
20172        1888usize,
20173        concat!(
20174            "Offset of field: ",
20175            stringify!(__db_env),
20176            "::",
20177            stringify!(set_mp_max_write)
20178        )
20179    );
20180    assert_eq!(
20181        unsafe { &(*(::std::ptr::null::<__db_env>())).set_mp_mmapsize as *const _ as usize },
20182        1896usize,
20183        concat!(
20184            "Offset of field: ",
20185            stringify!(__db_env),
20186            "::",
20187            stringify!(set_mp_mmapsize)
20188        )
20189    );
20190    assert_eq!(
20191        unsafe { &(*(::std::ptr::null::<__db_env>())).set_mp_mtxcount as *const _ as usize },
20192        1904usize,
20193        concat!(
20194            "Offset of field: ",
20195            stringify!(__db_env),
20196            "::",
20197            stringify!(set_mp_mtxcount)
20198        )
20199    );
20200    assert_eq!(
20201        unsafe { &(*(::std::ptr::null::<__db_env>())).set_mp_pagesize as *const _ as usize },
20202        1912usize,
20203        concat!(
20204            "Offset of field: ",
20205            stringify!(__db_env),
20206            "::",
20207            stringify!(set_mp_pagesize)
20208        )
20209    );
20210    assert_eq!(
20211        unsafe { &(*(::std::ptr::null::<__db_env>())).set_mp_tablesize as *const _ as usize },
20212        1920usize,
20213        concat!(
20214            "Offset of field: ",
20215            stringify!(__db_env),
20216            "::",
20217            stringify!(set_mp_tablesize)
20218        )
20219    );
20220    assert_eq!(
20221        unsafe { &(*(::std::ptr::null::<__db_env>())).set_msgcall as *const _ as usize },
20222        1928usize,
20223        concat!(
20224            "Offset of field: ",
20225            stringify!(__db_env),
20226            "::",
20227            stringify!(set_msgcall)
20228        )
20229    );
20230    assert_eq!(
20231        unsafe { &(*(::std::ptr::null::<__db_env>())).set_msgfile as *const _ as usize },
20232        1936usize,
20233        concat!(
20234            "Offset of field: ",
20235            stringify!(__db_env),
20236            "::",
20237            stringify!(set_msgfile)
20238        )
20239    );
20240    assert_eq!(
20241        unsafe { &(*(::std::ptr::null::<__db_env>())).set_paniccall as *const _ as usize },
20242        1944usize,
20243        concat!(
20244            "Offset of field: ",
20245            stringify!(__db_env),
20246            "::",
20247            stringify!(set_paniccall)
20248        )
20249    );
20250    assert_eq!(
20251        unsafe { &(*(::std::ptr::null::<__db_env>())).set_shm_key as *const _ as usize },
20252        1952usize,
20253        concat!(
20254            "Offset of field: ",
20255            stringify!(__db_env),
20256            "::",
20257            stringify!(set_shm_key)
20258        )
20259    );
20260    assert_eq!(
20261        unsafe { &(*(::std::ptr::null::<__db_env>())).set_thread_count as *const _ as usize },
20262        1960usize,
20263        concat!(
20264            "Offset of field: ",
20265            stringify!(__db_env),
20266            "::",
20267            stringify!(set_thread_count)
20268        )
20269    );
20270    assert_eq!(
20271        unsafe { &(*(::std::ptr::null::<__db_env>())).set_thread_id as *const _ as usize },
20272        1968usize,
20273        concat!(
20274            "Offset of field: ",
20275            stringify!(__db_env),
20276            "::",
20277            stringify!(set_thread_id)
20278        )
20279    );
20280    assert_eq!(
20281        unsafe { &(*(::std::ptr::null::<__db_env>())).set_thread_id_string as *const _ as usize },
20282        1976usize,
20283        concat!(
20284            "Offset of field: ",
20285            stringify!(__db_env),
20286            "::",
20287            stringify!(set_thread_id_string)
20288        )
20289    );
20290    assert_eq!(
20291        unsafe { &(*(::std::ptr::null::<__db_env>())).set_timeout as *const _ as usize },
20292        1984usize,
20293        concat!(
20294            "Offset of field: ",
20295            stringify!(__db_env),
20296            "::",
20297            stringify!(set_timeout)
20298        )
20299    );
20300    assert_eq!(
20301        unsafe { &(*(::std::ptr::null::<__db_env>())).set_tmp_dir as *const _ as usize },
20302        1992usize,
20303        concat!(
20304            "Offset of field: ",
20305            stringify!(__db_env),
20306            "::",
20307            stringify!(set_tmp_dir)
20308        )
20309    );
20310    assert_eq!(
20311        unsafe { &(*(::std::ptr::null::<__db_env>())).set_tx_max as *const _ as usize },
20312        2000usize,
20313        concat!(
20314            "Offset of field: ",
20315            stringify!(__db_env),
20316            "::",
20317            stringify!(set_tx_max)
20318        )
20319    );
20320    assert_eq!(
20321        unsafe { &(*(::std::ptr::null::<__db_env>())).set_tx_timestamp as *const _ as usize },
20322        2008usize,
20323        concat!(
20324            "Offset of field: ",
20325            stringify!(__db_env),
20326            "::",
20327            stringify!(set_tx_timestamp)
20328        )
20329    );
20330    assert_eq!(
20331        unsafe { &(*(::std::ptr::null::<__db_env>())).set_verbose as *const _ as usize },
20332        2016usize,
20333        concat!(
20334            "Offset of field: ",
20335            stringify!(__db_env),
20336            "::",
20337            stringify!(set_verbose)
20338        )
20339    );
20340    assert_eq!(
20341        unsafe { &(*(::std::ptr::null::<__db_env>())).txn_applied as *const _ as usize },
20342        2024usize,
20343        concat!(
20344            "Offset of field: ",
20345            stringify!(__db_env),
20346            "::",
20347            stringify!(txn_applied)
20348        )
20349    );
20350    assert_eq!(
20351        unsafe { &(*(::std::ptr::null::<__db_env>())).stat_print as *const _ as usize },
20352        2032usize,
20353        concat!(
20354            "Offset of field: ",
20355            stringify!(__db_env),
20356            "::",
20357            stringify!(stat_print)
20358        )
20359    );
20360    assert_eq!(
20361        unsafe { &(*(::std::ptr::null::<__db_env>())).txn_begin as *const _ as usize },
20362        2040usize,
20363        concat!(
20364            "Offset of field: ",
20365            stringify!(__db_env),
20366            "::",
20367            stringify!(txn_begin)
20368        )
20369    );
20370    assert_eq!(
20371        unsafe { &(*(::std::ptr::null::<__db_env>())).txn_checkpoint as *const _ as usize },
20372        2048usize,
20373        concat!(
20374            "Offset of field: ",
20375            stringify!(__db_env),
20376            "::",
20377            stringify!(txn_checkpoint)
20378        )
20379    );
20380    assert_eq!(
20381        unsafe { &(*(::std::ptr::null::<__db_env>())).txn_recover as *const _ as usize },
20382        2056usize,
20383        concat!(
20384            "Offset of field: ",
20385            stringify!(__db_env),
20386            "::",
20387            stringify!(txn_recover)
20388        )
20389    );
20390    assert_eq!(
20391        unsafe { &(*(::std::ptr::null::<__db_env>())).txn_stat as *const _ as usize },
20392        2064usize,
20393        concat!(
20394            "Offset of field: ",
20395            stringify!(__db_env),
20396            "::",
20397            stringify!(txn_stat)
20398        )
20399    );
20400    assert_eq!(
20401        unsafe { &(*(::std::ptr::null::<__db_env>())).txn_stat_print as *const _ as usize },
20402        2072usize,
20403        concat!(
20404            "Offset of field: ",
20405            stringify!(__db_env),
20406            "::",
20407            stringify!(txn_stat_print)
20408        )
20409    );
20410    assert_eq!(
20411        unsafe { &(*(::std::ptr::null::<__db_env>())).prdbt as *const _ as usize },
20412        2080usize,
20413        concat!(
20414            "Offset of field: ",
20415            stringify!(__db_env),
20416            "::",
20417            stringify!(prdbt)
20418        )
20419    );
20420}
20421impl Default for __db_env {
20422    fn default() -> Self {
20423        unsafe { ::std::mem::zeroed() }
20424    }
20425}
20426#[repr(C)]
20427#[derive(Debug, Copy, Clone)]
20428pub struct __db_distab {
20429    pub int_dispatch: *mut ::std::option::Option<
20430        unsafe extern "C" fn(
20431            arg1: *mut ENV,
20432            arg2: *mut DBT,
20433            arg3: *mut DB_LSN,
20434            arg4: db_recops,
20435            arg5: *mut ::std::os::raw::c_void,
20436        ) -> ::std::os::raw::c_int,
20437    >,
20438    pub int_size: usize,
20439    pub ext_dispatch: *mut ::std::option::Option<
20440        unsafe extern "C" fn(
20441            arg1: *mut DB_ENV,
20442            arg2: *mut DBT,
20443            arg3: *mut DB_LSN,
20444            arg4: db_recops,
20445        ) -> ::std::os::raw::c_int,
20446    >,
20447    pub ext_size: usize,
20448}
20449#[test]
20450fn bindgen_test_layout___db_distab() {
20451    assert_eq!(
20452        ::std::mem::size_of::<__db_distab>(),
20453        32usize,
20454        concat!("Size of: ", stringify!(__db_distab))
20455    );
20456    assert_eq!(
20457        ::std::mem::align_of::<__db_distab>(),
20458        8usize,
20459        concat!("Alignment of ", stringify!(__db_distab))
20460    );
20461    assert_eq!(
20462        unsafe { &(*(::std::ptr::null::<__db_distab>())).int_dispatch as *const _ as usize },
20463        0usize,
20464        concat!(
20465            "Offset of field: ",
20466            stringify!(__db_distab),
20467            "::",
20468            stringify!(int_dispatch)
20469        )
20470    );
20471    assert_eq!(
20472        unsafe { &(*(::std::ptr::null::<__db_distab>())).int_size as *const _ as usize },
20473        8usize,
20474        concat!(
20475            "Offset of field: ",
20476            stringify!(__db_distab),
20477            "::",
20478            stringify!(int_size)
20479        )
20480    );
20481    assert_eq!(
20482        unsafe { &(*(::std::ptr::null::<__db_distab>())).ext_dispatch as *const _ as usize },
20483        16usize,
20484        concat!(
20485            "Offset of field: ",
20486            stringify!(__db_distab),
20487            "::",
20488            stringify!(ext_dispatch)
20489        )
20490    );
20491    assert_eq!(
20492        unsafe { &(*(::std::ptr::null::<__db_distab>())).ext_size as *const _ as usize },
20493        24usize,
20494        concat!(
20495            "Offset of field: ",
20496            stringify!(__db_distab),
20497            "::",
20498            stringify!(ext_size)
20499        )
20500    );
20501}
20502impl Default for __db_distab {
20503    fn default() -> Self {
20504        unsafe { ::std::mem::zeroed() }
20505    }
20506}
20507#[repr(C)]
20508#[derive(Debug, Copy, Clone)]
20509pub struct __db_logvrfy_config {
20510    pub continue_after_fail: ::std::os::raw::c_int,
20511    pub verbose: ::std::os::raw::c_int,
20512    pub cachesize: u_int32_t,
20513    pub temp_envhome: *const ::std::os::raw::c_char,
20514    pub dbfile: *const ::std::os::raw::c_char,
20515    pub dbname: *const ::std::os::raw::c_char,
20516    pub start_lsn: DB_LSN,
20517    pub end_lsn: DB_LSN,
20518    pub start_time: time_t,
20519    pub end_time: time_t,
20520}
20521#[test]
20522fn bindgen_test_layout___db_logvrfy_config() {
20523    assert_eq!(
20524        ::std::mem::size_of::<__db_logvrfy_config>(),
20525        72usize,
20526        concat!("Size of: ", stringify!(__db_logvrfy_config))
20527    );
20528    assert_eq!(
20529        ::std::mem::align_of::<__db_logvrfy_config>(),
20530        8usize,
20531        concat!("Alignment of ", stringify!(__db_logvrfy_config))
20532    );
20533    assert_eq!(
20534        unsafe {
20535            &(*(::std::ptr::null::<__db_logvrfy_config>())).continue_after_fail as *const _ as usize
20536        },
20537        0usize,
20538        concat!(
20539            "Offset of field: ",
20540            stringify!(__db_logvrfy_config),
20541            "::",
20542            stringify!(continue_after_fail)
20543        )
20544    );
20545    assert_eq!(
20546        unsafe { &(*(::std::ptr::null::<__db_logvrfy_config>())).verbose as *const _ as usize },
20547        4usize,
20548        concat!(
20549            "Offset of field: ",
20550            stringify!(__db_logvrfy_config),
20551            "::",
20552            stringify!(verbose)
20553        )
20554    );
20555    assert_eq!(
20556        unsafe { &(*(::std::ptr::null::<__db_logvrfy_config>())).cachesize as *const _ as usize },
20557        8usize,
20558        concat!(
20559            "Offset of field: ",
20560            stringify!(__db_logvrfy_config),
20561            "::",
20562            stringify!(cachesize)
20563        )
20564    );
20565    assert_eq!(
20566        unsafe {
20567            &(*(::std::ptr::null::<__db_logvrfy_config>())).temp_envhome as *const _ as usize
20568        },
20569        16usize,
20570        concat!(
20571            "Offset of field: ",
20572            stringify!(__db_logvrfy_config),
20573            "::",
20574            stringify!(temp_envhome)
20575        )
20576    );
20577    assert_eq!(
20578        unsafe { &(*(::std::ptr::null::<__db_logvrfy_config>())).dbfile as *const _ as usize },
20579        24usize,
20580        concat!(
20581            "Offset of field: ",
20582            stringify!(__db_logvrfy_config),
20583            "::",
20584            stringify!(dbfile)
20585        )
20586    );
20587    assert_eq!(
20588        unsafe { &(*(::std::ptr::null::<__db_logvrfy_config>())).dbname as *const _ as usize },
20589        32usize,
20590        concat!(
20591            "Offset of field: ",
20592            stringify!(__db_logvrfy_config),
20593            "::",
20594            stringify!(dbname)
20595        )
20596    );
20597    assert_eq!(
20598        unsafe { &(*(::std::ptr::null::<__db_logvrfy_config>())).start_lsn as *const _ as usize },
20599        40usize,
20600        concat!(
20601            "Offset of field: ",
20602            stringify!(__db_logvrfy_config),
20603            "::",
20604            stringify!(start_lsn)
20605        )
20606    );
20607    assert_eq!(
20608        unsafe { &(*(::std::ptr::null::<__db_logvrfy_config>())).end_lsn as *const _ as usize },
20609        48usize,
20610        concat!(
20611            "Offset of field: ",
20612            stringify!(__db_logvrfy_config),
20613            "::",
20614            stringify!(end_lsn)
20615        )
20616    );
20617    assert_eq!(
20618        unsafe { &(*(::std::ptr::null::<__db_logvrfy_config>())).start_time as *const _ as usize },
20619        56usize,
20620        concat!(
20621            "Offset of field: ",
20622            stringify!(__db_logvrfy_config),
20623            "::",
20624            stringify!(start_time)
20625        )
20626    );
20627    assert_eq!(
20628        unsafe { &(*(::std::ptr::null::<__db_logvrfy_config>())).end_time as *const _ as usize },
20629        64usize,
20630        concat!(
20631            "Offset of field: ",
20632            stringify!(__db_logvrfy_config),
20633            "::",
20634            stringify!(end_time)
20635        )
20636    );
20637}
20638impl Default for __db_logvrfy_config {
20639    fn default() -> Self {
20640        unsafe { ::std::mem::zeroed() }
20641    }
20642}
20643#[repr(C)]
20644#[derive(Debug, Copy, Clone)]
20645pub struct __db_channel {
20646    pub channel: *mut CHANNEL,
20647    pub eid: ::std::os::raw::c_int,
20648    pub timeout: db_timeout_t,
20649    pub close: ::std::option::Option<
20650        unsafe extern "C" fn(arg1: *mut DB_CHANNEL, arg2: u_int32_t) -> ::std::os::raw::c_int,
20651    >,
20652    pub send_msg: ::std::option::Option<
20653        unsafe extern "C" fn(
20654            arg1: *mut DB_CHANNEL,
20655            arg2: *mut DBT,
20656            arg3: u_int32_t,
20657            arg4: u_int32_t,
20658        ) -> ::std::os::raw::c_int,
20659    >,
20660    pub send_request: ::std::option::Option<
20661        unsafe extern "C" fn(
20662            arg1: *mut DB_CHANNEL,
20663            arg2: *mut DBT,
20664            arg3: u_int32_t,
20665            arg4: *mut DBT,
20666            arg5: db_timeout_t,
20667            arg6: u_int32_t,
20668        ) -> ::std::os::raw::c_int,
20669    >,
20670    pub set_timeout: ::std::option::Option<
20671        unsafe extern "C" fn(arg1: *mut DB_CHANNEL, arg2: db_timeout_t) -> ::std::os::raw::c_int,
20672    >,
20673}
20674#[test]
20675fn bindgen_test_layout___db_channel() {
20676    assert_eq!(
20677        ::std::mem::size_of::<__db_channel>(),
20678        48usize,
20679        concat!("Size of: ", stringify!(__db_channel))
20680    );
20681    assert_eq!(
20682        ::std::mem::align_of::<__db_channel>(),
20683        8usize,
20684        concat!("Alignment of ", stringify!(__db_channel))
20685    );
20686    assert_eq!(
20687        unsafe { &(*(::std::ptr::null::<__db_channel>())).channel as *const _ as usize },
20688        0usize,
20689        concat!(
20690            "Offset of field: ",
20691            stringify!(__db_channel),
20692            "::",
20693            stringify!(channel)
20694        )
20695    );
20696    assert_eq!(
20697        unsafe { &(*(::std::ptr::null::<__db_channel>())).eid as *const _ as usize },
20698        8usize,
20699        concat!(
20700            "Offset of field: ",
20701            stringify!(__db_channel),
20702            "::",
20703            stringify!(eid)
20704        )
20705    );
20706    assert_eq!(
20707        unsafe { &(*(::std::ptr::null::<__db_channel>())).timeout as *const _ as usize },
20708        12usize,
20709        concat!(
20710            "Offset of field: ",
20711            stringify!(__db_channel),
20712            "::",
20713            stringify!(timeout)
20714        )
20715    );
20716    assert_eq!(
20717        unsafe { &(*(::std::ptr::null::<__db_channel>())).close as *const _ as usize },
20718        16usize,
20719        concat!(
20720            "Offset of field: ",
20721            stringify!(__db_channel),
20722            "::",
20723            stringify!(close)
20724        )
20725    );
20726    assert_eq!(
20727        unsafe { &(*(::std::ptr::null::<__db_channel>())).send_msg as *const _ as usize },
20728        24usize,
20729        concat!(
20730            "Offset of field: ",
20731            stringify!(__db_channel),
20732            "::",
20733            stringify!(send_msg)
20734        )
20735    );
20736    assert_eq!(
20737        unsafe { &(*(::std::ptr::null::<__db_channel>())).send_request as *const _ as usize },
20738        32usize,
20739        concat!(
20740            "Offset of field: ",
20741            stringify!(__db_channel),
20742            "::",
20743            stringify!(send_request)
20744        )
20745    );
20746    assert_eq!(
20747        unsafe { &(*(::std::ptr::null::<__db_channel>())).set_timeout as *const _ as usize },
20748        40usize,
20749        concat!(
20750            "Offset of field: ",
20751            stringify!(__db_channel),
20752            "::",
20753            stringify!(set_timeout)
20754        )
20755    );
20756}
20757impl Default for __db_channel {
20758    fn default() -> Self {
20759        unsafe { ::std::mem::zeroed() }
20760    }
20761}
20762#[repr(C)]
20763#[derive(Debug, Copy, Clone)]
20764pub struct __db_site {
20765    pub env: *mut ENV,
20766    pub eid: ::std::os::raw::c_int,
20767    pub host: *const ::std::os::raw::c_char,
20768    pub port: u_int,
20769    pub flags: u_int32_t,
20770    pub get_address: ::std::option::Option<
20771        unsafe extern "C" fn(
20772            arg1: *mut DB_SITE,
20773            arg2: *mut *const ::std::os::raw::c_char,
20774            arg3: *mut u_int,
20775        ) -> ::std::os::raw::c_int,
20776    >,
20777    pub get_config: ::std::option::Option<
20778        unsafe extern "C" fn(
20779            arg1: *mut DB_SITE,
20780            arg2: u_int32_t,
20781            arg3: *mut u_int32_t,
20782        ) -> ::std::os::raw::c_int,
20783    >,
20784    pub get_eid: ::std::option::Option<
20785        unsafe extern "C" fn(
20786            arg1: *mut DB_SITE,
20787            arg2: *mut ::std::os::raw::c_int,
20788        ) -> ::std::os::raw::c_int,
20789    >,
20790    pub set_config: ::std::option::Option<
20791        unsafe extern "C" fn(
20792            arg1: *mut DB_SITE,
20793            arg2: u_int32_t,
20794            arg3: u_int32_t,
20795        ) -> ::std::os::raw::c_int,
20796    >,
20797    pub remove:
20798        ::std::option::Option<unsafe extern "C" fn(arg1: *mut DB_SITE) -> ::std::os::raw::c_int>,
20799    pub close:
20800        ::std::option::Option<unsafe extern "C" fn(arg1: *mut DB_SITE) -> ::std::os::raw::c_int>,
20801}
20802#[test]
20803fn bindgen_test_layout___db_site() {
20804    assert_eq!(
20805        ::std::mem::size_of::<__db_site>(),
20806        80usize,
20807        concat!("Size of: ", stringify!(__db_site))
20808    );
20809    assert_eq!(
20810        ::std::mem::align_of::<__db_site>(),
20811        8usize,
20812        concat!("Alignment of ", stringify!(__db_site))
20813    );
20814    assert_eq!(
20815        unsafe { &(*(::std::ptr::null::<__db_site>())).env as *const _ as usize },
20816        0usize,
20817        concat!(
20818            "Offset of field: ",
20819            stringify!(__db_site),
20820            "::",
20821            stringify!(env)
20822        )
20823    );
20824    assert_eq!(
20825        unsafe { &(*(::std::ptr::null::<__db_site>())).eid as *const _ as usize },
20826        8usize,
20827        concat!(
20828            "Offset of field: ",
20829            stringify!(__db_site),
20830            "::",
20831            stringify!(eid)
20832        )
20833    );
20834    assert_eq!(
20835        unsafe { &(*(::std::ptr::null::<__db_site>())).host as *const _ as usize },
20836        16usize,
20837        concat!(
20838            "Offset of field: ",
20839            stringify!(__db_site),
20840            "::",
20841            stringify!(host)
20842        )
20843    );
20844    assert_eq!(
20845        unsafe { &(*(::std::ptr::null::<__db_site>())).port as *const _ as usize },
20846        24usize,
20847        concat!(
20848            "Offset of field: ",
20849            stringify!(__db_site),
20850            "::",
20851            stringify!(port)
20852        )
20853    );
20854    assert_eq!(
20855        unsafe { &(*(::std::ptr::null::<__db_site>())).flags as *const _ as usize },
20856        28usize,
20857        concat!(
20858            "Offset of field: ",
20859            stringify!(__db_site),
20860            "::",
20861            stringify!(flags)
20862        )
20863    );
20864    assert_eq!(
20865        unsafe { &(*(::std::ptr::null::<__db_site>())).get_address as *const _ as usize },
20866        32usize,
20867        concat!(
20868            "Offset of field: ",
20869            stringify!(__db_site),
20870            "::",
20871            stringify!(get_address)
20872        )
20873    );
20874    assert_eq!(
20875        unsafe { &(*(::std::ptr::null::<__db_site>())).get_config as *const _ as usize },
20876        40usize,
20877        concat!(
20878            "Offset of field: ",
20879            stringify!(__db_site),
20880            "::",
20881            stringify!(get_config)
20882        )
20883    );
20884    assert_eq!(
20885        unsafe { &(*(::std::ptr::null::<__db_site>())).get_eid as *const _ as usize },
20886        48usize,
20887        concat!(
20888            "Offset of field: ",
20889            stringify!(__db_site),
20890            "::",
20891            stringify!(get_eid)
20892        )
20893    );
20894    assert_eq!(
20895        unsafe { &(*(::std::ptr::null::<__db_site>())).set_config as *const _ as usize },
20896        56usize,
20897        concat!(
20898            "Offset of field: ",
20899            stringify!(__db_site),
20900            "::",
20901            stringify!(set_config)
20902        )
20903    );
20904    assert_eq!(
20905        unsafe { &(*(::std::ptr::null::<__db_site>())).remove as *const _ as usize },
20906        64usize,
20907        concat!(
20908            "Offset of field: ",
20909            stringify!(__db_site),
20910            "::",
20911            stringify!(remove)
20912        )
20913    );
20914    assert_eq!(
20915        unsafe { &(*(::std::ptr::null::<__db_site>())).close as *const _ as usize },
20916        72usize,
20917        concat!(
20918            "Offset of field: ",
20919            stringify!(__db_site),
20920            "::",
20921            stringify!(close)
20922        )
20923    );
20924}
20925impl Default for __db_site {
20926    fn default() -> Self {
20927        unsafe { ::std::mem::zeroed() }
20928    }
20929}
20930extern "C" {
20931    pub fn db_copy(
20932        arg1: *mut DB_ENV,
20933        arg2: *const ::std::os::raw::c_char,
20934        arg3: *const ::std::os::raw::c_char,
20935        arg4: *const ::std::os::raw::c_char,
20936    ) -> ::std::os::raw::c_int;
20937}
20938extern "C" {
20939    pub fn db_create(
20940        arg1: *mut *mut DB,
20941        arg2: *mut DB_ENV,
20942        arg3: u_int32_t,
20943    ) -> ::std::os::raw::c_int;
20944}
20945extern "C" {
20946    pub fn db_strerror(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
20947}
20948extern "C" {
20949    pub fn db_env_set_func_assert(
20950        arg1: ::std::option::Option<
20951            unsafe extern "C" fn(
20952                arg1: *const ::std::os::raw::c_char,
20953                arg2: *const ::std::os::raw::c_char,
20954                arg3: ::std::os::raw::c_int,
20955            ),
20956        >,
20957    ) -> ::std::os::raw::c_int;
20958}
20959extern "C" {
20960    pub fn db_env_set_func_close(
20961        arg1: ::std::option::Option<
20962            unsafe extern "C" fn(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
20963        >,
20964    ) -> ::std::os::raw::c_int;
20965}
20966extern "C" {
20967    pub fn db_env_set_func_dirfree(
20968        arg1: ::std::option::Option<
20969            unsafe extern "C" fn(
20970                arg1: *mut *mut ::std::os::raw::c_char,
20971                arg2: ::std::os::raw::c_int,
20972            ),
20973        >,
20974    ) -> ::std::os::raw::c_int;
20975}
20976extern "C" {
20977    pub fn db_env_set_func_dirlist(
20978        arg1: ::std::option::Option<
20979            unsafe extern "C" fn(
20980                arg1: *const ::std::os::raw::c_char,
20981                arg2: *mut *mut *mut ::std::os::raw::c_char,
20982                arg3: *mut ::std::os::raw::c_int,
20983            ) -> ::std::os::raw::c_int,
20984        >,
20985    ) -> ::std::os::raw::c_int;
20986}
20987extern "C" {
20988    pub fn db_env_set_func_exists(
20989        arg1: ::std::option::Option<
20990            unsafe extern "C" fn(
20991                arg1: *const ::std::os::raw::c_char,
20992                arg2: *mut ::std::os::raw::c_int,
20993            ) -> ::std::os::raw::c_int,
20994        >,
20995    ) -> ::std::os::raw::c_int;
20996}
20997extern "C" {
20998    pub fn db_env_set_func_free(
20999        arg1: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
21000    ) -> ::std::os::raw::c_int;
21001}
21002extern "C" {
21003    pub fn db_env_set_func_fsync(
21004        arg1: ::std::option::Option<
21005            unsafe extern "C" fn(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
21006        >,
21007    ) -> ::std::os::raw::c_int;
21008}
21009extern "C" {
21010    pub fn db_env_set_func_ftruncate(
21011        arg1: ::std::option::Option<
21012            unsafe extern "C" fn(arg1: ::std::os::raw::c_int, arg2: off_t) -> ::std::os::raw::c_int,
21013        >,
21014    ) -> ::std::os::raw::c_int;
21015}
21016extern "C" {
21017    pub fn db_env_set_func_ioinfo(
21018        arg1: ::std::option::Option<
21019            unsafe extern "C" fn(
21020                arg1: *const ::std::os::raw::c_char,
21021                arg2: ::std::os::raw::c_int,
21022                arg3: *mut u_int32_t,
21023                arg4: *mut u_int32_t,
21024                arg5: *mut u_int32_t,
21025            ) -> ::std::os::raw::c_int,
21026        >,
21027    ) -> ::std::os::raw::c_int;
21028}
21029extern "C" {
21030    pub fn db_env_set_func_malloc(
21031        arg1: ::std::option::Option<
21032            unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void,
21033        >,
21034    ) -> ::std::os::raw::c_int;
21035}
21036extern "C" {
21037    pub fn db_env_set_func_file_map(
21038        arg1: ::std::option::Option<
21039            unsafe extern "C" fn(
21040                arg1: *mut DB_ENV,
21041                arg2: *mut ::std::os::raw::c_char,
21042                arg3: usize,
21043                arg4: ::std::os::raw::c_int,
21044                arg5: *mut *mut ::std::os::raw::c_void,
21045            ) -> ::std::os::raw::c_int,
21046        >,
21047        arg2: ::std::option::Option<
21048            unsafe extern "C" fn(
21049                arg1: *mut DB_ENV,
21050                arg2: *mut ::std::os::raw::c_void,
21051            ) -> ::std::os::raw::c_int,
21052        >,
21053    ) -> ::std::os::raw::c_int;
21054}
21055extern "C" {
21056    pub fn db_env_set_func_region_map(
21057        arg1: ::std::option::Option<
21058            unsafe extern "C" fn(
21059                arg1: *mut DB_ENV,
21060                arg2: *mut ::std::os::raw::c_char,
21061                arg3: usize,
21062                arg4: *mut ::std::os::raw::c_int,
21063                arg5: *mut *mut ::std::os::raw::c_void,
21064            ) -> ::std::os::raw::c_int,
21065        >,
21066        arg2: ::std::option::Option<
21067            unsafe extern "C" fn(
21068                arg1: *mut DB_ENV,
21069                arg2: *mut ::std::os::raw::c_void,
21070            ) -> ::std::os::raw::c_int,
21071        >,
21072    ) -> ::std::os::raw::c_int;
21073}
21074extern "C" {
21075    pub fn db_env_set_func_pread(
21076        arg1: ::std::option::Option<
21077            unsafe extern "C" fn(
21078                arg1: ::std::os::raw::c_int,
21079                arg2: *mut ::std::os::raw::c_void,
21080                arg3: usize,
21081                arg4: off_t,
21082            ) -> isize,
21083        >,
21084    ) -> ::std::os::raw::c_int;
21085}
21086extern "C" {
21087    pub fn db_env_set_func_pwrite(
21088        arg1: ::std::option::Option<
21089            unsafe extern "C" fn(
21090                arg1: ::std::os::raw::c_int,
21091                arg2: *const ::std::os::raw::c_void,
21092                arg3: usize,
21093                arg4: off_t,
21094            ) -> isize,
21095        >,
21096    ) -> ::std::os::raw::c_int;
21097}
21098extern "C" {
21099    pub fn db_env_set_func_open(
21100        arg1: ::std::option::Option<
21101            unsafe extern "C" fn(
21102                arg1: *const ::std::os::raw::c_char,
21103                arg2: ::std::os::raw::c_int,
21104                ...
21105            ) -> ::std::os::raw::c_int,
21106        >,
21107    ) -> ::std::os::raw::c_int;
21108}
21109extern "C" {
21110    pub fn db_env_set_func_read(
21111        arg1: ::std::option::Option<
21112            unsafe extern "C" fn(
21113                arg1: ::std::os::raw::c_int,
21114                arg2: *mut ::std::os::raw::c_void,
21115                arg3: usize,
21116            ) -> isize,
21117        >,
21118    ) -> ::std::os::raw::c_int;
21119}
21120extern "C" {
21121    pub fn db_env_set_func_realloc(
21122        arg1: ::std::option::Option<
21123            unsafe extern "C" fn(
21124                arg1: *mut ::std::os::raw::c_void,
21125                arg2: usize,
21126            ) -> *mut ::std::os::raw::c_void,
21127        >,
21128    ) -> ::std::os::raw::c_int;
21129}
21130extern "C" {
21131    pub fn db_env_set_func_rename(
21132        arg1: ::std::option::Option<
21133            unsafe extern "C" fn(
21134                arg1: *const ::std::os::raw::c_char,
21135                arg2: *const ::std::os::raw::c_char,
21136            ) -> ::std::os::raw::c_int,
21137        >,
21138    ) -> ::std::os::raw::c_int;
21139}
21140extern "C" {
21141    pub fn db_env_set_func_seek(
21142        arg1: ::std::option::Option<
21143            unsafe extern "C" fn(
21144                arg1: ::std::os::raw::c_int,
21145                arg2: off_t,
21146                arg3: ::std::os::raw::c_int,
21147            ) -> ::std::os::raw::c_int,
21148        >,
21149    ) -> ::std::os::raw::c_int;
21150}
21151extern "C" {
21152    pub fn db_env_set_func_unlink(
21153        arg1: ::std::option::Option<
21154            unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int,
21155        >,
21156    ) -> ::std::os::raw::c_int;
21157}
21158extern "C" {
21159    pub fn db_env_set_func_write(
21160        arg1: ::std::option::Option<
21161            unsafe extern "C" fn(
21162                arg1: ::std::os::raw::c_int,
21163                arg2: *const ::std::os::raw::c_void,
21164                arg3: usize,
21165            ) -> isize,
21166        >,
21167    ) -> ::std::os::raw::c_int;
21168}
21169extern "C" {
21170    pub fn db_env_set_func_yield(
21171        arg1: ::std::option::Option<
21172            unsafe extern "C" fn(arg1: u_long, arg2: u_long) -> ::std::os::raw::c_int,
21173        >,
21174    ) -> ::std::os::raw::c_int;
21175}
21176extern "C" {
21177    pub fn db_env_create(arg1: *mut *mut DB_ENV, arg2: u_int32_t) -> ::std::os::raw::c_int;
21178}
21179extern "C" {
21180    pub fn db_version(
21181        arg1: *mut ::std::os::raw::c_int,
21182        arg2: *mut ::std::os::raw::c_int,
21183        arg3: *mut ::std::os::raw::c_int,
21184    ) -> *mut ::std::os::raw::c_char;
21185}
21186extern "C" {
21187    pub fn db_full_version(
21188        arg1: *mut ::std::os::raw::c_int,
21189        arg2: *mut ::std::os::raw::c_int,
21190        arg3: *mut ::std::os::raw::c_int,
21191        arg4: *mut ::std::os::raw::c_int,
21192        arg5: *mut ::std::os::raw::c_int,
21193    ) -> *mut ::std::os::raw::c_char;
21194}
21195extern "C" {
21196    pub fn log_compare(arg1: *const DB_LSN, arg2: *const DB_LSN) -> ::std::os::raw::c_int;
21197}
21198extern "C" {
21199    pub fn db_sequence_create(
21200        arg1: *mut *mut DB_SEQUENCE,
21201        arg2: *mut DB,
21202        arg3: u_int32_t,
21203    ) -> ::std::os::raw::c_int;
21204}
21205pub type __builtin_va_list = [__va_list_tag; 1usize];
21206#[repr(C)]
21207#[derive(Debug, Copy, Clone)]
21208pub struct __va_list_tag {
21209    pub gp_offset: ::std::os::raw::c_uint,
21210    pub fp_offset: ::std::os::raw::c_uint,
21211    pub overflow_arg_area: *mut ::std::os::raw::c_void,
21212    pub reg_save_area: *mut ::std::os::raw::c_void,
21213}
21214#[test]
21215fn bindgen_test_layout___va_list_tag() {
21216    assert_eq!(
21217        ::std::mem::size_of::<__va_list_tag>(),
21218        24usize,
21219        concat!("Size of: ", stringify!(__va_list_tag))
21220    );
21221    assert_eq!(
21222        ::std::mem::align_of::<__va_list_tag>(),
21223        8usize,
21224        concat!("Alignment of ", stringify!(__va_list_tag))
21225    );
21226    assert_eq!(
21227        unsafe { &(*(::std::ptr::null::<__va_list_tag>())).gp_offset as *const _ as usize },
21228        0usize,
21229        concat!(
21230            "Offset of field: ",
21231            stringify!(__va_list_tag),
21232            "::",
21233            stringify!(gp_offset)
21234        )
21235    );
21236    assert_eq!(
21237        unsafe { &(*(::std::ptr::null::<__va_list_tag>())).fp_offset as *const _ as usize },
21238        4usize,
21239        concat!(
21240            "Offset of field: ",
21241            stringify!(__va_list_tag),
21242            "::",
21243            stringify!(fp_offset)
21244        )
21245    );
21246    assert_eq!(
21247        unsafe { &(*(::std::ptr::null::<__va_list_tag>())).overflow_arg_area as *const _ as usize },
21248        8usize,
21249        concat!(
21250            "Offset of field: ",
21251            stringify!(__va_list_tag),
21252            "::",
21253            stringify!(overflow_arg_area)
21254        )
21255    );
21256    assert_eq!(
21257        unsafe { &(*(::std::ptr::null::<__va_list_tag>())).reg_save_area as *const _ as usize },
21258        16usize,
21259        concat!(
21260            "Offset of field: ",
21261            stringify!(__va_list_tag),
21262            "::",
21263            stringify!(reg_save_area)
21264        )
21265    );
21266}
21267impl Default for __va_list_tag {
21268    fn default() -> Self {
21269        unsafe { ::std::mem::zeroed() }
21270    }
21271}
21272#[repr(C)]
21273#[derive(Debug, Default, Copy, Clone)]
21274pub struct __locale_data {
21275    pub _address: u8,
21276}
21277#[repr(C)]
21278#[derive(Debug, Default, Copy, Clone)]
21279pub struct __txn_event {
21280    pub _address: u8,
21281}
21282#[repr(C)]
21283#[derive(Debug, Default, Copy, Clone)]
21284pub struct __txn_logrec {
21285    pub _address: u8,
21286}
21287#[repr(C)]
21288#[derive(Debug, Default, Copy, Clone)]
21289pub struct __db_foreign_info {
21290    pub _address: u8,
21291}