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

pub const _FCNTL_H : 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 _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 = 201605 ; pub const __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 24 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; 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 __FD_SETSIZE : u32 = 1024 ; pub const __O_LARGEFILE : u32 = 0 ; pub const F_GETLK64 : u32 = 5 ; pub const F_SETLK64 : u32 = 6 ; pub const F_SETLKW64 : u32 = 7 ; pub const O_ACCMODE : u32 = 3 ; pub const O_RDONLY : u32 = 0 ; pub const O_WRONLY : u32 = 1 ; pub const O_RDWR : u32 = 2 ; pub const O_CREAT : u32 = 64 ; pub const O_EXCL : u32 = 128 ; pub const O_NOCTTY : u32 = 256 ; pub const O_TRUNC : u32 = 512 ; pub const O_APPEND : u32 = 1024 ; pub const O_NONBLOCK : u32 = 2048 ; pub const O_NDELAY : u32 = 2048 ; pub const O_SYNC : u32 = 1052672 ; pub const O_FSYNC : u32 = 1052672 ; pub const O_ASYNC : u32 = 8192 ; pub const __O_DIRECTORY : u32 = 65536 ; pub const __O_NOFOLLOW : u32 = 131072 ; pub const __O_CLOEXEC : u32 = 524288 ; pub const __O_DIRECT : u32 = 16384 ; pub const __O_NOATIME : u32 = 262144 ; pub const __O_PATH : u32 = 2097152 ; pub const __O_DSYNC : u32 = 4096 ; pub const __O_TMPFILE : u32 = 4259840 ; pub const F_GETLK : u32 = 5 ; pub const F_SETLK : u32 = 6 ; pub const F_SETLKW : u32 = 7 ; pub const O_DIRECTORY : u32 = 65536 ; pub const O_NOFOLLOW : u32 = 131072 ; pub const O_CLOEXEC : u32 = 524288 ; pub const O_DSYNC : u32 = 4096 ; pub const O_RSYNC : u32 = 1052672 ; pub const F_DUPFD : u32 = 0 ; pub const F_GETFD : u32 = 1 ; pub const F_SETFD : u32 = 2 ; pub const F_GETFL : u32 = 3 ; pub const F_SETFL : u32 = 4 ; pub const __F_SETOWN : u32 = 8 ; pub const __F_GETOWN : u32 = 9 ; pub const F_SETOWN : u32 = 8 ; pub const F_GETOWN : u32 = 9 ; pub const __F_SETSIG : u32 = 10 ; pub const __F_GETSIG : u32 = 11 ; pub const __F_SETOWN_EX : u32 = 15 ; pub const __F_GETOWN_EX : u32 = 16 ; pub const F_DUPFD_CLOEXEC : u32 = 1030 ; pub const FD_CLOEXEC : u32 = 1 ; pub const F_RDLCK : u32 = 0 ; pub const F_WRLCK : u32 = 1 ; pub const F_UNLCK : u32 = 2 ; pub const F_EXLCK : u32 = 4 ; pub const F_SHLCK : u32 = 8 ; pub const LOCK_SH : u32 = 1 ; pub const LOCK_EX : u32 = 2 ; pub const LOCK_NB : u32 = 4 ; pub const LOCK_UN : u32 = 8 ; pub const FAPPEND : u32 = 1024 ; pub const FFSYNC : u32 = 1052672 ; pub const FASYNC : u32 = 8192 ; pub const FNONBLOCK : u32 = 2048 ; pub const FNDELAY : u32 = 2048 ; pub const __POSIX_FADV_DONTNEED : u32 = 4 ; pub const __POSIX_FADV_NOREUSE : u32 = 5 ; pub const POSIX_FADV_NORMAL : u32 = 0 ; pub const POSIX_FADV_RANDOM : u32 = 1 ; pub const POSIX_FADV_SEQUENTIAL : u32 = 2 ; pub const POSIX_FADV_WILLNEED : u32 = 3 ; pub const POSIX_FADV_DONTNEED : u32 = 4 ; pub const POSIX_FADV_NOREUSE : u32 = 5 ; pub const AT_FDCWD : i32 = -100 ; pub const AT_SYMLINK_NOFOLLOW : u32 = 256 ; pub const AT_REMOVEDIR : u32 = 512 ; pub const AT_SYMLINK_FOLLOW : u32 = 1024 ; pub const AT_EACCESS : u32 = 512 ; pub const __timespec_defined : u32 = 1 ; pub const _BITS_STAT_H : u32 = 1 ; pub const _STAT_VER_KERNEL : u32 = 0 ; pub const _STAT_VER_LINUX : u32 = 1 ; pub const _MKNOD_VER_LINUX : u32 = 0 ; pub const _STAT_VER : u32 = 1 ; pub const __S_IFMT : u32 = 61440 ; pub const __S_IFDIR : u32 = 16384 ; pub const __S_IFCHR : u32 = 8192 ; pub const __S_IFBLK : u32 = 24576 ; pub const __S_IFREG : u32 = 32768 ; pub const __S_IFIFO : u32 = 4096 ; pub const __S_IFLNK : u32 = 40960 ; pub const __S_IFSOCK : u32 = 49152 ; pub const __S_ISUID : u32 = 2048 ; pub const __S_ISGID : u32 = 1024 ; pub const __S_ISVTX : u32 = 512 ; pub const __S_IREAD : u32 = 256 ; pub const __S_IWRITE : u32 = 128 ; pub const __S_IEXEC : u32 = 64 ; pub const UTIME_NOW : u32 = 1073741823 ; pub const UTIME_OMIT : u32 = 1073741822 ; pub const S_IFMT : u32 = 61440 ; pub const S_IFDIR : u32 = 16384 ; pub const S_IFCHR : u32 = 8192 ; pub const S_IFBLK : u32 = 24576 ; pub const S_IFREG : u32 = 32768 ; pub const S_IFIFO : u32 = 4096 ; pub const S_IFLNK : u32 = 40960 ; pub const S_IFSOCK : u32 = 49152 ; pub const S_ISUID : u32 = 2048 ; pub const S_ISGID : u32 = 1024 ; pub const S_ISVTX : u32 = 512 ; pub const S_IRUSR : u32 = 256 ; pub const S_IWUSR : u32 = 128 ; pub const S_IXUSR : u32 = 64 ; pub const S_IRWXU : u32 = 448 ; pub const S_IRGRP : u32 = 32 ; pub const S_IWGRP : u32 = 16 ; pub const S_IXGRP : u32 = 8 ; pub const S_IRWXG : u32 = 56 ; pub const S_IROTH : u32 = 4 ; pub const S_IWOTH : u32 = 2 ; pub const S_IXOTH : u32 = 1 ; pub const S_IRWXO : u32 = 7 ; pub const R_OK : u32 = 4 ; pub const W_OK : u32 = 2 ; pub const X_OK : u32 = 1 ; pub const F_OK : u32 = 0 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const F_ULOCK : u32 = 0 ; pub const F_LOCK : u32 = 1 ; pub const F_TLOCK : u32 = 2 ; pub const F_TEST : u32 = 3 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const _INTTYPES_H : u32 = 1 ; pub const _STDINT_H : u32 = 1 ; pub const _BITS_WCHAR_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 WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub const ____gwchar_t_defined : u32 = 1 ; pub const __PRI64_PREFIX : & 'static [ u8 ; 2usize ] = b"l\0" ; pub const __PRIPTR_PREFIX : & 'static [ u8 ; 2usize ] = b"l\0" ; pub const PRId8 : & 'static [ u8 ; 2usize ] = b"d\0" ; pub const PRId16 : & 'static [ u8 ; 2usize ] = b"d\0" ; pub const PRId32 : & 'static [ u8 ; 2usize ] = b"d\0" ; pub const PRId64 : & 'static [ u8 ; 3usize ] = b"ld\0" ; pub const PRIdLEAST8 : & 'static [ u8 ; 2usize ] = b"d\0" ; pub const PRIdLEAST16 : & 'static [ u8 ; 2usize ] = b"d\0" ; pub const PRIdLEAST32 : & 'static [ u8 ; 2usize ] = b"d\0" ; pub const PRIdLEAST64 : & 'static [ u8 ; 3usize ] = b"ld\0" ; pub const PRIdFAST8 : & 'static [ u8 ; 2usize ] = b"d\0" ; pub const PRIdFAST16 : & 'static [ u8 ; 3usize ] = b"ld\0" ; pub const PRIdFAST32 : & 'static [ u8 ; 3usize ] = b"ld\0" ; pub const PRIdFAST64 : & 'static [ u8 ; 3usize ] = b"ld\0" ; pub const PRIi8 : & 'static [ u8 ; 2usize ] = b"i\0" ; pub const PRIi16 : & 'static [ u8 ; 2usize ] = b"i\0" ; pub const PRIi32 : & 'static [ u8 ; 2usize ] = b"i\0" ; pub const PRIi64 : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const PRIiLEAST8 : & 'static [ u8 ; 2usize ] = b"i\0" ; pub const PRIiLEAST16 : & 'static [ u8 ; 2usize ] = b"i\0" ; pub const PRIiLEAST32 : & 'static [ u8 ; 2usize ] = b"i\0" ; pub const PRIiLEAST64 : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const PRIiFAST8 : & 'static [ u8 ; 2usize ] = b"i\0" ; pub const PRIiFAST16 : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const PRIiFAST32 : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const PRIiFAST64 : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const PRIo8 : & 'static [ u8 ; 2usize ] = b"o\0" ; pub const PRIo16 : & 'static [ u8 ; 2usize ] = b"o\0" ; pub const PRIo32 : & 'static [ u8 ; 2usize ] = b"o\0" ; pub const PRIo64 : & 'static [ u8 ; 3usize ] = b"lo\0" ; pub const PRIoLEAST8 : & 'static [ u8 ; 2usize ] = b"o\0" ; pub const PRIoLEAST16 : & 'static [ u8 ; 2usize ] = b"o\0" ; pub const PRIoLEAST32 : & 'static [ u8 ; 2usize ] = b"o\0" ; pub const PRIoLEAST64 : & 'static [ u8 ; 3usize ] = b"lo\0" ; pub const PRIoFAST8 : & 'static [ u8 ; 2usize ] = b"o\0" ; pub const PRIoFAST16 : & 'static [ u8 ; 3usize ] = b"lo\0" ; pub const PRIoFAST32 : & 'static [ u8 ; 3usize ] = b"lo\0" ; pub const PRIoFAST64 : & 'static [ u8 ; 3usize ] = b"lo\0" ; pub const PRIu8 : & 'static [ u8 ; 2usize ] = b"u\0" ; pub const PRIu16 : & 'static [ u8 ; 2usize ] = b"u\0" ; pub const PRIu32 : & 'static [ u8 ; 2usize ] = b"u\0" ; pub const PRIu64 : & 'static [ u8 ; 3usize ] = b"lu\0" ; pub const PRIuLEAST8 : & 'static [ u8 ; 2usize ] = b"u\0" ; pub const PRIuLEAST16 : & 'static [ u8 ; 2usize ] = b"u\0" ; pub const PRIuLEAST32 : & 'static [ u8 ; 2usize ] = b"u\0" ; pub const PRIuLEAST64 : & 'static [ u8 ; 3usize ] = b"lu\0" ; pub const PRIuFAST8 : & 'static [ u8 ; 2usize ] = b"u\0" ; pub const PRIuFAST16 : & 'static [ u8 ; 3usize ] = b"lu\0" ; pub const PRIuFAST32 : & 'static [ u8 ; 3usize ] = b"lu\0" ; pub const PRIuFAST64 : & 'static [ u8 ; 3usize ] = b"lu\0" ; pub const PRIx8 : & 'static [ u8 ; 2usize ] = b"x\0" ; pub const PRIx16 : & 'static [ u8 ; 2usize ] = b"x\0" ; pub const PRIx32 : & 'static [ u8 ; 2usize ] = b"x\0" ; pub const PRIx64 : & 'static [ u8 ; 3usize ] = b"lx\0" ; pub const PRIxLEAST8 : & 'static [ u8 ; 2usize ] = b"x\0" ; pub const PRIxLEAST16 : & 'static [ u8 ; 2usize ] = b"x\0" ; pub const PRIxLEAST32 : & 'static [ u8 ; 2usize ] = b"x\0" ; pub const PRIxLEAST64 : & 'static [ u8 ; 3usize ] = b"lx\0" ; pub const PRIxFAST8 : & 'static [ u8 ; 2usize ] = b"x\0" ; pub const PRIxFAST16 : & 'static [ u8 ; 3usize ] = b"lx\0" ; pub const PRIxFAST32 : & 'static [ u8 ; 3usize ] = b"lx\0" ; pub const PRIxFAST64 : & 'static [ u8 ; 3usize ] = b"lx\0" ; pub const PRIX8 : & 'static [ u8 ; 2usize ] = b"X\0" ; pub const PRIX16 : & 'static [ u8 ; 2usize ] = b"X\0" ; pub const PRIX32 : & 'static [ u8 ; 2usize ] = b"X\0" ; pub const PRIX64 : & 'static [ u8 ; 3usize ] = b"lX\0" ; pub const PRIXLEAST8 : & 'static [ u8 ; 2usize ] = b"X\0" ; pub const PRIXLEAST16 : & 'static [ u8 ; 2usize ] = b"X\0" ; pub const PRIXLEAST32 : & 'static [ u8 ; 2usize ] = b"X\0" ; pub const PRIXLEAST64 : & 'static [ u8 ; 3usize ] = b"lX\0" ; pub const PRIXFAST8 : & 'static [ u8 ; 2usize ] = b"X\0" ; pub const PRIXFAST16 : & 'static [ u8 ; 3usize ] = b"lX\0" ; pub const PRIXFAST32 : & 'static [ u8 ; 3usize ] = b"lX\0" ; pub const PRIXFAST64 : & 'static [ u8 ; 3usize ] = b"lX\0" ; pub const PRIdMAX : & 'static [ u8 ; 3usize ] = b"ld\0" ; pub const PRIiMAX : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const PRIoMAX : & 'static [ u8 ; 3usize ] = b"lo\0" ; pub const PRIuMAX : & 'static [ u8 ; 3usize ] = b"lu\0" ; pub const PRIxMAX : & 'static [ u8 ; 3usize ] = b"lx\0" ; pub const PRIXMAX : & 'static [ u8 ; 3usize ] = b"lX\0" ; pub const PRIdPTR : & 'static [ u8 ; 3usize ] = b"ld\0" ; pub const PRIiPTR : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const PRIoPTR : & 'static [ u8 ; 3usize ] = b"lo\0" ; pub const PRIuPTR : & 'static [ u8 ; 3usize ] = b"lu\0" ; pub const PRIxPTR : & 'static [ u8 ; 3usize ] = b"lx\0" ; pub const PRIXPTR : & 'static [ u8 ; 3usize ] = b"lX\0" ; pub const SCNd8 : & 'static [ u8 ; 4usize ] = b"hhd\0" ; pub const SCNd16 : & 'static [ u8 ; 3usize ] = b"hd\0" ; pub const SCNd32 : & 'static [ u8 ; 2usize ] = b"d\0" ; pub const SCNd64 : & 'static [ u8 ; 3usize ] = b"ld\0" ; pub const SCNdLEAST8 : & 'static [ u8 ; 4usize ] = b"hhd\0" ; pub const SCNdLEAST16 : & 'static [ u8 ; 3usize ] = b"hd\0" ; pub const SCNdLEAST32 : & 'static [ u8 ; 2usize ] = b"d\0" ; pub const SCNdLEAST64 : & 'static [ u8 ; 3usize ] = b"ld\0" ; pub const SCNdFAST8 : & 'static [ u8 ; 4usize ] = b"hhd\0" ; pub const SCNdFAST16 : & 'static [ u8 ; 3usize ] = b"ld\0" ; pub const SCNdFAST32 : & 'static [ u8 ; 3usize ] = b"ld\0" ; pub const SCNdFAST64 : & 'static [ u8 ; 3usize ] = b"ld\0" ; pub const SCNi8 : & 'static [ u8 ; 4usize ] = b"hhi\0" ; pub const SCNi16 : & 'static [ u8 ; 3usize ] = b"hi\0" ; pub const SCNi32 : & 'static [ u8 ; 2usize ] = b"i\0" ; pub const SCNi64 : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const SCNiLEAST8 : & 'static [ u8 ; 4usize ] = b"hhi\0" ; pub const SCNiLEAST16 : & 'static [ u8 ; 3usize ] = b"hi\0" ; pub const SCNiLEAST32 : & 'static [ u8 ; 2usize ] = b"i\0" ; pub const SCNiLEAST64 : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const SCNiFAST8 : & 'static [ u8 ; 4usize ] = b"hhi\0" ; pub const SCNiFAST16 : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const SCNiFAST32 : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const SCNiFAST64 : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const SCNu8 : & 'static [ u8 ; 4usize ] = b"hhu\0" ; pub const SCNu16 : & 'static [ u8 ; 3usize ] = b"hu\0" ; pub const SCNu32 : & 'static [ u8 ; 2usize ] = b"u\0" ; pub const SCNu64 : & 'static [ u8 ; 3usize ] = b"lu\0" ; pub const SCNuLEAST8 : & 'static [ u8 ; 4usize ] = b"hhu\0" ; pub const SCNuLEAST16 : & 'static [ u8 ; 3usize ] = b"hu\0" ; pub const SCNuLEAST32 : & 'static [ u8 ; 2usize ] = b"u\0" ; pub const SCNuLEAST64 : & 'static [ u8 ; 3usize ] = b"lu\0" ; pub const SCNuFAST8 : & 'static [ u8 ; 4usize ] = b"hhu\0" ; pub const SCNuFAST16 : & 'static [ u8 ; 3usize ] = b"lu\0" ; pub const SCNuFAST32 : & 'static [ u8 ; 3usize ] = b"lu\0" ; pub const SCNuFAST64 : & 'static [ u8 ; 3usize ] = b"lu\0" ; pub const SCNo8 : & 'static [ u8 ; 4usize ] = b"hho\0" ; pub const SCNo16 : & 'static [ u8 ; 3usize ] = b"ho\0" ; pub const SCNo32 : & 'static [ u8 ; 2usize ] = b"o\0" ; pub const SCNo64 : & 'static [ u8 ; 3usize ] = b"lo\0" ; pub const SCNoLEAST8 : & 'static [ u8 ; 4usize ] = b"hho\0" ; pub const SCNoLEAST16 : & 'static [ u8 ; 3usize ] = b"ho\0" ; pub const SCNoLEAST32 : & 'static [ u8 ; 2usize ] = b"o\0" ; pub const SCNoLEAST64 : & 'static [ u8 ; 3usize ] = b"lo\0" ; pub const SCNoFAST8 : & 'static [ u8 ; 4usize ] = b"hho\0" ; pub const SCNoFAST16 : & 'static [ u8 ; 3usize ] = b"lo\0" ; pub const SCNoFAST32 : & 'static [ u8 ; 3usize ] = b"lo\0" ; pub const SCNoFAST64 : & 'static [ u8 ; 3usize ] = b"lo\0" ; pub const SCNx8 : & 'static [ u8 ; 4usize ] = b"hhx\0" ; pub const SCNx16 : & 'static [ u8 ; 3usize ] = b"hx\0" ; pub const SCNx32 : & 'static [ u8 ; 2usize ] = b"x\0" ; pub const SCNx64 : & 'static [ u8 ; 3usize ] = b"lx\0" ; pub const SCNxLEAST8 : & 'static [ u8 ; 4usize ] = b"hhx\0" ; pub const SCNxLEAST16 : & 'static [ u8 ; 3usize ] = b"hx\0" ; pub const SCNxLEAST32 : & 'static [ u8 ; 2usize ] = b"x\0" ; pub const SCNxLEAST64 : & 'static [ u8 ; 3usize ] = b"lx\0" ; pub const SCNxFAST8 : & 'static [ u8 ; 4usize ] = b"hhx\0" ; pub const SCNxFAST16 : & 'static [ u8 ; 3usize ] = b"lx\0" ; pub const SCNxFAST32 : & 'static [ u8 ; 3usize ] = b"lx\0" ; pub const SCNxFAST64 : & 'static [ u8 ; 3usize ] = b"lx\0" ; pub const SCNdMAX : & 'static [ u8 ; 3usize ] = b"ld\0" ; pub const SCNiMAX : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const SCNoMAX : & 'static [ u8 ; 3usize ] = b"lo\0" ; pub const SCNuMAX : & 'static [ u8 ; 3usize ] = b"lu\0" ; pub const SCNxMAX : & 'static [ u8 ; 3usize ] = b"lx\0" ; pub const SCNdPTR : & 'static [ u8 ; 3usize ] = b"ld\0" ; pub const SCNiPTR : & 'static [ u8 ; 3usize ] = b"li\0" ; pub const SCNoPTR : & 'static [ u8 ; 3usize ] = b"lo\0" ; pub const SCNuPTR : & 'static [ u8 ; 3usize ] = b"lu\0" ; pub const SCNxPTR : & 'static [ u8 ; 3usize ] = b"lx\0" ; 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 __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 __qaddr_t = * mut __quad_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 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct flock { pub l_type : :: std :: os :: raw :: c_short , pub l_whence : :: std :: os :: raw :: c_short , pub l_start : __off_t , pub l_len : __off_t , pub l_pid : __pid_t , } # [ test ] fn bindgen_test_layout_flock ( ) { assert_eq ! ( :: std :: mem :: size_of :: < flock > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( flock ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < flock > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( flock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < flock > ( ) ) ) . l_type as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( flock ) , "::" , stringify ! ( l_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < flock > ( ) ) ) . l_whence as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( flock ) , "::" , stringify ! ( l_whence ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < flock > ( ) ) ) . l_start as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( flock ) , "::" , stringify ! ( l_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < flock > ( ) ) ) . l_len as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( flock ) , "::" , stringify ! ( l_len ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < flock > ( ) ) ) . l_pid as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( flock ) , "::" , stringify ! ( l_pid ) ) ) ; } pub type mode_t = __mode_t ; pub type off_t = __off_t ; pub type pid_t = __pid_t ; # [ 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 ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stat { pub st_dev : __dev_t , pub st_ino : __ino_t , pub st_nlink : __nlink_t , pub st_mode : __mode_t , pub st_uid : __uid_t , pub st_gid : __gid_t , pub __pad0 : :: std :: os :: raw :: c_int , pub st_rdev : __dev_t , pub st_size : __off_t , pub st_blksize : __blksize_t , pub st_blocks : __blkcnt_t , pub st_atim : timespec , pub st_mtim : timespec , pub st_ctim : timespec , pub __glibc_reserved : [ __syscall_slong_t ; 3usize ] , } # [ test ] fn bindgen_test_layout_stat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stat > ( ) , 144usize , concat ! ( "Size of: " , stringify ! ( stat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stat > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_dev as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_dev ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_ino as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_ino ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_nlink as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_nlink ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_mode as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_uid as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_uid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_gid as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_gid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . __pad0 as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( __pad0 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_rdev as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_rdev ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_size as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_blksize as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_blksize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_blocks as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_blocks ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_atim as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_atim ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_mtim as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_mtim ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . st_ctim as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( st_ctim ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stat > ( ) ) ) . __glibc_reserved as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( stat ) , "::" , stringify ! ( __glibc_reserved ) ) ) ; } extern "C" { pub fn fcntl ( __fd : :: std :: os :: raw :: c_int , __cmd : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn open ( __file : * const :: std :: os :: raw :: c_char , __oflag : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn openat ( __fd : :: std :: os :: raw :: c_int , __file : * const :: std :: os :: raw :: c_char , __oflag : :: std :: os :: raw :: c_int , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn creat ( __file : * const :: std :: os :: raw :: c_char , __mode : mode_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lockf ( __fd : :: std :: os :: raw :: c_int , __cmd : :: std :: os :: raw :: c_int , __len : off_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn posix_fadvise ( __fd : :: std :: os :: raw :: c_int , __offset : off_t , __len : off_t , __advise : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn posix_fallocate ( __fd : :: std :: os :: raw :: c_int , __offset : off_t , __len : off_t ) -> :: std :: os :: raw :: c_int ; } pub type va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; 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 = :: std :: os :: raw :: c_long ; pub type uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __gwchar_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct imaxdiv_t { pub quot : :: std :: os :: raw :: c_long , pub rem : :: std :: os :: raw :: c_long , } # [ test ] fn bindgen_test_layout_imaxdiv_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < imaxdiv_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( imaxdiv_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < imaxdiv_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( imaxdiv_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < imaxdiv_t > ( ) ) ) . quot as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( imaxdiv_t ) , "::" , stringify ! ( quot ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < imaxdiv_t > ( ) ) ) . rem as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( imaxdiv_t ) , "::" , stringify ! ( rem ) ) ) ; } extern "C" { pub fn imaxabs ( __n : intmax_t ) -> intmax_t ; } extern "C" { pub fn imaxdiv ( __numer : intmax_t , __denom : intmax_t ) -> imaxdiv_t ; } extern "C" { pub fn strtoimax ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> intmax_t ; } extern "C" { pub fn strtoumax ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> uintmax_t ; } extern "C" { pub fn wcstoimax ( __nptr : * const __gwchar_t , __endptr : * mut * mut __gwchar_t , __base : :: std :: os :: raw :: c_int ) -> intmax_t ; } extern "C" { pub fn wcstoumax ( __nptr : * const __gwchar_t , __endptr : * mut * mut __gwchar_t , __base : :: std :: os :: raw :: c_int ) -> uintmax_t ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct kmod_ctx { _unused : [ u8 ; 0 ] , } extern "C" { pub fn kmod_new ( dirname : * const :: std :: os :: raw :: c_char , config_paths : * const * const :: std :: os :: raw :: c_char ) -> * mut kmod_ctx ; } extern "C" { pub fn kmod_ref ( ctx : * mut kmod_ctx ) -> * mut kmod_ctx ; } extern "C" { pub fn kmod_unref ( ctx : * mut kmod_ctx ) -> * mut kmod_ctx ; } extern "C" { pub fn kmod_set_log_fn ( ctx : * mut kmod_ctx , log_fn : :: std :: option :: Option < unsafe extern "C" fn ( log_data : * mut :: std :: os :: raw :: c_void , priority : :: std :: os :: raw :: c_int , file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int , fn_ : * const :: std :: os :: raw :: c_char , format : * const :: std :: os :: raw :: c_char , args : * mut __va_list_tag ) > , data : * const :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn kmod_get_log_priority ( ctx : * const kmod_ctx ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn kmod_set_log_priority ( ctx : * mut kmod_ctx , priority : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn kmod_get_userdata ( ctx : * const kmod_ctx ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn kmod_set_userdata ( ctx : * mut kmod_ctx , userdata : * const :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn kmod_get_dirname ( ctx : * const kmod_ctx ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn kmod_load_resources ( ctx : * mut kmod_ctx ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn kmod_unload_resources ( ctx : * mut kmod_ctx ) ; } pub const kmod_resources_KMOD_RESOURCES_OK : kmod_resources = 0 ; pub const kmod_resources_KMOD_RESOURCES_MUST_RELOAD : kmod_resources = 1 ; pub const kmod_resources_KMOD_RESOURCES_MUST_RECREATE : kmod_resources = 2 ; pub type kmod_resources = u32 ; extern "C" { pub fn kmod_validate_resources ( ctx : * mut kmod_ctx ) -> :: std :: os :: raw :: c_int ; } pub const kmod_index_KMOD_INDEX_MODULES_DEP : kmod_index = 0 ; pub const kmod_index_KMOD_INDEX_MODULES_ALIAS : kmod_index = 1 ; pub const kmod_index_KMOD_INDEX_MODULES_SYMBOL : kmod_index = 2 ; pub const kmod_index_KMOD_INDEX_MODULES_BUILTIN : kmod_index = 3 ; pub const kmod_index__KMOD_INDEX_PAD : kmod_index = -2147483648 ; pub type kmod_index = i32 ; extern "C" { pub fn kmod_dump_index ( ctx : * mut kmod_ctx , type_ : kmod_index , fd : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct kmod_list { _unused : [ u8 ; 0 ] , } extern "C" { pub fn kmod_list_next ( list : * const kmod_list , curr : * const kmod_list ) -> * mut kmod_list ; } extern "C" { pub fn kmod_list_prev ( list : * const kmod_list , curr : * const kmod_list ) -> * mut kmod_list ; } extern "C" { pub fn kmod_list_last ( list : * const kmod_list ) -> * mut kmod_list ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct kmod_config_iter { _unused : [ u8 ; 0 ] , } extern "C" { pub fn kmod_config_get_blacklists ( ctx : * const kmod_ctx ) -> * mut kmod_config_iter ; } extern "C" { pub fn kmod_config_get_install_commands ( ctx : * const kmod_ctx ) -> * mut kmod_config_iter ; } extern "C" { pub fn kmod_config_get_remove_commands ( ctx : * const kmod_ctx ) -> * mut kmod_config_iter ; } extern "C" { pub fn kmod_config_get_aliases ( ctx : * const kmod_ctx ) -> * mut kmod_config_iter ; } extern "C" { pub fn kmod_config_get_options ( ctx : * const kmod_ctx ) -> * mut kmod_config_iter ; } extern "C" { pub fn kmod_config_get_softdeps ( ctx : * const kmod_ctx ) -> * mut kmod_config_iter ; } extern "C" { pub fn kmod_config_iter_get_key ( iter : * const kmod_config_iter ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn kmod_config_iter_get_value ( iter : * const kmod_config_iter ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn kmod_config_iter_next ( iter : * mut kmod_config_iter ) -> bool ; } extern "C" { pub fn kmod_config_iter_free_iter ( iter : * mut kmod_config_iter ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct kmod_module { _unused : [ u8 ; 0 ] , } extern "C" { pub fn kmod_module_new_from_name ( ctx : * mut kmod_ctx , name : * const :: std :: os :: raw :: c_char , mod_ : * mut * mut kmod_module ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn kmod_module_new_from_path ( ctx : * mut kmod_ctx , path : * const :: std :: os :: raw :: c_char , mod_ : * mut * mut kmod_module ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn kmod_module_new_from_lookup ( ctx : * mut kmod_ctx , given_alias : * const :: std :: os :: raw :: c_char , list : * mut * mut kmod_list ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn kmod_module_new_from_loaded ( ctx : * mut kmod_ctx , list : * mut * mut kmod_list ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn kmod_module_ref ( mod_ : * mut kmod_module ) -> * mut kmod_module ; } extern "C" { pub fn kmod_module_unref ( mod_ : * mut kmod_module ) -> * mut kmod_module ; } extern "C" { pub fn kmod_module_unref_list ( list : * mut kmod_list ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn kmod_module_get_module ( entry : * const kmod_list ) -> * mut kmod_module ; } pub const kmod_remove_KMOD_REMOVE_FORCE : kmod_remove = 512 ; pub const kmod_remove_KMOD_REMOVE_NOWAIT : kmod_remove = 2048 ; pub type kmod_remove = u32 ; pub const kmod_insert_KMOD_INSERT_FORCE_VERMAGIC : kmod_insert = 1 ; pub const kmod_insert_KMOD_INSERT_FORCE_MODVERSION : kmod_insert = 2 ; pub type kmod_insert = u32 ; pub const kmod_probe_KMOD_PROBE_FORCE_VERMAGIC : kmod_probe = 1 ; pub const kmod_probe_KMOD_PROBE_FORCE_MODVERSION : kmod_probe = 2 ; pub const kmod_probe_KMOD_PROBE_IGNORE_COMMAND : kmod_probe = 4 ; pub const kmod_probe_KMOD_PROBE_IGNORE_LOADED : kmod_probe = 8 ; pub const kmod_probe_KMOD_PROBE_DRY_RUN : kmod_probe = 16 ; pub const kmod_probe_KMOD_PROBE_FAIL_ON_LOADED : kmod_probe = 32 ; pub const kmod_probe_KMOD_PROBE_APPLY_BLACKLIST_ALL : kmod_probe = 65536 ; pub const kmod_probe_KMOD_PROBE_APPLY_BLACKLIST : kmod_probe = 131072 ; pub const kmod_probe_KMOD_PROBE_APPLY_BLACKLIST_ALIAS_ONLY : kmod_probe = 262144 ; pub type kmod_probe = u32 ; pub const kmod_filter_KMOD_FILTER_BLACKLIST : kmod_filter = 1 ; pub const kmod_filter_KMOD_FILTER_BUILTIN : kmod_filter = 2 ; pub type kmod_filter = u32 ; extern "C" { pub fn kmod_module_remove_module ( mod_ : * mut kmod_module , flags : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn kmod_module_insert_module ( mod_ : * mut kmod_module , flags : :: std :: os :: raw :: c_uint , options : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn kmod_module_probe_insert_module ( mod_ : * mut kmod_module , flags : :: std :: os :: raw :: c_uint , extra_options : * const :: std :: os :: raw :: c_char , run_install : :: std :: option :: Option < unsafe extern "C" fn ( m : * mut kmod_module , cmdline : * const :: std :: os :: raw :: c_char , data : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > , data : * const :: std :: os :: raw :: c_void , print_action : :: std :: option :: Option < unsafe extern "C" fn ( m : * mut kmod_module , install : bool , options : * const :: std :: os :: raw :: c_char ) > ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn kmod_module_get_name ( mod_ : * const kmod_module ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn kmod_module_get_path ( mod_ : * const kmod_module ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn kmod_module_get_options ( mod_ : * const kmod_module ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn kmod_module_get_install_commands ( mod_ : * const kmod_module ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn kmod_module_get_remove_commands ( mod_ : * const kmod_module ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn kmod_module_get_dependencies ( mod_ : * const kmod_module ) -> * mut kmod_list ; } extern "C" { pub fn kmod_module_get_softdeps ( mod_ : * const kmod_module , pre : * mut * mut kmod_list , post : * mut * mut kmod_list ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn kmod_module_get_filtered_blacklist ( ctx : * const kmod_ctx , input : * const kmod_list , output : * mut * mut kmod_list ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn kmod_module_apply_filter ( ctx : * const kmod_ctx , filter_type : kmod_filter , input : * const kmod_list , output : * mut * mut kmod_list ) -> :: std :: os :: raw :: c_int ; } pub const kmod_module_initstate_KMOD_MODULE_BUILTIN : kmod_module_initstate = 0 ; pub const kmod_module_initstate_KMOD_MODULE_LIVE : kmod_module_initstate = 1 ; pub const kmod_module_initstate_KMOD_MODULE_COMING : kmod_module_initstate = 2 ; pub const kmod_module_initstate_KMOD_MODULE_GOING : kmod_module_initstate = 3 ; pub const kmod_module_initstate__KMOD_MODULE_PAD : kmod_module_initstate = -2147483648 ; pub type kmod_module_initstate = i32 ; extern "C" { pub fn kmod_module_initstate_str ( state : kmod_module_initstate ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn kmod_module_get_initstate ( mod_ : * const kmod_module ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn kmod_module_get_refcnt ( mod_ : * const kmod_module ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn kmod_module_get_holders ( mod_ : * const kmod_module ) -> * mut kmod_list ; } extern "C" { pub fn kmod_module_get_sections ( mod_ : * const kmod_module ) -> * mut kmod_list ; } extern "C" { pub fn kmod_module_section_get_name ( entry : * const kmod_list ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn kmod_module_section_get_address ( entry : * const kmod_list ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn kmod_module_section_free_list ( list : * mut kmod_list ) ; } extern "C" { pub fn kmod_module_get_size ( mod_ : * const kmod_module ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn kmod_module_get_info ( mod_ : * const kmod_module , list : * mut * mut kmod_list ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn kmod_module_info_get_key ( entry : * const kmod_list ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn kmod_module_info_get_value ( entry : * const kmod_list ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn kmod_module_info_free_list ( list : * mut kmod_list ) ; } extern "C" { pub fn kmod_module_get_versions ( mod_ : * const kmod_module , list : * mut * mut kmod_list ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn kmod_module_version_get_symbol ( entry : * const kmod_list ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn kmod_module_version_get_crc ( entry : * const kmod_list ) -> u64 ; } extern "C" { pub fn kmod_module_versions_free_list ( list : * mut kmod_list ) ; } extern "C" { pub fn kmod_module_get_symbols ( mod_ : * const kmod_module , list : * mut * mut kmod_list ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn kmod_module_symbol_get_symbol ( entry : * const kmod_list ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn kmod_module_symbol_get_crc ( entry : * const kmod_list ) -> u64 ; } extern "C" { pub fn kmod_module_symbols_free_list ( list : * mut kmod_list ) ; } pub const kmod_symbol_bind_KMOD_SYMBOL_NONE : kmod_symbol_bind = 0 ; pub const kmod_symbol_bind_KMOD_SYMBOL_LOCAL : kmod_symbol_bind = 76 ; pub const kmod_symbol_bind_KMOD_SYMBOL_GLOBAL : kmod_symbol_bind = 71 ; pub const kmod_symbol_bind_KMOD_SYMBOL_WEAK : kmod_symbol_bind = 87 ; pub const kmod_symbol_bind_KMOD_SYMBOL_UNDEF : kmod_symbol_bind = 85 ; pub type kmod_symbol_bind = u32 ; extern "C" { pub fn kmod_module_get_dependency_symbols ( mod_ : * const kmod_module , list : * mut * mut kmod_list ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn kmod_module_dependency_symbol_get_symbol ( entry : * const kmod_list ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn kmod_module_dependency_symbol_get_bind ( entry : * const kmod_list ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn kmod_module_dependency_symbol_get_crc ( entry : * const kmod_list ) -> u64 ; } extern "C" { pub fn kmod_module_dependency_symbols_free_list ( list : * mut kmod_list ) ; } pub type __builtin_va_list = [ __va_list_tag ; 1usize ] ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __va_list_tag { pub gp_offset : :: std :: os :: raw :: c_uint , pub fp_offset : :: std :: os :: raw :: c_uint , pub overflow_arg_area : * mut :: std :: os :: raw :: c_void , pub reg_save_area : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout___va_list_tag ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __va_list_tag > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( __va_list_tag ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __va_list_tag > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __va_list_tag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __va_list_tag > ( ) ) ) . gp_offset as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __va_list_tag ) , "::" , stringify ! ( gp_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __va_list_tag > ( ) ) ) . fp_offset as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __va_list_tag ) , "::" , stringify ! ( fp_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __va_list_tag > ( ) ) ) . overflow_arg_area as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( __va_list_tag ) , "::" , stringify ! ( overflow_arg_area ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __va_list_tag > ( ) ) ) . reg_save_area as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( __va_list_tag ) , "::" , stringify ! ( reg_save_area ) ) ) ; }