# [ repr ( C ) ] # [ derive ( Default ) ] pub struct __IncompleteArrayField < T > ( :: std :: marker :: PhantomData < T > ) ; impl < T > __IncompleteArrayField < T > { # [ inline ] pub 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 ( ) } } impl < T > :: std :: marker :: Copy for __IncompleteArrayField < T > { } 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 _SYS_TIME_H : u32 = 1 ; pub const _SYS_SOCKET_H : u32 = 1 ; pub const __iovec_defined : u32 = 1 ; pub const PF_UNSPEC : u32 = 0 ; pub const PF_LOCAL : u32 = 1 ; pub const PF_UNIX : u32 = 1 ; pub const PF_FILE : u32 = 1 ; pub const PF_INET : u32 = 2 ; pub const PF_AX25 : u32 = 3 ; pub const PF_IPX : u32 = 4 ; pub const PF_APPLETALK : u32 = 5 ; pub const PF_NETROM : u32 = 6 ; pub const PF_BRIDGE : u32 = 7 ; pub const PF_ATMPVC : u32 = 8 ; pub const PF_X25 : u32 = 9 ; pub const PF_INET6 : u32 = 10 ; pub const PF_ROSE : u32 = 11 ; pub const PF_DECnet : u32 = 12 ; pub const PF_NETBEUI : u32 = 13 ; pub const PF_SECURITY : u32 = 14 ; pub const PF_KEY : u32 = 15 ; pub const PF_NETLINK : u32 = 16 ; pub const PF_ROUTE : u32 = 16 ; pub const PF_PACKET : u32 = 17 ; pub const PF_ASH : u32 = 18 ; pub const PF_ECONET : u32 = 19 ; pub const PF_ATMSVC : u32 = 20 ; pub const PF_RDS : u32 = 21 ; pub const PF_SNA : u32 = 22 ; pub const PF_IRDA : u32 = 23 ; pub const PF_PPPOX : u32 = 24 ; pub const PF_WANPIPE : u32 = 25 ; pub const PF_LLC : u32 = 26 ; pub const PF_IB : u32 = 27 ; pub const PF_MPLS : u32 = 28 ; pub const PF_CAN : u32 = 29 ; pub const PF_TIPC : u32 = 30 ; pub const PF_BLUETOOTH : u32 = 31 ; pub const PF_IUCV : u32 = 32 ; pub const PF_RXRPC : u32 = 33 ; pub const PF_ISDN : u32 = 34 ; pub const PF_PHONET : u32 = 35 ; pub const PF_IEEE802154 : u32 = 36 ; pub const PF_CAIF : u32 = 37 ; pub const PF_ALG : u32 = 38 ; pub const PF_NFC : u32 = 39 ; pub const PF_VSOCK : u32 = 40 ; pub const PF_KCM : u32 = 41 ; pub const PF_QIPCRTR : u32 = 42 ; pub const PF_SMC : u32 = 43 ; pub const PF_MAX : u32 = 44 ; pub const AF_UNSPEC : u32 = 0 ; pub const AF_LOCAL : u32 = 1 ; pub const AF_UNIX : u32 = 1 ; pub const AF_FILE : u32 = 1 ; pub const AF_INET : u32 = 2 ; pub const AF_AX25 : u32 = 3 ; pub const AF_IPX : u32 = 4 ; pub const AF_APPLETALK : u32 = 5 ; pub const AF_NETROM : u32 = 6 ; pub const AF_BRIDGE : u32 = 7 ; pub const AF_ATMPVC : u32 = 8 ; pub const AF_X25 : u32 = 9 ; pub const AF_INET6 : u32 = 10 ; pub const AF_ROSE : u32 = 11 ; pub const AF_DECnet : u32 = 12 ; pub const AF_NETBEUI : u32 = 13 ; pub const AF_SECURITY : u32 = 14 ; pub const AF_KEY : u32 = 15 ; pub const AF_NETLINK : u32 = 16 ; pub const AF_ROUTE : u32 = 16 ; pub const AF_PACKET : u32 = 17 ; pub const AF_ASH : u32 = 18 ; pub const AF_ECONET : u32 = 19 ; pub const AF_ATMSVC : u32 = 20 ; pub const AF_RDS : u32 = 21 ; pub const AF_SNA : u32 = 22 ; pub const AF_IRDA : u32 = 23 ; pub const AF_PPPOX : u32 = 24 ; pub const AF_WANPIPE : u32 = 25 ; pub const AF_LLC : u32 = 26 ; pub const AF_IB : u32 = 27 ; pub const AF_MPLS : u32 = 28 ; pub const AF_CAN : u32 = 29 ; pub const AF_TIPC : u32 = 30 ; pub const AF_BLUETOOTH : u32 = 31 ; pub const AF_IUCV : u32 = 32 ; pub const AF_RXRPC : u32 = 33 ; pub const AF_ISDN : u32 = 34 ; pub const AF_PHONET : u32 = 35 ; pub const AF_IEEE802154 : u32 = 36 ; pub const AF_CAIF : u32 = 37 ; pub const AF_ALG : u32 = 38 ; pub const AF_NFC : u32 = 39 ; pub const AF_VSOCK : u32 = 40 ; pub const AF_KCM : u32 = 41 ; pub const AF_QIPCRTR : u32 = 42 ; pub const AF_SMC : u32 = 43 ; pub const AF_MAX : u32 = 44 ; pub const SOL_RAW : u32 = 255 ; pub const SOL_DECNET : u32 = 261 ; pub const SOL_X25 : u32 = 262 ; pub const SOL_PACKET : u32 = 263 ; pub const SOL_ATM : u32 = 264 ; pub const SOL_AAL : u32 = 265 ; pub const SOL_IRDA : u32 = 266 ; pub const SOL_NETBEUI : u32 = 267 ; pub const SOL_LLC : u32 = 268 ; pub const SOL_DCCP : u32 = 269 ; pub const SOL_NETLINK : u32 = 270 ; pub const SOL_TIPC : u32 = 271 ; pub const SOL_RXRPC : u32 = 272 ; pub const SOL_PPPOL2TP : u32 = 273 ; pub const SOL_BLUETOOTH : u32 = 274 ; pub const SOL_PNPIPE : u32 = 275 ; pub const SOL_RDS : u32 = 276 ; pub const SOL_IUCV : u32 = 277 ; pub const SOL_CAIF : u32 = 278 ; pub const SOL_ALG : u32 = 279 ; pub const SOL_NFC : u32 = 280 ; pub const SOL_KCM : u32 = 281 ; pub const SOL_TLS : u32 = 282 ; pub const SOMAXCONN : u32 = 128 ; pub const _BITS_SOCKADDR_H : u32 = 1 ; pub const _SS_SIZE : u32 = 128 ; pub const FIOSETOWN : u32 = 35073 ; pub const SIOCSPGRP : u32 = 35074 ; pub const FIOGETOWN : u32 = 35075 ; pub const SIOCGPGRP : u32 = 35076 ; pub const SIOCATMARK : u32 = 35077 ; pub const SIOCGSTAMP : u32 = 35078 ; pub const SIOCGSTAMPNS : u32 = 35079 ; pub const SOL_SOCKET : u32 = 1 ; pub const SO_DEBUG : u32 = 1 ; pub const SO_REUSEADDR : u32 = 2 ; pub const SO_TYPE : u32 = 3 ; pub const SO_ERROR : u32 = 4 ; pub const SO_DONTROUTE : u32 = 5 ; pub const SO_BROADCAST : u32 = 6 ; pub const SO_SNDBUF : u32 = 7 ; pub const SO_RCVBUF : u32 = 8 ; pub const SO_SNDBUFFORCE : u32 = 32 ; pub const SO_RCVBUFFORCE : u32 = 33 ; pub const SO_KEEPALIVE : u32 = 9 ; pub const SO_OOBINLINE : u32 = 10 ; pub const SO_NO_CHECK : u32 = 11 ; pub const SO_PRIORITY : u32 = 12 ; pub const SO_LINGER : u32 = 13 ; pub const SO_BSDCOMPAT : u32 = 14 ; pub const SO_REUSEPORT : u32 = 15 ; pub const SO_PASSCRED : u32 = 16 ; pub const SO_PEERCRED : u32 = 17 ; pub const SO_RCVLOWAT : u32 = 18 ; pub const SO_SNDLOWAT : u32 = 19 ; pub const SO_RCVTIMEO : u32 = 20 ; pub const SO_SNDTIMEO : u32 = 21 ; pub const SO_SECURITY_AUTHENTICATION : u32 = 22 ; pub const SO_SECURITY_ENCRYPTION_TRANSPORT : u32 = 23 ; pub const SO_SECURITY_ENCRYPTION_NETWORK : u32 = 24 ; pub const SO_BINDTODEVICE : u32 = 25 ; pub const SO_ATTACH_FILTER : u32 = 26 ; pub const SO_DETACH_FILTER : u32 = 27 ; pub const SO_GET_FILTER : u32 = 26 ; pub const SO_PEERNAME : u32 = 28 ; pub const SO_TIMESTAMP : u32 = 29 ; pub const SCM_TIMESTAMP : u32 = 29 ; pub const SO_ACCEPTCONN : u32 = 30 ; pub const SO_PEERSEC : u32 = 31 ; pub const SO_PASSSEC : u32 = 34 ; pub const SO_TIMESTAMPNS : u32 = 35 ; pub const SCM_TIMESTAMPNS : u32 = 35 ; pub const SO_MARK : u32 = 36 ; pub const SO_TIMESTAMPING : u32 = 37 ; pub const SCM_TIMESTAMPING : u32 = 37 ; pub const SO_PROTOCOL : u32 = 38 ; pub const SO_DOMAIN : u32 = 39 ; pub const SO_RXQ_OVFL : u32 = 40 ; pub const SO_WIFI_STATUS : u32 = 41 ; pub const SCM_WIFI_STATUS : u32 = 41 ; pub const SO_PEEK_OFF : u32 = 42 ; pub const SO_NOFCS : u32 = 43 ; pub const SO_LOCK_FILTER : u32 = 44 ; pub const SO_SELECT_ERR_QUEUE : u32 = 45 ; pub const SO_BUSY_POLL : u32 = 46 ; pub const SO_MAX_PACING_RATE : u32 = 47 ; pub const SO_BPF_EXTENSIONS : u32 = 48 ; pub const SO_INCOMING_CPU : u32 = 49 ; pub const SO_ATTACH_BPF : u32 = 50 ; pub const SO_DETACH_BPF : u32 = 27 ; pub const SO_ATTACH_REUSEPORT_CBPF : u32 = 51 ; pub const SO_ATTACH_REUSEPORT_EBPF : u32 = 52 ; pub const SO_CNX_ADVICE : u32 = 53 ; pub const SCM_TIMESTAMPING_OPT_STATS : u32 = 54 ; pub const SO_MEMINFO : u32 = 55 ; pub const SO_INCOMING_NAPI_ID : u32 = 56 ; pub const SO_COOKIE : u32 = 57 ; pub const SCM_TIMESTAMPING_PKTINFO : u32 = 58 ; pub const SO_PEERGROUPS : u32 = 59 ; pub const SO_ZEROCOPY : u32 = 60 ; pub const __osockaddr_defined : u32 = 1 ; pub const _NETINET_IN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const __USE_KERNEL_IPV6_DEFS : u32 = 0 ; pub const IP_OPTIONS : u32 = 4 ; pub const IP_HDRINCL : u32 = 3 ; pub const IP_TOS : u32 = 1 ; pub const IP_TTL : u32 = 2 ; pub const IP_RECVOPTS : u32 = 6 ; pub const IP_RETOPTS : u32 = 7 ; pub const IP_MULTICAST_IF : u32 = 32 ; pub const IP_MULTICAST_TTL : u32 = 33 ; pub const IP_MULTICAST_LOOP : u32 = 34 ; pub const IP_ADD_MEMBERSHIP : u32 = 35 ; pub const IP_DROP_MEMBERSHIP : u32 = 36 ; pub const IP_UNBLOCK_SOURCE : u32 = 37 ; pub const IP_BLOCK_SOURCE : u32 = 38 ; pub const IP_ADD_SOURCE_MEMBERSHIP : u32 = 39 ; pub const IP_DROP_SOURCE_MEMBERSHIP : u32 = 40 ; pub const IP_MSFILTER : u32 = 41 ; pub const MCAST_JOIN_GROUP : u32 = 42 ; pub const MCAST_BLOCK_SOURCE : u32 = 43 ; pub const MCAST_UNBLOCK_SOURCE : u32 = 44 ; pub const MCAST_LEAVE_GROUP : u32 = 45 ; pub const MCAST_JOIN_SOURCE_GROUP : u32 = 46 ; pub const MCAST_LEAVE_SOURCE_GROUP : u32 = 47 ; pub const MCAST_MSFILTER : u32 = 48 ; pub const IP_MULTICAST_ALL : u32 = 49 ; pub const IP_UNICAST_IF : u32 = 50 ; pub const MCAST_EXCLUDE : u32 = 0 ; pub const MCAST_INCLUDE : u32 = 1 ; pub const IP_ROUTER_ALERT : u32 = 5 ; pub const IP_PKTINFO : u32 = 8 ; pub const IP_PKTOPTIONS : u32 = 9 ; pub const IP_PMTUDISC : u32 = 10 ; pub const IP_MTU_DISCOVER : u32 = 10 ; pub const IP_RECVERR : u32 = 11 ; pub const IP_RECVTTL : u32 = 12 ; pub const IP_RECVTOS : u32 = 13 ; pub const IP_MTU : u32 = 14 ; pub const IP_FREEBIND : u32 = 15 ; pub const IP_IPSEC_POLICY : u32 = 16 ; pub const IP_XFRM_POLICY : u32 = 17 ; pub const IP_PASSSEC : u32 = 18 ; pub const IP_TRANSPARENT : u32 = 19 ; pub const IP_ORIGDSTADDR : u32 = 20 ; pub const IP_RECVORIGDSTADDR : u32 = 20 ; pub const IP_MINTTL : u32 = 21 ; pub const IP_NODEFRAG : u32 = 22 ; pub const IP_CHECKSUM : u32 = 23 ; pub const IP_BIND_ADDRESS_NO_PORT : u32 = 24 ; pub const IP_RECVFRAGSIZE : u32 = 25 ; pub const IP_PMTUDISC_DONT : u32 = 0 ; pub const IP_PMTUDISC_WANT : u32 = 1 ; pub const IP_PMTUDISC_DO : u32 = 2 ; pub const IP_PMTUDISC_PROBE : u32 = 3 ; pub const IP_PMTUDISC_INTERFACE : u32 = 4 ; pub const IP_PMTUDISC_OMIT : u32 = 5 ; pub const SOL_IP : u32 = 0 ; pub const IP_DEFAULT_MULTICAST_TTL : u32 = 1 ; pub const IP_DEFAULT_MULTICAST_LOOP : u32 = 1 ; pub const IP_MAX_MEMBERSHIPS : u32 = 20 ; pub const IPV6_ADDRFORM : u32 = 1 ; pub const IPV6_2292PKTINFO : u32 = 2 ; pub const IPV6_2292HOPOPTS : u32 = 3 ; pub const IPV6_2292DSTOPTS : u32 = 4 ; pub const IPV6_2292RTHDR : u32 = 5 ; pub const IPV6_2292PKTOPTIONS : u32 = 6 ; pub const IPV6_CHECKSUM : u32 = 7 ; pub const IPV6_2292HOPLIMIT : u32 = 8 ; pub const IPV6_NEXTHOP : u32 = 9 ; pub const IPV6_AUTHHDR : u32 = 10 ; pub const IPV6_UNICAST_HOPS : u32 = 16 ; pub const IPV6_MULTICAST_IF : u32 = 17 ; pub const IPV6_MULTICAST_HOPS : u32 = 18 ; pub const IPV6_MULTICAST_LOOP : u32 = 19 ; pub const IPV6_JOIN_GROUP : u32 = 20 ; pub const IPV6_LEAVE_GROUP : u32 = 21 ; pub const IPV6_ROUTER_ALERT : u32 = 22 ; pub const IPV6_MTU_DISCOVER : u32 = 23 ; pub const IPV6_MTU : u32 = 24 ; pub const IPV6_RECVERR : u32 = 25 ; pub const IPV6_V6ONLY : u32 = 26 ; pub const IPV6_JOIN_ANYCAST : u32 = 27 ; pub const IPV6_LEAVE_ANYCAST : u32 = 28 ; pub const IPV6_IPSEC_POLICY : u32 = 34 ; pub const IPV6_XFRM_POLICY : u32 = 35 ; pub const IPV6_HDRINCL : u32 = 36 ; pub const IPV6_RECVPKTINFO : u32 = 49 ; pub const IPV6_PKTINFO : u32 = 50 ; pub const IPV6_RECVHOPLIMIT : u32 = 51 ; pub const IPV6_HOPLIMIT : u32 = 52 ; pub const IPV6_RECVHOPOPTS : u32 = 53 ; pub const IPV6_HOPOPTS : u32 = 54 ; pub const IPV6_RTHDRDSTOPTS : u32 = 55 ; pub const IPV6_RECVRTHDR : u32 = 56 ; pub const IPV6_RTHDR : u32 = 57 ; pub const IPV6_RECVDSTOPTS : u32 = 58 ; pub const IPV6_DSTOPTS : u32 = 59 ; pub const IPV6_RECVPATHMTU : u32 = 60 ; pub const IPV6_PATHMTU : u32 = 61 ; pub const IPV6_DONTFRAG : u32 = 62 ; pub const IPV6_RECVTCLASS : u32 = 66 ; pub const IPV6_TCLASS : u32 = 67 ; pub const IPV6_AUTOFLOWLABEL : u32 = 70 ; pub const IPV6_ADDR_PREFERENCES : u32 = 72 ; pub const IPV6_MINHOPCOUNT : u32 = 73 ; pub const IPV6_ORIGDSTADDR : u32 = 74 ; pub const IPV6_RECVORIGDSTADDR : u32 = 74 ; pub const IPV6_TRANSPARENT : u32 = 75 ; pub const IPV6_UNICAST_IF : u32 = 76 ; pub const IPV6_RECVFRAGSIZE : u32 = 77 ; pub const IPV6_ADD_MEMBERSHIP : u32 = 20 ; pub const IPV6_DROP_MEMBERSHIP : u32 = 21 ; pub const IPV6_RXHOPOPTS : u32 = 54 ; pub const IPV6_RXDSTOPTS : u32 = 59 ; pub const IPV6_PMTUDISC_DONT : u32 = 0 ; pub const IPV6_PMTUDISC_WANT : u32 = 1 ; pub const IPV6_PMTUDISC_DO : u32 = 2 ; pub const IPV6_PMTUDISC_PROBE : u32 = 3 ; pub const IPV6_PMTUDISC_INTERFACE : u32 = 4 ; pub const IPV6_PMTUDISC_OMIT : u32 = 5 ; pub const SOL_IPV6 : u32 = 41 ; pub const SOL_ICMPV6 : u32 = 58 ; pub const IPV6_RTHDR_LOOSE : u32 = 0 ; pub const IPV6_RTHDR_STRICT : u32 = 1 ; pub const IPV6_RTHDR_TYPE_0 : u32 = 0 ; pub const IN_CLASSA_NET : u32 = 4278190080 ; pub const IN_CLASSA_NSHIFT : u32 = 24 ; pub const IN_CLASSA_HOST : u32 = 16777215 ; pub const IN_CLASSA_MAX : u32 = 128 ; pub const IN_CLASSB_NET : u32 = 4294901760 ; pub const IN_CLASSB_NSHIFT : u32 = 16 ; pub const IN_CLASSB_HOST : u32 = 65535 ; pub const IN_CLASSB_MAX : u32 = 65536 ; pub const IN_CLASSC_NET : u32 = 4294967040 ; pub const IN_CLASSC_NSHIFT : u32 = 8 ; pub const IN_CLASSC_HOST : u32 = 255 ; pub const IN_LOOPBACKNET : u32 = 127 ; pub const INET_ADDRSTRLEN : u32 = 16 ; pub const INET6_ADDRSTRLEN : u32 = 46 ; pub const _UNISTD_H : u32 = 1 ; pub const _POSIX_VERSION : u32 = 200809 ; pub const __POSIX2_THIS_VERSION : u32 = 200809 ; pub const _POSIX2_VERSION : u32 = 200809 ; pub const _POSIX2_C_VERSION : u32 = 200809 ; pub const _POSIX2_C_BIND : u32 = 200809 ; pub const _POSIX2_C_DEV : u32 = 200809 ; pub const _POSIX2_SW_DEV : u32 = 200809 ; pub const _POSIX2_LOCALEDEF : u32 = 200809 ; pub const _XOPEN_VERSION : u32 = 700 ; pub const _XOPEN_XCU_VERSION : u32 = 4 ; pub const _XOPEN_XPG2 : u32 = 1 ; pub const _XOPEN_XPG3 : u32 = 1 ; pub const _XOPEN_XPG4 : u32 = 1 ; pub const _XOPEN_UNIX : u32 = 1 ; pub const _XOPEN_CRYPT : u32 = 1 ; pub const _XOPEN_ENH_I18N : u32 = 1 ; pub const _XOPEN_LEGACY : u32 = 1 ; pub const _BITS_POSIX_OPT_H : u32 = 1 ; pub const _POSIX_JOB_CONTROL : u32 = 1 ; pub const _POSIX_SAVED_IDS : u32 = 1 ; pub const _POSIX_PRIORITY_SCHEDULING : u32 = 200809 ; pub const _POSIX_SYNCHRONIZED_IO : u32 = 200809 ; pub const _POSIX_FSYNC : u32 = 200809 ; pub const _POSIX_MAPPED_FILES : u32 = 200809 ; pub const _POSIX_MEMLOCK : u32 = 200809 ; pub const _POSIX_MEMLOCK_RANGE : u32 = 200809 ; pub const _POSIX_MEMORY_PROTECTION : u32 = 200809 ; pub const _POSIX_CHOWN_RESTRICTED : u32 = 0 ; pub const _POSIX_VDISABLE : u8 = 0u8 ; pub const _POSIX_NO_TRUNC : u32 = 1 ; pub const _XOPEN_REALTIME : u32 = 1 ; pub const _XOPEN_REALTIME_THREADS : u32 = 1 ; pub const _XOPEN_SHM : u32 = 1 ; pub const _POSIX_THREADS : u32 = 200809 ; pub const _POSIX_REENTRANT_FUNCTIONS : u32 = 1 ; pub const _POSIX_THREAD_SAFE_FUNCTIONS : u32 = 200809 ; pub const _POSIX_THREAD_PRIORITY_SCHEDULING : u32 = 200809 ; pub const _POSIX_THREAD_ATTR_STACKSIZE : u32 = 200809 ; pub const _POSIX_THREAD_ATTR_STACKADDR : u32 = 200809 ; pub const _POSIX_THREAD_PRIO_INHERIT : u32 = 200809 ; pub const _POSIX_THREAD_PRIO_PROTECT : u32 = 200809 ; pub const _POSIX_THREAD_ROBUST_PRIO_INHERIT : u32 = 200809 ; pub const _POSIX_THREAD_ROBUST_PRIO_PROTECT : i32 = -1 ; pub const _POSIX_SEMAPHORES : u32 = 200809 ; pub const _POSIX_REALTIME_SIGNALS : u32 = 200809 ; pub const _POSIX_ASYNCHRONOUS_IO : u32 = 200809 ; pub const _POSIX_ASYNC_IO : u32 = 1 ; pub const _LFS_ASYNCHRONOUS_IO : u32 = 1 ; pub const _POSIX_PRIORITIZED_IO : u32 = 200809 ; pub const _LFS64_ASYNCHRONOUS_IO : u32 = 1 ; pub const _LFS_LARGEFILE : u32 = 1 ; pub const _LFS64_LARGEFILE : u32 = 1 ; pub const _LFS64_STDIO : u32 = 1 ; pub const _POSIX_SHARED_MEMORY_OBJECTS : u32 = 200809 ; pub const _POSIX_CPUTIME : u32 = 0 ; pub const _POSIX_THREAD_CPUTIME : u32 = 0 ; pub const _POSIX_REGEXP : u32 = 1 ; pub const _POSIX_READER_WRITER_LOCKS : u32 = 200809 ; pub const _POSIX_SHELL : u32 = 1 ; pub const _POSIX_TIMEOUTS : u32 = 200809 ; pub const _POSIX_SPIN_LOCKS : u32 = 200809 ; pub const _POSIX_SPAWN : u32 = 200809 ; pub const _POSIX_TIMERS : u32 = 200809 ; pub const _POSIX_BARRIERS : u32 = 200809 ; pub const _POSIX_MESSAGE_PASSING : u32 = 200809 ; pub const _POSIX_THREAD_PROCESS_SHARED : u32 = 200809 ; pub const _POSIX_MONOTONIC_CLOCK : u32 = 0 ; pub const _POSIX_CLOCK_SELECTION : u32 = 200809 ; pub const _POSIX_ADVISORY_INFO : u32 = 200809 ; pub const _POSIX_IPV6 : u32 = 200809 ; pub const _POSIX_RAW_SOCKETS : u32 = 200809 ; pub const _POSIX2_CHAR_TERM : u32 = 200809 ; pub const _POSIX_SPORADIC_SERVER : i32 = -1 ; pub const _POSIX_THREAD_SPORADIC_SERVER : i32 = -1 ; pub const _POSIX_TRACE : i32 = -1 ; pub const _POSIX_TRACE_EVENT_FILTER : i32 = -1 ; pub const _POSIX_TRACE_INHERIT : i32 = -1 ; pub const _POSIX_TRACE_LOG : i32 = -1 ; pub const _POSIX_TYPED_MEMORY_OBJECTS : i32 = -1 ; pub const _POSIX_V7_LPBIG_OFFBIG : i32 = -1 ; pub const _POSIX_V6_LPBIG_OFFBIG : i32 = -1 ; pub const _XBS5_LPBIG_OFFBIG : i32 = -1 ; pub const _POSIX_V7_LP64_OFF64 : u32 = 1 ; pub const _POSIX_V6_LP64_OFF64 : u32 = 1 ; pub const _XBS5_LP64_OFF64 : u32 = 1 ; pub const __ILP32_OFF32_CFLAGS : & 'static [ u8 ; 5usize ] = b"-m32\0" ; pub const __ILP32_OFF32_LDFLAGS : & 'static [ u8 ; 5usize ] = b"-m32\0" ; pub const __ILP32_OFFBIG_CFLAGS : & 'static [ u8 ; 48usize ] = b"-m32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64\0" ; pub const __ILP32_OFFBIG_LDFLAGS : & 'static [ u8 ; 5usize ] = b"-m32\0" ; pub const __LP64_OFF64_CFLAGS : & 'static [ u8 ; 5usize ] = b"-m64\0" ; pub const __LP64_OFF64_LDFLAGS : & 'static [ u8 ; 5usize ] = b"-m64\0" ; pub const STDIN_FILENO : u32 = 0 ; pub const STDOUT_FILENO : u32 = 1 ; pub const STDERR_FILENO : u32 = 2 ; 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 L_SET : u32 = 0 ; pub const L_INCR : u32 = 1 ; pub const L_XTND : u32 = 2 ; pub const _GETOPT_POSIX_H : u32 = 1 ; pub const _GETOPT_CORE_H : u32 = 1 ; 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 ENET_SOCKET_NULL : i32 = -1 ; pub const ENET_VERSION_MAJOR : u32 = 1 ; pub const ENET_VERSION_MINOR : u32 = 3 ; pub const ENET_VERSION_PATCH : u32 = 13 ; pub const ENET_HOST_ANY : u32 = 0 ; pub const ENET_HOST_BROADCAST : u32 = 4294967295 ; pub const ENET_PORT_ANY : u32 = 0 ; 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 = f64 ; # [ repr ( C ) ] # [ derive ( 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 ( 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 ( 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 ) -> f64 ; } 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 ( 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 ( 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 ( 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 ( 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 ( 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 ( 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 ( 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 ( 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 ( 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 ( 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 ( 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 ( 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 : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn calloc ( __nmemb : usize , __size : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn realloc ( __ptr : * mut :: std :: os :: raw :: c_void , __size : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn free ( __ptr : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn alloca ( __size : usize ) -> * 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 : 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 qfcvt ( __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 qgcvt ( __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 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 : 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 qfcvt_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 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 * const :: 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 ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct timezone { pub tz_minuteswest : :: std :: os :: raw :: c_int , pub tz_dsttime : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_timezone ( ) { assert_eq ! ( :: std :: mem :: size_of :: < timezone > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( timezone ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < timezone > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( timezone ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < timezone > ( ) ) ) . tz_minuteswest as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( timezone ) , "::" , stringify ! ( tz_minuteswest ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < timezone > ( ) ) ) . tz_dsttime as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( timezone ) , "::" , stringify ! ( tz_dsttime ) ) ) ; } pub type __timezone_ptr_t = * mut timezone ; extern "C" { pub fn gettimeofday ( __tv : * mut timeval , __tz : __timezone_ptr_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn settimeofday ( __tv : * const timeval , __tz : * const timezone ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn adjtime ( __delta : * const timeval , __olddelta : * mut timeval ) -> :: std :: os :: raw :: c_int ; } pub const __itimer_which_ITIMER_REAL : __itimer_which = 0 ; pub const __itimer_which_ITIMER_VIRTUAL : __itimer_which = 1 ; pub const __itimer_which_ITIMER_PROF : __itimer_which = 2 ; pub type __itimer_which = u32 ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct itimerval { pub it_interval : timeval , pub it_value : timeval , } # [ test ] fn bindgen_test_layout_itimerval ( ) { assert_eq ! ( :: std :: mem :: size_of :: < itimerval > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( itimerval ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < itimerval > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( itimerval ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < itimerval > ( ) ) ) . it_interval as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( itimerval ) , "::" , stringify ! ( it_interval ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < itimerval > ( ) ) ) . it_value as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( itimerval ) , "::" , stringify ! ( it_value ) ) ) ; } pub type __itimer_which_t = :: std :: os :: raw :: c_int ; extern "C" { pub fn getitimer ( __which : __itimer_which_t , __value : * mut itimerval ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setitimer ( __which : __itimer_which_t , __new : * const itimerval , __old : * mut itimerval ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn utimes ( __file : * const :: std :: os :: raw :: c_char , __tvp : * const timeval ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lutimes ( __file : * const :: std :: os :: raw :: c_char , __tvp : * const timeval ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn futimes ( __fd : :: std :: os :: raw :: c_int , __tvp : * const timeval ) -> :: std :: os :: raw :: c_int ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct iovec { pub iov_base : * mut :: std :: os :: raw :: c_void , pub iov_len : usize , } # [ test ] fn bindgen_test_layout_iovec ( ) { assert_eq ! ( :: std :: mem :: size_of :: < iovec > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( iovec ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < iovec > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( iovec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < iovec > ( ) ) ) . iov_base as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( iovec ) , "::" , stringify ! ( iov_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < iovec > ( ) ) ) . iov_len as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( iovec ) , "::" , stringify ! ( iov_len ) ) ) ; } pub type socklen_t = __socklen_t ; pub const __socket_type_SOCK_STREAM : __socket_type = 1 ; pub const __socket_type_SOCK_DGRAM : __socket_type = 2 ; pub const __socket_type_SOCK_RAW : __socket_type = 3 ; pub const __socket_type_SOCK_RDM : __socket_type = 4 ; pub const __socket_type_SOCK_SEQPACKET : __socket_type = 5 ; pub const __socket_type_SOCK_DCCP : __socket_type = 6 ; pub const __socket_type_SOCK_PACKET : __socket_type = 10 ; pub const __socket_type_SOCK_CLOEXEC : __socket_type = 524288 ; pub const __socket_type_SOCK_NONBLOCK : __socket_type = 2048 ; pub type __socket_type = u32 ; pub type sa_family_t = :: std :: os :: raw :: c_ushort ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct sockaddr { pub sa_family : sa_family_t , pub sa_data : [ :: std :: os :: raw :: c_char ; 14usize ] , } # [ test ] fn bindgen_test_layout_sockaddr ( ) { assert_eq ! ( :: std :: mem :: size_of :: < sockaddr > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( sockaddr ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < sockaddr > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( sockaddr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sockaddr > ( ) ) ) . sa_family as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sockaddr ) , "::" , stringify ! ( sa_family ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sockaddr > ( ) ) ) . sa_data as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( sockaddr ) , "::" , stringify ! ( sa_data ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct sockaddr_storage { pub ss_family : sa_family_t , pub __ss_padding : [ :: std :: os :: raw :: c_char ; 118usize ] , pub __ss_align : :: std :: os :: raw :: c_ulong , } # [ test ] fn bindgen_test_layout_sockaddr_storage ( ) { assert_eq ! ( :: std :: mem :: size_of :: < sockaddr_storage > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( sockaddr_storage ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < sockaddr_storage > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( sockaddr_storage ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sockaddr_storage > ( ) ) ) . ss_family as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sockaddr_storage ) , "::" , stringify ! ( ss_family ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sockaddr_storage > ( ) ) ) . __ss_padding as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( sockaddr_storage ) , "::" , stringify ! ( __ss_padding ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sockaddr_storage > ( ) ) ) . __ss_align as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( sockaddr_storage ) , "::" , stringify ! ( __ss_align ) ) ) ; } pub const MSG_OOB : _bindgen_ty_1 = 1 ; pub const MSG_PEEK : _bindgen_ty_1 = 2 ; pub const MSG_DONTROUTE : _bindgen_ty_1 = 4 ; pub const MSG_CTRUNC : _bindgen_ty_1 = 8 ; pub const MSG_PROXY : _bindgen_ty_1 = 16 ; pub const MSG_TRUNC : _bindgen_ty_1 = 32 ; pub const MSG_DONTWAIT : _bindgen_ty_1 = 64 ; pub const MSG_EOR : _bindgen_ty_1 = 128 ; pub const MSG_WAITALL : _bindgen_ty_1 = 256 ; pub const MSG_FIN : _bindgen_ty_1 = 512 ; pub const MSG_SYN : _bindgen_ty_1 = 1024 ; pub const MSG_CONFIRM : _bindgen_ty_1 = 2048 ; pub const MSG_RST : _bindgen_ty_1 = 4096 ; pub const MSG_ERRQUEUE : _bindgen_ty_1 = 8192 ; pub const MSG_NOSIGNAL : _bindgen_ty_1 = 16384 ; pub const MSG_MORE : _bindgen_ty_1 = 32768 ; pub const MSG_WAITFORONE : _bindgen_ty_1 = 65536 ; pub const MSG_BATCH : _bindgen_ty_1 = 262144 ; pub const MSG_ZEROCOPY : _bindgen_ty_1 = 67108864 ; pub const MSG_FASTOPEN : _bindgen_ty_1 = 536870912 ; pub const MSG_CMSG_CLOEXEC : _bindgen_ty_1 = 1073741824 ; pub type _bindgen_ty_1 = u32 ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct msghdr { pub msg_name : * mut :: std :: os :: raw :: c_void , pub msg_namelen : socklen_t , pub msg_iov : * mut iovec , pub msg_iovlen : usize , pub msg_control : * mut :: std :: os :: raw :: c_void , pub msg_controllen : usize , pub msg_flags : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_msghdr ( ) { assert_eq ! ( :: std :: mem :: size_of :: < msghdr > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( msghdr ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < msghdr > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( msghdr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < msghdr > ( ) ) ) . msg_name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( msghdr ) , "::" , stringify ! ( msg_name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < msghdr > ( ) ) ) . msg_namelen as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( msghdr ) , "::" , stringify ! ( msg_namelen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < msghdr > ( ) ) ) . msg_iov as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( msghdr ) , "::" , stringify ! ( msg_iov ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < msghdr > ( ) ) ) . msg_iovlen as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( msghdr ) , "::" , stringify ! ( msg_iovlen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < msghdr > ( ) ) ) . msg_control as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( msghdr ) , "::" , stringify ! ( msg_control ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < msghdr > ( ) ) ) . msg_controllen as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( msghdr ) , "::" , stringify ! ( msg_controllen ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < msghdr > ( ) ) ) . msg_flags as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( msghdr ) , "::" , stringify ! ( msg_flags ) ) ) ; } # [ repr ( C ) ] pub struct cmsghdr { pub cmsg_len : usize , pub cmsg_level : :: std :: os :: raw :: c_int , pub cmsg_type : :: std :: os :: raw :: c_int , pub __cmsg_data : __IncompleteArrayField < :: std :: os :: raw :: c_uchar > , } # [ test ] fn bindgen_test_layout_cmsghdr ( ) { assert_eq ! ( :: std :: mem :: size_of :: < cmsghdr > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( cmsghdr ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < cmsghdr > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( cmsghdr ) ) ) ; } extern "C" { pub fn __cmsg_nxthdr ( __mhdr : * mut msghdr , __cmsg : * mut cmsghdr ) -> * mut cmsghdr ; } pub const SCM_RIGHTS : _bindgen_ty_2 = 1 ; pub type _bindgen_ty_2 = u32 ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct linger { pub l_onoff : :: std :: os :: raw :: c_int , pub l_linger : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_linger ( ) { assert_eq ! ( :: std :: mem :: size_of :: < linger > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( linger ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < linger > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( linger ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < linger > ( ) ) ) . l_onoff as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( linger ) , "::" , stringify ! ( l_onoff ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < linger > ( ) ) ) . l_linger as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( linger ) , "::" , stringify ! ( l_linger ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct osockaddr { pub sa_family : :: std :: os :: raw :: c_ushort , pub sa_data : [ :: std :: os :: raw :: c_uchar ; 14usize ] , } # [ test ] fn bindgen_test_layout_osockaddr ( ) { assert_eq ! ( :: std :: mem :: size_of :: < osockaddr > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( osockaddr ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < osockaddr > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( osockaddr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < osockaddr > ( ) ) ) . sa_family as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( osockaddr ) , "::" , stringify ! ( sa_family ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < osockaddr > ( ) ) ) . sa_data as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( osockaddr ) , "::" , stringify ! ( sa_data ) ) ) ; } pub const SHUT_RD : _bindgen_ty_3 = 0 ; pub const SHUT_WR : _bindgen_ty_3 = 1 ; pub const SHUT_RDWR : _bindgen_ty_3 = 2 ; pub type _bindgen_ty_3 = u32 ; extern "C" { pub fn socket ( __domain : :: std :: os :: raw :: c_int , __type : :: std :: os :: raw :: c_int , __protocol : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn socketpair ( __domain : :: std :: os :: raw :: c_int , __type : :: std :: os :: raw :: c_int , __protocol : :: std :: os :: raw :: c_int , __fds : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bind ( __fd : :: std :: os :: raw :: c_int , __addr : * const sockaddr , __len : socklen_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getsockname ( __fd : :: std :: os :: raw :: c_int , __addr : * mut sockaddr , __len : * mut socklen_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn connect ( __fd : :: std :: os :: raw :: c_int , __addr : * const sockaddr , __len : socklen_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getpeername ( __fd : :: std :: os :: raw :: c_int , __addr : * mut sockaddr , __len : * mut socklen_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn send ( __fd : :: std :: os :: raw :: c_int , __buf : * const :: std :: os :: raw :: c_void , __n : usize , __flags : :: std :: os :: raw :: c_int ) -> isize ; } extern "C" { pub fn recv ( __fd : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_void , __n : usize , __flags : :: std :: os :: raw :: c_int ) -> isize ; } extern "C" { pub fn sendto ( __fd : :: std :: os :: raw :: c_int , __buf : * const :: std :: os :: raw :: c_void , __n : usize , __flags : :: std :: os :: raw :: c_int , __addr : * const sockaddr , __addr_len : socklen_t ) -> isize ; } extern "C" { pub fn recvfrom ( __fd : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_void , __n : usize , __flags : :: std :: os :: raw :: c_int , __addr : * mut sockaddr , __addr_len : * mut socklen_t ) -> isize ; } extern "C" { pub fn sendmsg ( __fd : :: std :: os :: raw :: c_int , __message : * const msghdr , __flags : :: std :: os :: raw :: c_int ) -> isize ; } extern "C" { pub fn recvmsg ( __fd : :: std :: os :: raw :: c_int , __message : * mut msghdr , __flags : :: std :: os :: raw :: c_int ) -> isize ; } extern "C" { pub fn getsockopt ( __fd : :: std :: os :: raw :: c_int , __level : :: std :: os :: raw :: c_int , __optname : :: std :: os :: raw :: c_int , __optval : * mut :: std :: os :: raw :: c_void , __optlen : * mut socklen_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setsockopt ( __fd : :: std :: os :: raw :: c_int , __level : :: std :: os :: raw :: c_int , __optname : :: std :: os :: raw :: c_int , __optval : * const :: std :: os :: raw :: c_void , __optlen : socklen_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn listen ( __fd : :: std :: os :: raw :: c_int , __n : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn accept ( __fd : :: std :: os :: raw :: c_int , __addr : * mut sockaddr , __addr_len : * mut socklen_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn shutdown ( __fd : :: std :: os :: raw :: c_int , __how : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sockatmark ( __fd : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isfdtype ( __fd : :: std :: os :: raw :: c_int , __fdtype : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } pub type in_addr_t = u32 ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct in_addr { pub s_addr : in_addr_t , } # [ test ] fn bindgen_test_layout_in_addr ( ) { assert_eq ! ( :: std :: mem :: size_of :: < in_addr > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( in_addr ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < in_addr > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( in_addr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < in_addr > ( ) ) ) . s_addr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( in_addr ) , "::" , stringify ! ( s_addr ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct ip_opts { pub ip_dst : in_addr , pub ip_opts : [ :: std :: os :: raw :: c_char ; 40usize ] , } # [ test ] fn bindgen_test_layout_ip_opts ( ) { assert_eq ! ( :: std :: mem :: size_of :: < ip_opts > ( ) , 44usize , concat ! ( "Size of: " , stringify ! ( ip_opts ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < ip_opts > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( ip_opts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ip_opts > ( ) ) ) . ip_dst as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( ip_opts ) , "::" , stringify ! ( ip_dst ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ip_opts > ( ) ) ) . ip_opts as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( ip_opts ) , "::" , stringify ! ( ip_opts ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct ip_mreqn { pub imr_multiaddr : in_addr , pub imr_address : in_addr , pub imr_ifindex : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_ip_mreqn ( ) { assert_eq ! ( :: std :: mem :: size_of :: < ip_mreqn > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( ip_mreqn ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < ip_mreqn > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( ip_mreqn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ip_mreqn > ( ) ) ) . imr_multiaddr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( ip_mreqn ) , "::" , stringify ! ( imr_multiaddr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ip_mreqn > ( ) ) ) . imr_address as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( ip_mreqn ) , "::" , stringify ! ( imr_address ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ip_mreqn > ( ) ) ) . imr_ifindex as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( ip_mreqn ) , "::" , stringify ! ( imr_ifindex ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct in_pktinfo { pub ipi_ifindex : :: std :: os :: raw :: c_int , pub ipi_spec_dst : in_addr , pub ipi_addr : in_addr , } # [ test ] fn bindgen_test_layout_in_pktinfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < in_pktinfo > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( in_pktinfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < in_pktinfo > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( in_pktinfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < in_pktinfo > ( ) ) ) . ipi_ifindex as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( in_pktinfo ) , "::" , stringify ! ( ipi_ifindex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < in_pktinfo > ( ) ) ) . ipi_spec_dst as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( in_pktinfo ) , "::" , stringify ! ( ipi_spec_dst ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < in_pktinfo > ( ) ) ) . ipi_addr as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( in_pktinfo ) , "::" , stringify ! ( ipi_addr ) ) ) ; } pub const IPPROTO_IP : _bindgen_ty_4 = 0 ; pub const IPPROTO_ICMP : _bindgen_ty_4 = 1 ; pub const IPPROTO_IGMP : _bindgen_ty_4 = 2 ; pub const IPPROTO_IPIP : _bindgen_ty_4 = 4 ; pub const IPPROTO_TCP : _bindgen_ty_4 = 6 ; pub const IPPROTO_EGP : _bindgen_ty_4 = 8 ; pub const IPPROTO_PUP : _bindgen_ty_4 = 12 ; pub const IPPROTO_UDP : _bindgen_ty_4 = 17 ; pub const IPPROTO_IDP : _bindgen_ty_4 = 22 ; pub const IPPROTO_TP : _bindgen_ty_4 = 29 ; pub const IPPROTO_DCCP : _bindgen_ty_4 = 33 ; pub const IPPROTO_IPV6 : _bindgen_ty_4 = 41 ; pub const IPPROTO_RSVP : _bindgen_ty_4 = 46 ; pub const IPPROTO_GRE : _bindgen_ty_4 = 47 ; pub const IPPROTO_ESP : _bindgen_ty_4 = 50 ; pub const IPPROTO_AH : _bindgen_ty_4 = 51 ; pub const IPPROTO_MTP : _bindgen_ty_4 = 92 ; pub const IPPROTO_BEETPH : _bindgen_ty_4 = 94 ; pub const IPPROTO_ENCAP : _bindgen_ty_4 = 98 ; pub const IPPROTO_PIM : _bindgen_ty_4 = 103 ; pub const IPPROTO_COMP : _bindgen_ty_4 = 108 ; pub const IPPROTO_SCTP : _bindgen_ty_4 = 132 ; pub const IPPROTO_UDPLITE : _bindgen_ty_4 = 136 ; pub const IPPROTO_MPLS : _bindgen_ty_4 = 137 ; pub const IPPROTO_RAW : _bindgen_ty_4 = 255 ; pub const IPPROTO_MAX : _bindgen_ty_4 = 256 ; pub type _bindgen_ty_4 = u32 ; pub const IPPROTO_HOPOPTS : _bindgen_ty_5 = 0 ; pub const IPPROTO_ROUTING : _bindgen_ty_5 = 43 ; pub const IPPROTO_FRAGMENT : _bindgen_ty_5 = 44 ; pub const IPPROTO_ICMPV6 : _bindgen_ty_5 = 58 ; pub const IPPROTO_NONE : _bindgen_ty_5 = 59 ; pub const IPPROTO_DSTOPTS : _bindgen_ty_5 = 60 ; pub const IPPROTO_MH : _bindgen_ty_5 = 135 ; pub type _bindgen_ty_5 = u32 ; pub type in_port_t = u16 ; pub const IPPORT_ECHO : _bindgen_ty_6 = 7 ; pub const IPPORT_DISCARD : _bindgen_ty_6 = 9 ; pub const IPPORT_SYSTAT : _bindgen_ty_6 = 11 ; pub const IPPORT_DAYTIME : _bindgen_ty_6 = 13 ; pub const IPPORT_NETSTAT : _bindgen_ty_6 = 15 ; pub const IPPORT_FTP : _bindgen_ty_6 = 21 ; pub const IPPORT_TELNET : _bindgen_ty_6 = 23 ; pub const IPPORT_SMTP : _bindgen_ty_6 = 25 ; pub const IPPORT_TIMESERVER : _bindgen_ty_6 = 37 ; pub const IPPORT_NAMESERVER : _bindgen_ty_6 = 42 ; pub const IPPORT_WHOIS : _bindgen_ty_6 = 43 ; pub const IPPORT_MTP : _bindgen_ty_6 = 57 ; pub const IPPORT_TFTP : _bindgen_ty_6 = 69 ; pub const IPPORT_RJE : _bindgen_ty_6 = 77 ; pub const IPPORT_FINGER : _bindgen_ty_6 = 79 ; pub const IPPORT_TTYLINK : _bindgen_ty_6 = 87 ; pub const IPPORT_SUPDUP : _bindgen_ty_6 = 95 ; pub const IPPORT_EXECSERVER : _bindgen_ty_6 = 512 ; pub const IPPORT_LOGINSERVER : _bindgen_ty_6 = 513 ; pub const IPPORT_CMDSERVER : _bindgen_ty_6 = 514 ; pub const IPPORT_EFSSERVER : _bindgen_ty_6 = 520 ; pub const IPPORT_BIFFUDP : _bindgen_ty_6 = 512 ; pub const IPPORT_WHOSERVER : _bindgen_ty_6 = 513 ; pub const IPPORT_ROUTESERVER : _bindgen_ty_6 = 520 ; pub const IPPORT_RESERVED : _bindgen_ty_6 = 1024 ; pub const IPPORT_USERRESERVED : _bindgen_ty_6 = 5000 ; pub type _bindgen_ty_6 = u32 ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct in6_addr { pub __in6_u : in6_addr__bindgen_ty_1 , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union in6_addr__bindgen_ty_1 { pub __u6_addr8 : [ u8 ; 16usize ] , pub __u6_addr16 : [ u16 ; 8usize ] , pub __u6_addr32 : [ u32 ; 4usize ] , _bindgen_union_align : [ u32 ; 4usize ] , } # [ test ] fn bindgen_test_layout_in6_addr__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < in6_addr__bindgen_ty_1 > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( in6_addr__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < in6_addr__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( in6_addr__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < in6_addr__bindgen_ty_1 > ( ) ) ) . __u6_addr8 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( in6_addr__bindgen_ty_1 ) , "::" , stringify ! ( __u6_addr8 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < in6_addr__bindgen_ty_1 > ( ) ) ) . __u6_addr16 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( in6_addr__bindgen_ty_1 ) , "::" , stringify ! ( __u6_addr16 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < in6_addr__bindgen_ty_1 > ( ) ) ) . __u6_addr32 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( in6_addr__bindgen_ty_1 ) , "::" , stringify ! ( __u6_addr32 ) ) ) ; } # [ test ] fn bindgen_test_layout_in6_addr ( ) { assert_eq ! ( :: std :: mem :: size_of :: < in6_addr > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( in6_addr ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < in6_addr > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( in6_addr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < in6_addr > ( ) ) ) . __in6_u as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( in6_addr ) , "::" , stringify ! ( __in6_u ) ) ) ; } extern "C" { # [ link_name = "\u{1}in6addr_any" ] pub static mut in6addr_any : in6_addr ; } extern "C" { # [ link_name = "\u{1}in6addr_loopback" ] pub static mut in6addr_loopback : in6_addr ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct sockaddr_in { pub sin_family : sa_family_t , pub sin_port : in_port_t , pub sin_addr : in_addr , pub sin_zero : [ :: std :: os :: raw :: c_uchar ; 8usize ] , } # [ test ] fn bindgen_test_layout_sockaddr_in ( ) { assert_eq ! ( :: std :: mem :: size_of :: < sockaddr_in > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( sockaddr_in ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < sockaddr_in > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( sockaddr_in ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sockaddr_in > ( ) ) ) . sin_family as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sockaddr_in ) , "::" , stringify ! ( sin_family ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sockaddr_in > ( ) ) ) . sin_port as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( sockaddr_in ) , "::" , stringify ! ( sin_port ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sockaddr_in > ( ) ) ) . sin_addr as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( sockaddr_in ) , "::" , stringify ! ( sin_addr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sockaddr_in > ( ) ) ) . sin_zero as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( sockaddr_in ) , "::" , stringify ! ( sin_zero ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct sockaddr_in6 { pub sin6_family : sa_family_t , pub sin6_port : in_port_t , pub sin6_flowinfo : u32 , pub sin6_addr : in6_addr , pub sin6_scope_id : u32 , } # [ test ] fn bindgen_test_layout_sockaddr_in6 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < sockaddr_in6 > ( ) , 28usize , concat ! ( "Size of: " , stringify ! ( sockaddr_in6 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < sockaddr_in6 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( sockaddr_in6 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sockaddr_in6 > ( ) ) ) . sin6_family as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( sockaddr_in6 ) , "::" , stringify ! ( sin6_family ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sockaddr_in6 > ( ) ) ) . sin6_port as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( sockaddr_in6 ) , "::" , stringify ! ( sin6_port ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sockaddr_in6 > ( ) ) ) . sin6_flowinfo as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( sockaddr_in6 ) , "::" , stringify ! ( sin6_flowinfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sockaddr_in6 > ( ) ) ) . sin6_addr as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( sockaddr_in6 ) , "::" , stringify ! ( sin6_addr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < sockaddr_in6 > ( ) ) ) . sin6_scope_id as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( sockaddr_in6 ) , "::" , stringify ! ( sin6_scope_id ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct ip_mreq { pub imr_multiaddr : in_addr , pub imr_interface : in_addr , } # [ test ] fn bindgen_test_layout_ip_mreq ( ) { assert_eq ! ( :: std :: mem :: size_of :: < ip_mreq > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( ip_mreq ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < ip_mreq > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( ip_mreq ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ip_mreq > ( ) ) ) . imr_multiaddr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( ip_mreq ) , "::" , stringify ! ( imr_multiaddr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ip_mreq > ( ) ) ) . imr_interface as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( ip_mreq ) , "::" , stringify ! ( imr_interface ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct ip_mreq_source { pub imr_multiaddr : in_addr , pub imr_interface : in_addr , pub imr_sourceaddr : in_addr , } # [ test ] fn bindgen_test_layout_ip_mreq_source ( ) { assert_eq ! ( :: std :: mem :: size_of :: < ip_mreq_source > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( ip_mreq_source ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < ip_mreq_source > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( ip_mreq_source ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ip_mreq_source > ( ) ) ) . imr_multiaddr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( ip_mreq_source ) , "::" , stringify ! ( imr_multiaddr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ip_mreq_source > ( ) ) ) . imr_interface as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( ip_mreq_source ) , "::" , stringify ! ( imr_interface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ip_mreq_source > ( ) ) ) . imr_sourceaddr as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( ip_mreq_source ) , "::" , stringify ! ( imr_sourceaddr ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct ipv6_mreq { pub ipv6mr_multiaddr : in6_addr , pub ipv6mr_interface : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout_ipv6_mreq ( ) { assert_eq ! ( :: std :: mem :: size_of :: < ipv6_mreq > ( ) , 20usize , concat ! ( "Size of: " , stringify ! ( ipv6_mreq ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < ipv6_mreq > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( ipv6_mreq ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ipv6_mreq > ( ) ) ) . ipv6mr_multiaddr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( ipv6_mreq ) , "::" , stringify ! ( ipv6mr_multiaddr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ipv6_mreq > ( ) ) ) . ipv6mr_interface as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( ipv6_mreq ) , "::" , stringify ! ( ipv6mr_interface ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct group_req { pub gr_interface : u32 , pub gr_group : sockaddr_storage , } # [ test ] fn bindgen_test_layout_group_req ( ) { assert_eq ! ( :: std :: mem :: size_of :: < group_req > ( ) , 136usize , concat ! ( "Size of: " , stringify ! ( group_req ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < group_req > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( group_req ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < group_req > ( ) ) ) . gr_interface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( group_req ) , "::" , stringify ! ( gr_interface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < group_req > ( ) ) ) . gr_group as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( group_req ) , "::" , stringify ! ( gr_group ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct group_source_req { pub gsr_interface : u32 , pub gsr_group : sockaddr_storage , pub gsr_source : sockaddr_storage , } # [ test ] fn bindgen_test_layout_group_source_req ( ) { assert_eq ! ( :: std :: mem :: size_of :: < group_source_req > ( ) , 264usize , concat ! ( "Size of: " , stringify ! ( group_source_req ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < group_source_req > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( group_source_req ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < group_source_req > ( ) ) ) . gsr_interface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( group_source_req ) , "::" , stringify ! ( gsr_interface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < group_source_req > ( ) ) ) . gsr_group as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( group_source_req ) , "::" , stringify ! ( gsr_group ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < group_source_req > ( ) ) ) . gsr_source as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( group_source_req ) , "::" , stringify ! ( gsr_source ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct ip_msfilter { pub imsf_multiaddr : in_addr , pub imsf_interface : in_addr , pub imsf_fmode : u32 , pub imsf_numsrc : u32 , pub imsf_slist : [ in_addr ; 1usize ] , } # [ test ] fn bindgen_test_layout_ip_msfilter ( ) { assert_eq ! ( :: std :: mem :: size_of :: < ip_msfilter > ( ) , 20usize , concat ! ( "Size of: " , stringify ! ( ip_msfilter ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < ip_msfilter > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( ip_msfilter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ip_msfilter > ( ) ) ) . imsf_multiaddr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( ip_msfilter ) , "::" , stringify ! ( imsf_multiaddr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ip_msfilter > ( ) ) ) . imsf_interface as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( ip_msfilter ) , "::" , stringify ! ( imsf_interface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ip_msfilter > ( ) ) ) . imsf_fmode as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( ip_msfilter ) , "::" , stringify ! ( imsf_fmode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ip_msfilter > ( ) ) ) . imsf_numsrc as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( ip_msfilter ) , "::" , stringify ! ( imsf_numsrc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ip_msfilter > ( ) ) ) . imsf_slist as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( ip_msfilter ) , "::" , stringify ! ( imsf_slist ) ) ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct group_filter { pub gf_interface : u32 , pub gf_group : sockaddr_storage , pub gf_fmode : u32 , pub gf_numsrc : u32 , pub gf_slist : [ sockaddr_storage ; 1usize ] , } # [ test ] fn bindgen_test_layout_group_filter ( ) { assert_eq ! ( :: std :: mem :: size_of :: < group_filter > ( ) , 272usize , concat ! ( "Size of: " , stringify ! ( group_filter ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < group_filter > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( group_filter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < group_filter > ( ) ) ) . gf_interface as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( group_filter ) , "::" , stringify ! ( gf_interface ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < group_filter > ( ) ) ) . gf_group as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( group_filter ) , "::" , stringify ! ( gf_group ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < group_filter > ( ) ) ) . gf_fmode as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( group_filter ) , "::" , stringify ! ( gf_fmode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < group_filter > ( ) ) ) . gf_numsrc as * const _ as usize } , 140usize , concat ! ( "Offset of field: " , stringify ! ( group_filter ) , "::" , stringify ! ( gf_numsrc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < group_filter > ( ) ) ) . gf_slist as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( group_filter ) , "::" , stringify ! ( gf_slist ) ) ) ; } extern "C" { pub fn ntohl ( __netlong : u32 ) -> u32 ; } extern "C" { pub fn ntohs ( __netshort : u16 ) -> u16 ; } extern "C" { pub fn htonl ( __hostlong : u32 ) -> u32 ; } extern "C" { pub fn htons ( __hostshort : u16 ) -> u16 ; } extern "C" { pub fn bindresvport ( __sockfd : :: std :: os :: raw :: c_int , __sock_in : * mut sockaddr_in ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bindresvport6 ( __sockfd : :: std :: os :: raw :: c_int , __sock_in : * mut sockaddr_in6 ) -> :: std :: os :: raw :: c_int ; } pub type useconds_t = __useconds_t ; extern "C" { pub fn access ( __name : * const :: std :: os :: raw :: c_char , __type : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn faccessat ( __fd : :: std :: os :: raw :: c_int , __file : * const :: std :: os :: raw :: c_char , __type : :: std :: os :: raw :: c_int , __flag : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lseek ( __fd : :: std :: os :: raw :: c_int , __offset : __off_t , __whence : :: std :: os :: raw :: c_int ) -> __off_t ; } extern "C" { pub fn close ( __fd : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn read ( __fd : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_void , __nbytes : usize ) -> isize ; } extern "C" { pub fn write ( __fd : :: std :: os :: raw :: c_int , __buf : * const :: std :: os :: raw :: c_void , __n : usize ) -> isize ; } extern "C" { pub fn pread ( __fd : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_void , __nbytes : usize , __offset : __off_t ) -> isize ; } extern "C" { pub fn pwrite ( __fd : :: std :: os :: raw :: c_int , __buf : * const :: std :: os :: raw :: c_void , __n : usize , __offset : __off_t ) -> isize ; } extern "C" { pub fn pipe ( __pipedes : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn alarm ( __seconds : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn sleep ( __seconds : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn ualarm ( __value : __useconds_t , __interval : __useconds_t ) -> __useconds_t ; } extern "C" { pub fn usleep ( __useconds : __useconds_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pause ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chown ( __file : * const :: std :: os :: raw :: c_char , __owner : __uid_t , __group : __gid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fchown ( __fd : :: std :: os :: raw :: c_int , __owner : __uid_t , __group : __gid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lchown ( __file : * const :: std :: os :: raw :: c_char , __owner : __uid_t , __group : __gid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fchownat ( __fd : :: std :: os :: raw :: c_int , __file : * const :: std :: os :: raw :: c_char , __owner : __uid_t , __group : __gid_t , __flag : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chdir ( __path : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fchdir ( __fd : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getcwd ( __buf : * mut :: std :: os :: raw :: c_char , __size : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getwd ( __buf : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn dup ( __fd : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dup2 ( __fd : :: std :: os :: raw :: c_int , __fd2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__environ" ] pub static mut __environ : * mut * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn execve ( __path : * const :: std :: os :: raw :: c_char , __argv : * const * const :: std :: os :: raw :: c_char , __envp : * const * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fexecve ( __fd : :: std :: os :: raw :: c_int , __argv : * const * const :: std :: os :: raw :: c_char , __envp : * const * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn execv ( __path : * const :: std :: os :: raw :: c_char , __argv : * const * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn execle ( __path : * const :: std :: os :: raw :: c_char , __arg : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn execl ( __path : * const :: std :: os :: raw :: c_char , __arg : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn execvp ( __file : * const :: std :: os :: raw :: c_char , __argv : * const * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn execlp ( __file : * const :: std :: os :: raw :: c_char , __arg : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nice ( __inc : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _exit ( __status : :: std :: os :: raw :: c_int ) ; } pub const _PC_LINK_MAX : _bindgen_ty_7 = 0 ; pub const _PC_MAX_CANON : _bindgen_ty_7 = 1 ; pub const _PC_MAX_INPUT : _bindgen_ty_7 = 2 ; pub const _PC_NAME_MAX : _bindgen_ty_7 = 3 ; pub const _PC_PATH_MAX : _bindgen_ty_7 = 4 ; pub const _PC_PIPE_BUF : _bindgen_ty_7 = 5 ; pub const _PC_CHOWN_RESTRICTED : _bindgen_ty_7 = 6 ; pub const _PC_NO_TRUNC : _bindgen_ty_7 = 7 ; pub const _PC_VDISABLE : _bindgen_ty_7 = 8 ; pub const _PC_SYNC_IO : _bindgen_ty_7 = 9 ; pub const _PC_ASYNC_IO : _bindgen_ty_7 = 10 ; pub const _PC_PRIO_IO : _bindgen_ty_7 = 11 ; pub const _PC_SOCK_MAXBUF : _bindgen_ty_7 = 12 ; pub const _PC_FILESIZEBITS : _bindgen_ty_7 = 13 ; pub const _PC_REC_INCR_XFER_SIZE : _bindgen_ty_7 = 14 ; pub const _PC_REC_MAX_XFER_SIZE : _bindgen_ty_7 = 15 ; pub const _PC_REC_MIN_XFER_SIZE : _bindgen_ty_7 = 16 ; pub const _PC_REC_XFER_ALIGN : _bindgen_ty_7 = 17 ; pub const _PC_ALLOC_SIZE_MIN : _bindgen_ty_7 = 18 ; pub const _PC_SYMLINK_MAX : _bindgen_ty_7 = 19 ; pub const _PC_2_SYMLINKS : _bindgen_ty_7 = 20 ; pub type _bindgen_ty_7 = u32 ; pub const _SC_ARG_MAX : _bindgen_ty_8 = 0 ; pub const _SC_CHILD_MAX : _bindgen_ty_8 = 1 ; pub const _SC_CLK_TCK : _bindgen_ty_8 = 2 ; pub const _SC_NGROUPS_MAX : _bindgen_ty_8 = 3 ; pub const _SC_OPEN_MAX : _bindgen_ty_8 = 4 ; pub const _SC_STREAM_MAX : _bindgen_ty_8 = 5 ; pub const _SC_TZNAME_MAX : _bindgen_ty_8 = 6 ; pub const _SC_JOB_CONTROL : _bindgen_ty_8 = 7 ; pub const _SC_SAVED_IDS : _bindgen_ty_8 = 8 ; pub const _SC_REALTIME_SIGNALS : _bindgen_ty_8 = 9 ; pub const _SC_PRIORITY_SCHEDULING : _bindgen_ty_8 = 10 ; pub const _SC_TIMERS : _bindgen_ty_8 = 11 ; pub const _SC_ASYNCHRONOUS_IO : _bindgen_ty_8 = 12 ; pub const _SC_PRIORITIZED_IO : _bindgen_ty_8 = 13 ; pub const _SC_SYNCHRONIZED_IO : _bindgen_ty_8 = 14 ; pub const _SC_FSYNC : _bindgen_ty_8 = 15 ; pub const _SC_MAPPED_FILES : _bindgen_ty_8 = 16 ; pub const _SC_MEMLOCK : _bindgen_ty_8 = 17 ; pub const _SC_MEMLOCK_RANGE : _bindgen_ty_8 = 18 ; pub const _SC_MEMORY_PROTECTION : _bindgen_ty_8 = 19 ; pub const _SC_MESSAGE_PASSING : _bindgen_ty_8 = 20 ; pub const _SC_SEMAPHORES : _bindgen_ty_8 = 21 ; pub const _SC_SHARED_MEMORY_OBJECTS : _bindgen_ty_8 = 22 ; pub const _SC_AIO_LISTIO_MAX : _bindgen_ty_8 = 23 ; pub const _SC_AIO_MAX : _bindgen_ty_8 = 24 ; pub const _SC_AIO_PRIO_DELTA_MAX : _bindgen_ty_8 = 25 ; pub const _SC_DELAYTIMER_MAX : _bindgen_ty_8 = 26 ; pub const _SC_MQ_OPEN_MAX : _bindgen_ty_8 = 27 ; pub const _SC_MQ_PRIO_MAX : _bindgen_ty_8 = 28 ; pub const _SC_VERSION : _bindgen_ty_8 = 29 ; pub const _SC_PAGESIZE : _bindgen_ty_8 = 30 ; pub const _SC_RTSIG_MAX : _bindgen_ty_8 = 31 ; pub const _SC_SEM_NSEMS_MAX : _bindgen_ty_8 = 32 ; pub const _SC_SEM_VALUE_MAX : _bindgen_ty_8 = 33 ; pub const _SC_SIGQUEUE_MAX : _bindgen_ty_8 = 34 ; pub const _SC_TIMER_MAX : _bindgen_ty_8 = 35 ; pub const _SC_BC_BASE_MAX : _bindgen_ty_8 = 36 ; pub const _SC_BC_DIM_MAX : _bindgen_ty_8 = 37 ; pub const _SC_BC_SCALE_MAX : _bindgen_ty_8 = 38 ; pub const _SC_BC_STRING_MAX : _bindgen_ty_8 = 39 ; pub const _SC_COLL_WEIGHTS_MAX : _bindgen_ty_8 = 40 ; pub const _SC_EQUIV_CLASS_MAX : _bindgen_ty_8 = 41 ; pub const _SC_EXPR_NEST_MAX : _bindgen_ty_8 = 42 ; pub const _SC_LINE_MAX : _bindgen_ty_8 = 43 ; pub const _SC_RE_DUP_MAX : _bindgen_ty_8 = 44 ; pub const _SC_CHARCLASS_NAME_MAX : _bindgen_ty_8 = 45 ; pub const _SC_2_VERSION : _bindgen_ty_8 = 46 ; pub const _SC_2_C_BIND : _bindgen_ty_8 = 47 ; pub const _SC_2_C_DEV : _bindgen_ty_8 = 48 ; pub const _SC_2_FORT_DEV : _bindgen_ty_8 = 49 ; pub const _SC_2_FORT_RUN : _bindgen_ty_8 = 50 ; pub const _SC_2_SW_DEV : _bindgen_ty_8 = 51 ; pub const _SC_2_LOCALEDEF : _bindgen_ty_8 = 52 ; pub const _SC_PII : _bindgen_ty_8 = 53 ; pub const _SC_PII_XTI : _bindgen_ty_8 = 54 ; pub const _SC_PII_SOCKET : _bindgen_ty_8 = 55 ; pub const _SC_PII_INTERNET : _bindgen_ty_8 = 56 ; pub const _SC_PII_OSI : _bindgen_ty_8 = 57 ; pub const _SC_POLL : _bindgen_ty_8 = 58 ; pub const _SC_SELECT : _bindgen_ty_8 = 59 ; pub const _SC_UIO_MAXIOV : _bindgen_ty_8 = 60 ; pub const _SC_IOV_MAX : _bindgen_ty_8 = 60 ; pub const _SC_PII_INTERNET_STREAM : _bindgen_ty_8 = 61 ; pub const _SC_PII_INTERNET_DGRAM : _bindgen_ty_8 = 62 ; pub const _SC_PII_OSI_COTS : _bindgen_ty_8 = 63 ; pub const _SC_PII_OSI_CLTS : _bindgen_ty_8 = 64 ; pub const _SC_PII_OSI_M : _bindgen_ty_8 = 65 ; pub const _SC_T_IOV_MAX : _bindgen_ty_8 = 66 ; pub const _SC_THREADS : _bindgen_ty_8 = 67 ; pub const _SC_THREAD_SAFE_FUNCTIONS : _bindgen_ty_8 = 68 ; pub const _SC_GETGR_R_SIZE_MAX : _bindgen_ty_8 = 69 ; pub const _SC_GETPW_R_SIZE_MAX : _bindgen_ty_8 = 70 ; pub const _SC_LOGIN_NAME_MAX : _bindgen_ty_8 = 71 ; pub const _SC_TTY_NAME_MAX : _bindgen_ty_8 = 72 ; pub const _SC_THREAD_DESTRUCTOR_ITERATIONS : _bindgen_ty_8 = 73 ; pub const _SC_THREAD_KEYS_MAX : _bindgen_ty_8 = 74 ; pub const _SC_THREAD_STACK_MIN : _bindgen_ty_8 = 75 ; pub const _SC_THREAD_THREADS_MAX : _bindgen_ty_8 = 76 ; pub const _SC_THREAD_ATTR_STACKADDR : _bindgen_ty_8 = 77 ; pub const _SC_THREAD_ATTR_STACKSIZE : _bindgen_ty_8 = 78 ; pub const _SC_THREAD_PRIORITY_SCHEDULING : _bindgen_ty_8 = 79 ; pub const _SC_THREAD_PRIO_INHERIT : _bindgen_ty_8 = 80 ; pub const _SC_THREAD_PRIO_PROTECT : _bindgen_ty_8 = 81 ; pub const _SC_THREAD_PROCESS_SHARED : _bindgen_ty_8 = 82 ; pub const _SC_NPROCESSORS_CONF : _bindgen_ty_8 = 83 ; pub const _SC_NPROCESSORS_ONLN : _bindgen_ty_8 = 84 ; pub const _SC_PHYS_PAGES : _bindgen_ty_8 = 85 ; pub const _SC_AVPHYS_PAGES : _bindgen_ty_8 = 86 ; pub const _SC_ATEXIT_MAX : _bindgen_ty_8 = 87 ; pub const _SC_PASS_MAX : _bindgen_ty_8 = 88 ; pub const _SC_XOPEN_VERSION : _bindgen_ty_8 = 89 ; pub const _SC_XOPEN_XCU_VERSION : _bindgen_ty_8 = 90 ; pub const _SC_XOPEN_UNIX : _bindgen_ty_8 = 91 ; pub const _SC_XOPEN_CRYPT : _bindgen_ty_8 = 92 ; pub const _SC_XOPEN_ENH_I18N : _bindgen_ty_8 = 93 ; pub const _SC_XOPEN_SHM : _bindgen_ty_8 = 94 ; pub const _SC_2_CHAR_TERM : _bindgen_ty_8 = 95 ; pub const _SC_2_C_VERSION : _bindgen_ty_8 = 96 ; pub const _SC_2_UPE : _bindgen_ty_8 = 97 ; pub const _SC_XOPEN_XPG2 : _bindgen_ty_8 = 98 ; pub const _SC_XOPEN_XPG3 : _bindgen_ty_8 = 99 ; pub const _SC_XOPEN_XPG4 : _bindgen_ty_8 = 100 ; pub const _SC_CHAR_BIT : _bindgen_ty_8 = 101 ; pub const _SC_CHAR_MAX : _bindgen_ty_8 = 102 ; pub const _SC_CHAR_MIN : _bindgen_ty_8 = 103 ; pub const _SC_INT_MAX : _bindgen_ty_8 = 104 ; pub const _SC_INT_MIN : _bindgen_ty_8 = 105 ; pub const _SC_LONG_BIT : _bindgen_ty_8 = 106 ; pub const _SC_WORD_BIT : _bindgen_ty_8 = 107 ; pub const _SC_MB_LEN_MAX : _bindgen_ty_8 = 108 ; pub const _SC_NZERO : _bindgen_ty_8 = 109 ; pub const _SC_SSIZE_MAX : _bindgen_ty_8 = 110 ; pub const _SC_SCHAR_MAX : _bindgen_ty_8 = 111 ; pub const _SC_SCHAR_MIN : _bindgen_ty_8 = 112 ; pub const _SC_SHRT_MAX : _bindgen_ty_8 = 113 ; pub const _SC_SHRT_MIN : _bindgen_ty_8 = 114 ; pub const _SC_UCHAR_MAX : _bindgen_ty_8 = 115 ; pub const _SC_UINT_MAX : _bindgen_ty_8 = 116 ; pub const _SC_ULONG_MAX : _bindgen_ty_8 = 117 ; pub const _SC_USHRT_MAX : _bindgen_ty_8 = 118 ; pub const _SC_NL_ARGMAX : _bindgen_ty_8 = 119 ; pub const _SC_NL_LANGMAX : _bindgen_ty_8 = 120 ; pub const _SC_NL_MSGMAX : _bindgen_ty_8 = 121 ; pub const _SC_NL_NMAX : _bindgen_ty_8 = 122 ; pub const _SC_NL_SETMAX : _bindgen_ty_8 = 123 ; pub const _SC_NL_TEXTMAX : _bindgen_ty_8 = 124 ; pub const _SC_XBS5_ILP32_OFF32 : _bindgen_ty_8 = 125 ; pub const _SC_XBS5_ILP32_OFFBIG : _bindgen_ty_8 = 126 ; pub const _SC_XBS5_LP64_OFF64 : _bindgen_ty_8 = 127 ; pub const _SC_XBS5_LPBIG_OFFBIG : _bindgen_ty_8 = 128 ; pub const _SC_XOPEN_LEGACY : _bindgen_ty_8 = 129 ; pub const _SC_XOPEN_REALTIME : _bindgen_ty_8 = 130 ; pub const _SC_XOPEN_REALTIME_THREADS : _bindgen_ty_8 = 131 ; pub const _SC_ADVISORY_INFO : _bindgen_ty_8 = 132 ; pub const _SC_BARRIERS : _bindgen_ty_8 = 133 ; pub const _SC_BASE : _bindgen_ty_8 = 134 ; pub const _SC_C_LANG_SUPPORT : _bindgen_ty_8 = 135 ; pub const _SC_C_LANG_SUPPORT_R : _bindgen_ty_8 = 136 ; pub const _SC_CLOCK_SELECTION : _bindgen_ty_8 = 137 ; pub const _SC_CPUTIME : _bindgen_ty_8 = 138 ; pub const _SC_THREAD_CPUTIME : _bindgen_ty_8 = 139 ; pub const _SC_DEVICE_IO : _bindgen_ty_8 = 140 ; pub const _SC_DEVICE_SPECIFIC : _bindgen_ty_8 = 141 ; pub const _SC_DEVICE_SPECIFIC_R : _bindgen_ty_8 = 142 ; pub const _SC_FD_MGMT : _bindgen_ty_8 = 143 ; pub const _SC_FIFO : _bindgen_ty_8 = 144 ; pub const _SC_PIPE : _bindgen_ty_8 = 145 ; pub const _SC_FILE_ATTRIBUTES : _bindgen_ty_8 = 146 ; pub const _SC_FILE_LOCKING : _bindgen_ty_8 = 147 ; pub const _SC_FILE_SYSTEM : _bindgen_ty_8 = 148 ; pub const _SC_MONOTONIC_CLOCK : _bindgen_ty_8 = 149 ; pub const _SC_MULTI_PROCESS : _bindgen_ty_8 = 150 ; pub const _SC_SINGLE_PROCESS : _bindgen_ty_8 = 151 ; pub const _SC_NETWORKING : _bindgen_ty_8 = 152 ; pub const _SC_READER_WRITER_LOCKS : _bindgen_ty_8 = 153 ; pub const _SC_SPIN_LOCKS : _bindgen_ty_8 = 154 ; pub const _SC_REGEXP : _bindgen_ty_8 = 155 ; pub const _SC_REGEX_VERSION : _bindgen_ty_8 = 156 ; pub const _SC_SHELL : _bindgen_ty_8 = 157 ; pub const _SC_SIGNALS : _bindgen_ty_8 = 158 ; pub const _SC_SPAWN : _bindgen_ty_8 = 159 ; pub const _SC_SPORADIC_SERVER : _bindgen_ty_8 = 160 ; pub const _SC_THREAD_SPORADIC_SERVER : _bindgen_ty_8 = 161 ; pub const _SC_SYSTEM_DATABASE : _bindgen_ty_8 = 162 ; pub const _SC_SYSTEM_DATABASE_R : _bindgen_ty_8 = 163 ; pub const _SC_TIMEOUTS : _bindgen_ty_8 = 164 ; pub const _SC_TYPED_MEMORY_OBJECTS : _bindgen_ty_8 = 165 ; pub const _SC_USER_GROUPS : _bindgen_ty_8 = 166 ; pub const _SC_USER_GROUPS_R : _bindgen_ty_8 = 167 ; pub const _SC_2_PBS : _bindgen_ty_8 = 168 ; pub const _SC_2_PBS_ACCOUNTING : _bindgen_ty_8 = 169 ; pub const _SC_2_PBS_LOCATE : _bindgen_ty_8 = 170 ; pub const _SC_2_PBS_MESSAGE : _bindgen_ty_8 = 171 ; pub const _SC_2_PBS_TRACK : _bindgen_ty_8 = 172 ; pub const _SC_SYMLOOP_MAX : _bindgen_ty_8 = 173 ; pub const _SC_STREAMS : _bindgen_ty_8 = 174 ; pub const _SC_2_PBS_CHECKPOINT : _bindgen_ty_8 = 175 ; pub const _SC_V6_ILP32_OFF32 : _bindgen_ty_8 = 176 ; pub const _SC_V6_ILP32_OFFBIG : _bindgen_ty_8 = 177 ; pub const _SC_V6_LP64_OFF64 : _bindgen_ty_8 = 178 ; pub const _SC_V6_LPBIG_OFFBIG : _bindgen_ty_8 = 179 ; pub const _SC_HOST_NAME_MAX : _bindgen_ty_8 = 180 ; pub const _SC_TRACE : _bindgen_ty_8 = 181 ; pub const _SC_TRACE_EVENT_FILTER : _bindgen_ty_8 = 182 ; pub const _SC_TRACE_INHERIT : _bindgen_ty_8 = 183 ; pub const _SC_TRACE_LOG : _bindgen_ty_8 = 184 ; pub const _SC_LEVEL1_ICACHE_SIZE : _bindgen_ty_8 = 185 ; pub const _SC_LEVEL1_ICACHE_ASSOC : _bindgen_ty_8 = 186 ; pub const _SC_LEVEL1_ICACHE_LINESIZE : _bindgen_ty_8 = 187 ; pub const _SC_LEVEL1_DCACHE_SIZE : _bindgen_ty_8 = 188 ; pub const _SC_LEVEL1_DCACHE_ASSOC : _bindgen_ty_8 = 189 ; pub const _SC_LEVEL1_DCACHE_LINESIZE : _bindgen_ty_8 = 190 ; pub const _SC_LEVEL2_CACHE_SIZE : _bindgen_ty_8 = 191 ; pub const _SC_LEVEL2_CACHE_ASSOC : _bindgen_ty_8 = 192 ; pub const _SC_LEVEL2_CACHE_LINESIZE : _bindgen_ty_8 = 193 ; pub const _SC_LEVEL3_CACHE_SIZE : _bindgen_ty_8 = 194 ; pub const _SC_LEVEL3_CACHE_ASSOC : _bindgen_ty_8 = 195 ; pub const _SC_LEVEL3_CACHE_LINESIZE : _bindgen_ty_8 = 196 ; pub const _SC_LEVEL4_CACHE_SIZE : _bindgen_ty_8 = 197 ; pub const _SC_LEVEL4_CACHE_ASSOC : _bindgen_ty_8 = 198 ; pub const _SC_LEVEL4_CACHE_LINESIZE : _bindgen_ty_8 = 199 ; pub const _SC_IPV6 : _bindgen_ty_8 = 235 ; pub const _SC_RAW_SOCKETS : _bindgen_ty_8 = 236 ; pub const _SC_V7_ILP32_OFF32 : _bindgen_ty_8 = 237 ; pub const _SC_V7_ILP32_OFFBIG : _bindgen_ty_8 = 238 ; pub const _SC_V7_LP64_OFF64 : _bindgen_ty_8 = 239 ; pub const _SC_V7_LPBIG_OFFBIG : _bindgen_ty_8 = 240 ; pub const _SC_SS_REPL_MAX : _bindgen_ty_8 = 241 ; pub const _SC_TRACE_EVENT_NAME_MAX : _bindgen_ty_8 = 242 ; pub const _SC_TRACE_NAME_MAX : _bindgen_ty_8 = 243 ; pub const _SC_TRACE_SYS_MAX : _bindgen_ty_8 = 244 ; pub const _SC_TRACE_USER_EVENT_MAX : _bindgen_ty_8 = 245 ; pub const _SC_XOPEN_STREAMS : _bindgen_ty_8 = 246 ; pub const _SC_THREAD_ROBUST_PRIO_INHERIT : _bindgen_ty_8 = 247 ; pub const _SC_THREAD_ROBUST_PRIO_PROTECT : _bindgen_ty_8 = 248 ; pub type _bindgen_ty_8 = u32 ; pub const _CS_PATH : _bindgen_ty_9 = 0 ; pub const _CS_V6_WIDTH_RESTRICTED_ENVS : _bindgen_ty_9 = 1 ; pub const _CS_GNU_LIBC_VERSION : _bindgen_ty_9 = 2 ; pub const _CS_GNU_LIBPTHREAD_VERSION : _bindgen_ty_9 = 3 ; pub const _CS_V5_WIDTH_RESTRICTED_ENVS : _bindgen_ty_9 = 4 ; pub const _CS_V7_WIDTH_RESTRICTED_ENVS : _bindgen_ty_9 = 5 ; pub const _CS_LFS_CFLAGS : _bindgen_ty_9 = 1000 ; pub const _CS_LFS_LDFLAGS : _bindgen_ty_9 = 1001 ; pub const _CS_LFS_LIBS : _bindgen_ty_9 = 1002 ; pub const _CS_LFS_LINTFLAGS : _bindgen_ty_9 = 1003 ; pub const _CS_LFS64_CFLAGS : _bindgen_ty_9 = 1004 ; pub const _CS_LFS64_LDFLAGS : _bindgen_ty_9 = 1005 ; pub const _CS_LFS64_LIBS : _bindgen_ty_9 = 1006 ; pub const _CS_LFS64_LINTFLAGS : _bindgen_ty_9 = 1007 ; pub const _CS_XBS5_ILP32_OFF32_CFLAGS : _bindgen_ty_9 = 1100 ; pub const _CS_XBS5_ILP32_OFF32_LDFLAGS : _bindgen_ty_9 = 1101 ; pub const _CS_XBS5_ILP32_OFF32_LIBS : _bindgen_ty_9 = 1102 ; pub const _CS_XBS5_ILP32_OFF32_LINTFLAGS : _bindgen_ty_9 = 1103 ; pub const _CS_XBS5_ILP32_OFFBIG_CFLAGS : _bindgen_ty_9 = 1104 ; pub const _CS_XBS5_ILP32_OFFBIG_LDFLAGS : _bindgen_ty_9 = 1105 ; pub const _CS_XBS5_ILP32_OFFBIG_LIBS : _bindgen_ty_9 = 1106 ; pub const _CS_XBS5_ILP32_OFFBIG_LINTFLAGS : _bindgen_ty_9 = 1107 ; pub const _CS_XBS5_LP64_OFF64_CFLAGS : _bindgen_ty_9 = 1108 ; pub const _CS_XBS5_LP64_OFF64_LDFLAGS : _bindgen_ty_9 = 1109 ; pub const _CS_XBS5_LP64_OFF64_LIBS : _bindgen_ty_9 = 1110 ; pub const _CS_XBS5_LP64_OFF64_LINTFLAGS : _bindgen_ty_9 = 1111 ; pub const _CS_XBS5_LPBIG_OFFBIG_CFLAGS : _bindgen_ty_9 = 1112 ; pub const _CS_XBS5_LPBIG_OFFBIG_LDFLAGS : _bindgen_ty_9 = 1113 ; pub const _CS_XBS5_LPBIG_OFFBIG_LIBS : _bindgen_ty_9 = 1114 ; pub const _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS : _bindgen_ty_9 = 1115 ; pub const _CS_POSIX_V6_ILP32_OFF32_CFLAGS : _bindgen_ty_9 = 1116 ; pub const _CS_POSIX_V6_ILP32_OFF32_LDFLAGS : _bindgen_ty_9 = 1117 ; pub const _CS_POSIX_V6_ILP32_OFF32_LIBS : _bindgen_ty_9 = 1118 ; pub const _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS : _bindgen_ty_9 = 1119 ; pub const _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS : _bindgen_ty_9 = 1120 ; pub const _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS : _bindgen_ty_9 = 1121 ; pub const _CS_POSIX_V6_ILP32_OFFBIG_LIBS : _bindgen_ty_9 = 1122 ; pub const _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS : _bindgen_ty_9 = 1123 ; pub const _CS_POSIX_V6_LP64_OFF64_CFLAGS : _bindgen_ty_9 = 1124 ; pub const _CS_POSIX_V6_LP64_OFF64_LDFLAGS : _bindgen_ty_9 = 1125 ; pub const _CS_POSIX_V6_LP64_OFF64_LIBS : _bindgen_ty_9 = 1126 ; pub const _CS_POSIX_V6_LP64_OFF64_LINTFLAGS : _bindgen_ty_9 = 1127 ; pub const _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS : _bindgen_ty_9 = 1128 ; pub const _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS : _bindgen_ty_9 = 1129 ; pub const _CS_POSIX_V6_LPBIG_OFFBIG_LIBS : _bindgen_ty_9 = 1130 ; pub const _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS : _bindgen_ty_9 = 1131 ; pub const _CS_POSIX_V7_ILP32_OFF32_CFLAGS : _bindgen_ty_9 = 1132 ; pub const _CS_POSIX_V7_ILP32_OFF32_LDFLAGS : _bindgen_ty_9 = 1133 ; pub const _CS_POSIX_V7_ILP32_OFF32_LIBS : _bindgen_ty_9 = 1134 ; pub const _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS : _bindgen_ty_9 = 1135 ; pub const _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS : _bindgen_ty_9 = 1136 ; pub const _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS : _bindgen_ty_9 = 1137 ; pub const _CS_POSIX_V7_ILP32_OFFBIG_LIBS : _bindgen_ty_9 = 1138 ; pub const _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS : _bindgen_ty_9 = 1139 ; pub const _CS_POSIX_V7_LP64_OFF64_CFLAGS : _bindgen_ty_9 = 1140 ; pub const _CS_POSIX_V7_LP64_OFF64_LDFLAGS : _bindgen_ty_9 = 1141 ; pub const _CS_POSIX_V7_LP64_OFF64_LIBS : _bindgen_ty_9 = 1142 ; pub const _CS_POSIX_V7_LP64_OFF64_LINTFLAGS : _bindgen_ty_9 = 1143 ; pub const _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS : _bindgen_ty_9 = 1144 ; pub const _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS : _bindgen_ty_9 = 1145 ; pub const _CS_POSIX_V7_LPBIG_OFFBIG_LIBS : _bindgen_ty_9 = 1146 ; pub const _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS : _bindgen_ty_9 = 1147 ; pub const _CS_V6_ENV : _bindgen_ty_9 = 1148 ; pub const _CS_V7_ENV : _bindgen_ty_9 = 1149 ; pub type _bindgen_ty_9 = u32 ; extern "C" { pub fn pathconf ( __path : * const :: std :: os :: raw :: c_char , __name : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn fpathconf ( __fd : :: std :: os :: raw :: c_int , __name : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn sysconf ( __name : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn confstr ( __name : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> usize ; } extern "C" { pub fn getpid ( ) -> __pid_t ; } extern "C" { pub fn getppid ( ) -> __pid_t ; } extern "C" { pub fn getpgrp ( ) -> __pid_t ; } extern "C" { pub fn __getpgid ( __pid : __pid_t ) -> __pid_t ; } extern "C" { pub fn getpgid ( __pid : __pid_t ) -> __pid_t ; } extern "C" { pub fn setpgid ( __pid : __pid_t , __pgid : __pid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setpgrp ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setsid ( ) -> __pid_t ; } extern "C" { pub fn getsid ( __pid : __pid_t ) -> __pid_t ; } extern "C" { pub fn getuid ( ) -> __uid_t ; } extern "C" { pub fn geteuid ( ) -> __uid_t ; } extern "C" { pub fn getgid ( ) -> __gid_t ; } extern "C" { pub fn getegid ( ) -> __gid_t ; } extern "C" { pub fn getgroups ( __size : :: std :: os :: raw :: c_int , __list : * mut __gid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setuid ( __uid : __uid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setreuid ( __ruid : __uid_t , __euid : __uid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn seteuid ( __uid : __uid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setgid ( __gid : __gid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setregid ( __rgid : __gid_t , __egid : __gid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setegid ( __gid : __gid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fork ( ) -> __pid_t ; } extern "C" { pub fn vfork ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ttyname ( __fd : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ttyname_r ( __fd : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __buflen : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn isatty ( __fd : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ttyslot ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn link ( __from : * const :: std :: os :: raw :: c_char , __to : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn linkat ( __fromfd : :: std :: os :: raw :: c_int , __from : * const :: std :: os :: raw :: c_char , __tofd : :: std :: os :: raw :: c_int , __to : * const :: std :: os :: raw :: c_char , __flags : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn symlink ( __from : * const :: std :: os :: raw :: c_char , __to : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn readlink ( __path : * const :: std :: os :: raw :: c_char , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> isize ; } extern "C" { pub fn symlinkat ( __from : * const :: std :: os :: raw :: c_char , __tofd : :: std :: os :: raw :: c_int , __to : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn readlinkat ( __fd : :: std :: os :: raw :: c_int , __path : * const :: std :: os :: raw :: c_char , __buf : * mut :: std :: os :: raw :: c_char , __len : usize ) -> isize ; } extern "C" { pub fn unlink ( __name : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unlinkat ( __fd : :: std :: os :: raw :: c_int , __name : * const :: std :: os :: raw :: c_char , __flag : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rmdir ( __path : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tcgetpgrp ( __fd : :: std :: os :: raw :: c_int ) -> __pid_t ; } extern "C" { pub fn tcsetpgrp ( __fd : :: std :: os :: raw :: c_int , __pgrp_id : __pid_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getlogin ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn getlogin_r ( __name : * mut :: std :: os :: raw :: c_char , __name_len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setlogin ( __name : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}optarg" ] pub static mut optarg : * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}optind" ] pub static mut optind : :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}opterr" ] pub static mut opterr : :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}optopt" ] pub static mut optopt : :: std :: os :: raw :: c_int ; } extern "C" { pub fn getopt ( ___argc : :: std :: os :: raw :: c_int , ___argv : * const * const :: std :: os :: raw :: c_char , __shortopts : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn gethostname ( __name : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sethostname ( __name : * const :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sethostid ( __id : :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getdomainname ( __name : * mut :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setdomainname ( __name : * const :: std :: os :: raw :: c_char , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vhangup ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn revoke ( __file : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn profil ( __sample_buffer : * mut :: std :: os :: raw :: c_ushort , __size : usize , __offset : usize , __scale : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn acct ( __name : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getusershell ( ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn endusershell ( ) ; } extern "C" { pub fn setusershell ( ) ; } extern "C" { pub fn daemon ( __nochdir : :: std :: os :: raw :: c_int , __noclose : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn chroot ( __path : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getpass ( __prompt : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn fsync ( __fd : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn gethostid ( ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn sync ( ) ; } extern "C" { pub fn getpagesize ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getdtablesize ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn truncate ( __file : * const :: std :: os :: raw :: c_char , __length : __off_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftruncate ( __fd : :: std :: os :: raw :: c_int , __length : __off_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn brk ( __addr : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sbrk ( __delta : isize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn syscall ( __sysno : :: std :: os :: raw :: c_long , ... ) -> :: std :: os :: raw :: c_long ; } 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 fdatasync ( __fildes : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getentropy ( __buffer : * mut :: std :: os :: raw :: c_void , __length : usize ) -> :: std :: os :: raw :: c_int ; } pub type ENetSocket = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct ENetBuffer { pub data : * mut :: std :: os :: raw :: c_void , pub dataLength : usize , } # [ test ] fn bindgen_test_layout_ENetBuffer ( ) { assert_eq ! ( :: std :: mem :: size_of :: < ENetBuffer > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( ENetBuffer ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < ENetBuffer > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( ENetBuffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ENetBuffer > ( ) ) ) . data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( ENetBuffer ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ENetBuffer > ( ) ) ) . dataLength as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( ENetBuffer ) , "::" , stringify ! ( dataLength ) ) ) ; } pub type ENetSocketSet = fd_set ; pub type enet_uint8 = :: std :: os :: raw :: c_uchar ; pub type enet_uint16 = :: std :: os :: raw :: c_ushort ; pub type enet_uint32 = :: std :: os :: raw :: c_uint ; pub const ENET_PROTOCOL_MINIMUM_MTU : _bindgen_ty_10 = 576 ; pub const ENET_PROTOCOL_MAXIMUM_MTU : _bindgen_ty_10 = 4096 ; pub const ENET_PROTOCOL_MAXIMUM_PACKET_COMMANDS : _bindgen_ty_10 = 32 ; pub const ENET_PROTOCOL_MINIMUM_WINDOW_SIZE : _bindgen_ty_10 = 4096 ; pub const ENET_PROTOCOL_MAXIMUM_WINDOW_SIZE : _bindgen_ty_10 = 65536 ; pub const ENET_PROTOCOL_MINIMUM_CHANNEL_COUNT : _bindgen_ty_10 = 1 ; pub const ENET_PROTOCOL_MAXIMUM_CHANNEL_COUNT : _bindgen_ty_10 = 255 ; pub const ENET_PROTOCOL_MAXIMUM_PEER_ID : _bindgen_ty_10 = 4095 ; pub const ENET_PROTOCOL_MAXIMUM_FRAGMENT_COUNT : _bindgen_ty_10 = 1048576 ; pub type _bindgen_ty_10 = u32 ; pub const _ENetProtocolCommand_ENET_PROTOCOL_COMMAND_NONE : _ENetProtocolCommand = 0 ; pub const _ENetProtocolCommand_ENET_PROTOCOL_COMMAND_ACKNOWLEDGE : _ENetProtocolCommand = 1 ; pub const _ENetProtocolCommand_ENET_PROTOCOL_COMMAND_CONNECT : _ENetProtocolCommand = 2 ; pub const _ENetProtocolCommand_ENET_PROTOCOL_COMMAND_VERIFY_CONNECT : _ENetProtocolCommand = 3 ; pub const _ENetProtocolCommand_ENET_PROTOCOL_COMMAND_DISCONNECT : _ENetProtocolCommand = 4 ; pub const _ENetProtocolCommand_ENET_PROTOCOL_COMMAND_PING : _ENetProtocolCommand = 5 ; pub const _ENetProtocolCommand_ENET_PROTOCOL_COMMAND_SEND_RELIABLE : _ENetProtocolCommand = 6 ; pub const _ENetProtocolCommand_ENET_PROTOCOL_COMMAND_SEND_UNRELIABLE : _ENetProtocolCommand = 7 ; pub const _ENetProtocolCommand_ENET_PROTOCOL_COMMAND_SEND_FRAGMENT : _ENetProtocolCommand = 8 ; pub const _ENetProtocolCommand_ENET_PROTOCOL_COMMAND_SEND_UNSEQUENCED : _ENetProtocolCommand = 9 ; pub const _ENetProtocolCommand_ENET_PROTOCOL_COMMAND_BANDWIDTH_LIMIT : _ENetProtocolCommand = 10 ; pub const _ENetProtocolCommand_ENET_PROTOCOL_COMMAND_THROTTLE_CONFIGURE : _ENetProtocolCommand = 11 ; pub const _ENetProtocolCommand_ENET_PROTOCOL_COMMAND_SEND_UNRELIABLE_FRAGMENT : _ENetProtocolCommand = 12 ; pub const _ENetProtocolCommand_ENET_PROTOCOL_COMMAND_COUNT : _ENetProtocolCommand = 13 ; pub const _ENetProtocolCommand_ENET_PROTOCOL_COMMAND_MASK : _ENetProtocolCommand = 15 ; pub type _ENetProtocolCommand = u32 ; pub use self :: _ENetProtocolCommand as ENetProtocolCommand ; pub const _ENetProtocolFlag_ENET_PROTOCOL_COMMAND_FLAG_ACKNOWLEDGE : _ENetProtocolFlag = 128 ; pub const _ENetProtocolFlag_ENET_PROTOCOL_COMMAND_FLAG_UNSEQUENCED : _ENetProtocolFlag = 64 ; pub const _ENetProtocolFlag_ENET_PROTOCOL_HEADER_FLAG_COMPRESSED : _ENetProtocolFlag = 16384 ; pub const _ENetProtocolFlag_ENET_PROTOCOL_HEADER_FLAG_SENT_TIME : _ENetProtocolFlag = 32768 ; pub const _ENetProtocolFlag_ENET_PROTOCOL_HEADER_FLAG_MASK : _ENetProtocolFlag = 49152 ; pub const _ENetProtocolFlag_ENET_PROTOCOL_HEADER_SESSION_MASK : _ENetProtocolFlag = 12288 ; pub const _ENetProtocolFlag_ENET_PROTOCOL_HEADER_SESSION_SHIFT : _ENetProtocolFlag = 12 ; pub type _ENetProtocolFlag = u32 ; pub use self :: _ENetProtocolFlag as ENetProtocolFlag ; # [ repr ( C , packed ) ] # [ derive ( Copy , Clone ) ] pub struct _ENetProtocolHeader { pub peerID : enet_uint16 , pub sentTime : enet_uint16 , } # [ test ] fn bindgen_test_layout__ENetProtocolHeader ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ENetProtocolHeader > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( _ENetProtocolHeader ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ENetProtocolHeader > ( ) , 1usize , concat ! ( "Alignment of " , stringify ! ( _ENetProtocolHeader ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolHeader > ( ) ) ) . peerID as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolHeader ) , "::" , stringify ! ( peerID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolHeader > ( ) ) ) . sentTime as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolHeader ) , "::" , stringify ! ( sentTime ) ) ) ; } pub type ENetProtocolHeader = _ENetProtocolHeader ; # [ repr ( C , packed ) ] # [ derive ( Copy , Clone ) ] pub struct _ENetProtocolCommandHeader { pub command : enet_uint8 , pub channelID : enet_uint8 , pub reliableSequenceNumber : enet_uint16 , } # [ test ] fn bindgen_test_layout__ENetProtocolCommandHeader ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ENetProtocolCommandHeader > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( _ENetProtocolCommandHeader ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ENetProtocolCommandHeader > ( ) , 1usize , concat ! ( "Alignment of " , stringify ! ( _ENetProtocolCommandHeader ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolCommandHeader > ( ) ) ) . command as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolCommandHeader ) , "::" , stringify ! ( command ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolCommandHeader > ( ) ) ) . channelID as * const _ as usize } , 1usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolCommandHeader ) , "::" , stringify ! ( channelID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolCommandHeader > ( ) ) ) . reliableSequenceNumber as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolCommandHeader ) , "::" , stringify ! ( reliableSequenceNumber ) ) ) ; } pub type ENetProtocolCommandHeader = _ENetProtocolCommandHeader ; # [ repr ( C , packed ) ] # [ derive ( Copy , Clone ) ] pub struct _ENetProtocolAcknowledge { pub header : ENetProtocolCommandHeader , pub receivedReliableSequenceNumber : enet_uint16 , pub receivedSentTime : enet_uint16 , } # [ test ] fn bindgen_test_layout__ENetProtocolAcknowledge ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ENetProtocolAcknowledge > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _ENetProtocolAcknowledge ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ENetProtocolAcknowledge > ( ) , 1usize , concat ! ( "Alignment of " , stringify ! ( _ENetProtocolAcknowledge ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolAcknowledge > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolAcknowledge ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolAcknowledge > ( ) ) ) . receivedReliableSequenceNumber as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolAcknowledge ) , "::" , stringify ! ( receivedReliableSequenceNumber ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolAcknowledge > ( ) ) ) . receivedSentTime as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolAcknowledge ) , "::" , stringify ! ( receivedSentTime ) ) ) ; } pub type ENetProtocolAcknowledge = _ENetProtocolAcknowledge ; # [ repr ( C , packed ) ] # [ derive ( Copy , Clone ) ] pub struct _ENetProtocolConnect { pub header : ENetProtocolCommandHeader , pub outgoingPeerID : enet_uint16 , pub incomingSessionID : enet_uint8 , pub outgoingSessionID : enet_uint8 , pub mtu : enet_uint32 , pub windowSize : enet_uint32 , pub channelCount : enet_uint32 , pub incomingBandwidth : enet_uint32 , pub outgoingBandwidth : enet_uint32 , pub packetThrottleInterval : enet_uint32 , pub packetThrottleAcceleration : enet_uint32 , pub packetThrottleDeceleration : enet_uint32 , pub connectID : enet_uint32 , pub data : enet_uint32 , } # [ test ] fn bindgen_test_layout__ENetProtocolConnect ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ENetProtocolConnect > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _ENetProtocolConnect ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ENetProtocolConnect > ( ) , 1usize , concat ! ( "Alignment of " , stringify ! ( _ENetProtocolConnect ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolConnect > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolConnect ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolConnect > ( ) ) ) . outgoingPeerID as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolConnect ) , "::" , stringify ! ( outgoingPeerID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolConnect > ( ) ) ) . incomingSessionID as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolConnect ) , "::" , stringify ! ( incomingSessionID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolConnect > ( ) ) ) . outgoingSessionID as * const _ as usize } , 7usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolConnect ) , "::" , stringify ! ( outgoingSessionID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolConnect > ( ) ) ) . mtu as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolConnect ) , "::" , stringify ! ( mtu ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolConnect > ( ) ) ) . windowSize as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolConnect ) , "::" , stringify ! ( windowSize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolConnect > ( ) ) ) . channelCount as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolConnect ) , "::" , stringify ! ( channelCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolConnect > ( ) ) ) . incomingBandwidth as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolConnect ) , "::" , stringify ! ( incomingBandwidth ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolConnect > ( ) ) ) . outgoingBandwidth as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolConnect ) , "::" , stringify ! ( outgoingBandwidth ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolConnect > ( ) ) ) . packetThrottleInterval as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolConnect ) , "::" , stringify ! ( packetThrottleInterval ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolConnect > ( ) ) ) . packetThrottleAcceleration as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolConnect ) , "::" , stringify ! ( packetThrottleAcceleration ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolConnect > ( ) ) ) . packetThrottleDeceleration as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolConnect ) , "::" , stringify ! ( packetThrottleDeceleration ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolConnect > ( ) ) ) . connectID as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolConnect ) , "::" , stringify ! ( connectID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolConnect > ( ) ) ) . data as * const _ as usize } , 44usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolConnect ) , "::" , stringify ! ( data ) ) ) ; } pub type ENetProtocolConnect = _ENetProtocolConnect ; # [ repr ( C , packed ) ] # [ derive ( Copy , Clone ) ] pub struct _ENetProtocolVerifyConnect { pub header : ENetProtocolCommandHeader , pub outgoingPeerID : enet_uint16 , pub incomingSessionID : enet_uint8 , pub outgoingSessionID : enet_uint8 , pub mtu : enet_uint32 , pub windowSize : enet_uint32 , pub channelCount : enet_uint32 , pub incomingBandwidth : enet_uint32 , pub outgoingBandwidth : enet_uint32 , pub packetThrottleInterval : enet_uint32 , pub packetThrottleAcceleration : enet_uint32 , pub packetThrottleDeceleration : enet_uint32 , pub connectID : enet_uint32 , } # [ test ] fn bindgen_test_layout__ENetProtocolVerifyConnect ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ENetProtocolVerifyConnect > ( ) , 44usize , concat ! ( "Size of: " , stringify ! ( _ENetProtocolVerifyConnect ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ENetProtocolVerifyConnect > ( ) , 1usize , concat ! ( "Alignment of " , stringify ! ( _ENetProtocolVerifyConnect ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolVerifyConnect > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolVerifyConnect ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolVerifyConnect > ( ) ) ) . outgoingPeerID as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolVerifyConnect ) , "::" , stringify ! ( outgoingPeerID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolVerifyConnect > ( ) ) ) . incomingSessionID as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolVerifyConnect ) , "::" , stringify ! ( incomingSessionID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolVerifyConnect > ( ) ) ) . outgoingSessionID as * const _ as usize } , 7usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolVerifyConnect ) , "::" , stringify ! ( outgoingSessionID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolVerifyConnect > ( ) ) ) . mtu as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolVerifyConnect ) , "::" , stringify ! ( mtu ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolVerifyConnect > ( ) ) ) . windowSize as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolVerifyConnect ) , "::" , stringify ! ( windowSize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolVerifyConnect > ( ) ) ) . channelCount as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolVerifyConnect ) , "::" , stringify ! ( channelCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolVerifyConnect > ( ) ) ) . incomingBandwidth as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolVerifyConnect ) , "::" , stringify ! ( incomingBandwidth ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolVerifyConnect > ( ) ) ) . outgoingBandwidth as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolVerifyConnect ) , "::" , stringify ! ( outgoingBandwidth ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolVerifyConnect > ( ) ) ) . packetThrottleInterval as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolVerifyConnect ) , "::" , stringify ! ( packetThrottleInterval ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolVerifyConnect > ( ) ) ) . packetThrottleAcceleration as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolVerifyConnect ) , "::" , stringify ! ( packetThrottleAcceleration ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolVerifyConnect > ( ) ) ) . packetThrottleDeceleration as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolVerifyConnect ) , "::" , stringify ! ( packetThrottleDeceleration ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolVerifyConnect > ( ) ) ) . connectID as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolVerifyConnect ) , "::" , stringify ! ( connectID ) ) ) ; } pub type ENetProtocolVerifyConnect = _ENetProtocolVerifyConnect ; # [ repr ( C , packed ) ] # [ derive ( Copy , Clone ) ] pub struct _ENetProtocolBandwidthLimit { pub header : ENetProtocolCommandHeader , pub incomingBandwidth : enet_uint32 , pub outgoingBandwidth : enet_uint32 , } # [ test ] fn bindgen_test_layout__ENetProtocolBandwidthLimit ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ENetProtocolBandwidthLimit > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( _ENetProtocolBandwidthLimit ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ENetProtocolBandwidthLimit > ( ) , 1usize , concat ! ( "Alignment of " , stringify ! ( _ENetProtocolBandwidthLimit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolBandwidthLimit > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolBandwidthLimit ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolBandwidthLimit > ( ) ) ) . incomingBandwidth as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolBandwidthLimit ) , "::" , stringify ! ( incomingBandwidth ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolBandwidthLimit > ( ) ) ) . outgoingBandwidth as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolBandwidthLimit ) , "::" , stringify ! ( outgoingBandwidth ) ) ) ; } pub type ENetProtocolBandwidthLimit = _ENetProtocolBandwidthLimit ; # [ repr ( C , packed ) ] # [ derive ( Copy , Clone ) ] pub struct _ENetProtocolThrottleConfigure { pub header : ENetProtocolCommandHeader , pub packetThrottleInterval : enet_uint32 , pub packetThrottleAcceleration : enet_uint32 , pub packetThrottleDeceleration : enet_uint32 , } # [ test ] fn bindgen_test_layout__ENetProtocolThrottleConfigure ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ENetProtocolThrottleConfigure > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _ENetProtocolThrottleConfigure ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ENetProtocolThrottleConfigure > ( ) , 1usize , concat ! ( "Alignment of " , stringify ! ( _ENetProtocolThrottleConfigure ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolThrottleConfigure > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolThrottleConfigure ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolThrottleConfigure > ( ) ) ) . packetThrottleInterval as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolThrottleConfigure ) , "::" , stringify ! ( packetThrottleInterval ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolThrottleConfigure > ( ) ) ) . packetThrottleAcceleration as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolThrottleConfigure ) , "::" , stringify ! ( packetThrottleAcceleration ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolThrottleConfigure > ( ) ) ) . packetThrottleDeceleration as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolThrottleConfigure ) , "::" , stringify ! ( packetThrottleDeceleration ) ) ) ; } pub type ENetProtocolThrottleConfigure = _ENetProtocolThrottleConfigure ; # [ repr ( C , packed ) ] # [ derive ( Copy , Clone ) ] pub struct _ENetProtocolDisconnect { pub header : ENetProtocolCommandHeader , pub data : enet_uint32 , } # [ test ] fn bindgen_test_layout__ENetProtocolDisconnect ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ENetProtocolDisconnect > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _ENetProtocolDisconnect ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ENetProtocolDisconnect > ( ) , 1usize , concat ! ( "Alignment of " , stringify ! ( _ENetProtocolDisconnect ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolDisconnect > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolDisconnect ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolDisconnect > ( ) ) ) . data as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolDisconnect ) , "::" , stringify ! ( data ) ) ) ; } pub type ENetProtocolDisconnect = _ENetProtocolDisconnect ; # [ repr ( C , packed ) ] # [ derive ( Copy , Clone ) ] pub struct _ENetProtocolPing { pub header : ENetProtocolCommandHeader , } # [ test ] fn bindgen_test_layout__ENetProtocolPing ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ENetProtocolPing > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( _ENetProtocolPing ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ENetProtocolPing > ( ) , 1usize , concat ! ( "Alignment of " , stringify ! ( _ENetProtocolPing ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolPing > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolPing ) , "::" , stringify ! ( header ) ) ) ; } pub type ENetProtocolPing = _ENetProtocolPing ; # [ repr ( C , packed ) ] # [ derive ( Copy , Clone ) ] pub struct _ENetProtocolSendReliable { pub header : ENetProtocolCommandHeader , pub dataLength : enet_uint16 , } # [ test ] fn bindgen_test_layout__ENetProtocolSendReliable ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ENetProtocolSendReliable > ( ) , 6usize , concat ! ( "Size of: " , stringify ! ( _ENetProtocolSendReliable ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ENetProtocolSendReliable > ( ) , 1usize , concat ! ( "Alignment of " , stringify ! ( _ENetProtocolSendReliable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolSendReliable > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolSendReliable ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolSendReliable > ( ) ) ) . dataLength as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolSendReliable ) , "::" , stringify ! ( dataLength ) ) ) ; } pub type ENetProtocolSendReliable = _ENetProtocolSendReliable ; # [ repr ( C , packed ) ] # [ derive ( Copy , Clone ) ] pub struct _ENetProtocolSendUnreliable { pub header : ENetProtocolCommandHeader , pub unreliableSequenceNumber : enet_uint16 , pub dataLength : enet_uint16 , } # [ test ] fn bindgen_test_layout__ENetProtocolSendUnreliable ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ENetProtocolSendUnreliable > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _ENetProtocolSendUnreliable ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ENetProtocolSendUnreliable > ( ) , 1usize , concat ! ( "Alignment of " , stringify ! ( _ENetProtocolSendUnreliable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolSendUnreliable > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolSendUnreliable ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolSendUnreliable > ( ) ) ) . unreliableSequenceNumber as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolSendUnreliable ) , "::" , stringify ! ( unreliableSequenceNumber ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolSendUnreliable > ( ) ) ) . dataLength as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolSendUnreliable ) , "::" , stringify ! ( dataLength ) ) ) ; } pub type ENetProtocolSendUnreliable = _ENetProtocolSendUnreliable ; # [ repr ( C , packed ) ] # [ derive ( Copy , Clone ) ] pub struct _ENetProtocolSendUnsequenced { pub header : ENetProtocolCommandHeader , pub unsequencedGroup : enet_uint16 , pub dataLength : enet_uint16 , } # [ test ] fn bindgen_test_layout__ENetProtocolSendUnsequenced ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ENetProtocolSendUnsequenced > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _ENetProtocolSendUnsequenced ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ENetProtocolSendUnsequenced > ( ) , 1usize , concat ! ( "Alignment of " , stringify ! ( _ENetProtocolSendUnsequenced ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolSendUnsequenced > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolSendUnsequenced ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolSendUnsequenced > ( ) ) ) . unsequencedGroup as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolSendUnsequenced ) , "::" , stringify ! ( unsequencedGroup ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolSendUnsequenced > ( ) ) ) . dataLength as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolSendUnsequenced ) , "::" , stringify ! ( dataLength ) ) ) ; } pub type ENetProtocolSendUnsequenced = _ENetProtocolSendUnsequenced ; # [ repr ( C , packed ) ] # [ derive ( Copy , Clone ) ] pub struct _ENetProtocolSendFragment { pub header : ENetProtocolCommandHeader , pub startSequenceNumber : enet_uint16 , pub dataLength : enet_uint16 , pub fragmentCount : enet_uint32 , pub fragmentNumber : enet_uint32 , pub totalLength : enet_uint32 , pub fragmentOffset : enet_uint32 , } # [ test ] fn bindgen_test_layout__ENetProtocolSendFragment ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ENetProtocolSendFragment > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _ENetProtocolSendFragment ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ENetProtocolSendFragment > ( ) , 1usize , concat ! ( "Alignment of " , stringify ! ( _ENetProtocolSendFragment ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolSendFragment > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolSendFragment ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolSendFragment > ( ) ) ) . startSequenceNumber as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolSendFragment ) , "::" , stringify ! ( startSequenceNumber ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolSendFragment > ( ) ) ) . dataLength as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolSendFragment ) , "::" , stringify ! ( dataLength ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolSendFragment > ( ) ) ) . fragmentCount as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolSendFragment ) , "::" , stringify ! ( fragmentCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolSendFragment > ( ) ) ) . fragmentNumber as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolSendFragment ) , "::" , stringify ! ( fragmentNumber ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolSendFragment > ( ) ) ) . totalLength as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolSendFragment ) , "::" , stringify ! ( totalLength ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocolSendFragment > ( ) ) ) . fragmentOffset as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocolSendFragment ) , "::" , stringify ! ( fragmentOffset ) ) ) ; } pub type ENetProtocolSendFragment = _ENetProtocolSendFragment ; # [ repr ( C , packed ) ] # [ derive ( Copy , Clone ) ] pub union _ENetProtocol { pub header : ENetProtocolCommandHeader , pub acknowledge : ENetProtocolAcknowledge , pub connect : ENetProtocolConnect , pub verifyConnect : ENetProtocolVerifyConnect , pub disconnect : ENetProtocolDisconnect , pub ping : ENetProtocolPing , pub sendReliable : ENetProtocolSendReliable , pub sendUnreliable : ENetProtocolSendUnreliable , pub sendUnsequenced : ENetProtocolSendUnsequenced , pub sendFragment : ENetProtocolSendFragment , pub bandwidthLimit : ENetProtocolBandwidthLimit , pub throttleConfigure : ENetProtocolThrottleConfigure , _bindgen_union_align : [ u8 ; 48usize ] , } # [ test ] fn bindgen_test_layout__ENetProtocol ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ENetProtocol > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _ENetProtocol ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ENetProtocol > ( ) , 1usize , concat ! ( "Alignment of " , stringify ! ( _ENetProtocol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocol > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocol ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocol > ( ) ) ) . acknowledge as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocol ) , "::" , stringify ! ( acknowledge ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocol > ( ) ) ) . connect as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocol ) , "::" , stringify ! ( connect ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocol > ( ) ) ) . verifyConnect as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocol ) , "::" , stringify ! ( verifyConnect ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocol > ( ) ) ) . disconnect as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocol ) , "::" , stringify ! ( disconnect ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocol > ( ) ) ) . ping as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocol ) , "::" , stringify ! ( ping ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocol > ( ) ) ) . sendReliable as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocol ) , "::" , stringify ! ( sendReliable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocol > ( ) ) ) . sendUnreliable as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocol ) , "::" , stringify ! ( sendUnreliable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocol > ( ) ) ) . sendUnsequenced as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocol ) , "::" , stringify ! ( sendUnsequenced ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocol > ( ) ) ) . sendFragment as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocol ) , "::" , stringify ! ( sendFragment ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocol > ( ) ) ) . bandwidthLimit as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocol ) , "::" , stringify ! ( bandwidthLimit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetProtocol > ( ) ) ) . throttleConfigure as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetProtocol ) , "::" , stringify ! ( throttleConfigure ) ) ) ; } pub type ENetProtocol = _ENetProtocol ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _ENetListNode { pub next : * mut _ENetListNode , pub previous : * mut _ENetListNode , } # [ test ] fn bindgen_test_layout__ENetListNode ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ENetListNode > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _ENetListNode ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ENetListNode > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _ENetListNode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetListNode > ( ) ) ) . next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetListNode ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetListNode > ( ) ) ) . previous as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _ENetListNode ) , "::" , stringify ! ( previous ) ) ) ; } pub type ENetListNode = _ENetListNode ; pub type ENetListIterator = * mut ENetListNode ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _ENetList { pub sentinel : ENetListNode , } # [ test ] fn bindgen_test_layout__ENetList ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ENetList > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _ENetList ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ENetList > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _ENetList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetList > ( ) ) ) . sentinel as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetList ) , "::" , stringify ! ( sentinel ) ) ) ; } pub type ENetList = _ENetList ; extern "C" { pub fn enet_list_clear ( arg1 : * mut ENetList ) ; } extern "C" { pub fn enet_list_insert ( arg1 : ENetListIterator , arg2 : * mut :: std :: os :: raw :: c_void ) -> ENetListIterator ; } extern "C" { pub fn enet_list_remove ( arg1 : ENetListIterator ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn enet_list_move ( arg1 : ENetListIterator , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : * mut :: std :: os :: raw :: c_void ) -> ENetListIterator ; } extern "C" { pub fn enet_list_size ( arg1 : * mut ENetList ) -> usize ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _ENetCallbacks { pub malloc : :: std :: option :: Option < unsafe extern "C" fn ( size : usize ) -> * mut :: std :: os :: raw :: c_void > , pub free : :: std :: option :: Option < unsafe extern "C" fn ( memory : * mut :: std :: os :: raw :: c_void ) > , pub no_memory : :: std :: option :: Option < unsafe extern "C" fn ( ) > , } # [ test ] fn bindgen_test_layout__ENetCallbacks ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ENetCallbacks > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _ENetCallbacks ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ENetCallbacks > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _ENetCallbacks ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetCallbacks > ( ) ) ) . malloc as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetCallbacks ) , "::" , stringify ! ( malloc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetCallbacks > ( ) ) ) . free as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _ENetCallbacks ) , "::" , stringify ! ( free ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetCallbacks > ( ) ) ) . no_memory as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _ENetCallbacks ) , "::" , stringify ! ( no_memory ) ) ) ; } pub type ENetCallbacks = _ENetCallbacks ; extern "C" {
pub fn enet_malloc ( arg1 : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn enet_free ( arg1 : * mut :: std :: os :: raw :: c_void ) ; } pub type ENetVersion = enet_uint32 ; pub const _ENetSocketType_ENET_SOCKET_TYPE_STREAM : _ENetSocketType = 1 ; pub const _ENetSocketType_ENET_SOCKET_TYPE_DATAGRAM : _ENetSocketType = 2 ; pub type _ENetSocketType = u32 ; pub use self :: _ENetSocketType as ENetSocketType ; pub const _ENetSocketWait_ENET_SOCKET_WAIT_NONE : _ENetSocketWait = 0 ; pub const _ENetSocketWait_ENET_SOCKET_WAIT_SEND : _ENetSocketWait = 1 ; pub const _ENetSocketWait_ENET_SOCKET_WAIT_RECEIVE : _ENetSocketWait = 2 ; pub const _ENetSocketWait_ENET_SOCKET_WAIT_INTERRUPT : _ENetSocketWait = 4 ; pub type _ENetSocketWait = u32 ; pub use self :: _ENetSocketWait as ENetSocketWait ; pub const _ENetSocketOption_ENET_SOCKOPT_NONBLOCK : _ENetSocketOption = 1 ; pub const _ENetSocketOption_ENET_SOCKOPT_BROADCAST : _ENetSocketOption = 2 ; pub const _ENetSocketOption_ENET_SOCKOPT_RCVBUF : _ENetSocketOption = 3 ; pub const _ENetSocketOption_ENET_SOCKOPT_SNDBUF : _ENetSocketOption = 4 ; pub const _ENetSocketOption_ENET_SOCKOPT_REUSEADDR : _ENetSocketOption = 5 ; pub const _ENetSocketOption_ENET_SOCKOPT_RCVTIMEO : _ENetSocketOption = 6 ; pub const _ENetSocketOption_ENET_SOCKOPT_SNDTIMEO : _ENetSocketOption = 7 ; pub const _ENetSocketOption_ENET_SOCKOPT_ERROR : _ENetSocketOption = 8 ; pub const _ENetSocketOption_ENET_SOCKOPT_NODELAY : _ENetSocketOption = 9 ; pub type _ENetSocketOption = u32 ; pub use self :: _ENetSocketOption as ENetSocketOption ; pub const _ENetSocketShutdown_ENET_SOCKET_SHUTDOWN_READ : _ENetSocketShutdown = 0 ; pub const _ENetSocketShutdown_ENET_SOCKET_SHUTDOWN_WRITE : _ENetSocketShutdown = 1 ; pub const _ENetSocketShutdown_ENET_SOCKET_SHUTDOWN_READ_WRITE : _ENetSocketShutdown = 2 ; pub type _ENetSocketShutdown = u32 ; pub use self :: _ENetSocketShutdown as ENetSocketShutdown ;
# [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _ENetAddress { pub host : enet_uint32 , pub port : enet_uint16 , } # [ test ] fn bindgen_test_layout__ENetAddress ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ENetAddress > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( _ENetAddress ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ENetAddress > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( _ENetAddress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetAddress > ( ) ) ) . host as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetAddress ) , "::" , stringify ! ( host ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetAddress > ( ) ) ) . port as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _ENetAddress ) , "::" , stringify ! ( port ) ) ) ; } pub type ENetAddress = _ENetAddress ;
pub const _ENetPacketFlag_ENET_PACKET_FLAG_RELIABLE : _ENetPacketFlag = 1 ;
pub const _ENetPacketFlag_ENET_PACKET_FLAG_UNSEQUENCED : _ENetPacketFlag = 2 ;
pub const _ENetPacketFlag_ENET_PACKET_FLAG_NO_ALLOCATE : _ENetPacketFlag = 4 ;
pub const _ENetPacketFlag_ENET_PACKET_FLAG_UNRELIABLE_FRAGMENT : _ENetPacketFlag = 8 ;
pub const _ENetPacketFlag_ENET_PACKET_FLAG_SENT : _ENetPacketFlag = 256 ;
pub type _ENetPacketFlag = u32 ; pub use self :: _ENetPacketFlag as ENetPacketFlag ; pub type ENetPacketFreeCallback = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut _ENetPacket ) > ;
# [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _ENetPacket {
pub referenceCount : usize ,
pub flags : enet_uint32 ,
pub data : * mut enet_uint8 ,
pub dataLength : usize ,
pub freeCallback : ENetPacketFreeCallback ,
pub userData : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout__ENetPacket ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ENetPacket > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( _ENetPacket ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ENetPacket > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _ENetPacket ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPacket > ( ) ) ) . referenceCount as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPacket ) , "::" , stringify ! ( referenceCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPacket > ( ) ) ) . flags as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPacket ) , "::" , stringify ! ( flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPacket > ( ) ) ) . data as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPacket ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPacket > ( ) ) ) . dataLength as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPacket ) , "::" , stringify ! ( dataLength ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPacket > ( ) ) ) . freeCallback as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPacket ) , "::" , stringify ! ( freeCallback ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPacket > ( ) ) ) . userData as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPacket ) , "::" , stringify ! ( userData ) ) ) ; } pub type ENetPacket = _ENetPacket ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _ENetAcknowledgement { pub acknowledgementList : ENetListNode , pub sentTime : enet_uint32 , pub command : ENetProtocol , } # [ test ] fn bindgen_test_layout__ENetAcknowledgement ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ENetAcknowledgement > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( _ENetAcknowledgement ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ENetAcknowledgement > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _ENetAcknowledgement ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetAcknowledgement > ( ) ) ) . acknowledgementList as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetAcknowledgement ) , "::" , stringify ! ( acknowledgementList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetAcknowledgement > ( ) ) ) . sentTime as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _ENetAcknowledgement ) , "::" , stringify ! ( sentTime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetAcknowledgement > ( ) ) ) . command as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( _ENetAcknowledgement ) , "::" , stringify ! ( command ) ) ) ; } pub type ENetAcknowledgement = _ENetAcknowledgement ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _ENetOutgoingCommand { pub outgoingCommandList : ENetListNode , pub reliableSequenceNumber : enet_uint16 , pub unreliableSequenceNumber : enet_uint16 , pub sentTime : enet_uint32 , pub roundTripTimeout : enet_uint32 , pub roundTripTimeoutLimit : enet_uint32 , pub fragmentOffset : enet_uint32 , pub fragmentLength : enet_uint16 , pub sendAttempts : enet_uint16 , pub command : ENetProtocol , pub packet : * mut ENetPacket , } # [ test ] fn bindgen_test_layout__ENetOutgoingCommand ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ENetOutgoingCommand > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( _ENetOutgoingCommand ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ENetOutgoingCommand > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _ENetOutgoingCommand ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetOutgoingCommand > ( ) ) ) . outgoingCommandList as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetOutgoingCommand ) , "::" , stringify ! ( outgoingCommandList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetOutgoingCommand > ( ) ) ) . reliableSequenceNumber as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _ENetOutgoingCommand ) , "::" , stringify ! ( reliableSequenceNumber ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetOutgoingCommand > ( ) ) ) . unreliableSequenceNumber as * const _ as usize } , 18usize , concat ! ( "Offset of field: " , stringify ! ( _ENetOutgoingCommand ) , "::" , stringify ! ( unreliableSequenceNumber ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetOutgoingCommand > ( ) ) ) . sentTime as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( _ENetOutgoingCommand ) , "::" , stringify ! ( sentTime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetOutgoingCommand > ( ) ) ) . roundTripTimeout as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _ENetOutgoingCommand ) , "::" , stringify ! ( roundTripTimeout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetOutgoingCommand > ( ) ) ) . roundTripTimeoutLimit as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( _ENetOutgoingCommand ) , "::" , stringify ! ( roundTripTimeoutLimit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetOutgoingCommand > ( ) ) ) . fragmentOffset as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _ENetOutgoingCommand ) , "::" , stringify ! ( fragmentOffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetOutgoingCommand > ( ) ) ) . fragmentLength as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _ENetOutgoingCommand ) , "::" , stringify ! ( fragmentLength ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetOutgoingCommand > ( ) ) ) . sendAttempts as * const _ as usize } , 38usize , concat ! ( "Offset of field: " , stringify ! ( _ENetOutgoingCommand ) , "::" , stringify ! ( sendAttempts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetOutgoingCommand > ( ) ) ) . command as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _ENetOutgoingCommand ) , "::" , stringify ! ( command ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetOutgoingCommand > ( ) ) ) . packet as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _ENetOutgoingCommand ) , "::" , stringify ! ( packet ) ) ) ; } pub type ENetOutgoingCommand = _ENetOutgoingCommand ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _ENetIncomingCommand { pub incomingCommandList : ENetListNode , pub reliableSequenceNumber : enet_uint16 , pub unreliableSequenceNumber : enet_uint16 , pub command : ENetProtocol , pub fragmentCount : enet_uint32 , pub fragmentsRemaining : enet_uint32 , pub fragments : * mut enet_uint32 , pub packet : * mut ENetPacket , } # [ test ] fn bindgen_test_layout__ENetIncomingCommand ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ENetIncomingCommand > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( _ENetIncomingCommand ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ENetIncomingCommand > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _ENetIncomingCommand ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetIncomingCommand > ( ) ) ) . incomingCommandList as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetIncomingCommand ) , "::" , stringify ! ( incomingCommandList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetIncomingCommand > ( ) ) ) . reliableSequenceNumber as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _ENetIncomingCommand ) , "::" , stringify ! ( reliableSequenceNumber ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetIncomingCommand > ( ) ) ) . unreliableSequenceNumber as * const _ as usize } , 18usize , concat ! ( "Offset of field: " , stringify ! ( _ENetIncomingCommand ) , "::" , stringify ! ( unreliableSequenceNumber ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetIncomingCommand > ( ) ) ) . command as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( _ENetIncomingCommand ) , "::" , stringify ! ( command ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetIncomingCommand > ( ) ) ) . fragmentCount as * const _ as usize } , 68usize , concat ! ( "Offset of field: " , stringify ! ( _ENetIncomingCommand ) , "::" , stringify ! ( fragmentCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetIncomingCommand > ( ) ) ) . fragmentsRemaining as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _ENetIncomingCommand ) , "::" , stringify ! ( fragmentsRemaining ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetIncomingCommand > ( ) ) ) . fragments as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _ENetIncomingCommand ) , "::" , stringify ! ( fragments ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetIncomingCommand > ( ) ) ) . packet as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _ENetIncomingCommand ) , "::" , stringify ! ( packet ) ) ) ; } pub type ENetIncomingCommand = _ENetIncomingCommand ; pub const _ENetPeerState_ENET_PEER_STATE_DISCONNECTED : _ENetPeerState = 0 ; pub const _ENetPeerState_ENET_PEER_STATE_CONNECTING : _ENetPeerState = 1 ; pub const _ENetPeerState_ENET_PEER_STATE_ACKNOWLEDGING_CONNECT : _ENetPeerState = 2 ; pub const _ENetPeerState_ENET_PEER_STATE_CONNECTION_PENDING : _ENetPeerState = 3 ; pub const _ENetPeerState_ENET_PEER_STATE_CONNECTION_SUCCEEDED : _ENetPeerState = 4 ; pub const _ENetPeerState_ENET_PEER_STATE_CONNECTED : _ENetPeerState = 5 ; pub const _ENetPeerState_ENET_PEER_STATE_DISCONNECT_LATER : _ENetPeerState = 6 ; pub const _ENetPeerState_ENET_PEER_STATE_DISCONNECTING : _ENetPeerState = 7 ; pub const _ENetPeerState_ENET_PEER_STATE_ACKNOWLEDGING_DISCONNECT : _ENetPeerState = 8 ; pub const _ENetPeerState_ENET_PEER_STATE_ZOMBIE : _ENetPeerState = 9 ; pub type _ENetPeerState = u32 ; pub use self :: _ENetPeerState as ENetPeerState ; pub const ENET_HOST_RECEIVE_BUFFER_SIZE : _bindgen_ty_11 = 262144 ; pub const ENET_HOST_SEND_BUFFER_SIZE : _bindgen_ty_11 = 262144 ; pub const ENET_HOST_BANDWIDTH_THROTTLE_INTERVAL : _bindgen_ty_11 = 1000 ; pub const ENET_HOST_DEFAULT_MTU : _bindgen_ty_11 = 1400 ; pub const ENET_HOST_DEFAULT_MAXIMUM_PACKET_SIZE : _bindgen_ty_11 = 33554432 ; pub const ENET_HOST_DEFAULT_MAXIMUM_WAITING_DATA : _bindgen_ty_11 = 33554432 ; pub const ENET_PEER_DEFAULT_ROUND_TRIP_TIME : _bindgen_ty_11 = 500 ; pub const ENET_PEER_DEFAULT_PACKET_THROTTLE : _bindgen_ty_11 = 32 ; pub const ENET_PEER_PACKET_THROTTLE_SCALE : _bindgen_ty_11 = 32 ; pub const ENET_PEER_PACKET_THROTTLE_COUNTER : _bindgen_ty_11 = 7 ; pub const ENET_PEER_PACKET_THROTTLE_ACCELERATION : _bindgen_ty_11 = 2 ; pub const ENET_PEER_PACKET_THROTTLE_DECELERATION : _bindgen_ty_11 = 2 ; pub const ENET_PEER_PACKET_THROTTLE_INTERVAL : _bindgen_ty_11 = 5000 ; pub const ENET_PEER_PACKET_LOSS_SCALE : _bindgen_ty_11 = 65536 ; pub const ENET_PEER_PACKET_LOSS_INTERVAL : _bindgen_ty_11 = 10000 ; pub const ENET_PEER_WINDOW_SIZE_SCALE : _bindgen_ty_11 = 65536 ; pub const ENET_PEER_TIMEOUT_LIMIT : _bindgen_ty_11 = 32 ; pub const ENET_PEER_TIMEOUT_MINIMUM : _bindgen_ty_11 = 5000 ; pub const ENET_PEER_TIMEOUT_MAXIMUM : _bindgen_ty_11 = 30000 ; pub const ENET_PEER_PING_INTERVAL : _bindgen_ty_11 = 500 ; pub const ENET_PEER_UNSEQUENCED_WINDOWS : _bindgen_ty_11 = 64 ; pub const ENET_PEER_UNSEQUENCED_WINDOW_SIZE : _bindgen_ty_11 = 1024 ; pub const ENET_PEER_FREE_UNSEQUENCED_WINDOWS : _bindgen_ty_11 = 32 ; pub const ENET_PEER_RELIABLE_WINDOWS : _bindgen_ty_11 = 16 ; pub const ENET_PEER_RELIABLE_WINDOW_SIZE : _bindgen_ty_11 = 4096 ; pub const ENET_PEER_FREE_RELIABLE_WINDOWS : _bindgen_ty_11 = 8 ; pub type _bindgen_ty_11 = u32 ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _ENetChannel { pub outgoingReliableSequenceNumber : enet_uint16 , pub outgoingUnreliableSequenceNumber : enet_uint16 , pub usedReliableWindows : enet_uint16 , pub reliableWindows : [ enet_uint16 ; 16usize ] , pub incomingReliableSequenceNumber : enet_uint16 , pub incomingUnreliableSequenceNumber : enet_uint16 , pub incomingReliableCommands : ENetList , pub incomingUnreliableCommands : ENetList , } # [ test ] fn bindgen_test_layout__ENetChannel ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ENetChannel > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( _ENetChannel ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ENetChannel > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _ENetChannel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetChannel > ( ) ) ) . outgoingReliableSequenceNumber as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetChannel ) , "::" , stringify ! ( outgoingReliableSequenceNumber ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetChannel > ( ) ) ) . outgoingUnreliableSequenceNumber as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( _ENetChannel ) , "::" , stringify ! ( outgoingUnreliableSequenceNumber ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetChannel > ( ) ) ) . usedReliableWindows as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _ENetChannel ) , "::" , stringify ! ( usedReliableWindows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetChannel > ( ) ) ) . reliableWindows as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( _ENetChannel ) , "::" , stringify ! ( reliableWindows ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetChannel > ( ) ) ) . incomingReliableSequenceNumber as * const _ as usize } , 38usize , concat ! ( "Offset of field: " , stringify ! ( _ENetChannel ) , "::" , stringify ! ( incomingReliableSequenceNumber ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetChannel > ( ) ) ) . incomingUnreliableSequenceNumber as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _ENetChannel ) , "::" , stringify ! ( incomingUnreliableSequenceNumber ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetChannel > ( ) ) ) . incomingReliableCommands as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _ENetChannel ) , "::" , stringify ! ( incomingReliableCommands ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetChannel > ( ) ) ) . incomingUnreliableCommands as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _ENetChannel ) , "::" , stringify ! ( incomingUnreliableCommands ) ) ) ; } pub type ENetChannel = _ENetChannel ;
# [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _ENetPeer { pub dispatchList : ENetListNode , pub host : * mut _ENetHost , pub outgoingPeerID : enet_uint16 , pub incomingPeerID : enet_uint16 , pub connectID : enet_uint32 , pub outgoingSessionID : enet_uint8 , pub incomingSessionID : enet_uint8 ,
pub address : ENetAddress ,
pub data : * mut :: std :: os :: raw :: c_void , pub state : ENetPeerState , pub channels : * mut ENetChannel ,
pub channelCount : usize ,
pub incomingBandwidth : enet_uint32 ,
pub outgoingBandwidth : enet_uint32 , pub incomingBandwidthThrottleEpoch : enet_uint32 , pub outgoingBandwidthThrottleEpoch : enet_uint32 , pub incomingDataTotal : enet_uint32 , pub outgoingDataTotal : enet_uint32 , pub lastSendTime : enet_uint32 , pub lastReceiveTime : enet_uint32 , pub nextTimeout : enet_uint32 , pub earliestTimeout : enet_uint32 , pub packetLossEpoch : enet_uint32 , pub packetsSent : enet_uint32 , pub packetsLost : enet_uint32 ,
pub packetLoss : enet_uint32 , pub packetLossVariance : enet_uint32 , pub packetThrottle : enet_uint32 , pub packetThrottleLimit : enet_uint32 , pub packetThrottleCounter : enet_uint32 , pub packetThrottleEpoch : enet_uint32 , pub packetThrottleAcceleration : enet_uint32 , pub packetThrottleDeceleration : enet_uint32 , pub packetThrottleInterval : enet_uint32 , pub pingInterval : enet_uint32 , pub timeoutLimit : enet_uint32 , pub timeoutMinimum : enet_uint32 , pub timeoutMaximum : enet_uint32 , pub lastRoundTripTime : enet_uint32 , pub lowestRoundTripTime : enet_uint32 , pub lastRoundTripTimeVariance : enet_uint32 , pub highestRoundTripTimeVariance : enet_uint32 ,
pub roundTripTime : enet_uint32 , pub roundTripTimeVariance : enet_uint32 , pub mtu : enet_uint32 , pub windowSize : enet_uint32 , pub reliableDataInTransit : enet_uint32 , pub outgoingReliableSequenceNumber : enet_uint16 , pub acknowledgements : ENetList , pub sentReliableCommands : ENetList , pub sentUnreliableCommands : ENetList , pub outgoingReliableCommands : ENetList , pub outgoingUnreliableCommands : ENetList , pub dispatchedCommands : ENetList , pub needsDispatch : :: std :: os :: raw :: c_int , pub incomingUnsequencedGroup : enet_uint16 , pub outgoingUnsequencedGroup : enet_uint16 , pub unsequencedWindow : [ enet_uint32 ; 32usize ] , pub eventData : enet_uint32 , pub totalWaitingData : usize , } # [ test ] fn bindgen_test_layout__ENetPeer ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ENetPeer > ( ) , 472usize , concat ! ( "Size of: " , stringify ! ( _ENetPeer ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ENetPeer > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _ENetPeer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . dispatchList as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( dispatchList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . host as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( host ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . outgoingPeerID as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( outgoingPeerID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . incomingPeerID as * const _ as usize } , 26usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( incomingPeerID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . connectID as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( connectID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . outgoingSessionID as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( outgoingSessionID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . incomingSessionID as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( incomingSessionID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . address as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( address ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . data as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . state as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( state ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . channels as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( channels ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . channelCount as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( channelCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . incomingBandwidth as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( incomingBandwidth ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . outgoingBandwidth as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( outgoingBandwidth ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . incomingBandwidthThrottleEpoch as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( incomingBandwidthThrottleEpoch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . outgoingBandwidthThrottleEpoch as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( outgoingBandwidthThrottleEpoch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . incomingDataTotal as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( incomingDataTotal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . outgoingDataTotal as * const _ as usize } , 100usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( outgoingDataTotal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . lastSendTime as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( lastSendTime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . lastReceiveTime as * const _ as usize } , 108usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( lastReceiveTime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . nextTimeout as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( nextTimeout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . earliestTimeout as * const _ as usize } , 116usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( earliestTimeout ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . packetLossEpoch as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( packetLossEpoch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . packetsSent as * const _ as usize } , 124usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( packetsSent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . packetsLost as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( packetsLost ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . packetLoss as * const _ as usize } , 132usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( packetLoss ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . packetLossVariance as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( packetLossVariance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . packetThrottle as * const _ as usize } , 140usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( packetThrottle ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . packetThrottleLimit as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( packetThrottleLimit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . packetThrottleCounter as * const _ as usize } , 148usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( packetThrottleCounter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . packetThrottleEpoch as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( packetThrottleEpoch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . packetThrottleAcceleration as * const _ as usize } , 156usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( packetThrottleAcceleration ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . packetThrottleDeceleration as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( packetThrottleDeceleration ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . packetThrottleInterval as * const _ as usize } , 164usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( packetThrottleInterval ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . pingInterval as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( pingInterval ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . timeoutLimit as * const _ as usize } , 172usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( timeoutLimit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . timeoutMinimum as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( timeoutMinimum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . timeoutMaximum as * const _ as usize } , 180usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( timeoutMaximum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . lastRoundTripTime as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( lastRoundTripTime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . lowestRoundTripTime as * const _ as usize } , 188usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( lowestRoundTripTime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . lastRoundTripTimeVariance as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( lastRoundTripTimeVariance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . highestRoundTripTimeVariance as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( highestRoundTripTimeVariance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . roundTripTime as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( roundTripTime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . roundTripTimeVariance as * const _ as usize } , 204usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( roundTripTimeVariance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . mtu as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( mtu ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . windowSize as * const _ as usize } , 212usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( windowSize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . reliableDataInTransit as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( reliableDataInTransit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . outgoingReliableSequenceNumber as * const _ as usize } , 220usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( outgoingReliableSequenceNumber ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . acknowledgements as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( acknowledgements ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . sentReliableCommands as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( sentReliableCommands ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . sentUnreliableCommands as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( sentUnreliableCommands ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . outgoingReliableCommands as * const _ as usize } , 272usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( outgoingReliableCommands ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . outgoingUnreliableCommands as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( outgoingUnreliableCommands ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . dispatchedCommands as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( dispatchedCommands ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . needsDispatch as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( needsDispatch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . incomingUnsequencedGroup as * const _ as usize } , 324usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( incomingUnsequencedGroup ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . outgoingUnsequencedGroup as * const _ as usize } , 326usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( outgoingUnsequencedGroup ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . unsequencedWindow as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( unsequencedWindow ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . eventData as * const _ as usize } , 456usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( eventData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetPeer > ( ) ) ) . totalWaitingData as * const _ as usize } , 464usize , concat ! ( "Offset of field: " , stringify ! ( _ENetPeer ) , "::" , stringify ! ( totalWaitingData ) ) ) ; } pub type ENetPeer = _ENetPeer ;
# [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _ENetCompressor {
pub context : * mut :: std :: os :: raw :: c_void ,
pub compress : :: std :: option :: Option < unsafe extern "C" fn ( context : * mut :: std :: os :: raw :: c_void , inBuffers : * const ENetBuffer , inBufferCount : usize , inLimit : usize , outData : * mut enet_uint8 , outLimit : usize ) -> usize > ,
pub decompress : :: std :: option :: Option < unsafe extern "C" fn ( context : * mut :: std :: os :: raw :: c_void , inData : * const enet_uint8 , inLimit : usize , outData : * mut enet_uint8 , outLimit : usize ) -> usize > ,
pub destroy : :: std :: option :: Option < unsafe extern "C" fn ( context : * mut :: std :: os :: raw :: c_void ) > , } # [ test ] fn bindgen_test_layout__ENetCompressor ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ENetCompressor > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _ENetCompressor ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ENetCompressor > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _ENetCompressor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetCompressor > ( ) ) ) . context as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetCompressor ) , "::" , stringify ! ( context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetCompressor > ( ) ) ) . compress as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _ENetCompressor ) , "::" , stringify ! ( compress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetCompressor > ( ) ) ) . decompress as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _ENetCompressor ) , "::" , stringify ! ( decompress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetCompressor > ( ) ) ) . destroy as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _ENetCompressor ) , "::" , stringify ! ( destroy ) ) ) ; } pub type ENetCompressor = _ENetCompressor ;
pub type ENetChecksumCallback = :: std :: option :: Option < unsafe extern "C" fn ( buffers : * const ENetBuffer , bufferCount : usize ) -> enet_uint32 > ;
pub type ENetInterceptCallback = :: std :: option :: Option < unsafe extern "C" fn ( host : * mut _ENetHost , event : * mut _ENetEvent ) -> :: std :: os :: raw :: c_int > ;
# [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _ENetHost { pub socket : ENetSocket ,
pub address : ENetAddress ,
pub incomingBandwidth : enet_uint32 ,
pub outgoingBandwidth : enet_uint32 , pub bandwidthThrottleEpoch : enet_uint32 , pub mtu : enet_uint32 , pub randomSeed : enet_uint32 , pub recalculateBandwidthLimits : :: std :: os :: raw :: c_int ,
pub peers : * mut ENetPeer ,
pub peerCount : usize ,
pub channelLimit : usize , pub serviceTime : enet_uint32 , pub dispatchQueue : ENetList , pub continueSending : :: std :: os :: raw :: c_int , pub packetSize : usize , pub headerFlags : enet_uint16 , pub commands : [ ENetProtocol ; 32usize ] , pub commandCount : usize , pub buffers : [ ENetBuffer ; 65usize ] , pub bufferCount : usize ,
pub checksum : ENetChecksumCallback , pub compressor : ENetCompressor , pub packetData : [ [ enet_uint8 ; 4096usize ] ; 2usize ] , pub receivedAddress : ENetAddress , pub receivedData : * mut enet_uint8 , pub receivedDataLength : usize ,
pub totalSentData : enet_uint32 ,
pub totalSentPackets : enet_uint32 ,
pub totalReceivedData : enet_uint32 ,
pub totalReceivedPackets : enet_uint32 ,
pub intercept : ENetInterceptCallback , pub connectedPeers : usize , pub bandwidthLimitedPeers : usize ,
pub duplicatePeers : usize ,
pub maximumPacketSize : usize ,
pub maximumWaitingData : usize , } # [ test ] fn bindgen_test_layout__ENetHost ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ENetHost > ( ) , 11024usize , concat ! ( "Size of: " , stringify ! ( _ENetHost ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ENetHost > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _ENetHost ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . socket as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( socket ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . address as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( address ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . incomingBandwidth as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( incomingBandwidth ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . outgoingBandwidth as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( outgoingBandwidth ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . bandwidthThrottleEpoch as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( bandwidthThrottleEpoch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . mtu as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( mtu ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . randomSeed as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( randomSeed ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . recalculateBandwidthLimits as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( recalculateBandwidthLimits ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . peers as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( peers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . peerCount as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( peerCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . channelLimit as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( channelLimit ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . serviceTime as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( serviceTime ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . dispatchQueue as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( dispatchQueue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . continueSending as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( continueSending ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . packetSize as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( packetSize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . headerFlags as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( headerFlags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . commands as * const _ as usize } , 106usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( commands ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . commandCount as * const _ as usize } , 1648usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( commandCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . buffers as * const _ as usize } , 1656usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( buffers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . bufferCount as * const _ as usize } , 2696usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( bufferCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . checksum as * const _ as usize } , 2704usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( checksum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . compressor as * const _ as usize } , 2712usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( compressor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . packetData as * const _ as usize } , 2744usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( packetData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . receivedAddress as * const _ as usize } , 10936usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( receivedAddress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . receivedData as * const _ as usize } , 10944usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( receivedData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . receivedDataLength as * const _ as usize } , 10952usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( receivedDataLength ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . totalSentData as * const _ as usize } , 10960usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( totalSentData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . totalSentPackets as * const _ as usize } , 10964usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( totalSentPackets ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . totalReceivedData as * const _ as usize } , 10968usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( totalReceivedData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . totalReceivedPackets as * const _ as usize } , 10972usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( totalReceivedPackets ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . intercept as * const _ as usize } , 10976usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( intercept ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . connectedPeers as * const _ as usize } , 10984usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( connectedPeers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . bandwidthLimitedPeers as * const _ as usize } , 10992usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( bandwidthLimitedPeers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . duplicatePeers as * const _ as usize } , 11000usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( duplicatePeers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . maximumPacketSize as * const _ as usize } , 11008usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( maximumPacketSize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetHost > ( ) ) ) . maximumWaitingData as * const _ as usize } , 11016usize , concat ! ( "Offset of field: " , stringify ! ( _ENetHost ) , "::" , stringify ! ( maximumWaitingData ) ) ) ; } pub type ENetHost = _ENetHost ;
pub const _ENetEventType_ENET_EVENT_TYPE_NONE : _ENetEventType = 0 ;
pub const _ENetEventType_ENET_EVENT_TYPE_CONNECT : _ENetEventType = 1 ;
pub const _ENetEventType_ENET_EVENT_TYPE_DISCONNECT : _ENetEventType = 2 ;
pub const _ENetEventType_ENET_EVENT_TYPE_RECEIVE : _ENetEventType = 3 ;
pub type _ENetEventType = u32 ; pub use self :: _ENetEventType as ENetEventType ;
# [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _ENetEvent {
pub type_ : ENetEventType ,
pub peer : * mut ENetPeer ,
pub channelID : enet_uint8 ,
pub data : enet_uint32 ,
pub packet : * mut ENetPacket , } # [ test ] fn bindgen_test_layout__ENetEvent ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _ENetEvent > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( _ENetEvent ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _ENetEvent > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _ENetEvent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetEvent > ( ) ) ) . type_ as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _ENetEvent ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetEvent > ( ) ) ) . peer as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _ENetEvent ) , "::" , stringify ! ( peer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetEvent > ( ) ) ) . channelID as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _ENetEvent ) , "::" , stringify ! ( channelID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetEvent > ( ) ) ) . data as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( _ENetEvent ) , "::" , stringify ! ( data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _ENetEvent > ( ) ) ) . packet as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _ENetEvent ) , "::" , stringify ! ( packet ) ) ) ; } pub type ENetEvent = _ENetEvent ; extern "C" {
pub fn enet_initialize ( ) -> :: std :: os :: raw :: c_int ; } extern "C" {
pub fn enet_initialize_with_callbacks ( version : ENetVersion , inits : * const ENetCallbacks ) -> :: std :: os :: raw :: c_int ; } extern "C" {
pub fn enet_deinitialize ( ) ; } extern "C" {
pub fn enet_linked_version ( ) -> ENetVersion ; } extern "C" {
pub fn enet_time_get ( ) -> enet_uint32 ; } extern "C" {
pub fn enet_time_set ( arg1 : enet_uint32 ) ; } extern "C" {
pub fn enet_socket_create ( arg1 : ENetSocketType ) -> ENetSocket ; } extern "C" { pub fn enet_socket_bind ( arg1 : ENetSocket , arg2 : * const ENetAddress ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn enet_socket_get_address ( arg1 : ENetSocket , arg2 : * mut ENetAddress ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn enet_socket_listen ( arg1 : ENetSocket , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn enet_socket_accept ( arg1 : ENetSocket , arg2 : * mut ENetAddress ) -> ENetSocket ; } extern "C" { pub fn enet_socket_connect ( arg1 : ENetSocket , arg2 : * const ENetAddress ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn enet_socket_send ( arg1 : ENetSocket , arg2 : * const ENetAddress , arg3 : * const ENetBuffer , arg4 : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn enet_socket_receive ( arg1 : ENetSocket , arg2 : * mut ENetAddress , arg3 : * mut ENetBuffer , arg4 : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn enet_socket_wait ( arg1 : ENetSocket , arg2 : * mut enet_uint32 , arg3 : enet_uint32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn enet_socket_set_option ( arg1 : ENetSocket , arg2 : ENetSocketOption , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn enet_socket_get_option ( arg1 : ENetSocket , arg2 : ENetSocketOption , arg3 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn enet_socket_shutdown ( arg1 : ENetSocket , arg2 : ENetSocketShutdown ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn enet_socket_destroy ( arg1 : ENetSocket ) ; } extern "C" { pub fn enet_socketset_select ( arg1 : ENetSocket , arg2 : * mut ENetSocketSet , arg3 : * mut ENetSocketSet , arg4 : enet_uint32 ) -> :: std :: os :: raw :: c_int ; } extern "C" {
pub fn enet_address_set_host ( address : * mut ENetAddress , hostName : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" {
pub fn enet_address_get_host_ip ( address : * const ENetAddress , hostName : * mut :: std :: os :: raw :: c_char , nameLength : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" {
pub fn enet_address_get_host ( address : * const ENetAddress , hostName : * mut :: std :: os :: raw :: c_char , nameLength : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" {
pub fn enet_packet_create ( arg1 : * const :: std :: os :: raw :: c_void , arg2 : usize , arg3 : enet_uint32 ) -> * mut ENetPacket ; } extern "C" { pub fn enet_packet_destroy ( arg1 : * mut ENetPacket ) ; } extern "C" { pub fn enet_packet_resize ( arg1 : * mut ENetPacket , arg2 : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn enet_crc32 ( arg1 : * const ENetBuffer , arg2 : usize ) -> enet_uint32 ; } extern "C" { pub fn enet_host_create ( arg1 : * const ENetAddress , arg2 : usize , arg3 : usize , arg4 : enet_uint32 , arg5 : enet_uint32 ) -> * mut ENetHost ; } extern "C" { pub fn enet_host_destroy ( arg1 : * mut ENetHost ) ; } extern "C" { pub fn enet_host_connect ( arg1 : * mut ENetHost , arg2 : * const ENetAddress , arg3 : usize , arg4 : enet_uint32 ) -> * mut ENetPeer ; } extern "C" { pub fn enet_host_check_events ( arg1 : * mut ENetHost , arg2 : * mut ENetEvent ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn enet_host_service ( arg1 : * mut ENetHost , arg2 : * mut ENetEvent , arg3 : enet_uint32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn enet_host_flush ( arg1 : * mut ENetHost ) ; } extern "C" { pub fn enet_host_broadcast ( arg1 : * mut ENetHost , arg2 : enet_uint8 , arg3 : * mut ENetPacket ) ; } extern "C" { pub fn enet_host_compress ( arg1 : * mut ENetHost , arg2 : * const ENetCompressor ) ; } extern "C" { pub fn enet_host_compress_with_range_coder ( host : * mut ENetHost ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn enet_host_channel_limit ( arg1 : * mut ENetHost , arg2 : usize ) ; } extern "C" { pub fn enet_host_bandwidth_limit ( arg1 : * mut ENetHost , arg2 : enet_uint32 , arg3 : enet_uint32 ) ; } extern "C" { pub fn enet_host_bandwidth_throttle ( arg1 : * mut ENetHost ) ; } extern "C" { pub fn enet_host_random_seed ( ) -> enet_uint32 ; } extern "C" { pub fn enet_peer_send ( arg1 : * mut ENetPeer , arg2 : enet_uint8 , arg3 : * mut ENetPacket ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn enet_peer_receive ( arg1 : * mut ENetPeer , channelID : * mut enet_uint8 ) -> * mut ENetPacket ; } extern "C" { pub fn enet_peer_ping ( arg1 : * mut ENetPeer ) ; } extern "C" { pub fn enet_peer_ping_interval ( arg1 : * mut ENetPeer , arg2 : enet_uint32 ) ; } extern "C" { pub fn enet_peer_timeout ( arg1 : * mut ENetPeer , arg2 : enet_uint32 , arg3 : enet_uint32 , arg4 : enet_uint32 ) ; } extern "C" { pub fn enet_peer_reset ( arg1 : * mut ENetPeer ) ; } extern "C" { pub fn enet_peer_disconnect ( arg1 : * mut ENetPeer , arg2 : enet_uint32 ) ; } extern "C" { pub fn enet_peer_disconnect_now ( arg1 : * mut ENetPeer , arg2 : enet_uint32 ) ; } extern "C" { pub fn enet_peer_disconnect_later ( arg1 : * mut ENetPeer , arg2 : enet_uint32 ) ; } extern "C" { pub fn enet_peer_throttle_configure ( arg1 : * mut ENetPeer , arg2 : enet_uint32 , arg3 : enet_uint32 , arg4 : enet_uint32 ) ; } extern "C" { pub fn enet_peer_throttle ( arg1 : * mut ENetPeer , arg2 : enet_uint32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn enet_peer_reset_queues ( arg1 : * mut ENetPeer ) ; } extern "C" { pub fn enet_peer_setup_outgoing_command ( arg1 : * mut ENetPeer , arg2 : * mut ENetOutgoingCommand ) ; } extern "C" { pub fn enet_peer_queue_outgoing_command ( arg1 : * mut ENetPeer , arg2 : * const ENetProtocol , arg3 : * mut ENetPacket , arg4 : enet_uint32 , arg5 : enet_uint16 ) -> * mut ENetOutgoingCommand ; } extern "C" { pub fn enet_peer_queue_incoming_command ( arg1 : * mut ENetPeer , arg2 : * const ENetProtocol , arg3 : * const :: std :: os :: raw :: c_void , arg4 : usize , arg5 : enet_uint32 , arg6 : enet_uint32 ) -> * mut ENetIncomingCommand ; } extern "C" { pub fn enet_peer_queue_acknowledgement ( arg1 : * mut ENetPeer , arg2 : * const ENetProtocol , arg3 : enet_uint16 ) -> * mut ENetAcknowledgement ; } extern "C" { pub fn enet_peer_dispatch_incoming_unreliable_commands ( arg1 : * mut ENetPeer , arg2 : * mut ENetChannel ) ; } extern "C" { pub fn enet_peer_dispatch_incoming_reliable_commands ( arg1 : * mut ENetPeer , arg2 : * mut ENetChannel ) ; } extern "C" { pub fn enet_peer_on_connect ( arg1 : * mut ENetPeer ) ; } extern "C" { pub fn enet_peer_on_disconnect ( arg1 : * mut ENetPeer ) ; } extern "C" { pub fn enet_range_coder_create ( ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn enet_range_coder_destroy ( arg1 : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn enet_range_coder_compress ( arg1 : * mut :: std :: os :: raw :: c_void , arg2 : * const ENetBuffer , arg3 : usize , arg4 : usize , arg5 : * mut enet_uint8 , arg6 : usize ) -> usize ; } extern "C" { pub fn enet_range_coder_decompress ( arg1 : * mut :: std :: os :: raw :: c_void , arg2 : * const enet_uint8 , arg3 : usize , arg4 : * mut enet_uint8 , arg5 : usize ) -> usize ; } extern "C" { pub fn enet_protocol_command_size ( arg1 : enet_uint8 ) -> usize ; }