1
2
3
/* automatically generated by rust-bindgen */

# [ repr ( C ) ] # [ derive ( Default ) ] pub struct __IncompleteArrayField < T > ( :: std :: marker :: PhantomData < T > , [ T ; 0 ] ) ; impl < T > __IncompleteArrayField < T > { # [ inline ] pub const fn new ( ) -> Self { __IncompleteArrayField ( :: std :: marker :: PhantomData , [ ] ) } # [ inline ] pub unsafe fn as_ptr ( & self ) -> * const T { :: std :: mem :: transmute ( self ) } # [ inline ] pub unsafe fn as_mut_ptr ( & mut self ) -> * mut T { :: std :: mem :: transmute ( self ) } # [ inline ] pub unsafe fn as_slice ( & self , len : usize ) -> & [ T ] { :: std :: slice :: from_raw_parts ( self . as_ptr ( ) , len ) } # [ inline ] pub unsafe fn as_mut_slice ( & mut self , len : usize ) -> & mut [ T ] { :: std :: slice :: from_raw_parts_mut ( self . as_mut_ptr ( ) , len ) } } impl < T > :: std :: fmt :: Debug for __IncompleteArrayField < T > { fn fmt ( & self , fmt : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { fmt . write_str ( "__IncompleteArrayField" ) } } impl < T > :: std :: clone :: Clone for __IncompleteArrayField < T > { # [ inline ] fn clone ( & self ) -> Self { Self :: new ( ) } } pub const __llvm__ : u32 = 1 ; pub const __clang__ : u32 = 1 ; pub const __clang_major__ : u32 = 6 ; pub const __clang_minor__ : u32 = 0 ; pub const __clang_patchlevel__ : u32 = 0 ; pub const __clang_version__ : & 'static [ u8 ; 31usize ] = b"6.0.0 (tags/RELEASE_600/final)\0" ; pub const __GNUC_MINOR__ : u32 = 2 ; pub const __GNUC_PATCHLEVEL__ : u32 = 1 ; pub const __GNUC__ : u32 = 4 ; pub const __GXX_ABI_VERSION : u32 = 1002 ; pub const __ATOMIC_RELAXED : u32 = 0 ; pub const __ATOMIC_CONSUME : u32 = 1 ; pub const __ATOMIC_ACQUIRE : u32 = 2 ; pub const __ATOMIC_RELEASE : u32 = 3 ; pub const __ATOMIC_ACQ_REL : u32 = 4 ; pub const __ATOMIC_SEQ_CST : u32 = 5 ; pub const __OPENCL_MEMORY_SCOPE_WORK_ITEM : u32 = 0 ; pub const __OPENCL_MEMORY_SCOPE_WORK_GROUP : u32 = 1 ; pub const __OPENCL_MEMORY_SCOPE_DEVICE : u32 = 2 ; pub const __OPENCL_MEMORY_SCOPE_ALL_SVM_DEVICES : u32 = 3 ; pub const __OPENCL_MEMORY_SCOPE_SUB_GROUP : u32 = 4 ; pub const __PRAGMA_REDEFINE_EXTNAME : u32 = 1 ; pub const __VERSION__ : & 'static [ u8 ; 54usize ] = b"4.2.1 Compatible Clang 6.0.0 (tags/RELEASE_600/final)\0" ; pub const __OBJC_BOOL_IS_BOOL : u32 = 0 ; pub const __CONSTANT_CFSTRINGS__ : u32 = 1 ; pub const __ORDER_LITTLE_ENDIAN__ : u32 = 1234 ; pub const __ORDER_BIG_ENDIAN__ : u32 = 4321 ; pub const __ORDER_PDP_ENDIAN__ : u32 = 3412 ; pub const __BYTE_ORDER__ : u32 = 1234 ; pub const __LITTLE_ENDIAN__ : u32 = 1 ; pub const _LP64 : u32 = 1 ; pub const __LP64__ : u32 = 1 ; pub const __CHAR_BIT__ : u32 = 8 ; pub const __SCHAR_MAX__ : u32 = 127 ; pub const __SHRT_MAX__ : u32 = 32767 ; pub const __INT_MAX__ : u32 = 2147483647 ; pub const __LONG_MAX__ : u64 = 9223372036854775807 ; pub const __LONG_LONG_MAX__ : u64 = 9223372036854775807 ; pub const __WCHAR_MAX__ : u32 = 2147483647 ; pub const __WINT_MAX__ : u32 = 4294967295 ; pub const __INTMAX_MAX__ : u64 = 9223372036854775807 ; pub const __SIZE_MAX__ : i32 = -1 ; pub const __UINTMAX_MAX__ : i32 = -1 ; pub const __PTRDIFF_MAX__ : u64 = 9223372036854775807 ; pub const __INTPTR_MAX__ : u64 = 9223372036854775807 ; pub const __UINTPTR_MAX__ : i32 = -1 ; pub const __SIZEOF_DOUBLE__ : u32 = 8 ; pub const __SIZEOF_FLOAT__ : u32 = 4 ; pub const __SIZEOF_INT__ : u32 = 4 ; pub const __SIZEOF_LONG__ : u32 = 8 ; pub const __SIZEOF_LONG_DOUBLE__ : u32 = 16 ; pub const __SIZEOF_LONG_LONG__ : u32 = 8 ; pub const __SIZEOF_POINTER__ : u32 = 8 ; pub const __SIZEOF_SHORT__ : u32 = 2 ; pub const __SIZEOF_PTRDIFF_T__ : u32 = 8 ; pub const __SIZEOF_SIZE_T__ : u32 = 8 ; pub const __SIZEOF_WCHAR_T__ : u32 = 4 ; pub const __SIZEOF_WINT_T__ : u32 = 4 ; pub const __SIZEOF_INT128__ : u32 = 16 ; pub const __INTMAX_FMTd__ : & 'static [ u8 ; 3usize ] = b"ld\0" ; pub const __INTMAX_FMTi__ : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const __UINTMAX_FMTo__ : & 'static [ u8 ; 3usize ] = b"lo\0" ; pub const __UINTMAX_FMTu__ : & 'static [ u8 ; 3usize ] = b"lu\0" ; pub const __UINTMAX_FMTx__ : & 'static [ u8 ; 3usize ] = b"lx\0" ; pub const __UINTMAX_FMTX__ : & 'static [ u8 ; 3usize ] = b"lX\0" ; pub const __INTMAX_WIDTH__ : u32 = 64 ; pub const __PTRDIFF_FMTd__ : & 'static [ u8 ; 3usize ] = b"ld\0" ; pub const __PTRDIFF_FMTi__ : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const __PTRDIFF_WIDTH__ : u32 = 64 ; pub const __INTPTR_FMTd__ : & 'static [ u8 ; 3usize ] = b"ld\0" ; pub const __INTPTR_FMTi__ : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const __INTPTR_WIDTH__ : u32 = 64 ; pub const __SIZE_FMTo__ : & 'static [ u8 ; 3usize ] = b"lo\0" ; pub const __SIZE_FMTu__ : & 'static [ u8 ; 3usize ] = b"lu\0" ; pub const __SIZE_FMTx__ : & 'static [ u8 ; 3usize ] = b"lx\0" ; pub const __SIZE_FMTX__ : & 'static [ u8 ; 3usize ] = b"lX\0" ; pub const __SIZE_WIDTH__ : u32 = 64 ; pub const __WCHAR_WIDTH__ : u32 = 32 ; pub const __WINT_WIDTH__ : u32 = 32 ; pub const __SIG_ATOMIC_WIDTH__ : u32 = 32 ; pub const __SIG_ATOMIC_MAX__ : u32 = 2147483647 ; pub const __UINTMAX_WIDTH__ : u32 = 64 ; pub const __UINTPTR_FMTo__ : & 'static [ u8 ; 3usize ] = b"lo\0" ; pub const __UINTPTR_FMTu__ : & 'static [ u8 ; 3usize ] = b"lu\0" ; pub const __UINTPTR_FMTx__ : & 'static [ u8 ; 3usize ] = b"lx\0" ; pub const __UINTPTR_FMTX__ : & 'static [ u8 ; 3usize ] = b"lX\0" ; pub const __UINTPTR_WIDTH__ : u32 = 64 ; pub const __FLT16_HAS_DENORM__ : u32 = 1 ; pub const __FLT16_DIG__ : u32 = 3 ; pub const __FLT16_DECIMAL_DIG__ : u32 = 5 ; pub const __FLT16_HAS_INFINITY__ : u32 = 1 ; pub const __FLT16_HAS_QUIET_NAN__ : u32 = 1 ; pub const __FLT16_MANT_DIG__ : u32 = 11 ; pub const __FLT16_MAX_10_EXP__ : u32 = 4 ; pub const __FLT16_MAX_EXP__ : u32 = 15 ; pub const __FLT16_MIN_10_EXP__ : i32 = -13 ; pub const __FLT16_MIN_EXP__ : i32 = -14 ; pub const __FLT_HAS_DENORM__ : u32 = 1 ; pub const __FLT_DIG__ : u32 = 6 ; pub const __FLT_DECIMAL_DIG__ : u32 = 9 ; pub const __FLT_HAS_INFINITY__ : u32 = 1 ; pub const __FLT_HAS_QUIET_NAN__ : u32 = 1 ; pub const __FLT_MANT_DIG__ : u32 = 24 ; pub const __FLT_MAX_10_EXP__ : u32 = 38 ; pub const __FLT_MAX_EXP__ : u32 = 128 ; pub const __FLT_MIN_10_EXP__ : i32 = -37 ; pub const __FLT_MIN_EXP__ : i32 = -125 ; pub const __DBL_HAS_DENORM__ : u32 = 1 ; pub const __DBL_DIG__ : u32 = 15 ; pub const __DBL_DECIMAL_DIG__ : u32 = 17 ; pub const __DBL_HAS_INFINITY__ : u32 = 1 ; pub const __DBL_HAS_QUIET_NAN__ : u32 = 1 ; pub const __DBL_MANT_DIG__ : u32 = 53 ; pub const __DBL_MAX_10_EXP__ : u32 = 308 ; pub const __DBL_MAX_EXP__ : u32 = 1024 ; pub const __DBL_MIN_10_EXP__ : i32 = -307 ; pub const __DBL_MIN_EXP__ : i32 = -1021 ; pub const __LDBL_HAS_DENORM__ : u32 = 1 ; pub const __LDBL_DIG__ : u32 = 18 ; pub const __LDBL_DECIMAL_DIG__ : u32 = 21 ; pub const __LDBL_HAS_INFINITY__ : u32 = 1 ; pub const __LDBL_HAS_QUIET_NAN__ : u32 = 1 ; pub const __LDBL_MANT_DIG__ : u32 = 64 ; pub const __LDBL_MAX_10_EXP__ : u32 = 4932 ; pub const __LDBL_MAX_EXP__ : u32 = 16384 ; pub const __LDBL_MIN_10_EXP__ : i32 = -4931 ; pub const __LDBL_MIN_EXP__ : i32 = -16381 ; pub const __POINTER_WIDTH__ : u32 = 64 ; pub const __BIGGEST_ALIGNMENT__ : u32 = 16 ; pub const __WINT_UNSIGNED__ : u32 = 1 ; pub const __INT8_FMTd__ : & 'static [ u8 ; 4usize ] = b"hhd\0" ; pub const __INT8_FMTi__ : & 'static [ u8 ; 4usize ] = b"hhi\0" ; pub const __INT16_FMTd__ : & 'static [ u8 ; 3usize ] = b"hd\0" ; pub const __INT16_FMTi__ : & 'static [ u8 ; 3usize ] = b"hi\0" ; pub const __INT32_FMTd__ : & 'static [ u8 ; 2usize ] = b"d\0" ; pub const __INT32_FMTi__ : & 'static [ u8 ; 2usize ] = b"i\0" ; pub const __INT64_FMTd__ : & 'static [ u8 ; 3usize ] = b"ld\0" ; pub const __INT64_FMTi__ : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const __UINT8_FMTo__ : & 'static [ u8 ; 4usize ] = b"hho\0" ; pub const __UINT8_FMTu__ : & 'static [ u8 ; 4usize ] = b"hhu\0" ; pub const __UINT8_FMTx__ : & 'static [ u8 ; 4usize ] = b"hhx\0" ; pub const __UINT8_FMTX__ : & 'static [ u8 ; 4usize ] = b"hhX\0" ; pub const __UINT8_MAX__ : u32 = 255 ; pub const __INT8_MAX__ : u32 = 127 ; pub const __UINT16_FMTo__ : & 'static [ u8 ; 3usize ] = b"ho\0" ; pub const __UINT16_FMTu__ : & 'static [ u8 ; 3usize ] = b"hu\0" ; pub const __UINT16_FMTx__ : & 'static [ u8 ; 3usize ] = b"hx\0" ; pub const __UINT16_FMTX__ : & 'static [ u8 ; 3usize ] = b"hX\0" ; pub const __UINT16_MAX__ : u32 = 65535 ; pub const __INT16_MAX__ : u32 = 32767 ; pub const __UINT32_FMTo__ : & 'static [ u8 ; 2usize ] = b"o\0" ; pub const __UINT32_FMTu__ : & 'static [ u8 ; 2usize ] = b"u\0" ; pub const __UINT32_FMTx__ : & 'static [ u8 ; 2usize ] = b"x\0" ; pub const __UINT32_FMTX__ : & 'static [ u8 ; 2usize ] = b"X\0" ; pub const __UINT32_MAX__ : u32 = 4294967295 ; pub const __INT32_MAX__ : u32 = 2147483647 ; pub const __UINT64_FMTo__ : & 'static [ u8 ; 3usize ] = b"lo\0" ; pub const __UINT64_FMTu__ : & 'static [ u8 ; 3usize ] = b"lu\0" ; pub const __UINT64_FMTx__ : & 'static [ u8 ; 3usize ] = b"lx\0" ; pub const __UINT64_FMTX__ : & 'static [ u8 ; 3usize ] = b"lX\0" ; pub const __UINT64_MAX__ : i32 = -1 ; pub const __INT64_MAX__ : u64 = 9223372036854775807 ; pub const __INT_LEAST8_MAX__ : u32 = 127 ; pub const __INT_LEAST8_FMTd__ : & 'static [ u8 ; 4usize ] = b"hhd\0" ; pub const __INT_LEAST8_FMTi__ : & 'static [ u8 ; 4usize ] = b"hhi\0" ; pub const __UINT_LEAST8_MAX__ : u32 = 255 ; pub const __UINT_LEAST8_FMTo__ : & 'static [ u8 ; 4usize ] = b"hho\0" ; pub const __UINT_LEAST8_FMTu__ : & 'static [ u8 ; 4usize ] = b"hhu\0" ; pub const __UINT_LEAST8_FMTx__ : & 'static [ u8 ; 4usize ] = b"hhx\0" ; pub const __UINT_LEAST8_FMTX__ : & 'static [ u8 ; 4usize ] = b"hhX\0" ; pub const __INT_LEAST16_MAX__ : u32 = 32767 ; pub const __INT_LEAST16_FMTd__ : & 'static [ u8 ; 3usize ] = b"hd\0" ; pub const __INT_LEAST16_FMTi__ : & 'static [ u8 ; 3usize ] = b"hi\0" ; pub const __UINT_LEAST16_MAX__ : u32 = 65535 ; pub const __UINT_LEAST16_FMTo__ : & 'static [ u8 ; 3usize ] = b"ho\0" ; pub const __UINT_LEAST16_FMTu__ : & 'static [ u8 ; 3usize ] = b"hu\0" ; pub const __UINT_LEAST16_FMTx__ : & 'static [ u8 ; 3usize ] = b"hx\0" ; pub const __UINT_LEAST16_FMTX__ : & 'static [ u8 ; 3usize ] = b"hX\0" ; pub const __INT_LEAST32_MAX__ : u32 = 2147483647 ; pub const __INT_LEAST32_FMTd__ : & 'static [ u8 ; 2usize ] = b"d\0" ; pub const __INT_LEAST32_FMTi__ : & 'static [ u8 ; 2usize ] = b"i\0" ; pub const __UINT_LEAST32_MAX__ : u32 = 4294967295 ; pub const __UINT_LEAST32_FMTo__ : & 'static [ u8 ; 2usize ] = b"o\0" ; pub const __UINT_LEAST32_FMTu__ : & 'static [ u8 ; 2usize ] = b"u\0" ; pub const __UINT_LEAST32_FMTx__ : & 'static [ u8 ; 2usize ] = b"x\0" ; pub const __UINT_LEAST32_FMTX__ : & 'static [ u8 ; 2usize ] = b"X\0" ; pub const __INT_LEAST64_MAX__ : u64 = 9223372036854775807 ; pub const __INT_LEAST64_FMTd__ : & 'static [ u8 ; 3usize ] = b"ld\0" ; pub const __INT_LEAST64_FMTi__ : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const __UINT_LEAST64_MAX__ : i32 = -1 ; pub const __UINT_LEAST64_FMTo__ : & 'static [ u8 ; 3usize ] = b"lo\0" ; pub const __UINT_LEAST64_FMTu__ : & 'static [ u8 ; 3usize ] = b"lu\0" ; pub const __UINT_LEAST64_FMTx__ : & 'static [ u8 ; 3usize ] = b"lx\0" ; pub const __UINT_LEAST64_FMTX__ : & 'static [ u8 ; 3usize ] = b"lX\0" ; pub const __INT_FAST8_MAX__ : u32 = 127 ; pub const __INT_FAST8_FMTd__ : & 'static [ u8 ; 4usize ] = b"hhd\0" ; pub const __INT_FAST8_FMTi__ : & 'static [ u8 ; 4usize ] = b"hhi\0" ; pub const __UINT_FAST8_MAX__ : u32 = 255 ; pub const __UINT_FAST8_FMTo__ : & 'static [ u8 ; 4usize ] = b"hho\0" ; pub const __UINT_FAST8_FMTu__ : & 'static [ u8 ; 4usize ] = b"hhu\0" ; pub const __UINT_FAST8_FMTx__ : & 'static [ u8 ; 4usize ] = b"hhx\0" ; pub const __UINT_FAST8_FMTX__ : & 'static [ u8 ; 4usize ] = b"hhX\0" ; pub const __INT_FAST16_MAX__ : u32 = 32767 ; pub const __INT_FAST16_FMTd__ : & 'static [ u8 ; 3usize ] = b"hd\0" ; pub const __INT_FAST16_FMTi__ : & 'static [ u8 ; 3usize ] = b"hi\0" ; pub const __UINT_FAST16_MAX__ : u32 = 65535 ; pub const __UINT_FAST16_FMTo__ : & 'static [ u8 ; 3usize ] = b"ho\0" ; pub const __UINT_FAST16_FMTu__ : & 'static [ u8 ; 3usize ] = b"hu\0" ; pub const __UINT_FAST16_FMTx__ : & 'static [ u8 ; 3usize ] = b"hx\0" ; pub const __UINT_FAST16_FMTX__ : & 'static [ u8 ; 3usize ] = b"hX\0" ; pub const __INT_FAST32_MAX__ : u32 = 2147483647 ; pub const __INT_FAST32_FMTd__ : & 'static [ u8 ; 2usize ] = b"d\0" ; pub const __INT_FAST32_FMTi__ : & 'static [ u8 ; 2usize ] = b"i\0" ; pub const __UINT_FAST32_MAX__ : u32 = 4294967295 ; pub const __UINT_FAST32_FMTo__ : & 'static [ u8 ; 2usize ] = b"o\0" ; pub const __UINT_FAST32_FMTu__ : & 'static [ u8 ; 2usize ] = b"u\0" ; pub const __UINT_FAST32_FMTx__ : & 'static [ u8 ; 2usize ] = b"x\0" ; pub const __UINT_FAST32_FMTX__ : & 'static [ u8 ; 2usize ] = b"X\0" ; pub const __INT_FAST64_MAX__ : u64 = 9223372036854775807 ; pub const __INT_FAST64_FMTd__ : & 'static [ u8 ; 3usize ] = b"ld\0" ; pub const __INT_FAST64_FMTi__ : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const __UINT_FAST64_MAX__ : i32 = -1 ; pub const __UINT_FAST64_FMTo__ : & 'static [ u8 ; 3usize ] = b"lo\0" ; pub const __UINT_FAST64_FMTu__ : & 'static [ u8 ; 3usize ] = b"lu\0" ; pub const __UINT_FAST64_FMTx__ : & 'static [ u8 ; 3usize ] = b"lx\0" ; pub const __UINT_FAST64_FMTX__ : & 'static [ u8 ; 3usize ] = b"lX\0" ; pub const __FINITE_MATH_ONLY__ : u32 = 0 ; pub const __GNUC_STDC_INLINE__ : u32 = 1 ; pub const __GCC_ATOMIC_TEST_AND_SET_TRUEVAL : u32 = 1 ; pub const __CLANG_ATOMIC_BOOL_LOCK_FREE : u32 = 2 ; pub const __CLANG_ATOMIC_CHAR_LOCK_FREE : u32 = 2 ; pub const __CLANG_ATOMIC_CHAR16_T_LOCK_FREE : u32 = 2 ; pub const __CLANG_ATOMIC_CHAR32_T_LOCK_FREE : u32 = 2 ; pub const __CLANG_ATOMIC_WCHAR_T_LOCK_FREE : u32 = 2 ; pub const __CLANG_ATOMIC_SHORT_LOCK_FREE : u32 = 2 ; pub const __CLANG_ATOMIC_INT_LOCK_FREE : u32 = 2 ; pub const __CLANG_ATOMIC_LONG_LOCK_FREE : u32 = 2 ; pub const __CLANG_ATOMIC_LLONG_LOCK_FREE : u32 = 2 ; pub const __CLANG_ATOMIC_POINTER_LOCK_FREE : u32 = 2 ; pub const __GCC_ATOMIC_BOOL_LOCK_FREE : u32 = 2 ; pub const __GCC_ATOMIC_CHAR_LOCK_FREE : u32 = 2 ; pub const __GCC_ATOMIC_CHAR16_T_LOCK_FREE : u32 = 2 ; pub const __GCC_ATOMIC_CHAR32_T_LOCK_FREE : u32 = 2 ; pub const __GCC_ATOMIC_WCHAR_T_LOCK_FREE : u32 = 2 ; pub const __GCC_ATOMIC_SHORT_LOCK_FREE : u32 = 2 ; pub const __GCC_ATOMIC_INT_LOCK_FREE : u32 = 2 ; pub const __GCC_ATOMIC_LONG_LOCK_FREE : u32 = 2 ; pub const __GCC_ATOMIC_LLONG_LOCK_FREE : u32 = 2 ; pub const __GCC_ATOMIC_POINTER_LOCK_FREE : u32 = 2 ; pub const __NO_INLINE__ : u32 = 1 ; pub const __FLT_EVAL_METHOD__ : u32 = 0 ; pub const __FLT_RADIX__ : u32 = 2 ; pub const __DECIMAL_DIG__ : u32 = 21 ; pub const __amd64__ : u32 = 1 ; pub const __amd64 : u32 = 1 ; pub const __x86_64 : u32 = 1 ; pub const __x86_64__ : u32 = 1 ; pub const __k8 : u32 = 1 ; pub const __k8__ : u32 = 1 ; pub const __tune_k8__ : u32 = 1 ; pub const __NO_MATH_INLINES : u32 = 1 ; pub const __FXSR__ : u32 = 1 ; pub const __SSE2__ : u32 = 1 ; pub const __SSE2_MATH__ : u32 = 1 ; pub const __SSE__ : u32 = 1 ; pub const __SSE_MATH__ : u32 = 1 ; pub const __MMX__ : u32 = 1 ; pub const __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 : u32 = 1 ; pub const __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 : u32 = 1 ; pub const __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 : u32 = 1 ; pub const __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 : u32 = 1 ; pub const __SIZEOF_FLOAT128__ : u32 = 16 ; pub const unix : u32 = 1 ; pub const __unix : u32 = 1 ; pub const __unix__ : u32 = 1 ; pub const linux : u32 = 1 ; pub const __linux : u32 = 1 ; pub const __linux__ : u32 = 1 ; pub const __gnu_linux__ : u32 = 1 ; pub const __ELF__ : u32 = 1 ; pub const __FLOAT128__ : u32 = 1 ; pub const __STDC__ : u32 = 1 ; pub const __STDC_HOSTED__ : u32 = 1 ; pub const __STDC_VERSION__ : u32 = 201112 ; pub const __STDC_UTF_16__ : u32 = 1 ; pub const __STDC_UTF_32__ : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _STDLIB_H : u32 = 1 ; pub const WNOHANG : u32 = 1 ; pub const WUNTRACED : u32 = 2 ; pub const WSTOPPED : u32 = 2 ; pub const WEXITED : u32 = 4 ; pub const WCONTINUED : u32 = 8 ; pub const WNOWAIT : u32 = 16777216 ; pub const __WNOTHREAD : u32 = 536870912 ; pub const __WALL : u32 = 1073741824 ; pub const __WCLONE : u32 = 2147483648 ; pub const __ENUM_IDTYPE_T : u32 = 1 ; pub const __W_CONTINUED : u32 = 65535 ; pub const __WCOREFLAG : u32 = 128 ; pub const __HAVE_FLOAT128 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128 : u32 = 0 ; pub const __HAVE_FLOAT64X : u32 = 1 ; pub const __HAVE_FLOAT64X_LONG_DOUBLE : u32 = 1 ; pub const __HAVE_FLOAT16 : u32 = 0 ; pub const __HAVE_FLOAT32 : u32 = 1 ; pub const __HAVE_FLOAT64 : u32 = 1 ; pub const __HAVE_FLOAT32X : u32 = 1 ; pub const __HAVE_FLOAT128X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT16 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128X : u32 = 0 ; pub const __HAVE_FLOATN_NOT_TYPEDEF : u32 = 0 ; pub const __ldiv_t_defined : u32 = 1 ; pub const __lldiv_t_defined : u32 = 1 ; pub const RAND_MAX : u32 = 2147483647 ; pub const EXIT_FAILURE : u32 = 1 ; pub const EXIT_SUCCESS : u32 = 0 ; pub const _SYS_TYPES_H : u32 = 1 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const __clock_t_defined : u32 = 1 ; pub const __clockid_t_defined : u32 = 1 ; pub const __time_t_defined : u32 = 1 ; pub const __timer_t_defined : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const __BIT_TYPES_DEFINED__ : u32 = 1 ; pub const _ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _SYS_SELECT_H : u32 = 1 ; pub const __FD_ZERO_STOS : & 'static [ u8 ; 6usize ] = b"stosq\0" ; pub const __sigset_t_defined : u32 = 1 ; pub const __timeval_defined : u32 = 1 ; pub const __timespec_defined : u32 = 1 ; pub const FD_SETSIZE : u32 = 1024 ; pub const _SYS_SYSMACROS_H : u32 = 1 ; pub const _BITS_SYSMACROS_H : u32 = 1 ; pub const _BITS_PTHREADTYPES_COMMON_H : u32 = 1 ; pub const _THREAD_SHARED_TYPES_H : u32 = 1 ; pub const _BITS_PTHREADTYPES_ARCH_H : u32 = 1 ; pub const __SIZEOF_PTHREAD_MUTEX_T : u32 = 40 ; pub const __SIZEOF_PTHREAD_ATTR_T : u32 = 56 ; pub const __SIZEOF_PTHREAD_RWLOCK_T : u32 = 56 ; pub const __SIZEOF_PTHREAD_BARRIER_T : u32 = 32 ; pub const __SIZEOF_PTHREAD_MUTEXATTR_T : u32 = 4 ; pub const __SIZEOF_PTHREAD_COND_T : u32 = 48 ; pub const __SIZEOF_PTHREAD_CONDATTR_T : u32 = 4 ; pub const __SIZEOF_PTHREAD_RWLOCKATTR_T : u32 = 8 ; pub const __SIZEOF_PTHREAD_BARRIERATTR_T : u32 = 4 ; pub const __PTHREAD_MUTEX_LOCK_ELISION : u32 = 1 ; pub const __PTHREAD_MUTEX_NUSERS_AFTER_KIND : u32 = 0 ; pub const __PTHREAD_MUTEX_USE_UNION : u32 = 0 ; pub const __PTHREAD_RWLOCK_INT_FLAGS_SHARED : u32 = 1 ; pub const __PTHREAD_MUTEX_HAVE_PREV : u32 = 1 ; pub const __have_pthread_attr_t : u32 = 1 ; pub const _ALLOCA_H : u32 = 1 ; pub const _STDINT_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const __WCHAR_MAX : u32 = 2147483647 ; pub const __WCHAR_MIN : i32 = -2147483648 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = -128 ; pub const INT16_MIN : i32 = -32768 ; pub const INT32_MIN : i32 = -2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = -128 ; pub const INT_LEAST16_MIN : i32 = -32768 ; pub const INT_LEAST32_MIN : i32 = -2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = -128 ; pub const INT_FAST16_MIN : i64 = -9223372036854775808 ; pub const INT_FAST32_MIN : i64 = -9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = -1 ; pub const UINT_FAST32_MAX : i32 = -1 ; pub const INTPTR_MIN : i64 = -9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = -1 ; pub const PTRDIFF_MIN : i64 = -9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = -2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = -1 ; pub const WCHAR_MIN : i32 = -2147483648 ; pub const WCHAR_MAX : u32 = 2147483647 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub const TDB_MAX_PATH_SIZE : u32 = 2048 ; pub const TDB_MAX_FIELDNAME_LENGTH : u32 = 512 ; pub const TDB_MAX_NUM_TRAILS : u64 = 576460752303423487 ; pub const TDB_MAX_TRAIL_LENGTH : u64 = 1125899906842623 ; pub const TDB_MAX_NUM_FIELDS : u32 = 16382 ; pub const TDB_MAX_NUM_VALUES : u64 = 1099511627774 ; pub const TDB_MAX_TIMEDELTA : u64 = 140737488355327 ; pub const TDB_FIELD32_MAX : u32 = 127 ; pub const TDB_VAL32_MAX : u32 = 16777215 ; pub const TDB_MAX_LEXICON_SIZE : u64 = 576460752303423488 ; pub const TDB_MAX_VALUE_SIZE : u64 = 288230376151711744 ; pub const TDB_FIELDNAME_CHARS : & 'static [ u8 ; 66usize ] = b"_-%abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\0" ; pub const TDB_OPT_CONS_OUTPUT_FORMAT_DIR : u32 = 0 ; pub const TDB_OPT_CONS_OUTPUT_FORMAT_PACKAGE : u32 = 1 ; pub const TDB_VERSION_V0 : u32 = 0 ; pub const TDB_VERSION_V0_1 : u32 = 1 ; pub const TDB_VERSION_LATEST : u32 = 1 ; pub type wchar_t = :: std :: os :: raw :: c_int ; pub const idtype_t_P_ALL : idtype_t = 0 ; pub const idtype_t_P_PID : idtype_t = 1 ; pub const idtype_t_P_PGID : idtype_t = 2 ; pub type idtype_t = u32 ; pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct div_t { pub quot : :: std :: os :: raw :: c_int , pub rem : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_div_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < div_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( div_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < div_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( div_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < div_t > ( ) ) ) . quot as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( div_t ) , "::" , stringify ! ( quot ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < div_t > ( ) ) ) . rem as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( div_t ) , "::" , stringify ! ( rem ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ldiv_t { pub quot : :: std :: os :: raw :: c_long , pub rem : :: std :: os :: raw :: c_long , } # [ test ] fn bindgen_test_layout_ldiv_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < ldiv_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( ldiv_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < ldiv_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( ldiv_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ldiv_t > ( ) ) ) . quot as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( ldiv_t ) , "::" , stringify ! ( quot ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ldiv_t > ( ) ) ) . rem as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( ldiv_t ) , "::" , stringify ! ( rem ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct lldiv_t { pub quot : :: std :: os :: raw :: c_longlong , pub rem : :: std :: os :: raw :: c_longlong , } # [ test ] fn bindgen_test_layout_lldiv_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < lldiv_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( lldiv_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < lldiv_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( lldiv_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lldiv_t > ( ) ) ) . quot as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( lldiv_t ) , "::" , stringify ! ( quot ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lldiv_t > ( ) ) ) . rem as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( lldiv_t ) , "::" , stringify ! ( rem ) ) ) ; } extern "C" { pub fn __ctype_get_mb_cur_max ( ) -> usize ; } extern "C" { pub fn atof ( __nptr : * const :: std :: os :: raw :: c_char ) -> f64 ; } extern "C" { pub fn atoi ( __nptr : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn atol ( __nptr : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn atoll ( __nptr : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn strtod ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char ) -> f64 ; } extern "C" { pub fn strtof ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char ) -> f32 ; } extern "C" { pub fn strtold ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char ) -> u128 ; } extern "C" { pub fn strtol ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn strtoul ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strtoq ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn strtouq ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_ulonglong ; } extern "C" { pub fn strtoll ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn strtoull ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_ulonglong ; } extern "C" { pub fn l64a ( __n : :: std :: os :: raw :: c_long ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn a64l ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_long ; } pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __fsid_t { pub __val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __fsid_t > ( ) ) ) . __val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __fsid_t ) , "::" , stringify ! ( __val ) ) ) ; } pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; pub type u_char = __u_char ; pub type u_short = __u_short ; pub type u_int = __u_int ; pub type u_long = __u_long ; pub type quad_t = __quad_t ; pub type u_quad_t = __u_quad_t ; pub type fsid_t = __fsid_t ; pub type loff_t = __loff_t ; pub type ino_t = __ino_t ; pub type dev_t = __dev_t ; pub type gid_t = __gid_t ; pub type mode_t = __mode_t ; pub type nlink_t = __nlink_t ; pub type uid_t = __uid_t ; pub type off_t = __off_t ; pub type pid_t = __pid_t ; pub type id_t = __id_t ; pub type daddr_t = __daddr_t ; pub type caddr_t = __caddr_t ; pub type key_t = __key_t ; pub type clock_t = __clock_t ; pub type clockid_t = __clockid_t ; pub type time_t = __time_t ; pub type timer_t = __timer_t ; pub type ulong = :: std :: os :: raw :: c_ulong ; pub type ushort = :: std :: os :: raw :: c_ushort ; pub type uint = :: std :: os :: raw :: c_uint ; pub type u_int8_t = :: std :: os :: raw :: c_uchar ; pub type u_int16_t = :: std :: os :: raw :: c_ushort ; pub type u_int32_t = :: std :: os :: raw :: c_uint ; pub type u_int64_t = :: std :: os :: raw :: c_ulong ; pub type register_t = :: std :: os :: raw :: c_long ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __sigset_t { pub __val : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___sigset_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __sigset_t > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __sigset_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __sigset_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __sigset_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __sigset_t > ( ) ) ) . __val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __sigset_t ) , "::" , stringify ! ( __val ) ) ) ; } pub type sigset_t = __sigset_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct timeval { pub tv_sec : __time_t , pub tv_usec : __suseconds_t , } # [ test ] fn bindgen_test_layout_timeval ( ) { assert_eq ! ( :: std :: mem :: size_of :: < timeval > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( timeval ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < timeval > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( timeval ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < timeval > ( ) ) ) . tv_sec as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( timeval ) , "::" , stringify ! ( tv_sec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < timeval > ( ) ) ) . tv_usec as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( timeval ) , "::" , stringify ! ( tv_usec ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct timespec { pub tv_sec : __time_t , pub tv_nsec : __syscall_slong_t , } # [ test ] fn bindgen_test_layout_timespec ( ) { assert_eq ! ( :: std :: mem :: size_of :: < timespec > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( timespec ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < timespec > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( timespec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < timespec > ( ) ) ) . tv_sec as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( timespec ) , "::" , stringify ! ( tv_sec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < timespec > ( ) ) ) . tv_nsec as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( timespec ) , "::" , stringify ! ( tv_nsec ) ) ) ; } pub type suseconds_t = __suseconds_t ; pub type __fd_mask = :: std :: os :: raw :: c_long ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct fd_set { pub __fds_bits : [ __fd_mask ; 16usize ] , } # [ test ] fn bindgen_test_layout_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < fd_set > ( ) ) ) . __fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( fd_set ) , "::" , stringify ! ( __fds_bits ) ) ) ; } pub type fd_mask = __fd_mask ; extern "C" { pub fn select ( __nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * mut timeval ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pselect ( __nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * const timespec , __sigmask : * const __sigset_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn gnu_dev_major ( __dev : __dev_t ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn gnu_dev_minor ( __dev : __dev_t ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn gnu_dev_makedev ( __major : :: std :: os :: raw :: c_uint , __minor : :: std :: os :: raw :: c_uint ) -> __dev_t ; } pub type blksize_t = __blksize_t ; pub type blkcnt_t = __blkcnt_t ; pub type fsblkcnt_t = __fsblkcnt_t ; pub type fsfilcnt_t = __fsfilcnt_t ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __pthread_rwlock_arch_t { pub __readers : :: std :: os :: raw :: c_uint , pub __writers : :: std :: os :: raw :: c_uint , pub __wrphase_futex : :: std :: os :: raw :: c_uint , pub __writers_futex : :: std :: os :: raw :: c_uint , pub __pad3 : :: std :: os :: raw :: c_uint , pub __pad4 : :: std :: os :: raw :: c_uint , pub __cur_writer : :: std :: os :: raw :: c_int , pub __shared : :: std :: os :: raw :: c_int , pub __rwelision : :: std :: os :: raw :: c_schar , pub __pad1 : [ :: std :: os :: raw :: c_uchar ; 7usize ] , pub __pad2 : :: std :: os :: raw :: c_ulong , pub __flags : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout___pthread_rwlock_arch_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_rwlock_arch_t > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( __pthread_rwlock_arch_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_rwlock_arch_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_rwlock_arch_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __readers as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __readers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __writers as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __writers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __wrphase_futex as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __wrphase_futex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __writers_futex as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __writers_futex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __pad3 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __pad4 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __pad4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __cur_writer as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __cur_writer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __shared as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __shared ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __rwelision as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __rwelision ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __pad1 as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __pad2 as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __flags as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __flags ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [ test ] fn bindgen_test_layout___pthread_internal_list ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_internal_list > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( __pthread_internal_list ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_internal_list > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_internal_list ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_internal_list > ( ) ) ) . __prev as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_internal_list ) , "::" , stringify ! ( __prev ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_internal_list > ( ) ) ) . __next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_internal_list ) , "::" , stringify ! ( __next ) ) ) ; } pub type __pthread_list_t = __pthread_internal_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __pthread_mutex_s { pub __lock : :: std :: os :: raw :: c_int , pub __count : :: std :: os :: raw :: c_uint , pub __owner : :: std :: os :: raw :: c_int , pub __nusers : :: std :: os :: raw :: c_uint , pub __kind : :: std :: os :: raw :: c_int , pub __spins : :: std :: os :: raw :: c_short , pub __elision : :: std :: os :: raw :: c_short , pub __list : __pthread_list_t , } # [ test ] fn bindgen_test_layout___pthread_mutex_s ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_mutex_s > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( __pthread_mutex_s ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_mutex_s > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_mutex_s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __lock as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __lock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __count as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __owner as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __owner ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __nusers as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __nusers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __kind as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __kind ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __spins as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __spins ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __elision as * const _ as usize } , 22usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __elision ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __list as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __list ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct __pthread_cond_s { pub __bindgen_anon_1 : __pthread_cond_s__bindgen_ty_1 , pub __bindgen_anon_2 : __pthread_cond_s__bindgen_ty_2 , pub __g_refs : [ :: std :: os :: raw :: c_uint ; 2usize ] , pub __g_size : [ :: std :: os :: raw :: c_uint ; 2usize ] , pub __g1_orig_size : :: std :: os :: raw :: c_uint , pub __wrefs : :: std :: os :: raw :: c_uint , pub __g_signals : [ :: std :: os :: raw :: c_uint ; 2usize ] , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union __pthread_cond_s__bindgen_ty_1 { pub __wseq : :: std :: os :: raw :: c_ulonglong , pub __wseq32 : __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 , _bindgen_union_align : u64 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 { pub __low : :: std :: os :: raw :: c_uint , pub __high : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout___pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 > ( ) ) ) . __low as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! ( __low ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 > ( ) ) ) . __high as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! ( __high ) ) ) ; } # [ test ] fn bindgen_test_layout___pthread_cond_s__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_1 > ( ) ) ) . __wseq as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_1 ) , "::" , stringify ! ( __wseq ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_1 > ( ) ) ) . __wseq32 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_1 ) , "::" , stringify ! ( __wseq32 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union __pthread_cond_s__bindgen_ty_2 { pub __g1_start : :: std :: os :: raw :: c_ulonglong , pub __g1_start32 : __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 , _bindgen_union_align : u64 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 { pub __low : :: std :: os :: raw :: c_uint , pub __high : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout___pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 > ( ) ) ) . __low as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ) , "::" , stringify ! ( __low ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 > ( ) ) ) . __high as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ) , "::" , stringify ! ( __high ) ) ) ; } # [ test ] fn bindgen_test_layout___pthread_cond_s__bindgen_ty_2 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s__bindgen_ty_2 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s__bindgen_ty_2 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s__bindgen_ty_2 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s__bindgen_ty_2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_2 > ( ) ) ) . __g1_start as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_2 ) , "::" , stringify ! ( __g1_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_2 > ( ) ) ) . __g1_start32 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_2 ) , "::" , stringify ! ( __g1_start32 ) ) ) ; } # [ test ] fn bindgen_test_layout___pthread_cond_s ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s > ( ) ) ) . __g_refs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s ) , "::" , stringify ! ( __g_refs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s > ( ) ) ) . __g_size as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s ) , "::" , stringify ! ( __g_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s > ( ) ) ) . __g1_orig_size as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s ) , "::" , stringify ! ( __g1_orig_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s > ( ) ) ) . __wrefs as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s ) , "::" , stringify ! ( __wrefs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s > ( ) ) ) . __g_signals as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s ) , "::" , stringify ! ( __g_signals ) ) ) ; } pub type pthread_t = :: std :: os :: raw :: c_ulong ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_mutexattr_t { pub __size : [ :: std :: os :: raw :: c_char ; 4usize ] , pub __align : :: std :: os :: raw :: c_int , _bindgen_union_align : u32 , } # [ test ] fn bindgen_test_layout_pthread_mutexattr_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_mutexattr_t > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( pthread_mutexattr_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_mutexattr_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( pthread_mutexattr_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_mutexattr_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_mutexattr_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_mutexattr_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_mutexattr_t ) , "::" , stringify ! ( __align ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_condattr_t { pub __size : [ :: std :: os :: raw :: c_char ; 4usize ] , pub __align : :: std :: os :: raw :: c_int , _bindgen_union_align : u32 , } # [ test ] fn bindgen_test_layout_pthread_condattr_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_condattr_t > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( pthread_condattr_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_condattr_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( pthread_condattr_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_condattr_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_condattr_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_condattr_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_condattr_t ) , "::" , stringify ! ( __align ) ) ) ; } pub type pthread_key_t = :: std :: os :: raw :: c_uint ; pub type pthread_once_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_attr_t { pub __size : [ :: std :: os :: raw :: c_char ; 56usize ] , pub __align : :: std :: os :: raw :: c_long , _bindgen_union_align : [ u64 ; 7usize ] , } # [ test ] fn bindgen_test_layout_pthread_attr_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_attr_t > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( pthread_attr_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_attr_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( pthread_attr_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_attr_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_attr_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_attr_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_attr_t ) , "::" , stringify ! ( __align ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [ :: std :: os :: raw :: c_char ; 40usize ] , pub __align : :: std :: os :: raw :: c_long , _bindgen_union_align : [ u64 ; 5usize ] , } # [ test ] fn bindgen_test_layout_pthread_mutex_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_mutex_t > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( pthread_mutex_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_mutex_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( pthread_mutex_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_mutex_t > ( ) ) ) . __data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_mutex_t ) , "::" , stringify ! ( __data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_mutex_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_mutex_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_mutex_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_mutex_t ) , "::" , stringify ! ( __align ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_cond_t { pub __data : __pthread_cond_s , pub __size : [ :: std :: os :: raw :: c_char ; 48usize ] , pub __align : :: std :: os :: raw :: c_longlong , _bindgen_union_align : [ u64 ; 6usize ] , } # [ test ] fn bindgen_test_layout_pthread_cond_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_cond_t > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( pthread_cond_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_cond_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( pthread_cond_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_cond_t > ( ) ) ) . __data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_cond_t ) , "::" , stringify ! ( __data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_cond_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_cond_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_cond_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_cond_t ) , "::" , stringify ! ( __align ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_rwlock_t { pub __data : __pthread_rwlock_arch_t , pub __size : [ :: std :: os :: raw :: c_char ; 56usize ] , pub __align : :: std :: os :: raw :: c_long , _bindgen_union_align : [ u64 ; 7usize ] , } # [ test ] fn bindgen_test_layout_pthread_rwlock_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_rwlock_t > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( pthread_rwlock_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_rwlock_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( pthread_rwlock_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_rwlock_t > ( ) ) ) . __data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_rwlock_t ) , "::" , stringify ! ( __data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_rwlock_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_rwlock_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_rwlock_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_rwlock_t ) , "::" , stringify ! ( __align ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_rwlockattr_t { pub __size : [ :: std :: os :: raw :: c_char ; 8usize ] , pub __align : :: std :: os :: raw :: c_long , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout_pthread_rwlockattr_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_rwlockattr_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( pthread_rwlockattr_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_rwlockattr_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( pthread_rwlockattr_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_rwlockattr_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_rwlockattr_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_rwlockattr_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_rwlockattr_t ) , "::" , stringify ! ( __align ) ) ) ; } pub type pthread_spinlock_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_barrier_t { pub __size : [ :: std :: os :: raw :: c_char ; 32usize ] , pub __align : :: std :: os :: raw :: c_long , _bindgen_union_align : [ u64 ; 4usize ] , } # [ test ] fn bindgen_test_layout_pthread_barrier_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_barrier_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( pthread_barrier_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_barrier_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( pthread_barrier_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_barrier_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_barrier_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_barrier_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_barrier_t ) , "::" , stringify ! ( __align ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_barrierattr_t { pub __size : [ :: std :: os :: raw :: c_char ; 4usize ] , pub __align : :: std :: os :: raw :: c_int , _bindgen_union_align : u32 , } # [ test ] fn bindgen_test_layout_pthread_barrierattr_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_barrierattr_t > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( pthread_barrierattr_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_barrierattr_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( pthread_barrierattr_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_barrierattr_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_barrierattr_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_barrierattr_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_barrierattr_t ) , "::" , stringify ! ( __align ) ) ) ; } extern "C" { pub fn random ( ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn srandom ( __seed : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn initstate ( __seed : :: std :: os :: raw :: c_uint , __statebuf : * mut :: std :: os :: raw :: c_char , __statelen : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn setstate ( __statebuf : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct random_data { pub fptr : * mut i32 , pub rptr : * mut i32 , pub state : * mut i32 , pub rand_type : :: std :: os :: raw :: c_int , pub rand_deg : :: std :: os :: raw :: c_int , pub rand_sep : :: std :: os :: raw :: c_int , pub end_ptr : * mut i32 , } # [ test ] fn bindgen_test_layout_random_data ( ) { assert_eq ! ( :: std :: mem :: size_of :: < random_data > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( random_data ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < random_data > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( random_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . fptr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( fptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . rptr as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( rptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . state as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( state ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . rand_type as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( rand_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . rand_deg as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( rand_deg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . rand_sep as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( rand_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . end_ptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( end_ptr ) ) ) ; } extern "C" { pub fn random_r ( __buf : * mut random_data , __result : * mut i32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn srandom_r ( __seed : :: std :: os :: raw :: c_uint , __buf : * mut random_data ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initstate_r ( __seed : :: std :: os :: raw :: c_uint , __statebuf : * mut :: std :: os :: raw :: c_char , __statelen : usize , __buf : * mut random_data ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setstate_r ( __statebuf : * mut :: std :: os :: raw :: c_char , __buf : * mut random_data ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rand ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn srand ( __seed : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rand_r ( __seed : * mut :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drand48 ( ) -> f64 ; } extern "C" { pub fn erand48 ( __xsubi : * mut :: std :: os :: raw :: c_ushort ) -> f64 ; } extern "C" { pub fn lrand48 ( ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn nrand48 ( __xsubi : * mut :: std :: os :: raw :: c_ushort ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn mrand48 ( ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn jrand48 ( __xsubi : * mut :: std :: os :: raw :: c_ushort ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn srand48 ( __seedval : :: std :: os :: raw :: c_long ) ; } extern "C" { pub fn seed48 ( __seed16v : * mut :: std :: os :: raw :: c_ushort ) -> * mut :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn lcong48 ( __param : * mut :: std :: os :: raw :: c_ushort ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct drand48_data { pub __x : [ :: std :: os :: raw :: c_ushort ; 3usize ] , pub __old_x : [ :: std :: os :: raw :: c_ushort ; 3usize ] , pub __c : :: std :: os :: raw :: c_ushort , pub __init : :: std :: os :: raw :: c_ushort , pub __a : :: std :: os :: raw :: c_ulonglong , } # [ test ] fn bindgen_test_layout_drand48_data ( ) { assert_eq ! ( :: std :: mem :: size_of :: < drand48_data > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( drand48_data ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < drand48_data > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( drand48_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < drand48_data > ( ) ) ) . __x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( drand48_data ) , "::" , stringify ! ( __x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < drand48_data > ( ) ) ) . __old_x as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( drand48_data ) , "::" , stringify ! ( __old_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < drand48_data > ( ) ) ) . __c as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( drand48_data ) , "::" , stringify ! ( __c ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < drand48_data > ( ) ) ) . __init as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( drand48_data ) , "::" , stringify ! ( __init ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < drand48_data > ( ) ) ) . __a as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( drand48_data ) , "::" , stringify ! ( __a ) ) ) ; } extern "C" { pub fn drand48_r ( __buffer : * mut drand48_data , __result : * mut f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erand48_r ( __xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lrand48_r ( __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nrand48_r ( __xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mrand48_r ( __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn jrand48_r ( __xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn srand48_r ( __seedval : :: std :: os :: raw :: c_long , __buffer : * mut drand48_data ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn seed48_r ( __seed16v : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lcong48_r ( __param : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn malloc ( __size : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn calloc ( __nmemb : :: std :: os :: raw :: c_ulong , __size : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn realloc ( __ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn free ( __ptr : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn alloca ( __size : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn valloc ( __size : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn posix_memalign ( __memptr : * mut * mut :: std :: os :: raw :: c_void , __alignment : usize , __size : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn aligned_alloc ( __alignment : usize , __size : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn abort ( ) ; } extern "C" { pub fn atexit ( __func : :: std :: option :: Option < unsafe extern "C" fn ( ) > ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn at_quick_exit ( __func : :: std :: option :: Option < unsafe extern "C" fn ( ) > ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn on_exit ( __func : :: std :: option :: Option < unsafe extern "C" fn ( __status : :: std :: os :: raw :: c_int , __arg : * mut :: std :: os :: raw :: c_void ) > , __arg : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn exit ( __status : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn quick_exit ( __status : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn _Exit ( __status : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn getenv ( __name : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putenv ( __string : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setenv ( __name : * const :: std :: os :: raw :: c_char , __value : * const :: std :: os :: raw :: c_char , __replace : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unsetenv ( __name : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearenv ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mktemp ( __template : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn mkstemp ( __template : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mkstemps ( __template : * mut :: std :: os :: raw :: c_char , __suffixlen : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mkdtemp ( __template : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn system ( __command : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn realpath ( __name : * const :: std :: os :: raw :: c_char , __resolved : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } pub type __compar_fn_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * const :: std :: os :: raw :: c_void , arg2 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn bsearch ( __key : * const :: std :: os :: raw :: c_void , __base : * const :: std :: os :: raw :: c_void , __nmemb : usize , __size : usize , __compar : __compar_fn_t ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn qsort ( __base : * mut :: std :: os :: raw :: c_void , __nmemb : usize , __size : usize , __compar : __compar_fn_t ) ; } extern "C" { pub fn abs ( __x : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn labs ( __x : :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llabs ( __x : :: std :: os :: raw :: c_longlong ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn div ( __numer : :: std :: os :: raw :: c_int , __denom : :: std :: os :: raw :: c_int ) -> div_t ; } extern "C" { pub fn ldiv ( __numer : :: std :: os :: raw :: c_long , __denom : :: std :: os :: raw :: c_long ) -> ldiv_t ; } extern "C" { pub fn lldiv ( __numer : :: std :: os :: raw :: c_longlong , __denom : :: std :: os :: raw :: c_longlong ) -> lldiv_t ; } extern "C" { pub fn ecvt ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn fcvt ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn gcvt ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qecvt ( __value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qfcvt ( __value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qgcvt ( __value : u128 , __ndigit : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ecvt_r ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fcvt_r ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qecvt_r ( __value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qfcvt_r ( __value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mblen ( __s : * const :: std :: os :: raw :: c_char , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mbtowc ( __pwc : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wctomb ( __s : * mut :: std :: os :: raw :: c_char , __wchar : wchar_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mbstowcs ( __pwcs : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : usize ) -> usize ; } extern "C" { pub fn wcstombs ( __s : * mut :: std :: os :: raw :: c_char , __pwcs : * const wchar_t , __n : usize ) -> usize ; } extern "C" { pub fn rpmatch ( __response : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getsubopt ( __optionp : * mut * mut :: std :: os :: raw :: c_char , __tokens : * const * mut :: std :: os :: raw :: c_char , __valuep : * mut * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getloadavg ( __loadavg : * mut f64 , __nelem : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; pub type int_fast8_t = :: std :: os :: raw :: c_schar ; pub type int_fast16_t = :: std :: os :: raw :: c_long ; pub type int_fast32_t = :: std :: os :: raw :: c_long ; pub type int_fast64_t = :: std :: os :: raw :: c_long ; pub type uint_fast8_t = :: std :: os :: raw :: c_uchar ; pub type uint_fast16_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast32_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast64_t = :: std :: os :: raw :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub type tdb_field = u32 ; pub type tdb_val = u64 ; pub type tdb_item = u64 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _tdb_cons { _unused : [ u8 ; 0 ] , } pub type tdb_cons = _tdb_cons ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _tdb { _unused : [ u8 ; 0 ] , } pub type tdb = _tdb ; # [ repr ( C , packed ) ] # [ derive ( Debug ) ] pub struct tdb_event { pub timestamp : u64 , pub num_items : u64 , pub items : __IncompleteArrayField < tdb_item > , } # [ test ] fn bindgen_test_layout_tdb_event ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tdb_event > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( tdb_event ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tdb_event > ( ) , 1usize , concat ! ( "Alignment of " , stringify ! ( tdb_event ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tdb_event > ( ) ) ) . timestamp as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tdb_event ) , "::" , stringify ! ( timestamp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tdb_event > ( ) ) ) . num_items as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tdb_event ) , "::" , stringify ! ( num_items ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tdb_event > ( ) ) ) . items as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tdb_event ) , "::" , stringify ! ( items ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tdb_multi_event { pub db : * const tdb , pub event : * const tdb_event , pub cursor_idx : u64 , } # [ test ] fn bindgen_test_layout_tdb_multi_event ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tdb_multi_event > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( tdb_multi_event ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tdb_multi_event > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tdb_multi_event ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tdb_multi_event > ( ) ) ) . db as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tdb_multi_event ) , "::" , stringify ! ( db ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tdb_multi_event > ( ) ) ) . event as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tdb_multi_event ) , "::" , stringify ! ( event ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tdb_multi_event > ( ) ) ) . cursor_idx as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tdb_multi_event ) , "::" , stringify ! ( cursor_idx ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tdb_cursor { pub state : * mut tdb_decode_state , pub next_event : * const :: std :: os :: raw :: c_char , pub num_events_left : u64 , } # [ test ] fn bindgen_test_layout_tdb_cursor ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tdb_cursor > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( tdb_cursor ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tdb_cursor > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tdb_cursor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tdb_cursor > ( ) ) ) . state as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tdb_cursor ) , "::" , stringify ! ( state ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tdb_cursor > ( ) ) ) . next_event as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( tdb_cursor ) , "::" , stringify ! ( next_event ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tdb_cursor > ( ) ) ) . num_events_left as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( tdb_cursor ) , "::" , stringify ! ( num_events_left ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tdb_multi_cursor { _unused : [ u8 ; 0 ] , } pub const tdb_opt_key_TDB_OPT_ONLY_DIFF_ITEMS : tdb_opt_key = 100 ; pub const tdb_opt_key_TDB_OPT_EVENT_FILTER : tdb_opt_key = 101 ; pub const tdb_opt_key_TDB_OPT_CURSOR_EVENT_BUFFER_SIZE : tdb_opt_key = 102 ; pub const tdb_opt_key_TDB_OPT_CONS_OUTPUT_FORMAT : tdb_opt_key = 1001 ; pub const tdb_opt_key_TDB_OPT_CONS_NO_BIGRAMS : tdb_opt_key = 1002 ; pub type tdb_opt_key = u32 ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union tdb_opt_value { pub ptr : * const :: std :: os :: raw :: c_void , pub value : u64 , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout_tdb_opt_value ( ) { assert_eq ! ( :: std :: mem :: size_of :: < tdb_opt_value > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( tdb_opt_value ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < tdb_opt_value > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( tdb_opt_value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tdb_opt_value > ( ) ) ) . ptr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tdb_opt_value ) , "::" , stringify ! ( ptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < tdb_opt_value > ( ) ) ) . value as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( tdb_opt_value ) , "::" , stringify ! ( value ) ) ) ; } extern "C" { pub static TDB_TRUE : tdb_opt_value ; } extern "C" { pub static TDB_FALSE : tdb_opt_value ; } pub const tdb_event_filter_term_type_TDB_EVENT_FILTER_UNKNOWN_TERM : tdb_event_filter_term_type = 0 ; pub const tdb_event_filter_term_type_TDB_EVENT_FILTER_MATCH_TERM : tdb_event_filter_term_type = 1 ; pub const tdb_event_filter_term_type_TDB_EVENT_FILTER_TIME_RANGE_TERM : tdb_event_filter_term_type = 2 ; pub type tdb_event_filter_term_type = u32 ; pub const tdb_error_TDB_ERR_OK : tdb_error = 0 ; pub const tdb_error_TDB_ERR_NOMEM : tdb_error = -2 ; pub const tdb_error_TDB_ERR_PATH_TOO_LONG : tdb_error = -3 ; pub const tdb_error_TDB_ERR_UNKNOWN_FIELD : tdb_error = -4 ; pub const tdb_error_TDB_ERR_UNKNOWN_UUID : tdb_error = -5 ; pub const tdb_error_TDB_ERR_INVALID_TRAIL_ID : tdb_error = -6 ; pub const tdb_error_TDB_ERR_HANDLE_IS_NULL : tdb_error = -7 ; pub const tdb_error_TDB_ERR_HANDLE_ALREADY_OPENED : tdb_error = -8 ; pub const tdb_error_TDB_ERR_UNKNOWN_OPTION : tdb_error = -9 ; pub const tdb_error_TDB_ERR_INVALID_OPTION_VALUE : tdb_error = -10 ; pub const tdb_error_TDB_ERR_INVALID_UUID : tdb_error = -11 ; pub const tdb_error_TDB_ERR_IO_OPEN : tdb_error = -65 ; pub const tdb_error_TDB_ERR_IO_CLOSE : tdb_error = -66 ; pub const tdb_error_TDB_ERR_IO_WRITE : tdb_error = -67 ; pub const tdb_error_TDB_ERR_IO_READ : tdb_error = -68 ; pub const tdb_error_TDB_ERR_IO_TRUNCATE : tdb_error = -69 ; pub const tdb_error_TDB_ERR_IO_PACKAGE : tdb_error = -70 ; pub const tdb_error_TDB_ERR_INVALID_INFO_FILE : tdb_error = -129 ; pub const tdb_error_TDB_ERR_INVALID_VERSION_FILE : tdb_error = -130 ; pub const tdb_error_TDB_ERR_INCOMPATIBLE_VERSION : tdb_error = -131 ; pub const tdb_error_TDB_ERR_INVALID_FIELDS_FILE : tdb_error = -132 ; pub const tdb_error_TDB_ERR_INVALID_UUIDS_FILE : tdb_error = -133 ; pub const tdb_error_TDB_ERR_INVALID_CODEBOOK_FILE : tdb_error = -134 ; pub const tdb_error_TDB_ERR_INVALID_TRAILS_FILE : tdb_error = -135 ; pub const tdb_error_TDB_ERR_INVALID_LEXICON_FILE : tdb_error = -136 ; pub const tdb_error_TDB_ERR_INVALID_PACKAGE : tdb_error = -137 ; pub const tdb_error_TDB_ERR_TOO_MANY_FIELDS : tdb_error = -257 ; pub const tdb_error_TDB_ERR_DUPLICATE_FIELDS : tdb_error = -258 ; pub const tdb_error_TDB_ERR_INVALID_FIELDNAME : tdb_error = -259 ; pub const tdb_error_TDB_ERR_TOO_MANY_TRAILS : tdb_error = -260 ; pub const tdb_error_TDB_ERR_VALUE_TOO_LONG : tdb_error = -261 ; pub const tdb_error_TDB_ERR_APPEND_FIELDS_MISMATCH : tdb_error = -262 ; pub const tdb_error_TDB_ERR_LEXICON_TOO_LARGE : tdb_error = -263 ; pub const tdb_error_TDB_ERR_TIMESTAMP_TOO_LARGE : tdb_error = -264 ; pub const tdb_error_TDB_ERR_TRAIL_TOO_LONG : tdb_error = -265 ; pub const tdb_error_TDB_ERR_ONLY_DIFF_FILTER : tdb_error = -513 ; pub const tdb_error_TDB_ERR_NO_SUCH_ITEM : tdb_error = -514 ; pub const tdb_error_TDB_ERR_INVALID_RANGE : tdb_error = -515 ; pub const tdb_error_TDB_ERR_INCORRECT_TERM_TYPE : tdb_error = -516 ; pub type tdb_error = i32 ; extern "C" { pub fn tdb_cons_init ( ) -> * mut tdb_cons ; } extern "C" { pub fn tdb_cons_open ( cons : * mut tdb_cons , root : * const :: std :: os :: raw :: c_char , ofield_names : * mut * const :: std :: os :: raw :: c_char , num_ofields : u64 ) -> tdb_error ; } extern "C" { pub fn tdb_cons_close ( cons : * mut tdb_cons ) ; } extern "C" { pub fn tdb_cons_set_opt ( cons : * mut tdb_cons , key : tdb_opt_key , value : tdb_opt_value ) -> tdb_error ; } extern "C" { pub fn tdb_cons_get_opt ( cons : * mut tdb_cons , key : tdb_opt_key , value : * mut tdb_opt_value ) -> tdb_error ; } extern "C" { pub fn tdb_cons_add ( cons : * mut tdb_cons , uuid : * const u8 , timestamp : u64 , values : * mut * const :: std :: os :: raw :: c_char , value_lengths : * const u64 ) -> tdb_error ; } extern "C" { pub fn tdb_cons_append ( cons : * mut tdb_cons , db : * const tdb ) -> tdb_error ; } extern "C" { pub fn tdb_cons_finalize ( cons : * mut tdb_cons ) -> tdb_error ; } extern "C" { pub fn tdb_init ( ) -> * mut tdb ; } extern "C" { pub fn tdb_open ( db : * mut tdb , root : * const :: std :: os :: raw :: c_char ) -> tdb_error ; } extern "C" { pub fn tdb_close ( db : * mut tdb ) ; } extern "C" { pub fn tdb_dontneed ( db : * const tdb ) ; } extern "C" { pub fn tdb_willneed ( db : * const tdb ) ; } extern "C" { pub fn tdb_num_trails ( db : * const tdb ) -> u64 ; } extern "C" { pub fn tdb_num_events ( db : * const tdb ) -> u64 ; } extern "C" { pub fn tdb_num_fields ( db : * const tdb ) -> u64 ; } extern "C" { pub fn tdb_min_timestamp ( db : * const tdb ) -> u64 ; } extern "C" { pub fn tdb_max_timestamp ( db : * const tdb ) -> u64 ; } extern "C" { pub fn tdb_version ( db : * const tdb ) -> u64 ; } extern "C" { pub fn tdb_error_str ( errcode : tdb_error ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn tdb_set_opt ( db : * mut tdb , key : tdb_opt_key , value : tdb_opt_value ) -> tdb_error ; } extern "C" { pub fn tdb_get_opt ( db : * mut tdb , key : tdb_opt_key , value : * mut tdb_opt_value ) -> tdb_error ; } extern "C" { pub fn tdb_set_trail_opt ( db : * mut tdb , trail_id : u64 , key : tdb_opt_key , value : tdb_opt_value ) -> tdb_error ; } extern "C" { pub fn tdb_get_trail_opt ( db : * mut tdb , trail_id : u64 , key : tdb_opt_key , value : * mut tdb_opt_value ) -> tdb_error ; } extern "C" { pub fn tdb_lexicon_size ( db : * const tdb , field : tdb_field ) -> u64 ; } extern "C" { pub fn tdb_get_field ( db : * const tdb , field_name : * const :: std :: os :: raw :: c_char , field : * mut tdb_field ) -> tdb_error ; } extern "C" { pub fn tdb_get_field_name ( db : * const tdb , field : tdb_field ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn tdb_get_item ( db : * const tdb , field : tdb_field , value : * const :: std :: os :: raw :: c_char , value_length : u64 ) -> tdb_item ; } extern "C" { pub fn tdb_get_value ( db : * const tdb , field : tdb_field , val : tdb_val , value_length : * mut u64 ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn tdb_get_item_value ( db : * const tdb , item : tdb_item , value_length : * mut u64 ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn tdb_get_uuid ( db : * const tdb , trail_id : u64 ) -> * const u8 ; } extern "C" { pub fn tdb_get_trail_id ( db : * const tdb , uuid : * const u8 , trail_id : * mut u64 ) -> tdb_error ; } extern "C" { pub fn tdb_uuid_raw ( hexuuid : * const u8 , uuid : * mut u8 ) -> tdb_error ; } extern "C" { pub fn tdb_uuid_hex ( uuid : * const u8 , hexuuid : * mut u8 ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tdb_event_filter { _unused : [ u8 ; 0 ] , } extern "C" { pub fn tdb_event_filter_new ( ) -> * mut tdb_event_filter ; } extern "C" { pub fn tdb_event_filter_new_match_all ( ) -> * mut tdb_event_filter ; } extern "C" { pub fn tdb_event_filter_new_match_none ( ) -> * mut tdb_event_filter ; } extern "C" { pub fn tdb_event_filter_add_term ( filter : * mut tdb_event_filter , term : tdb_item , is_negative : :: std :: os :: raw :: c_int ) -> tdb_error ; } extern "C" { pub fn tdb_event_filter_add_time_range ( filter : * mut tdb_event_filter , start_time : u64 , end_time : u64 ) -> tdb_error ; } extern "C" { pub fn tdb_event_filter_new_clause ( filter : * mut tdb_event_filter ) -> tdb_error ; } extern "C" { pub fn tdb_event_filter_free ( filter : * mut tdb_event_filter ) ; } extern "C" { pub fn tdb_event_filter_get_term_type ( filter : * const tdb_event_filter , clause_index : u64 , term_index : u64 , term_type : * mut tdb_event_filter_term_type ) -> tdb_error ; } extern "C" { pub fn tdb_event_filter_get_item ( filter : * const tdb_event_filter , clause_index : u64 , item_index : u64 , item : * mut tdb_item , is_negative : * mut :: std :: os :: raw :: c_int ) -> tdb_error ; } extern "C" { pub fn tdb_event_filter_get_time_range ( filter : * const tdb_event_filter , clause_index : u64 , term_index : u64 , start_time : * mut u64 , end_time : * mut u64 ) -> tdb_error ; } extern "C" { pub fn tdb_event_filter_num_clauses ( filter : * const tdb_event_filter ) -> u64 ; } extern "C" { pub fn tdb_event_filter_num_terms ( filter : * const tdb_event_filter , clause_index : u64 , num_terms : * mut u64 ) -> tdb_error ; } extern "C" { pub fn tdb_cursor_new ( db : * const tdb ) -> * mut tdb_cursor ; } extern "C" { pub fn tdb_cursor_free ( cursor : * mut tdb_cursor ) ; } extern "C" { pub fn tdb_get_trail ( cursor : * mut tdb_cursor , trail_id : u64 ) -> tdb_error ; } extern "C" { pub fn tdb_get_trail_length ( cursor : * mut tdb_cursor ) -> u64 ; } extern "C" { pub fn tdb_cursor_set_event_filter ( cursor : * mut tdb_cursor , filter : * const tdb_event_filter ) -> tdb_error ; } extern "C" { pub fn tdb_cursor_unset_event_filter ( cursor : * mut tdb_cursor ) ; } extern "C" { pub fn _tdb_cursor_next_batch ( cursor : * mut tdb_cursor ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tdb_multi_cursor_new ( cursors : * mut * mut tdb_cursor , num_cursors : u64 ) -> * mut tdb_multi_cursor ; } extern "C" { pub fn tdb_multi_cursor_reset ( mc : * mut tdb_multi_cursor ) ; } extern "C" { pub fn tdb_multi_cursor_next ( mcursor : * mut tdb_multi_cursor ) -> * const tdb_multi_event ; } extern "C" { pub fn tdb_multi_cursor_next_batch ( mcursor : * mut tdb_multi_cursor , events : * mut tdb_multi_event , max_events : u64 ) -> u64 ; } extern "C" { pub fn tdb_multi_cursor_peek ( mcursor : * mut tdb_multi_cursor ) -> * const tdb_multi_event ; } extern "C" { pub fn tdb_multi_cursor_free ( mcursor : * mut tdb_multi_cursor ) ; } extern "C" { pub fn tdb_cursor_next ( cursor : * mut tdb_cursor ) -> * const tdb_event ; } extern "C" { pub fn tdb_cursor_peek ( cursor : * mut tdb_cursor ) -> * const tdb_event ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct tdb_decode_state { pub _address : u8 , }