#[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub struct __BindgenBitfieldUnit<Storage, Align> {
storage: Storage,
align: [Align; 0],
}
impl<Storage, Align> __BindgenBitfieldUnit<Storage, Align> {
#[inline]
pub const fn new(storage: Storage) -> Self {
Self { storage, align: [] }
}
}
impl<Storage, Align> __BindgenBitfieldUnit<Storage, Align>
where
Storage: AsRef<[u8]> + AsMut<[u8]>,
{
#[inline]
pub fn get_bit(&self, index: usize) -> bool {
debug_assert!(index / 8 < self.storage.as_ref().len());
let byte_index = index / 8;
let byte = self.storage.as_ref()[byte_index];
let bit_index = if cfg!(target_endian = "big") {
7 - (index % 8)
} else {
index % 8
};
let mask = 1 << bit_index;
byte & mask == mask
}
#[inline]
pub fn set_bit(&mut self, index: usize, val: bool) {
debug_assert!(index / 8 < self.storage.as_ref().len());
let byte_index = index / 8;
let byte = &mut self.storage.as_mut()[byte_index];
let bit_index = if cfg!(target_endian = "big") {
7 - (index % 8)
} else {
index % 8
};
let mask = 1 << bit_index;
if val {
*byte |= mask;
} else {
*byte &= !mask;
}
}
#[inline]
pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 {
debug_assert!(bit_width <= 64);
debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
let mut val = 0;
for i in 0..(bit_width as usize) {
if self.get_bit(i + bit_offset) {
let index = if cfg!(target_endian = "big") {
bit_width as usize - 1 - i
} else {
i
};
val |= 1 << index;
}
}
val
}
#[inline]
pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) {
debug_assert!(bit_width <= 64);
debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
for i in 0..(bit_width as usize) {
let mask = 1 << i;
let val_bit_is_set = val & mask == mask;
let index = if cfg!(target_endian = "big") {
bit_width as usize - 1 - i
} else {
i
};
self.set_bit(index + bit_offset, val_bit_is_set);
}
}
}
#[repr(C)]
#[derive(Default)]
pub struct __IncompleteArrayField<T>(::std::marker::PhantomData<T>, [T; 0]);
impl<T> __IncompleteArrayField<T> {
#[inline]
pub const fn new() -> Self {
__IncompleteArrayField(::std::marker::PhantomData, [])
}
#[inline]
pub fn as_ptr(&self) -> *const T {
self as *const _ as *const T
}
#[inline]
pub fn as_mut_ptr(&mut self) -> *mut T {
self as *mut _ as *mut T
}
#[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")
}
}
#[repr(C)]
pub struct __BindgenUnionField<T>(::std::marker::PhantomData<T>);
impl<T> __BindgenUnionField<T> {
#[inline]
pub const fn new() -> Self {
__BindgenUnionField(::std::marker::PhantomData)
}
#[inline]
pub unsafe fn as_ref(&self) -> &T {
::std::mem::transmute(self)
}
#[inline]
pub unsafe fn as_mut(&mut self) -> &mut T {
::std::mem::transmute(self)
}
}
impl<T> ::std::default::Default for __BindgenUnionField<T> {
#[inline]
fn default() -> Self {
Self::new()
}
}
impl<T> ::std::clone::Clone for __BindgenUnionField<T> {
#[inline]
fn clone(&self) -> Self {
Self::new()
}
}
impl<T> ::std::marker::Copy for __BindgenUnionField<T> {}
impl<T> ::std::fmt::Debug for __BindgenUnionField<T> {
fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
fmt.write_str("__BindgenUnionField")
}
}
impl<T> ::std::hash::Hash for __BindgenUnionField<T> {
fn hash<H: ::std::hash::Hasher>(&self, _state: &mut H) {}
}
impl<T> ::std::cmp::PartialEq for __BindgenUnionField<T> {
fn eq(&self, _other: &__BindgenUnionField<T>) -> bool {
true
}
}
impl<T> ::std::cmp::Eq for __BindgenUnionField<T> {}
pub const PHP_API_VERSION: u32 = 20190902;
pub const YYDEBUG: u32 = 0;
pub const PHP_DEFAULT_CHARSET: &'static [u8; 6usize] = b"UTF-8\0";
pub const COMPILE_DL_READLINE: u32 = 1;
pub const COOKIE_SEEKER_USES_OFF64_T: u32 = 1;
pub const DEFAULT_SHORT_OPEN_TAG: &'static [u8; 2usize] = b"1\0";
pub const ENABLE_CHROOT_FUNC: u32 = 1;
pub const HAVE_ACOSH: u32 = 1;
pub const HAVE_ALIGNOF: u32 = 1;
pub const HAVE_ALLOCA: u32 = 1;
pub const HAVE_ALLOCA_H: u32 = 1;
pub const HAVE_ALPHASORT: u32 = 1;
pub const HAVE_ARGON2LIB: u32 = 1;
pub const HAVE_ARPA_INET_H: u32 = 1;
pub const HAVE_ARPA_NAMESER_H: u32 = 1;
pub const HAVE_ASCTIME_R: u32 = 1;
pub const HAVE_ASINH: u32 = 1;
pub const HAVE_ASM_GOTO: u32 = 1;
pub const HAVE_ASPRINTF: u32 = 1;
pub const HAVE_ATANH: u32 = 1;
pub const HAVE_ATOLL: u32 = 1;
pub const HAVE_ATTRIBUTE_ALIGNED: u32 = 1;
pub const HAVE_BUILD_DEFS_H: u32 = 1;
pub const HAVE_CHROOT: u32 = 1;
pub const HAVE_COMPILER_C99_VLA: u32 = 1;
pub const HAVE_CPUID_COUNT: u32 = 1;
pub const HAVE_CPUID_H: u32 = 1;
pub const HAVE_CRYPT: u32 = 1;
pub const HAVE_CRYPT_H: u32 = 1;
pub const HAVE_CTIME_R: u32 = 1;
pub const HAVE_DECL_ARC4RANDOM_BUF: u32 = 0;
pub const HAVE_DECL_ISFINITE: u32 = 1;
pub const HAVE_DECL_ISINF: u32 = 1;
pub const HAVE_DECL_ISNAN: u32 = 1;
pub const HAVE_DEV_URANDOM: u32 = 1;
pub const HAVE_DIRENT_H: u32 = 1;
pub const HAVE_DLFCN_H: u32 = 1;
pub const HAVE_DLOPEN: u32 = 1;
pub const HAVE_DLSYM: u32 = 1;
pub const HAVE_DN_EXPAND: u32 = 1;
pub const HAVE_DN_SKIPNAME: u32 = 1;
pub const HAVE_DTRACE: u32 = 1;
pub const HAVE_EXPLICIT_BZERO: u32 = 1;
pub const HAVE_FCNTL_H: u32 = 1;
pub const HAVE_FINITE: u32 = 1;
pub const HAVE_FLOCK: u32 = 1;
pub const HAVE_FNMATCH: u32 = 1;
pub const HAVE_FOPENCOOKIE: u32 = 1;
pub const HAVE_FORK: u32 = 1;
pub const HAVE_FPU_INLINE_ASM_X86: u32 = 1;
pub const HAVE_FTOK: u32 = 1;
pub const HAVE_FUNC_ATTRIBUTE_IFUNC: u32 = 1;
pub const HAVE_FUNC_GETHOSTBYNAME_R_6: u32 = 1;
pub const HAVE_GAI_STRERROR: u32 = 1;
pub const HAVE_GCC_GLOBAL_REGS: u32 = 1;
pub const HAVE_GETADDRINFO: u32 = 1;
pub const HAVE_GETCWD: u32 = 1;
pub const HAVE_GETGRNAM_R: u32 = 1;
pub const HAVE_GETHOSTBYADDR: u32 = 1;
pub const HAVE_GETHOSTBYNAME_R: u32 = 1;
pub const HAVE_GETHOSTNAME: u32 = 1;
pub const HAVE_GETIFADDRS: u32 = 1;
pub const HAVE_GETLOADAVG: u32 = 1;
pub const HAVE_GETLOGIN: u32 = 1;
pub const HAVE_GETOPT: u32 = 1;
pub const HAVE_GETPID: u32 = 1;
pub const HAVE_GETPRIORITY: u32 = 1;
pub const HAVE_GETPROTOBYNAME: u32 = 1;
pub const HAVE_GETPROTOBYNUMBER: u32 = 1;
pub const HAVE_GETPWNAM_R: u32 = 1;
pub const HAVE_GETPWUID_R: u32 = 1;
pub const HAVE_GETRUSAGE: u32 = 1;
pub const HAVE_GETSERVBYNAME: u32 = 1;
pub const HAVE_GETSERVBYPORT: u32 = 1;
pub const HAVE_GETTIMEOFDAY: u32 = 1;
pub const HAVE_GETWD: u32 = 1;
pub const HAVE_GLOB: u32 = 1;
pub const HAVE_GMTIME_R: u32 = 1;
pub const HAVE_GRANTPT: u32 = 1;
pub const HAVE_GRP_H: u32 = 1;
pub const HAVE_HASH_EXT: u32 = 1;
pub const HAVE_HISTORY_LIST: u32 = 1;
pub const HAVE_HTONL: u32 = 1;
pub const HAVE_HUGE_VAL_INF: u32 = 1;
pub const HAVE_HYPOT: u32 = 1;
pub const HAVE_IMMINTRIN_H: u32 = 1;
pub const HAVE_INET_ATON: u32 = 1;
pub const HAVE_INET_NTOA: u32 = 1;
pub const HAVE_INET_NTOP: u32 = 1;
pub const HAVE_INET_PTON: u32 = 1;
pub const HAVE_INT16_T: u32 = 1;
pub const HAVE_INT32_T: u32 = 1;
pub const HAVE_INT64_T: u32 = 1;
pub const HAVE_INT8_T: u32 = 1;
pub const HAVE_INTMAX_T: u32 = 1;
pub const HAVE_INTTYPES_H: u32 = 1;
pub const HAVE_IPV6: u32 = 1;
pub const HAVE_KILL: u32 = 1;
pub const HAVE_LANGINFO_H: u32 = 1;
pub const HAVE_LCHOWN: u32 = 1;
pub const HAVE_LIBDL: u32 = 1;
pub const HAVE_LIBEDIT: u32 = 1;
pub const HAVE_LIBM: u32 = 1;
pub const HAVE_LIBRESOLV: u32 = 1;
pub const HAVE_LIBRT: u32 = 1;
pub const HAVE_LIBSODIUMLIB: u32 = 1;
pub const HAVE_LIBXML: u32 = 1;
pub const HAVE_LOCALE_H: u32 = 1;
pub const HAVE_LOCALTIME_R: u32 = 1;
pub const HAVE_LOG1P: u32 = 1;
pub const HAVE_MALLOC_H: u32 = 1;
pub const HAVE_MBLEN: u32 = 1;
pub const HAVE_MBRLEN: u32 = 1;
pub const HAVE_MBSTATE_T: u32 = 1;
pub const HAVE_MEMMEM: u32 = 1;
pub const HAVE_MEMMOVE: u32 = 1;
pub const HAVE_MEMORY_H: u32 = 1;
pub const HAVE_MKSTEMP: u32 = 1;
pub const HAVE_MMAP: u32 = 1;
pub const HAVE_MONETARY_H: u32 = 1;
pub const HAVE_MREMAP: u32 = 1;
pub const HAVE_NANOSLEEP: u32 = 1;
pub const HAVE_NETDB_H: u32 = 1;
pub const HAVE_NETINET_IN_H: u32 = 1;
pub const HAVE_NET_IF_H: u32 = 1;
pub const HAVE_NICE: u32 = 1;
pub const HAVE_NL_LANGINFO: u32 = 1;
pub const HAVE_NMMINTRIN_H: u32 = 1;
pub const HAVE_OPENSSL_EXT: u32 = 1;
pub const HAVE_PCRE: u32 = 1;
pub const HAVE_PCRE_JIT_SUPPORT: u32 = 1;
pub const HAVE_PHP_SESSION: u32 = 1;
pub const HAVE_POLL: u32 = 1;
pub const HAVE_POLL_H: u32 = 1;
pub const HAVE_PREAD: u32 = 1;
pub const HAVE_PTRDIFF_T: u32 = 1;
pub const HAVE_PTSNAME: u32 = 1;
pub const HAVE_PUTENV: u32 = 1;
pub const HAVE_PWD_H: u32 = 1;
pub const HAVE_PWRITE: u32 = 1;
pub const HAVE_RAND_R: u32 = 1;
pub const HAVE_REALPATH: u32 = 1;
pub const HAVE_RESOLV_H: u32 = 1;
pub const HAVE_RES_NSEARCH: u32 = 1;
pub const HAVE_RES_SEARCH: u32 = 1;
pub const HAVE_RL_CALLBACK_READ_CHAR: u32 = 1;
pub const HAVE_RL_COMPLETION_MATCHES: u32 = 1;
pub const HAVE_RL_ON_NEW_LINE: u32 = 1;
pub const HAVE_SCANDIR: u32 = 1;
pub const HAVE_SETENV: u32 = 1;
pub const HAVE_SETITIMER: u32 = 1;
pub const HAVE_SETPRIORITY: u32 = 1;
pub const HAVE_SHUTDOWN: u32 = 1;
pub const HAVE_SIGACTION: u32 = 1;
pub const HAVE_SIGPROCMASK: u32 = 1;
pub const HAVE_SIGTIMEDWAIT: u32 = 1;
pub const HAVE_SIGWAITINFO: u32 = 1;
pub const HAVE_SOCKADDR_STORAGE: u32 = 1;
pub const HAVE_SOCKET: u32 = 1;
pub const HAVE_SOCKETPAIR: u32 = 1;
pub const HAVE_SOCKLEN_T: u32 = 1;
pub const HAVE_SSIZE_T: u32 = 1;
pub const HAVE_STATFS: u32 = 1;
pub const HAVE_STATVFS: u32 = 1;
pub const HAVE_STDINT_H: u32 = 1;
pub const HAVE_STDLIB_H: u32 = 1;
pub const HAVE_STRCASECMP: u32 = 1;
pub const HAVE_STRFMON: u32 = 1;
pub const HAVE_STRINGS_H: u32 = 1;
pub const HAVE_STRING_H: u32 = 1;
pub const HAVE_STRNLEN: u32 = 1;
pub const HAVE_STRPTIME: u32 = 1;
pub const HAVE_STRPTIME_DECL_FAILS: u32 = 1;
pub const HAVE_STRTOK_R: u32 = 1;
pub const HAVE_STRTOLL: u32 = 1;
pub const HAVE_STRUCT_FLOCK: u32 = 1;
pub const HAVE_STRUCT_STAT_ST_BLKSIZE: u32 = 1;
pub const HAVE_STRUCT_STAT_ST_BLOCKS: u32 = 1;
pub const HAVE_STRUCT_STAT_ST_RDEV: u32 = 1;
pub const HAVE_STRUCT_TM_TM_GMTOFF: u32 = 1;
pub const HAVE_STRUCT_TM_TM_ZONE: u32 = 1;
pub const HAVE_ST_BLOCKS: u32 = 1;
pub const HAVE_SYMLINK: u32 = 1;
pub const HAVE_SYNC_FETCH_AND_ADD: u32 = 1;
pub const HAVE_SYSEXITS_H: u32 = 1;
pub const HAVE_SYSLOG_H: u32 = 1;
pub const HAVE_SYSTEM_TZDATA: u32 = 1;
pub const HAVE_SYS_FILE_H: u32 = 1;
pub const HAVE_SYS_IOCTL_H: u32 = 1;
pub const HAVE_SYS_IPC_H: u32 = 1;
pub const HAVE_SYS_MMAN_H: u32 = 1;
pub const HAVE_SYS_MOUNT_H: u32 = 1;
pub const HAVE_SYS_PARAM_H: u32 = 1;
pub const HAVE_SYS_POLL_H: u32 = 1;
pub const HAVE_SYS_RESOURCE_H: u32 = 1;
pub const HAVE_SYS_SDT_H: u32 = 1;
pub const HAVE_SYS_SELECT_H: u32 = 1;
pub const HAVE_SYS_SOCKET_H: u32 = 1;
pub const HAVE_SYS_STATFS_H: u32 = 1;
pub const HAVE_SYS_STATVFS_H: u32 = 1;
pub const HAVE_SYS_STAT_H: u32 = 1;
pub const HAVE_SYS_TIME_H: u32 = 1;
pub const HAVE_SYS_TYPES_H: u32 = 1;
pub const HAVE_SYS_UIO_H: u32 = 1;
pub const HAVE_SYS_UTSNAME_H: u32 = 1;
pub const HAVE_SYS_VFS_H: u32 = 1;
pub const HAVE_SYS_WAIT_H: u32 = 1;
pub const HAVE_TERMIOS_H: u32 = 1;
pub const HAVE_TIMELIB_CONFIG_H: u32 = 1;
pub const HAVE_TMMINTRIN_H: u32 = 1;
pub const HAVE_TM_ZONE: u32 = 1;
pub const HAVE_TZSET: u32 = 1;
pub const HAVE_UINT16_T: u32 = 1;
pub const HAVE_UINT32_T: u32 = 1;
pub const HAVE_UINT64_T: u32 = 1;
pub const HAVE_UINT8_T: u32 = 1;
pub const HAVE_UNISTD_H: u32 = 1;
pub const HAVE_UNLOCKPT: u32 = 1;
pub const HAVE_UNSETENV: u32 = 1;
pub const HAVE_UNSHARE: u32 = 1;
pub const HAVE_USLEEP: u32 = 1;
pub const HAVE_UTIME: u32 = 1;
pub const HAVE_UTIME_H: u32 = 1;
pub const HAVE_U_INT16_T: u32 = 1;
pub const HAVE_U_INT32_T: u32 = 1;
pub const HAVE_U_INT64_T: u32 = 1;
pub const HAVE_U_INT8_T: u32 = 1;
pub const HAVE_VASPRINTF: u32 = 1;
pub const HAVE_WAIT3: u32 = 1;
pub const HAVE_WAIT4: u32 = 1;
pub const HAVE_WAITPID: u32 = 1;
pub const HAVE_WCHAR_H: u32 = 1;
pub const HAVE_ZLIB: u32 = 1;
pub const HAVE__FPU_SETCW: u32 = 1;
pub const MISSING_FCLOSE_DECL: u32 = 0;
pub const ODBCVER: u32 = 768;
pub const PCRE2_CODE_UNIT_WIDTH: u32 = 8;
pub const PHP_BUILD_DATE: &'static [u8; 11usize] = b"2020-10-06\0";
pub const PHP_CAN_SUPPORT_PROC_OPEN: u32 = 1;
pub const PHP_HAVE_AVX2_INSTRUCTIONS: u32 = 0;
pub const PHP_HAVE_AVX_INSTRUCTIONS: u32 = 1;
pub const PHP_HAVE_BUILTIN_CLZ: u32 = 1;
pub const PHP_HAVE_BUILTIN_CPU_INIT: u32 = 1;
pub const PHP_HAVE_BUILTIN_CPU_SUPPORTS: u32 = 1;
pub const PHP_HAVE_BUILTIN_CTZL: u32 = 1;
pub const PHP_HAVE_BUILTIN_CTZLL: u32 = 1;
pub const PHP_HAVE_BUILTIN_EXPECT: u32 = 1;
pub const PHP_HAVE_BUILTIN_SADDLL_OVERFLOW: u32 = 1;
pub const PHP_HAVE_BUILTIN_SADDL_OVERFLOW: u32 = 1;
pub const PHP_HAVE_BUILTIN_SMULLL_OVERFLOW: u32 = 1;
pub const PHP_HAVE_BUILTIN_SMULL_OVERFLOW: u32 = 1;
pub const PHP_HAVE_BUILTIN_SSUBLL_OVERFLOW: u32 = 1;
pub const PHP_HAVE_BUILTIN_SSUBL_OVERFLOW: u32 = 1;
pub const PHP_HAVE_SSE4_2_INSTRUCTIONS: u32 = 1;
pub const PHP_HAVE_SSSE3_INSTRUCTIONS: u32 = 1;
pub const PHP_MHASH_BC: u32 = 1;
pub const PHP_OS: &'static [u8; 6usize] = b"Linux\0";
pub const PHP_SIGCHILD: u32 = 0;
pub const PHP_UNAME: &'static [u8; 6usize] = b"Linux\0";
pub const PHP_USE_PHP_CRYPT_R: u32 = 1;
pub const PHP_WRITE_STDOUT: u32 = 1;
pub const SIZEOF_INT: u32 = 4;
pub const SIZEOF_INTMAX_T: u32 = 8;
pub const SIZEOF_LONG: u32 = 8;
pub const SIZEOF_LONG_LONG: u32 = 8;
pub const SIZEOF_PTRDIFF_T: u32 = 8;
pub const SIZEOF_SHORT: u32 = 2;
pub const SIZEOF_SIZE_T: u32 = 8;
pub const SIZEOF_SSIZE_T: u32 = 8;
pub const STDC_HEADERS: u32 = 1;
pub const _ALL_SOURCE: u32 = 1;
pub const _GNU_SOURCE: u32 = 1;
pub const _POSIX_PTHREAD_SEMANTICS: u32 = 1;
pub const _TANDEM_SOURCE: u32 = 1;
pub const __EXTENSIONS__: u32 = 1;
pub const ZEND_DEBUG: u32 = 0;
pub const ZEND_MM_ALIGNMENT: u32 = 8;
pub const ZEND_MM_ALIGNMENT_LOG2: u32 = 3;
pub const ZEND_SIGNALS: u32 = 1;
pub const _FEATURES_H: u32 = 1;
pub const _ISOC95_SOURCE: u32 = 1;
pub const _ISOC99_SOURCE: u32 = 1;
pub const _ISOC11_SOURCE: u32 = 1;
pub const _ISOC2X_SOURCE: u32 = 1;
pub const _POSIX_SOURCE: u32 = 1;
pub const _POSIX_C_SOURCE: u32 = 200809;
pub const _XOPEN_SOURCE: u32 = 700;
pub const _XOPEN_SOURCE_EXTENDED: u32 = 1;
pub const _LARGEFILE64_SOURCE: u32 = 1;
pub const _DEFAULT_SOURCE: u32 = 1;
pub const _ATFILE_SOURCE: u32 = 1;
pub const __GLIBC_USE_ISOC2X: u32 = 1;
pub const __USE_ISOC11: u32 = 1;
pub const __USE_ISOC99: u32 = 1;
pub const __USE_ISOC95: u32 = 1;
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 __USE_XOPEN: u32 = 1;
pub const __USE_XOPEN_EXTENDED: u32 = 1;
pub const __USE_UNIX98: u32 = 1;
pub const _LARGEFILE_SOURCE: u32 = 1;
pub const __USE_XOPEN2K8XSI: u32 = 1;
pub const __USE_XOPEN2KXSI: u32 = 1;
pub const __USE_LARGEFILE: u32 = 1;
pub const __USE_LARGEFILE64: u32 = 1;
pub const __USE_MISC: u32 = 1;
pub const __USE_ATFILE: u32 = 1;
pub const __USE_GNU: u32 = 1;
pub const __USE_FORTIFY_LEVEL: u32 = 0;
pub const __GLIBC_USE_DEPRECATED_GETS: u32 = 0;
pub const __GLIBC_USE_DEPRECATED_SCANF: 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 __GNU_LIBRARY__: u32 = 6;
pub const __GLIBC__: u32 = 2;
pub const __GLIBC_MINOR__: u32 = 31;
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 __LONG_DOUBLE_USES_FLOAT128: u32 = 0;
pub const __HAVE_GENERIC_SELECTION: u32 = 1;
pub const __GLIBC_USE_LIB_EXT2: u32 = 1;
pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 1;
pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X: u32 = 1;
pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 1;
pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X: u32 = 1;
pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 1;
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 _BITS_TYPES_LOCALE_T_H: u32 = 1;
pub const _BITS_TYPES___LOCALE_T_H: u32 = 1;
pub const _SYS_TYPES_H: u32 = 1;
pub const _BITS_TYPES_H: u32 = 1;
pub const __TIMESIZE: u32 = 64;
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 __STATFS_MATCHES_STATFS64: u32 = 1;
pub const __FD_SETSIZE: u32 = 1024;
pub const _BITS_TIME64_H: u32 = 1;
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 _BITS_ENDIAN_H: u32 = 1;
pub const __LITTLE_ENDIAN: u32 = 1234;
pub const __BIG_ENDIAN: u32 = 4321;
pub const __PDP_ENDIAN: u32 = 3412;
pub const _BITS_ENDIANNESS_H: u32 = 1;
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 _STRUCT_TIMESPEC: u32 = 1;
pub const FD_SETSIZE: u32 = 1024;
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 _THREAD_MUTEX_INTERNAL_H: 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 _STRING_H: u32 = 1;
pub const _STRINGS_H: u32 = 1;
pub const _MATH_H: u32 = 1;
pub const _BITS_LIBM_SIMD_DECL_STUBS_H: u32 = 1;
pub const __FP_LOGB0_IS_MIN: u32 = 1;
pub const __FP_LOGBNAN_IS_MIN: u32 = 1;
pub const FP_ILOGB0: i32 = -2147483648;
pub const FP_ILOGBNAN: i32 = -2147483648;
pub const __FP_LONG_MAX: u64 = 9223372036854775807;
pub const FP_LLOGB0: i64 = -9223372036854775808;
pub const FP_LLOGBNAN: i64 = -9223372036854775808;
pub const __MATH_DECLARING_DOUBLE: u32 = 1;
pub const __MATH_DECLARING_FLOATN: u32 = 0;
pub const __MATH_DECLARE_LDOUBLE: u32 = 1;
pub const MATH_ERRNO: u32 = 1;
pub const MATH_ERREXCEPT: u32 = 2;
pub const math_errhandling: u32 = 3;
pub const M_E: f64 = 2.718281828459045;
pub const M_LOG2E: f64 = 1.4426950408889634;
pub const M_LOG10E: f64 = 0.4342944819032518;
pub const M_LN2: f64 = 0.6931471805599453;
pub const M_LN10: f64 = 2.302585092994046;
pub const M_PI: f64 = 3.141592653589793;
pub const M_PI_2: f64 = 1.5707963267948966;
pub const M_PI_4: f64 = 0.7853981633974483;
pub const M_1_PI: f64 = 0.3183098861837907;
pub const M_2_PI: f64 = 0.6366197723675814;
pub const M_2_SQRTPI: f64 = 1.1283791670955126;
pub const M_SQRT2: f64 = 1.4142135623730951;
pub const M_SQRT1_2: f64 = 0.7071067811865476;
pub const M_El: f64 = 2.718281828459045;
pub const M_LOG2El: f64 = 1.4426950408889634;
pub const M_LOG10El: f64 = 0.4342944819032518;
pub const M_LN2l: f64 = 0.6931471805599453;
pub const M_LN10l: f64 = 2.302585092994046;
pub const M_PIl: f64 = 3.141592653589793;
pub const M_PI_2l: f64 = 1.5707963267948966;
pub const M_PI_4l: f64 = 0.7853981633974483;
pub const M_1_PIl: f64 = 0.3183098861837907;
pub const M_2_PIl: f64 = 0.6366197723675814;
pub const M_2_SQRTPIl: f64 = 1.1283791670955126;
pub const M_SQRT2l: f64 = 1.4142135623730951;
pub const M_SQRT1_2l: f64 = 0.7071067811865476;
pub const PHP_MAJOR_VERSION: u32 = 7;
pub const PHP_MINOR_VERSION: u32 = 4;
pub const PHP_RELEASE_VERSION: u32 = 3;
pub const PHP_EXTRA_VERSION: &'static [u8; 1usize] = b"\0";
pub const PHP_VERSION: &'static [u8; 6usize] = b"7.4.3\0";
pub const PHP_VERSION_ID: u32 = 70403;
pub const ZEND_VERSION: &'static [u8; 6usize] = b"3.4.0\0";
pub const ZEND_PATHS_SEPARATOR: u8 = 58u8;
pub const _INTTYPES_H: u32 = 1;
pub const _STDINT_H: u32 = 1;
pub const _BITS_WCHAR_H: u32 = 1;
pub const _BITS_STDINT_UINTN_H: u32 = 1;
pub const INT8_MIN: i32 = -128;
pub const INT16_MIN: i32 = -32768;
pub const INT32_MIN: i32 = -2147483648;
pub const INT8_MAX: u32 = 127;
pub const INT16_MAX: u32 = 32767;
pub const INT32_MAX: u32 = 2147483647;
pub const UINT8_MAX: u32 = 255;
pub const UINT16_MAX: u32 = 65535;
pub const UINT32_MAX: u32 = 4294967295;
pub const INT_LEAST8_MIN: i32 = -128;
pub const INT_LEAST16_MIN: i32 = -32768;
pub const INT_LEAST32_MIN: i32 = -2147483648;
pub const INT_LEAST8_MAX: u32 = 127;
pub const INT_LEAST16_MAX: u32 = 32767;
pub const INT_LEAST32_MAX: u32 = 2147483647;
pub const UINT_LEAST8_MAX: u32 = 255;
pub const UINT_LEAST16_MAX: u32 = 65535;
pub const UINT_LEAST32_MAX: u32 = 4294967295;
pub const INT_FAST8_MIN: i32 = -128;
pub const INT_FAST16_MIN: i64 = -9223372036854775808;
pub const INT_FAST32_MIN: i64 = -9223372036854775808;
pub const INT_FAST8_MAX: u32 = 127;
pub const INT_FAST16_MAX: u64 = 9223372036854775807;
pub const INT_FAST32_MAX: u64 = 9223372036854775807;
pub const UINT_FAST8_MAX: u32 = 255;
pub const UINT_FAST16_MAX: i32 = -1;
pub const UINT_FAST32_MAX: i32 = -1;
pub const INTPTR_MIN: i64 = -9223372036854775808;
pub const INTPTR_MAX: u64 = 9223372036854775807;
pub const UINTPTR_MAX: i32 = -1;
pub const PTRDIFF_MIN: i64 = -9223372036854775808;
pub const PTRDIFF_MAX: u64 = 9223372036854775807;
pub const SIG_ATOMIC_MIN: i32 = -2147483648;
pub const SIG_ATOMIC_MAX: u32 = 2147483647;
pub const SIZE_MAX: i32 = -1;
pub const WINT_MIN: u32 = 0;
pub const WINT_MAX: u32 = 4294967295;
pub const INT8_WIDTH: u32 = 8;
pub const UINT8_WIDTH: u32 = 8;
pub const INT16_WIDTH: u32 = 16;
pub const UINT16_WIDTH: u32 = 16;
pub const INT32_WIDTH: u32 = 32;
pub const UINT32_WIDTH: u32 = 32;
pub const INT64_WIDTH: u32 = 64;
pub const UINT64_WIDTH: u32 = 64;
pub const INT_LEAST8_WIDTH: u32 = 8;
pub const UINT_LEAST8_WIDTH: u32 = 8;
pub const INT_LEAST16_WIDTH: u32 = 16;
pub const UINT_LEAST16_WIDTH: u32 = 16;
pub const INT_LEAST32_WIDTH: u32 = 32;
pub const UINT_LEAST32_WIDTH: u32 = 32;
pub const INT_LEAST64_WIDTH: u32 = 64;
pub const UINT_LEAST64_WIDTH: u32 = 64;
pub const INT_FAST8_WIDTH: u32 = 8;
pub const UINT_FAST8_WIDTH: u32 = 8;
pub const INT_FAST16_WIDTH: u32 = 64;
pub const UINT_FAST16_WIDTH: u32 = 64;
pub const INT_FAST32_WIDTH: u32 = 64;
pub const UINT_FAST32_WIDTH: u32 = 64;
pub const INT_FAST64_WIDTH: u32 = 64;
pub const UINT_FAST64_WIDTH: u32 = 64;
pub const INTPTR_WIDTH: u32 = 64;
pub const UINTPTR_WIDTH: u32 = 64;
pub const INTMAX_WIDTH: u32 = 64;
pub const UINTMAX_WIDTH: u32 = 64;
pub const PTRDIFF_WIDTH: u32 = 64;
pub const SIG_ATOMIC_WIDTH: u32 = 32;
pub const SIZE_WIDTH: u32 = 64;
pub const WCHAR_WIDTH: u32 = 32;
pub const WINT_WIDTH: u32 = 32;
pub const ____gwchar_t_defined: u32 = 1;
pub const __PRI64_PREFIX: &'static [u8; 2usize] = b"l\0";
pub const __PRIPTR_PREFIX: &'static [u8; 2usize] = b"l\0";
pub const PRId8: &'static [u8; 2usize] = b"d\0";
pub const PRId16: &'static [u8; 2usize] = b"d\0";
pub const PRId32: &'static [u8; 2usize] = b"d\0";
pub const PRId64: &'static [u8; 3usize] = b"ld\0";
pub const PRIdLEAST8: &'static [u8; 2usize] = b"d\0";
pub const PRIdLEAST16: &'static [u8; 2usize] = b"d\0";
pub const PRIdLEAST32: &'static [u8; 2usize] = b"d\0";
pub const PRIdLEAST64: &'static [u8; 3usize] = b"ld\0";
pub const PRIdFAST8: &'static [u8; 2usize] = b"d\0";
pub const PRIdFAST16: &'static [u8; 3usize] = b"ld\0";
pub const PRIdFAST32: &'static [u8; 3usize] = b"ld\0";
pub const PRIdFAST64: &'static [u8; 3usize] = b"ld\0";
pub const PRIi8: &'static [u8; 2usize] = b"i\0";
pub const PRIi16: &'static [u8; 2usize] = b"i\0";
pub const PRIi32: &'static [u8; 2usize] = b"i\0";
pub const PRIi64: &'static [u8; 3usize] = b"li\0";
pub const PRIiLEAST8: &'static [u8; 2usize] = b"i\0";
pub const PRIiLEAST16: &'static [u8; 2usize] = b"i\0";
pub const PRIiLEAST32: &'static [u8; 2usize] = b"i\0";
pub const PRIiLEAST64: &'static [u8; 3usize] = b"li\0";
pub const PRIiFAST8: &'static [u8; 2usize] = b"i\0";
pub const PRIiFAST16: &'static [u8; 3usize] = b"li\0";
pub const PRIiFAST32: &'static [u8; 3usize] = b"li\0";
pub const PRIiFAST64: &'static [u8; 3usize] = b"li\0";
pub const PRIo8: &'static [u8; 2usize] = b"o\0";
pub const PRIo16: &'static [u8; 2usize] = b"o\0";
pub const PRIo32: &'static [u8; 2usize] = b"o\0";
pub const PRIo64: &'static [u8; 3usize] = b"lo\0";
pub const PRIoLEAST8: &'static [u8; 2usize] = b"o\0";
pub const PRIoLEAST16: &'static [u8; 2usize] = b"o\0";
pub const PRIoLEAST32: &'static [u8; 2usize] = b"o\0";
pub const PRIoLEAST64: &'static [u8; 3usize] = b"lo\0";
pub const PRIoFAST8: &'static [u8; 2usize] = b"o\0";
pub const PRIoFAST16: &'static [u8; 3usize] = b"lo\0";
pub const PRIoFAST32: &'static [u8; 3usize] = b"lo\0";
pub const PRIoFAST64: &'static [u8; 3usize] = b"lo\0";
pub const PRIu8: &'static [u8; 2usize] = b"u\0";
pub const PRIu16: &'static [u8; 2usize] = b"u\0";
pub const PRIu32: &'static [u8; 2usize] = b"u\0";
pub const PRIu64: &'static [u8; 3usize] = b"lu\0";
pub const PRIuLEAST8: &'static [u8; 2usize] = b"u\0";
pub const PRIuLEAST16: &'static [u8; 2usize] = b"u\0";
pub const PRIuLEAST32: &'static [u8; 2usize] = b"u\0";
pub const PRIuLEAST64: &'static [u8; 3usize] = b"lu\0";
pub const PRIuFAST8: &'static [u8; 2usize] = b"u\0";
pub const PRIuFAST16: &'static [u8; 3usize] = b"lu\0";
pub const PRIuFAST32: &'static [u8; 3usize] = b"lu\0";
pub const PRIuFAST64: &'static [u8; 3usize] = b"lu\0";
pub const PRIx8: &'static [u8; 2usize] = b"x\0";
pub const PRIx16: &'static [u8; 2usize] = b"x\0";
pub const PRIx32: &'static [u8; 2usize] = b"x\0";
pub const PRIx64: &'static [u8; 3usize] = b"lx\0";
pub const PRIxLEAST8: &'static [u8; 2usize] = b"x\0";
pub const PRIxLEAST16: &'static [u8; 2usize] = b"x\0";
pub const PRIxLEAST32: &'static [u8; 2usize] = b"x\0";
pub const PRIxLEAST64: &'static [u8; 3usize] = b"lx\0";
pub const PRIxFAST8: &'static [u8; 2usize] = b"x\0";
pub const PRIxFAST16: &'static [u8; 3usize] = b"lx\0";
pub const PRIxFAST32: &'static [u8; 3usize] = b"lx\0";
pub const PRIxFAST64: &'static [u8; 3usize] = b"lx\0";
pub const PRIX8: &'static [u8; 2usize] = b"X\0";
pub const PRIX16: &'static [u8; 2usize] = b"X\0";
pub const PRIX32: &'static [u8; 2usize] = b"X\0";
pub const PRIX64: &'static [u8; 3usize] = b"lX\0";
pub const PRIXLEAST8: &'static [u8; 2usize] = b"X\0";
pub const PRIXLEAST16: &'static [u8; 2usize] = b"X\0";
pub const PRIXLEAST32: &'static [u8; 2usize] = b"X\0";
pub const PRIXLEAST64: &'static [u8; 3usize] = b"lX\0";
pub const PRIXFAST8: &'static [u8; 2usize] = b"X\0";
pub const PRIXFAST16: &'static [u8; 3usize] = b"lX\0";
pub const PRIXFAST32: &'static [u8; 3usize] = b"lX\0";
pub const PRIXFAST64: &'static [u8; 3usize] = b"lX\0";
pub const PRIdMAX: &'static [u8; 3usize] = b"ld\0";
pub const PRIiMAX: &'static [u8; 3usize] = b"li\0";
pub const PRIoMAX: &'static [u8; 3usize] = b"lo\0";
pub const PRIuMAX: &'static [u8; 3usize] = b"lu\0";
pub const PRIxMAX: &'static [u8; 3usize] = b"lx\0";
pub const PRIXMAX: &'static [u8; 3usize] = b"lX\0";
pub const PRIdPTR: &'static [u8; 3usize] = b"ld\0";
pub const PRIiPTR: &'static [u8; 3usize] = b"li\0";
pub const PRIoPTR: &'static [u8; 3usize] = b"lo\0";
pub const PRIuPTR: &'static [u8; 3usize] = b"lu\0";
pub const PRIxPTR: &'static [u8; 3usize] = b"lx\0";
pub const PRIXPTR: &'static [u8; 3usize] = b"lX\0";
pub const SCNd8: &'static [u8; 4usize] = b"hhd\0";
pub const SCNd16: &'static [u8; 3usize] = b"hd\0";
pub const SCNd32: &'static [u8; 2usize] = b"d\0";
pub const SCNd64: &'static [u8; 3usize] = b"ld\0";
pub const SCNdLEAST8: &'static [u8; 4usize] = b"hhd\0";
pub const SCNdLEAST16: &'static [u8; 3usize] = b"hd\0";
pub const SCNdLEAST32: &'static [u8; 2usize] = b"d\0";
pub const SCNdLEAST64: &'static [u8; 3usize] = b"ld\0";
pub const SCNdFAST8: &'static [u8; 4usize] = b"hhd\0";
pub const SCNdFAST16: &'static [u8; 3usize] = b"ld\0";
pub const SCNdFAST32: &'static [u8; 3usize] = b"ld\0";
pub const SCNdFAST64: &'static [u8; 3usize] = b"ld\0";
pub const SCNi8: &'static [u8; 4usize] = b"hhi\0";
pub const SCNi16: &'static [u8; 3usize] = b"hi\0";
pub const SCNi32: &'static [u8; 2usize] = b"i\0";
pub const SCNi64: &'static [u8; 3usize] = b"li\0";
pub const SCNiLEAST8: &'static [u8; 4usize] = b"hhi\0";
pub const SCNiLEAST16: &'static [u8; 3usize] = b"hi\0";
pub const SCNiLEAST32: &'static [u8; 2usize] = b"i\0";
pub const SCNiLEAST64: &'static [u8; 3usize] = b"li\0";
pub const SCNiFAST8: &'static [u8; 4usize] = b"hhi\0";
pub const SCNiFAST16: &'static [u8; 3usize] = b"li\0";
pub const SCNiFAST32: &'static [u8; 3usize] = b"li\0";
pub const SCNiFAST64: &'static [u8; 3usize] = b"li\0";
pub const SCNu8: &'static [u8; 4usize] = b"hhu\0";
pub const SCNu16: &'static [u8; 3usize] = b"hu\0";
pub const SCNu32: &'static [u8; 2usize] = b"u\0";
pub const SCNu64: &'static [u8; 3usize] = b"lu\0";
pub const SCNuLEAST8: &'static [u8; 4usize] = b"hhu\0";
pub const SCNuLEAST16: &'static [u8; 3usize] = b"hu\0";
pub const SCNuLEAST32: &'static [u8; 2usize] = b"u\0";
pub const SCNuLEAST64: &'static [u8; 3usize] = b"lu\0";
pub const SCNuFAST8: &'static [u8; 4usize] = b"hhu\0";
pub const SCNuFAST16: &'static [u8; 3usize] = b"lu\0";
pub const SCNuFAST32: &'static [u8; 3usize] = b"lu\0";
pub const SCNuFAST64: &'static [u8; 3usize] = b"lu\0";
pub const SCNo8: &'static [u8; 4usize] = b"hho\0";
pub const SCNo16: &'static [u8; 3usize] = b"ho\0";
pub const SCNo32: &'static [u8; 2usize] = b"o\0";
pub const SCNo64: &'static [u8; 3usize] = b"lo\0";
pub const SCNoLEAST8: &'static [u8; 4usize] = b"hho\0";
pub const SCNoLEAST16: &'static [u8; 3usize] = b"ho\0";
pub const SCNoLEAST32: &'static [u8; 2usize] = b"o\0";
pub const SCNoLEAST64: &'static [u8; 3usize] = b"lo\0";
pub const SCNoFAST8: &'static [u8; 4usize] = b"hho\0";
pub const SCNoFAST16: &'static [u8; 3usize] = b"lo\0";
pub const SCNoFAST32: &'static [u8; 3usize] = b"lo\0";
pub const SCNoFAST64: &'static [u8; 3usize] = b"lo\0";
pub const SCNx8: &'static [u8; 4usize] = b"hhx\0";
pub const SCNx16: &'static [u8; 3usize] = b"hx\0";
pub const SCNx32: &'static [u8; 2usize] = b"x\0";
pub const SCNx64: &'static [u8; 3usize] = b"lx\0";
pub const SCNxLEAST8: &'static [u8; 4usize] = b"hhx\0";
pub const SCNxLEAST16: &'static [u8; 3usize] = b"hx\0";
pub const SCNxLEAST32: &'static [u8; 2usize] = b"x\0";
pub const SCNxLEAST64: &'static [u8; 3usize] = b"lx\0";
pub const SCNxFAST8: &'static [u8; 4usize] = b"hhx\0";
pub const SCNxFAST16: &'static [u8; 3usize] = b"lx\0";
pub const SCNxFAST32: &'static [u8; 3usize] = b"lx\0";
pub const SCNxFAST64: &'static [u8; 3usize] = b"lx\0";
pub const SCNdMAX: &'static [u8; 3usize] = b"ld\0";
pub const SCNiMAX: &'static [u8; 3usize] = b"li\0";
pub const SCNoMAX: &'static [u8; 3usize] = b"lo\0";
pub const SCNuMAX: &'static [u8; 3usize] = b"lu\0";
pub const SCNxMAX: &'static [u8; 3usize] = b"lx\0";
pub const SCNdPTR: &'static [u8; 3usize] = b"ld\0";
pub const SCNiPTR: &'static [u8; 3usize] = b"li\0";
pub const SCNoPTR: &'static [u8; 3usize] = b"lo\0";
pub const SCNuPTR: &'static [u8; 3usize] = b"lu\0";
pub const SCNxPTR: &'static [u8; 3usize] = b"lx\0";
pub const _STDIO_H: u32 = 1;
pub const __GNUC_VA_LIST: u32 = 1;
pub const _____fpos_t_defined: u32 = 1;
pub const ____mbstate_t_defined: u32 = 1;
pub const _____fpos64_t_defined: u32 = 1;
pub const ____FILE_defined: u32 = 1;
pub const __FILE_defined: u32 = 1;
pub const __struct_FILE_defined: u32 = 1;
pub const _IO_EOF_SEEN: u32 = 16;
pub const _IO_ERR_SEEN: u32 = 32;
pub const _IO_USER_LOCK: u32 = 32768;
pub const __cookie_io_functions_t_defined: u32 = 1;
pub const _IOFBF: u32 = 0;
pub const _IOLBF: u32 = 1;
pub const _IONBF: u32 = 2;
pub const BUFSIZ: u32 = 8192;
pub const EOF: i32 = -1;
pub const SEEK_SET: u32 = 0;
pub const SEEK_CUR: u32 = 1;
pub const SEEK_END: u32 = 2;
pub const SEEK_DATA: u32 = 3;
pub const SEEK_HOLE: u32 = 4;
pub const P_tmpdir: &'static [u8; 5usize] = b"/tmp\0";
pub const _BITS_STDIO_LIM_H: u32 = 1;
pub const L_tmpnam: u32 = 20;
pub const TMP_MAX: u32 = 238328;
pub const FILENAME_MAX: u32 = 4096;
pub const L_ctermid: u32 = 9;
pub const L_cuserid: u32 = 9;
pub const FOPEN_MAX: u32 = 16;
pub const RENAME_NOREPLACE: u32 = 1;
pub const RENAME_EXCHANGE: u32 = 2;
pub const RENAME_WHITEOUT: u32 = 4;
pub const _ASSERT_H: u32 = 1;
pub const _DLFCN_H: u32 = 1;
pub const RTLD_LAZY: u32 = 1;
pub const RTLD_NOW: u32 = 2;
pub const RTLD_BINDING_MASK: u32 = 3;
pub const RTLD_NOLOAD: u32 = 4;
pub const RTLD_DEEPBIND: u32 = 8;
pub const RTLD_GLOBAL: u32 = 256;
pub const RTLD_LOCAL: u32 = 0;
pub const RTLD_NODELETE: u32 = 4096;
pub const LM_ID_BASE: u32 = 0;
pub const LM_ID_NEWLM: i32 = -1;
pub const _LIBC_LIMITS_H_: u32 = 1;
pub const MB_LEN_MAX: u32 = 16;
pub const CHAR_WIDTH: u32 = 8;
pub const SCHAR_WIDTH: u32 = 8;
pub const UCHAR_WIDTH: u32 = 8;
pub const SHRT_WIDTH: u32 = 16;
pub const USHRT_WIDTH: u32 = 16;
pub const INT_WIDTH: u32 = 32;
pub const UINT_WIDTH: u32 = 32;
pub const LONG_WIDTH: u32 = 64;
pub const ULONG_WIDTH: u32 = 64;
pub const LLONG_WIDTH: u32 = 64;
pub const ULLONG_WIDTH: u32 = 64;
pub const _BITS_POSIX1_LIM_H: u32 = 1;
pub const _POSIX_AIO_LISTIO_MAX: u32 = 2;
pub const _POSIX_AIO_MAX: u32 = 1;
pub const _POSIX_ARG_MAX: u32 = 4096;
pub const _POSIX_CHILD_MAX: u32 = 25;
pub const _POSIX_DELAYTIMER_MAX: u32 = 32;
pub const _POSIX_HOST_NAME_MAX: u32 = 255;
pub const _POSIX_LINK_MAX: u32 = 8;
pub const _POSIX_LOGIN_NAME_MAX: u32 = 9;
pub const _POSIX_MAX_CANON: u32 = 255;
pub const _POSIX_MAX_INPUT: u32 = 255;
pub const _POSIX_MQ_OPEN_MAX: u32 = 8;
pub const _POSIX_MQ_PRIO_MAX: u32 = 32;
pub const _POSIX_NAME_MAX: u32 = 14;
pub const _POSIX_NGROUPS_MAX: u32 = 8;
pub const _POSIX_OPEN_MAX: u32 = 20;
pub const _POSIX_FD_SETSIZE: u32 = 20;
pub const _POSIX_PATH_MAX: u32 = 256;
pub const _POSIX_PIPE_BUF: u32 = 512;
pub const _POSIX_RE_DUP_MAX: u32 = 255;
pub const _POSIX_RTSIG_MAX: u32 = 8;
pub const _POSIX_SEM_NSEMS_MAX: u32 = 256;
pub const _POSIX_SEM_VALUE_MAX: u32 = 32767;
pub const _POSIX_SIGQUEUE_MAX: u32 = 32;
pub const _POSIX_SSIZE_MAX: u32 = 32767;
pub const _POSIX_STREAM_MAX: u32 = 8;
pub const _POSIX_SYMLINK_MAX: u32 = 255;
pub const _POSIX_SYMLOOP_MAX: u32 = 8;
pub const _POSIX_TIMER_MAX: u32 = 32;
pub const _POSIX_TTY_NAME_MAX: u32 = 9;
pub const _POSIX_TZNAME_MAX: u32 = 6;
pub const _POSIX_QLIMIT: u32 = 1;
pub const _POSIX_HIWAT: u32 = 512;
pub const _POSIX_UIO_MAXIOV: u32 = 16;
pub const _POSIX_CLOCKRES_MIN: u32 = 20000000;
pub const NR_OPEN: u32 = 1024;
pub const NGROUPS_MAX: u32 = 65536;
pub const ARG_MAX: u32 = 131072;
pub const LINK_MAX: u32 = 127;
pub const MAX_CANON: u32 = 255;
pub const MAX_INPUT: u32 = 255;
pub const NAME_MAX: u32 = 255;
pub const PATH_MAX: u32 = 4096;
pub const PIPE_BUF: u32 = 4096;
pub const XATTR_NAME_MAX: u32 = 255;
pub const XATTR_SIZE_MAX: u32 = 65536;
pub const XATTR_LIST_MAX: u32 = 65536;
pub const RTSIG_MAX: u32 = 32;
pub const _POSIX_THREAD_KEYS_MAX: u32 = 128;
pub const PTHREAD_KEYS_MAX: u32 = 1024;
pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS: u32 = 4;
pub const PTHREAD_DESTRUCTOR_ITERATIONS: u32 = 4;
pub const _POSIX_THREAD_THREADS_MAX: u32 = 64;
pub const AIO_PRIO_DELTA_MAX: u32 = 20;
pub const PTHREAD_STACK_MIN: u32 = 16384;
pub const DELAYTIMER_MAX: u32 = 2147483647;
pub const TTY_NAME_MAX: u32 = 32;
pub const LOGIN_NAME_MAX: u32 = 256;
pub const HOST_NAME_MAX: u32 = 64;
pub const MQ_PRIO_MAX: u32 = 32768;
pub const SEM_VALUE_MAX: u32 = 2147483647;
pub const _BITS_POSIX2_LIM_H: u32 = 1;
pub const _POSIX2_BC_BASE_MAX: u32 = 99;
pub const _POSIX2_BC_DIM_MAX: u32 = 2048;
pub const _POSIX2_BC_SCALE_MAX: u32 = 99;
pub const _POSIX2_BC_STRING_MAX: u32 = 1000;
pub const _POSIX2_COLL_WEIGHTS_MAX: u32 = 2;
pub const _POSIX2_EXPR_NEST_MAX: u32 = 32;
pub const _POSIX2_LINE_MAX: u32 = 2048;
pub const _POSIX2_RE_DUP_MAX: u32 = 255;
pub const _POSIX2_CHARCLASS_NAME_MAX: u32 = 14;
pub const BC_BASE_MAX: u32 = 99;
pub const BC_DIM_MAX: u32 = 2048;
pub const BC_SCALE_MAX: u32 = 99;
pub const BC_STRING_MAX: u32 = 1000;
pub const COLL_WEIGHTS_MAX: u32 = 255;
pub const EXPR_NEST_MAX: u32 = 32;
pub const LINE_MAX: u32 = 2048;
pub const CHARCLASS_NAME_MAX: u32 = 2048;
pub const RE_DUP_MAX: u32 = 32767;
pub const _XOPEN_LIM_H: u32 = 1;
pub const _XOPEN_IOV_MAX: u32 = 16;
pub const _BITS_UIO_LIM_H: u32 = 1;
pub const __IOV_MAX: u32 = 1024;
pub const IOV_MAX: u32 = 1024;
pub const NL_ARGMAX: u32 = 4096;
pub const NL_LANGMAX: u32 = 2048;
pub const NZERO: u32 = 20;
pub const WORD_BIT: u32 = 32;
pub const LONG_BIT: u32 = 64;
pub const ZEND_ENABLE_ZVAL_LONG64: u32 = 1;
pub const SIZEOF_ZEND_LONG: u32 = 8;
pub const ZEND_LTOA_BUF_LEN: u32 = 65;
pub const ZEND_LONG_FMT: &'static [u8; 4usize] = b"%ld\0";
pub const ZEND_ULONG_FMT: &'static [u8; 4usize] = b"%lu\0";
pub const ZEND_XLONG_FMT: &'static [u8; 4usize] = b"%lx\0";
pub const ZEND_LONG_FMT_SPEC: &'static [u8; 3usize] = b"ld\0";
pub const ZEND_ULONG_FMT_SPEC: &'static [u8; 3usize] = b"lu\0";
pub const MAX_LENGTH_OF_LONG: u32 = 20;
pub const LONG_MIN_DIGITS: &'static [u8; 20usize] = b"9223372036854775808\0";
pub const ZEND_ADDR_FMT: &'static [u8; 9usize] = b"0x%016zx\0";
pub const ZEND_LONG_CAN_OVFL_INT: u32 = 1;
pub const ZEND_LONG_CAN_OVFL_UINT: u32 = 1;
pub const ZEND_SIZE_T_CAN_OVFL_UINT: u32 = 1;
pub const PHP_RTLD_MODE: u32 = 1;
pub const ZEND_EXTENSIONS_SUPPORT: u32 = 1;
pub const ZEND_ALLOCA_MAX_SIZE: u32 = 32768;
pub const ZTS_V: u32 = 0;
pub const MAX_LENGTH_OF_DOUBLE: u32 = 32;
pub const ZEND_MAX_RESERVED_RESOURCES: u32 = 6;
pub const _MM_HINT_ET0: u32 = 7;
pub const _MM_HINT_ET1: u32 = 6;
pub const _MM_HINT_T0: u32 = 3;
pub const _MM_HINT_T1: u32 = 2;
pub const _MM_HINT_T2: u32 = 1;
pub const _MM_HINT_NTA: u32 = 0;
pub const _MM_EXCEPT_INVALID: u32 = 1;
pub const _MM_EXCEPT_DENORM: u32 = 2;
pub const _MM_EXCEPT_DIV_ZERO: u32 = 4;
pub const _MM_EXCEPT_OVERFLOW: u32 = 8;
pub const _MM_EXCEPT_UNDERFLOW: u32 = 16;
pub const _MM_EXCEPT_INEXACT: u32 = 32;
pub const _MM_EXCEPT_MASK: u32 = 63;
pub const _MM_MASK_INVALID: u32 = 128;
pub const _MM_MASK_DENORM: u32 = 256;
pub const _MM_MASK_DIV_ZERO: u32 = 512;
pub const _MM_MASK_OVERFLOW: u32 = 1024;
pub const _MM_MASK_UNDERFLOW: u32 = 2048;
pub const _MM_MASK_INEXACT: u32 = 4096;
pub const _MM_MASK_MASK: u32 = 8064;
pub const _MM_ROUND_NEAREST: u32 = 0;
pub const _MM_ROUND_DOWN: u32 = 8192;
pub const _MM_ROUND_UP: u32 = 16384;
pub const _MM_ROUND_TOWARD_ZERO: u32 = 24576;
pub const _MM_ROUND_MASK: u32 = 24576;
pub const _MM_FLUSH_ZERO_MASK: u32 = 32768;
pub const _MM_FLUSH_ZERO_ON: u32 = 32768;
pub const _MM_FLUSH_ZERO_OFF: u32 = 0;
pub const _MM_DENORMALS_ZERO_ON: u32 = 64;
pub const _MM_DENORMALS_ZERO_OFF: u32 = 0;
pub const _MM_DENORMALS_ZERO_MASK: u32 = 64;
pub const ZEND_SIZE_MAX: i32 = -1;
pub const HT_MIN_SIZE: u32 = 8;
pub const HT_MAX_SIZE: u32 = 2147483648;
pub const IS_UNDEF: u32 = 0;
pub const IS_NULL: u32 = 1;
pub const IS_FALSE: u32 = 2;
pub const IS_TRUE: u32 = 3;
pub const IS_LONG: u32 = 4;
pub const IS_DOUBLE: u32 = 5;
pub const IS_STRING: u32 = 6;
pub const IS_ARRAY: u32 = 7;
pub const IS_OBJECT: u32 = 8;
pub const IS_RESOURCE: u32 = 9;
pub const IS_REFERENCE: u32 = 10;
pub const IS_CONSTANT_AST: u32 = 11;
pub const IS_INDIRECT: u32 = 13;
pub const IS_PTR: u32 = 14;
pub const IS_ALIAS_PTR: u32 = 15;
pub const _IS_ERROR: u32 = 15;
pub const _IS_BOOL: u32 = 16;
pub const IS_CALLABLE: u32 = 17;
pub const IS_ITERABLE: u32 = 18;
pub const IS_VOID: u32 = 19;
pub const _IS_NUMBER: u32 = 20;
pub const Z_TYPE_MASK: u32 = 255;
pub const Z_TYPE_FLAGS_MASK: u32 = 65280;
pub const Z_TYPE_FLAGS_SHIFT: u32 = 8;
pub const GC_TYPE_MASK: u32 = 15;
pub const GC_FLAGS_MASK: u32 = 1008;
pub const GC_INFO_MASK: u32 = 4294966272;
pub const GC_FLAGS_SHIFT: u32 = 0;
pub const GC_INFO_SHIFT: u32 = 10;
pub const GC_COLLECTABLE: u32 = 16;
pub const GC_PROTECTED: u32 = 32;
pub const GC_IMMUTABLE: u32 = 64;
pub const GC_PERSISTENT: u32 = 128;
pub const GC_PERSISTENT_LOCAL: u32 = 256;
pub const GC_ARRAY: u32 = 23;
pub const GC_OBJECT: u32 = 24;
pub const IS_TYPE_REFCOUNTED: u32 = 1;
pub const IS_TYPE_COLLECTABLE: u32 = 2;
pub const IS_INTERNED_STRING_EX: u32 = 6;
pub const IS_STRING_EX: u32 = 262;
pub const IS_ARRAY_EX: u32 = 775;
pub const IS_OBJECT_EX: u32 = 776;
pub const IS_RESOURCE_EX: u32 = 265;
pub const IS_REFERENCE_EX: u32 = 266;
pub const IS_CONSTANT_AST_EX: u32 = 267;
pub const IS_STR_INTERNED: u32 = 64;
pub const IS_STR_PERSISTENT: u32 = 128;
pub const IS_STR_PERMANENT: u32 = 256;
pub const IS_STR_VALID_UTF8: u32 = 512;
pub const IS_ARRAY_IMMUTABLE: u32 = 64;
pub const IS_ARRAY_PERSISTENT: u32 = 128;
pub const IS_OBJ_WEAKLY_REFERENCED: u32 = 128;
pub const IS_OBJ_DESTRUCTOR_CALLED: u32 = 256;
pub const IS_OBJ_FREE_CALLED: u32 = 512;
pub const ZEND_RC_DEBUG: u32 = 0;
pub const IS_PROP_UNINIT: u32 = 1;
pub const ZEND_MAP_PTR_KIND_PTR: u32 = 0;
pub const ZEND_MAP_PTR_KIND_PTR_OR_OFFSET: u32 = 1;
pub const ZEND_MAP_PTR_KIND: u32 = 1;
pub const E_ERROR: u32 = 1;
pub const E_WARNING: u32 = 2;
pub const E_PARSE: u32 = 4;
pub const E_NOTICE: u32 = 8;
pub const E_CORE_ERROR: u32 = 16;
pub const E_CORE_WARNING: u32 = 32;
pub const E_COMPILE_ERROR: u32 = 64;
pub const E_COMPILE_WARNING: u32 = 128;
pub const E_USER_ERROR: u32 = 256;
pub const E_USER_WARNING: u32 = 512;
pub const E_USER_NOTICE: u32 = 1024;
pub const E_STRICT: u32 = 2048;
pub const E_RECOVERABLE_ERROR: u32 = 4096;
pub const E_DEPRECATED: u32 = 8192;
pub const E_USER_DEPRECATED: u32 = 16384;
pub const E_ALL: u32 = 32767;
pub const E_CORE: u32 = 48;
pub const ZEND_MM_ALIGNMENT_MASK: i32 = -8;
pub const ZEND_MM_OVERHEAD: u32 = 0;
pub const ZEND_MM_CHUNK_SIZE: u32 = 2097152;
pub const ZEND_MM_PAGE_SIZE: u32 = 4096;
pub const ZEND_MM_PAGES: u32 = 512;
pub const ZEND_MM_FIRST_PAGE: u32 = 1;
pub const ZEND_MM_MIN_SMALL_SIZE: u32 = 8;
pub const ZEND_MM_MAX_SMALL_SIZE: u32 = 3072;
pub const ZEND_MM_MAX_LARGE_SIZE: u32 = 2093056;
pub const ZEND_MM_CUSTOM_HEAP_NONE: u32 = 0;
pub const ZEND_MM_CUSTOM_HEAP_STD: u32 = 1;
pub const ZEND_MM_CUSTOM_HEAP_DEBUG: u32 = 2;
pub const HASH_KEY_IS_STRING: u32 = 1;
pub const HASH_KEY_IS_LONG: u32 = 2;
pub const HASH_KEY_NON_EXISTENT: u32 = 3;
pub const HASH_UPDATE: u32 = 1;
pub const HASH_ADD: u32 = 2;
pub const HASH_UPDATE_INDIRECT: u32 = 4;
pub const HASH_ADD_NEW: u32 = 8;
pub const HASH_ADD_NEXT: u32 = 16;
pub const HASH_FLAG_CONSISTENCY: u32 = 3;
pub const HASH_FLAG_PACKED: u32 = 4;
pub const HASH_FLAG_UNINITIALIZED: u32 = 8;
pub const HASH_FLAG_STATIC_KEYS: u32 = 16;
pub const HASH_FLAG_HAS_EMPTY_IND: u32 = 32;
pub const HASH_FLAG_ALLOW_COW_VIOLATION: u32 = 64;
pub const HASH_FLAG_MASK: u32 = 255;
pub const ZEND_HASH_APPLY_KEEP: u32 = 0;
pub const ZEND_HASH_APPLY_REMOVE: u32 = 1;
pub const ZEND_HASH_APPLY_STOP: u32 = 2;
pub const ZEND_AST_SPEC: u32 = 1;
pub const ZEND_AST_SPECIAL_SHIFT: u32 = 6;
pub const ZEND_AST_IS_LIST_SHIFT: u32 = 7;
pub const ZEND_AST_NUM_CHILDREN_SHIFT: u32 = 8;
pub const _SYS_STAT_H: u32 = 1;
pub const _BITS_STAT_H: u32 = 1;
pub const _STAT_VER_KERNEL: u32 = 0;
pub const _STAT_VER_LINUX: u32 = 1;
pub const _MKNOD_VER_LINUX: u32 = 0;
pub const _STAT_VER: u32 = 1;
pub const __S_IFMT: u32 = 61440;
pub const __S_IFDIR: u32 = 16384;
pub const __S_IFCHR: u32 = 8192;
pub const __S_IFBLK: u32 = 24576;
pub const __S_IFREG: u32 = 32768;
pub const __S_IFIFO: u32 = 4096;
pub const __S_IFLNK: u32 = 40960;
pub const __S_IFSOCK: u32 = 49152;
pub const __S_ISUID: u32 = 2048;
pub const __S_ISGID: u32 = 1024;
pub const __S_ISVTX: u32 = 512;
pub const __S_IREAD: u32 = 256;
pub const __S_IWRITE: u32 = 128;
pub const __S_IEXEC: u32 = 64;
pub const UTIME_NOW: u32 = 1073741823;
pub const UTIME_OMIT: u32 = 1073741822;
pub const S_IFMT: u32 = 61440;
pub const S_IFDIR: u32 = 16384;
pub const S_IFCHR: u32 = 8192;
pub const S_IFBLK: u32 = 24576;
pub const S_IFREG: u32 = 32768;
pub const S_IFIFO: u32 = 4096;
pub const S_IFLNK: u32 = 40960;
pub const S_IFSOCK: u32 = 49152;
pub const S_ISUID: u32 = 2048;
pub const S_ISGID: u32 = 1024;
pub const S_ISVTX: u32 = 512;
pub const S_IRUSR: u32 = 256;
pub const S_IWUSR: u32 = 128;
pub const S_IXUSR: u32 = 64;
pub const S_IRWXU: u32 = 448;
pub const S_IREAD: u32 = 256;
pub const S_IWRITE: u32 = 128;
pub const S_IEXEC: u32 = 64;
pub const S_IRGRP: u32 = 32;
pub const S_IWGRP: u32 = 16;
pub const S_IXGRP: u32 = 8;
pub const S_IRWXG: u32 = 56;
pub const S_IROTH: u32 = 4;
pub const S_IWOTH: u32 = 2;
pub const S_IXOTH: u32 = 1;
pub const S_IRWXO: u32 = 7;
pub const ACCESSPERMS: u32 = 511;
pub const ALLPERMS: u32 = 4095;
pub const DEFFILEMODE: u32 = 438;
pub const S_BLKSIZE: u32 = 512;
pub const _MKNOD_VER: u32 = 0;
pub const __BITS_PER_LONG: u32 = 64;
pub const STATX_TYPE: u32 = 1;
pub const STATX_MODE: u32 = 2;
pub const STATX_NLINK: u32 = 4;
pub const STATX_UID: u32 = 8;
pub const STATX_GID: u32 = 16;
pub const STATX_ATIME: u32 = 32;
pub const STATX_MTIME: u32 = 64;
pub const STATX_CTIME: u32 = 128;
pub const STATX_INO: u32 = 256;
pub const STATX_SIZE: u32 = 512;
pub const STATX_BLOCKS: u32 = 1024;
pub const STATX_BASIC_STATS: u32 = 2047;
pub const STATX_BTIME: u32 = 2048;
pub const STATX_ALL: u32 = 4095;
pub const STATX__RESERVED: u32 = 2147483648;
pub const STATX_ATTR_COMPRESSED: u32 = 4;
pub const STATX_ATTR_IMMUTABLE: u32 = 16;
pub const STATX_ATTR_APPEND: u32 = 32;
pub const STATX_ATTR_NODUMP: u32 = 64;
pub const STATX_ATTR_ENCRYPTED: u32 = 2048;
pub const STATX_ATTR_AUTOMOUNT: u32 = 4096;
pub const __statx_timestamp_defined: u32 = 1;
pub const __statx_defined: u32 = 1;
pub const ZEND_MMAP_AHEAD: u32 = 32;
pub const _BITS_SIGNUM_H: u32 = 1;
pub const _BITS_SIGNUM_GENERIC_H: u32 = 1;
pub const SIGINT: u32 = 2;
pub const SIGILL: u32 = 4;
pub const SIGABRT: u32 = 6;
pub const SIGFPE: u32 = 8;
pub const SIGSEGV: u32 = 11;
pub const SIGTERM: u32 = 15;
pub const SIGHUP: u32 = 1;
pub const SIGQUIT: u32 = 3;
pub const SIGTRAP: u32 = 5;
pub const SIGKILL: u32 = 9;
pub const SIGBUS: u32 = 10;
pub const SIGSYS: u32 = 12;
pub const SIGPIPE: u32 = 13;
pub const SIGALRM: u32 = 14;
pub const SIGURG: u32 = 16;
pub const SIGSTOP: u32 = 17;
pub const SIGTSTP: u32 = 18;
pub const SIGCONT: u32 = 19;
pub const SIGCHLD: u32 = 20;
pub const SIGTTIN: u32 = 21;
pub const SIGTTOU: u32 = 22;
pub const SIGPOLL: u32 = 23;
pub const SIGXCPU: u32 = 24;
pub const SIGXFSZ: u32 = 25;
pub const SIGVTALRM: u32 = 26;
pub const SIGPROF: u32 = 27;
pub const SIGUSR1: u32 = 30;
pub const SIGUSR2: u32 = 31;
pub const SIGWINCH: u32 = 28;
pub const SIGIO: u32 = 23;
pub const SIGIOT: u32 = 6;
pub const SIGCLD: u32 = 20;
pub const __SIGRTMIN: u32 = 32;
pub const __SIGRTMAX: u32 = 32;
pub const _NSIG: u32 = 33;
pub const SIGSTKFLT: u32 = 16;
pub const SIGPWR: u32 = 30;
pub const __sig_atomic_t_defined: u32 = 1;
pub const __siginfo_t_defined: u32 = 1;
pub const __SI_MAX_SIZE: u32 = 128;
pub const _BITS_SIGINFO_ARCH_H: u32 = 1;
pub const __SI_ERRNO_THEN_CODE: u32 = 1;
pub const __SI_HAVE_SIGSYS: u32 = 1;
pub const _BITS_SIGINFO_CONSTS_H: u32 = 1;
pub const __SI_ASYNCIO_AFTER_SIGIO: u32 = 1;
pub const _BITS_SIGINFO_CONSTS_ARCH_H: u32 = 1;
pub const __sigevent_t_defined: u32 = 1;
pub const __SIGEV_MAX_SIZE: u32 = 64;
pub const _BITS_SIGEVENT_CONSTS_H: u32 = 1;
pub const NSIG: u32 = 33;
pub const _BITS_SIGACTION_H: u32 = 1;
pub const SA_NOCLDSTOP: u32 = 1;
pub const SA_NOCLDWAIT: u32 = 2;
pub const SA_SIGINFO: u32 = 4;
pub const SA_ONSTACK: u32 = 134217728;
pub const SA_RESTART: u32 = 268435456;
pub const SA_NODEFER: u32 = 1073741824;
pub const SA_RESETHAND: u32 = 2147483648;
pub const SA_INTERRUPT: u32 = 536870912;
pub const SA_NOMASK: u32 = 1073741824;
pub const SA_ONESHOT: u32 = 2147483648;
pub const SA_STACK: u32 = 134217728;
pub const SIG_BLOCK: u32 = 0;
pub const SIG_UNBLOCK: u32 = 1;
pub const SIG_SETMASK: u32 = 2;
pub const _BITS_SIGCONTEXT_H: u32 = 1;
pub const FP_XSTATE_MAGIC1: u32 = 1179670611;
pub const FP_XSTATE_MAGIC2: u32 = 1179670597;
pub const __stack_t_defined: u32 = 1;
pub const _SYS_UCONTEXT_H: u32 = 1;
pub const __NGREG: u32 = 23;
pub const NGREG: u32 = 23;
pub const _BITS_SIGSTACK_H: u32 = 1;
pub const MINSIGSTKSZ: u32 = 2048;
pub const SIGSTKSZ: u32 = 8192;
pub const _BITS_SS_FLAGS_H: u32 = 1;
pub const __sigstack_defined: u32 = 1;
pub const _BITS_SIGTHREAD_H: u32 = 1;
pub const ZEND_SIGNAL_QUEUE_SIZE: u32 = 64;
pub const ZMSG_FAILED_INCLUDE_FOPEN: u32 = 1;
pub const ZMSG_FAILED_REQUIRE_FOPEN: u32 = 2;
pub const ZMSG_FAILED_HIGHLIGHT_FOPEN: u32 = 3;
pub const ZMSG_MEMORY_LEAK_DETECTED: u32 = 4;
pub const ZMSG_MEMORY_LEAK_REPEATED: u32 = 5;
pub const ZMSG_LOG_SCRIPT_NAME: u32 = 6;
pub const ZMSG_MEMORY_LEAKS_GRAND_TOTAL: u32 = 7;
pub const DEBUG_BACKTRACE_PROVIDE_OBJECT: u32 = 1;
pub const DEBUG_BACKTRACE_IGNORE_ARGS: u32 = 2;
pub const ZEND_PROPERTY_ISSET: u32 = 0;
pub const ZEND_PROPERTY_EXISTS: u32 = 2;
pub const _ERRNO_H: u32 = 1;
pub const _BITS_ERRNO_H: u32 = 1;
pub const EPERM: u32 = 1;
pub const ENOENT: u32 = 2;
pub const ESRCH: u32 = 3;
pub const EINTR: u32 = 4;
pub const EIO: u32 = 5;
pub const ENXIO: u32 = 6;
pub const E2BIG: u32 = 7;
pub const ENOEXEC: u32 = 8;
pub const EBADF: u32 = 9;
pub const ECHILD: u32 = 10;
pub const EAGAIN: u32 = 11;
pub const ENOMEM: u32 = 12;
pub const EACCES: u32 = 13;
pub const EFAULT: u32 = 14;
pub const ENOTBLK: u32 = 15;
pub const EBUSY: u32 = 16;
pub const EEXIST: u32 = 17;
pub const EXDEV: u32 = 18;
pub const ENODEV: u32 = 19;
pub const ENOTDIR: u32 = 20;
pub const EISDIR: u32 = 21;
pub const EINVAL: u32 = 22;
pub const ENFILE: u32 = 23;
pub const EMFILE: u32 = 24;
pub const ENOTTY: u32 = 25;
pub const ETXTBSY: u32 = 26;
pub const EFBIG: u32 = 27;
pub const ENOSPC: u32 = 28;
pub const ESPIPE: u32 = 29;
pub const EROFS: u32 = 30;
pub const EMLINK: u32 = 31;
pub const EPIPE: u32 = 32;
pub const EDOM: u32 = 33;
pub const ERANGE: u32 = 34;
pub const EDEADLK: u32 = 35;
pub const ENAMETOOLONG: u32 = 36;
pub const ENOLCK: u32 = 37;
pub const ENOSYS: u32 = 38;
pub const ENOTEMPTY: u32 = 39;
pub const ELOOP: u32 = 40;
pub const EWOULDBLOCK: u32 = 11;
pub const ENOMSG: u32 = 42;
pub const EIDRM: u32 = 43;
pub const ECHRNG: u32 = 44;
pub const EL2NSYNC: u32 = 45;
pub const EL3HLT: u32 = 46;
pub const EL3RST: u32 = 47;
pub const ELNRNG: u32 = 48;
pub const EUNATCH: u32 = 49;
pub const ENOCSI: u32 = 50;
pub const EL2HLT: u32 = 51;
pub const EBADE: u32 = 52;
pub const EBADR: u32 = 53;
pub const EXFULL: u32 = 54;
pub const ENOANO: u32 = 55;
pub const EBADRQC: u32 = 56;
pub const EBADSLT: u32 = 57;
pub const EDEADLOCK: u32 = 35;
pub const EBFONT: u32 = 59;
pub const ENOSTR: u32 = 60;
pub const ENODATA: u32 = 61;
pub const ETIME: u32 = 62;
pub const ENOSR: u32 = 63;
pub const ENONET: u32 = 64;
pub const ENOPKG: u32 = 65;
pub const EREMOTE: u32 = 66;
pub const ENOLINK: u32 = 67;
pub const EADV: u32 = 68;
pub const ESRMNT: u32 = 69;
pub const ECOMM: u32 = 70;
pub const EPROTO: u32 = 71;
pub const EMULTIHOP: u32 = 72;
pub const EDOTDOT: u32 = 73;
pub const EBADMSG: u32 = 74;
pub const EOVERFLOW: u32 = 75;
pub const ENOTUNIQ: u32 = 76;
pub const EBADFD: u32 = 77;
pub const EREMCHG: u32 = 78;
pub const ELIBACC: u32 = 79;
pub const ELIBBAD: u32 = 80;
pub const ELIBSCN: u32 = 81;
pub const ELIBMAX: u32 = 82;
pub const ELIBEXEC: u32 = 83;
pub const EILSEQ: u32 = 84;
pub const ERESTART: u32 = 85;
pub const ESTRPIPE: u32 = 86;
pub const EUSERS: u32 = 87;
pub const ENOTSOCK: u32 = 88;
pub const EDESTADDRREQ: u32 = 89;
pub const EMSGSIZE: u32 = 90;
pub const EPROTOTYPE: u32 = 91;
pub const ENOPROTOOPT: u32 = 92;
pub const EPROTONOSUPPORT: u32 = 93;
pub const ESOCKTNOSUPPORT: u32 = 94;
pub const EOPNOTSUPP: u32 = 95;
pub const EPFNOSUPPORT: u32 = 96;
pub const EAFNOSUPPORT: u32 = 97;
pub const EADDRINUSE: u32 = 98;
pub const EADDRNOTAVAIL: u32 = 99;
pub const ENETDOWN: u32 = 100;
pub const ENETUNREACH: u32 = 101;
pub const ENETRESET: u32 = 102;
pub const ECONNABORTED: u32 = 103;
pub const ECONNRESET: u32 = 104;
pub const ENOBUFS: u32 = 105;
pub const EISCONN: u32 = 106;
pub const ENOTCONN: u32 = 107;
pub const ESHUTDOWN: u32 = 108;
pub const ETOOMANYREFS: u32 = 109;
pub const ETIMEDOUT: u32 = 110;
pub const ECONNREFUSED: u32 = 111;
pub const EHOSTDOWN: u32 = 112;
pub const EHOSTUNREACH: u32 = 113;
pub const EALREADY: u32 = 114;
pub const EINPROGRESS: u32 = 115;
pub const ESTALE: u32 = 116;
pub const EUCLEAN: u32 = 117;
pub const ENOTNAM: u32 = 118;
pub const ENAVAIL: u32 = 119;
pub const EISNAM: u32 = 120;
pub const EREMOTEIO: u32 = 121;
pub const EDQUOT: u32 = 122;
pub const ENOMEDIUM: u32 = 123;
pub const EMEDIUMTYPE: u32 = 124;
pub const ECANCELED: u32 = 125;
pub const ENOKEY: u32 = 126;
pub const EKEYEXPIRED: u32 = 127;
pub const EKEYREVOKED: u32 = 128;
pub const EKEYREJECTED: u32 = 129;
pub const EOWNERDEAD: u32 = 130;
pub const ENOTRECOVERABLE: u32 = 131;
pub const ERFKILL: u32 = 132;
pub const EHWPOISON: u32 = 133;
pub const ENOTSUP: u32 = 95;
pub const __error_t_defined: u32 = 1;
pub const LP_SUFF: &'static [u8; 2usize] = b"q\0";
pub const ZEND_USE_ABS_JMP_ADDR: u32 = 0;
pub const ZEND_USE_ABS_CONST_ADDR: u32 = 0;
pub const ZEND_LIVE_TMPVAR: u32 = 0;
pub const ZEND_LIVE_LOOP: u32 = 1;
pub const ZEND_LIVE_SILENCE: u32 = 2;
pub const ZEND_LIVE_ROPE: u32 = 3;
pub const ZEND_LIVE_NEW: u32 = 4;
pub const ZEND_LIVE_MASK: u32 = 7;
pub const ZEND_ACC_PUBLIC: u32 = 1;
pub const ZEND_ACC_PROTECTED: u32 = 2;
pub const ZEND_ACC_PRIVATE: u32 = 4;
pub const ZEND_ACC_CHANGED: u32 = 8;
pub const ZEND_ACC_STATIC: u32 = 16;
pub const ZEND_ACC_FINAL: u32 = 32;
pub const ZEND_ACC_ABSTRACT: u32 = 64;
pub const ZEND_ACC_EXPLICIT_ABSTRACT_CLASS: u32 = 64;
pub const ZEND_ACC_IMMUTABLE: u32 = 128;
pub const ZEND_ACC_HAS_TYPE_HINTS: u32 = 256;
pub const ZEND_ACC_TOP_LEVEL: u32 = 512;
pub const ZEND_ACC_PRELOADED: u32 = 1024;
pub const ZEND_ACC_INTERFACE: u32 = 1;
pub const ZEND_ACC_TRAIT: u32 = 2;
pub const ZEND_ACC_ANON_CLASS: u32 = 4;
pub const ZEND_ACC_LINKED: u32 = 8;
pub const ZEND_ACC_IMPLICIT_ABSTRACT_CLASS: u32 = 16;
pub const ZEND_ACC_USE_GUARDS: u32 = 2048;
pub const ZEND_ACC_CONSTANTS_UPDATED: u32 = 4096;
pub const ZEND_ACC_INHERITED: u32 = 8192;
pub const ZEND_ACC_IMPLEMENT_INTERFACES: u32 = 16384;
pub const ZEND_ACC_IMPLEMENT_TRAITS: u32 = 32768;
pub const ZEND_HAS_STATIC_IN_METHODS: u32 = 65536;
pub const ZEND_ACC_PROPERTY_TYPES_RESOLVED: u32 = 131072;
pub const ZEND_ACC_REUSE_GET_ITERATOR: u32 = 262144;
pub const ZEND_ACC_RESOLVED_PARENT: u32 = 524288;
pub const ZEND_ACC_RESOLVED_INTERFACES: u32 = 1048576;
pub const ZEND_ACC_UNRESOLVED_VARIANCE: u32 = 2097152;
pub const ZEND_ACC_NEARLY_LINKED: u32 = 4194304;
pub const ZEND_ACC_HAS_UNLINKED_USES: u32 = 8388608;
pub const ZEND_ACC_DEPRECATED: u32 = 2048;
pub const ZEND_ACC_RETURN_REFERENCE: u32 = 4096;
pub const ZEND_ACC_HAS_RETURN_TYPE: u32 = 8192;
pub const ZEND_ACC_VARIADIC: u32 = 16384;
pub const ZEND_ACC_HAS_FINALLY_BLOCK: u32 = 32768;
pub const ZEND_ACC_EARLY_BINDING: u32 = 65536;
pub const ZEND_ACC_ALLOW_STATIC: u32 = 131072;
pub const ZEND_ACC_CALL_VIA_TRAMPOLINE: u32 = 262144;
pub const ZEND_ACC_NEVER_CACHE: u32 = 524288;
pub const ZEND_ACC_CLOSURE: u32 = 1048576;
pub const ZEND_ACC_FAKE_CLOSURE: u32 = 2097152;
pub const ZEND_ACC_HEAP_RT_CACHE: u32 = 4194304;
pub const ZEND_ACC_USER_ARG_INFO: u32 = 4194304;
pub const ZEND_ACC_GENERATOR: u32 = 16777216;
pub const ZEND_ACC_DONE_PASS_TWO: u32 = 33554432;
pub const ZEND_ACC_ARENA_ALLOCATED: u32 = 33554432;
pub const ZEND_ACC_TRAIT_CLONE: u32 = 134217728;
pub const ZEND_ACC_CTOR: u32 = 268435456;
pub const ZEND_ACC_DTOR: u32 = 536870912;
pub const ZEND_ACC_USES_THIS: u32 = 1073741824;
pub const ZEND_ACC_STRICT_TYPES: u32 = 2147483648;
pub const ZEND_ACC_PPP_MASK: u32 = 7;
pub const ZEND_ACC_CALL_VIA_HANDLER: u32 = 262144;
pub const ZEND_RETURN_VALUE: u32 = 0;
pub const ZEND_RETURN_REFERENCE: u32 = 1;
pub const ZEND_CALL_HAS_THIS: u32 = 776;
pub const ZEND_CALL_FUNCTION: u32 = 0;
pub const ZEND_CALL_CODE: u32 = 65536;
pub const ZEND_CALL_NESTED: u32 = 0;
pub const ZEND_CALL_TOP: u32 = 131072;
pub const ZEND_CALL_ALLOCATED: u32 = 262144;
pub const ZEND_CALL_FREE_EXTRA_ARGS: u32 = 524288;
pub const ZEND_CALL_HAS_SYMBOL_TABLE: u32 = 1048576;
pub const ZEND_CALL_RELEASE_THIS: u32 = 2097152;
pub const ZEND_CALL_CLOSURE: u32 = 4194304;
pub const ZEND_CALL_FAKE_CLOSURE: u32 = 8388608;
pub const ZEND_CALL_GENERATOR: u32 = 16777216;
pub const ZEND_CALL_DYNAMIC: u32 = 33554432;
pub const ZEND_CALL_SEND_ARG_BY_REF: u32 = 2147483648;
pub const ZEND_CALL_NESTED_FUNCTION: u32 = 0;
pub const ZEND_CALL_NESTED_CODE: u32 = 65536;
pub const ZEND_CALL_TOP_FUNCTION: u32 = 131072;
pub const ZEND_CALL_TOP_CODE: u32 = 196608;
pub const IS_UNUSED: u32 = 0;
pub const IS_CONST: u32 = 1;
pub const IS_TMP_VAR: u32 = 2;
pub const IS_VAR: u32 = 4;
pub const IS_CV: u32 = 8;
pub const ZEND_EXTRA_VALUE: u32 = 1;
pub const _SETJMP_H: u32 = 1;
pub const _BITS_SETJMP_H: u32 = 1;
pub const STACK_BLOCK_SIZE: u32 = 16;
pub const ZEND_STACK_APPLY_TOPDOWN: u32 = 1;
pub const ZEND_STACK_APPLY_BOTTOMUP: u32 = 2;
pub const PTR_STACK_BLOCK_SIZE: u32 = 64;
pub const ZEND_PTR_STACK_NUM_ARGS: u32 = 3;
pub const OBJ_BUCKET_INVALID: u32 = 1;
pub const _FPU_CONTROL_H: u32 = 1;
pub const _FPU_MASK_IM: u32 = 1;
pub const _FPU_MASK_DM: u32 = 2;
pub const _FPU_MASK_ZM: u32 = 4;
pub const _FPU_MASK_OM: u32 = 8;
pub const _FPU_MASK_UM: u32 = 16;
pub const _FPU_MASK_PM: u32 = 32;
pub const _FPU_EXTENDED: u32 = 768;
pub const _FPU_DOUBLE: u32 = 512;
pub const _FPU_SINGLE: u32 = 0;
pub const _FPU_RC_NEAREST: u32 = 0;
pub const _FPU_RC_DOWN: u32 = 1024;
pub const _FPU_RC_UP: u32 = 2048;
pub const _FPU_RC_ZERO: u32 = 3072;
pub const _FPU_RESERVED: u32 = 61632;
pub const _FPU_DEFAULT: u32 = 895;
pub const _FPU_IEEE: u32 = 895;
pub const XPFPA_HAVE_CW: u32 = 1;
pub const SYMTABLE_CACHE_SIZE: u32 = 32;
pub const EG_FLAGS_INITIAL: u32 = 0;
pub const EG_FLAGS_IN_SHUTDOWN: u32 = 1;
pub const EG_FLAGS_OBJECT_STORE_NO_REUSE: u32 = 2;
pub const EG_FLAGS_IN_RESOURCE_SHUTDOWN: u32 = 4;
pub const INITIAL_OP_ARRAY_SIZE: u32 = 64;
pub const ZEND_VM_SPEC: u32 = 1;
pub const ZEND_VM_LINES: u32 = 0;
pub const ZEND_VM_KIND_CALL: u32 = 1;
pub const ZEND_VM_KIND_SWITCH: u32 = 2;
pub const ZEND_VM_KIND_GOTO: u32 = 3;
pub const ZEND_VM_KIND_HYBRID: u32 = 4;
pub const ZEND_VM_KIND: u32 = 4;
pub const ZEND_VM_OP_SPEC: u32 = 1;
pub const ZEND_VM_OP_CONST: u32 = 2;
pub const ZEND_VM_OP_TMPVAR: u32 = 4;
pub const ZEND_VM_OP_TMPVARCV: u32 = 8;
pub const ZEND_VM_OP_MASK: u32 = 240;
pub const ZEND_VM_OP_NUM: u32 = 16;
pub const ZEND_VM_OP_JMP_ADDR: u32 = 32;
pub const ZEND_VM_OP_TRY_CATCH: u32 = 48;
pub const ZEND_VM_OP_THIS: u32 = 80;
pub const ZEND_VM_OP_NEXT: u32 = 96;
pub const ZEND_VM_OP_CLASS_FETCH: u32 = 112;
pub const ZEND_VM_OP_CONSTRUCTOR: u32 = 128;
pub const ZEND_VM_OP_CONST_FETCH: u32 = 144;
pub const ZEND_VM_OP_CACHE_SLOT: u32 = 160;
pub const ZEND_VM_EXT_VAR_FETCH: u32 = 65536;
pub const ZEND_VM_EXT_ISSET: u32 = 131072;
pub const ZEND_VM_EXT_CACHE_SLOT: u32 = 262144;
pub const ZEND_VM_EXT_ARRAY_INIT: u32 = 524288;
pub const ZEND_VM_EXT_REF: u32 = 1048576;
pub const ZEND_VM_EXT_FETCH_REF: u32 = 2097152;
pub const ZEND_VM_EXT_DIM_OBJ_WRITE: u32 = 4194304;
pub const ZEND_VM_EXT_MASK: u32 = 251658240;
pub const ZEND_VM_EXT_NUM: u32 = 16777216;
pub const ZEND_VM_EXT_LAST_CATCH: u32 = 33554432;
pub const ZEND_VM_EXT_JMP_ADDR: u32 = 50331648;
pub const ZEND_VM_EXT_OP: u32 = 67108864;
pub const ZEND_VM_EXT_TYPE: u32 = 117440512;
pub const ZEND_VM_EXT_EVAL: u32 = 134217728;
pub const ZEND_VM_EXT_TYPE_MASK: u32 = 150994944;
pub const ZEND_VM_EXT_SRC: u32 = 184549376;
pub const ZEND_VM_NO_CONST_CONST: u32 = 1073741824;
pub const ZEND_VM_COMMUTATIVE: u32 = 2147483648;
pub const ZEND_NOP: u32 = 0;
pub const ZEND_ADD: u32 = 1;
pub const ZEND_SUB: u32 = 2;
pub const ZEND_MUL: u32 = 3;
pub const ZEND_DIV: u32 = 4;
pub const ZEND_MOD: u32 = 5;
pub const ZEND_SL: u32 = 6;
pub const ZEND_SR: u32 = 7;
pub const ZEND_CONCAT: u32 = 8;
pub const ZEND_BW_OR: u32 = 9;
pub const ZEND_BW_AND: u32 = 10;
pub const ZEND_BW_XOR: u32 = 11;
pub const ZEND_POW: u32 = 12;
pub const ZEND_BW_NOT: u32 = 13;
pub const ZEND_BOOL_NOT: u32 = 14;
pub const ZEND_BOOL_XOR: u32 = 15;
pub const ZEND_IS_IDENTICAL: u32 = 16;
pub const ZEND_IS_NOT_IDENTICAL: u32 = 17;
pub const ZEND_IS_EQUAL: u32 = 18;
pub const ZEND_IS_NOT_EQUAL: u32 = 19;
pub const ZEND_IS_SMALLER: u32 = 20;
pub const ZEND_IS_SMALLER_OR_EQUAL: u32 = 21;
pub const ZEND_ASSIGN: u32 = 22;
pub const ZEND_ASSIGN_DIM: u32 = 23;
pub const ZEND_ASSIGN_OBJ: u32 = 24;
pub const ZEND_ASSIGN_STATIC_PROP: u32 = 25;
pub const ZEND_ASSIGN_OP: u32 = 26;
pub const ZEND_ASSIGN_DIM_OP: u32 = 27;
pub const ZEND_ASSIGN_OBJ_OP: u32 = 28;
pub const ZEND_ASSIGN_STATIC_PROP_OP: u32 = 29;
pub const ZEND_ASSIGN_REF: u32 = 30;
pub const ZEND_QM_ASSIGN: u32 = 31;
pub const ZEND_ASSIGN_OBJ_REF: u32 = 32;
pub const ZEND_ASSIGN_STATIC_PROP_REF: u32 = 33;
pub const ZEND_PRE_INC: u32 = 34;
pub const ZEND_PRE_DEC: u32 = 35;
pub const ZEND_POST_INC: u32 = 36;
pub const ZEND_POST_DEC: u32 = 37;
pub const ZEND_PRE_INC_STATIC_PROP: u32 = 38;
pub const ZEND_PRE_DEC_STATIC_PROP: u32 = 39;
pub const ZEND_POST_INC_STATIC_PROP: u32 = 40;
pub const ZEND_POST_DEC_STATIC_PROP: u32 = 41;
pub const ZEND_JMP: u32 = 42;
pub const ZEND_JMPZ: u32 = 43;
pub const ZEND_JMPNZ: u32 = 44;
pub const ZEND_JMPZNZ: u32 = 45;
pub const ZEND_JMPZ_EX: u32 = 46;
pub const ZEND_JMPNZ_EX: u32 = 47;
pub const ZEND_CASE: u32 = 48;
pub const ZEND_CHECK_VAR: u32 = 49;
pub const ZEND_SEND_VAR_NO_REF_EX: u32 = 50;
pub const ZEND_CAST: u32 = 51;
pub const ZEND_BOOL: u32 = 52;
pub const ZEND_FAST_CONCAT: u32 = 53;
pub const ZEND_ROPE_INIT: u32 = 54;
pub const ZEND_ROPE_ADD: u32 = 55;
pub const ZEND_ROPE_END: u32 = 56;
pub const ZEND_BEGIN_SILENCE: u32 = 57;
pub const ZEND_END_SILENCE: u32 = 58;
pub const ZEND_INIT_FCALL_BY_NAME: u32 = 59;
pub const ZEND_DO_FCALL: u32 = 60;
pub const ZEND_INIT_FCALL: u32 = 61;
pub const ZEND_RETURN: u32 = 62;
pub const ZEND_RECV: u32 = 63;
pub const ZEND_RECV_INIT: u32 = 64;
pub const ZEND_SEND_VAL: u32 = 65;
pub const ZEND_SEND_VAR_EX: u32 = 66;
pub const ZEND_SEND_REF: u32 = 67;
pub const ZEND_NEW: u32 = 68;
pub const ZEND_INIT_NS_FCALL_BY_NAME: u32 = 69;
pub const ZEND_FREE: u32 = 70;
pub const ZEND_INIT_ARRAY: u32 = 71;
pub const ZEND_ADD_ARRAY_ELEMENT: u32 = 72;
pub const ZEND_INCLUDE_OR_EVAL: u32 = 73;
pub const ZEND_UNSET_VAR: u32 = 74;
pub const ZEND_UNSET_DIM: u32 = 75;
pub const ZEND_UNSET_OBJ: u32 = 76;
pub const ZEND_FE_RESET_R: u32 = 77;
pub const ZEND_FE_FETCH_R: u32 = 78;
pub const ZEND_EXIT: u32 = 79;
pub const ZEND_FETCH_R: u32 = 80;
pub const ZEND_FETCH_DIM_R: u32 = 81;
pub const ZEND_FETCH_OBJ_R: u32 = 82;
pub const ZEND_FETCH_W: u32 = 83;
pub const ZEND_FETCH_DIM_W: u32 = 84;
pub const ZEND_FETCH_OBJ_W: u32 = 85;
pub const ZEND_FETCH_RW: u32 = 86;
pub const ZEND_FETCH_DIM_RW: u32 = 87;
pub const ZEND_FETCH_OBJ_RW: u32 = 88;
pub const ZEND_FETCH_IS: u32 = 89;
pub const ZEND_FETCH_DIM_IS: u32 = 90;
pub const ZEND_FETCH_OBJ_IS: u32 = 91;
pub const ZEND_FETCH_FUNC_ARG: u32 = 92;
pub const ZEND_FETCH_DIM_FUNC_ARG: u32 = 93;
pub const ZEND_FETCH_OBJ_FUNC_ARG: u32 = 94;
pub const ZEND_FETCH_UNSET: u32 = 95;
pub const ZEND_FETCH_DIM_UNSET: u32 = 96;
pub const ZEND_FETCH_OBJ_UNSET: u32 = 97;
pub const ZEND_FETCH_LIST_R: u32 = 98;
pub const ZEND_FETCH_CONSTANT: u32 = 99;
pub const ZEND_CHECK_FUNC_ARG: u32 = 100;
pub const ZEND_EXT_STMT: u32 = 101;
pub const ZEND_EXT_FCALL_BEGIN: u32 = 102;
pub const ZEND_EXT_FCALL_END: u32 = 103;
pub const ZEND_EXT_NOP: u32 = 104;
pub const ZEND_TICKS: u32 = 105;
pub const ZEND_SEND_VAR_NO_REF: u32 = 106;
pub const ZEND_CATCH: u32 = 107;
pub const ZEND_THROW: u32 = 108;
pub const ZEND_FETCH_CLASS: u32 = 109;
pub const ZEND_CLONE: u32 = 110;
pub const ZEND_RETURN_BY_REF: u32 = 111;
pub const ZEND_INIT_METHOD_CALL: u32 = 112;
pub const ZEND_INIT_STATIC_METHOD_CALL: u32 = 113;
pub const ZEND_ISSET_ISEMPTY_VAR: u32 = 114;
pub const ZEND_ISSET_ISEMPTY_DIM_OBJ: u32 = 115;
pub const ZEND_SEND_VAL_EX: u32 = 116;
pub const ZEND_SEND_VAR: u32 = 117;
pub const ZEND_INIT_USER_CALL: u32 = 118;
pub const ZEND_SEND_ARRAY: u32 = 119;
pub const ZEND_SEND_USER: u32 = 120;
pub const ZEND_STRLEN: u32 = 121;
pub const ZEND_DEFINED: u32 = 122;
pub const ZEND_TYPE_CHECK: u32 = 123;
pub const ZEND_VERIFY_RETURN_TYPE: u32 = 124;
pub const ZEND_FE_RESET_RW: u32 = 125;
pub const ZEND_FE_FETCH_RW: u32 = 126;
pub const ZEND_FE_FREE: u32 = 127;
pub const ZEND_INIT_DYNAMIC_CALL: u32 = 128;
pub const ZEND_DO_ICALL: u32 = 129;
pub const ZEND_DO_UCALL: u32 = 130;
pub const ZEND_DO_FCALL_BY_NAME: u32 = 131;
pub const ZEND_PRE_INC_OBJ: u32 = 132;
pub const ZEND_PRE_DEC_OBJ: u32 = 133;
pub const ZEND_POST_INC_OBJ: u32 = 134;
pub const ZEND_POST_DEC_OBJ: u32 = 135;
pub const ZEND_ECHO: u32 = 136;
pub const ZEND_OP_DATA: u32 = 137;
pub const ZEND_INSTANCEOF: u32 = 138;
pub const ZEND_GENERATOR_CREATE: u32 = 139;
pub const ZEND_MAKE_REF: u32 = 140;
pub const ZEND_DECLARE_FUNCTION: u32 = 141;
pub const ZEND_DECLARE_LAMBDA_FUNCTION: u32 = 142;
pub const ZEND_DECLARE_CONST: u32 = 143;
pub const ZEND_DECLARE_CLASS: u32 = 144;
pub const ZEND_DECLARE_CLASS_DELAYED: u32 = 145;
pub const ZEND_DECLARE_ANON_CLASS: u32 = 146;
pub const ZEND_ADD_ARRAY_UNPACK: u32 = 147;
pub const ZEND_ISSET_ISEMPTY_PROP_OBJ: u32 = 148;
pub const ZEND_HANDLE_EXCEPTION: u32 = 149;
pub const ZEND_USER_OPCODE: u32 = 150;
pub const ZEND_ASSERT_CHECK: u32 = 151;
pub const ZEND_JMP_SET: u32 = 152;
pub const ZEND_UNSET_CV: u32 = 153;
pub const ZEND_ISSET_ISEMPTY_CV: u32 = 154;
pub const ZEND_FETCH_LIST_W: u32 = 155;
pub const ZEND_SEPARATE: u32 = 156;
pub const ZEND_FETCH_CLASS_NAME: u32 = 157;
pub const ZEND_CALL_TRAMPOLINE: u32 = 158;
pub const ZEND_DISCARD_EXCEPTION: u32 = 159;
pub const ZEND_YIELD: u32 = 160;
pub const ZEND_GENERATOR_RETURN: u32 = 161;
pub const ZEND_FAST_CALL: u32 = 162;
pub const ZEND_FAST_RET: u32 = 163;
pub const ZEND_RECV_VARIADIC: u32 = 164;
pub const ZEND_SEND_UNPACK: u32 = 165;
pub const ZEND_YIELD_FROM: u32 = 166;
pub const ZEND_COPY_TMP: u32 = 167;
pub const ZEND_BIND_GLOBAL: u32 = 168;
pub const ZEND_COALESCE: u32 = 169;
pub const ZEND_SPACESHIP: u32 = 170;
pub const ZEND_FUNC_NUM_ARGS: u32 = 171;
pub const ZEND_FUNC_GET_ARGS: u32 = 172;
pub const ZEND_FETCH_STATIC_PROP_R: u32 = 173;
pub const ZEND_FETCH_STATIC_PROP_W: u32 = 174;
pub const ZEND_FETCH_STATIC_PROP_RW: u32 = 175;
pub const ZEND_FETCH_STATIC_PROP_IS: u32 = 176;
pub const ZEND_FETCH_STATIC_PROP_FUNC_ARG: u32 = 177;
pub const ZEND_FETCH_STATIC_PROP_UNSET: u32 = 178;
pub const ZEND_UNSET_STATIC_PROP: u32 = 179;
pub const ZEND_ISSET_ISEMPTY_STATIC_PROP: u32 = 180;
pub const ZEND_FETCH_CLASS_CONSTANT: u32 = 181;
pub const ZEND_BIND_LEXICAL: u32 = 182;
pub const ZEND_BIND_STATIC: u32 = 183;
pub const ZEND_FETCH_THIS: u32 = 184;
pub const ZEND_SEND_FUNC_ARG: u32 = 185;
pub const ZEND_ISSET_ISEMPTY_THIS: u32 = 186;
pub const ZEND_SWITCH_LONG: u32 = 187;
pub const ZEND_SWITCH_STRING: u32 = 188;
pub const ZEND_IN_ARRAY: u32 = 189;
pub const ZEND_COUNT: u32 = 190;
pub const ZEND_GET_CLASS: u32 = 191;
pub const ZEND_GET_CALLED_CLASS: u32 = 192;
pub const ZEND_GET_TYPE: u32 = 193;
pub const ZEND_ARRAY_KEY_EXISTS: u32 = 194;
pub const ZEND_VM_LAST_OPCODE: u32 = 194;
pub const ZEND_FETCH_CLASS_DEFAULT: u32 = 0;
pub const ZEND_FETCH_CLASS_SELF: u32 = 1;
pub const ZEND_FETCH_CLASS_PARENT: u32 = 2;
pub const ZEND_FETCH_CLASS_STATIC: u32 = 3;
pub const ZEND_FETCH_CLASS_AUTO: u32 = 4;
pub const ZEND_FETCH_CLASS_INTERFACE: u32 = 5;
pub const ZEND_FETCH_CLASS_TRAIT: u32 = 6;
pub const ZEND_FETCH_CLASS_MASK: u32 = 15;
pub const ZEND_FETCH_CLASS_NO_AUTOLOAD: u32 = 128;
pub const ZEND_FETCH_CLASS_SILENT: u32 = 256;
pub const ZEND_FETCH_CLASS_EXCEPTION: u32 = 512;
pub const ZEND_FETCH_CLASS_ALLOW_UNLINKED: u32 = 1024;
pub const ZEND_FETCH_CLASS_ALLOW_NEARLY_LINKED: u32 = 2048;
pub const ZEND_PARAM_REF: u32 = 1;
pub const ZEND_PARAM_VARIADIC: u32 = 2;
pub const ZEND_NAME_FQ: u32 = 0;
pub const ZEND_NAME_NOT_FQ: u32 = 1;
pub const ZEND_NAME_RELATIVE: u32 = 2;
pub const ZEND_TYPE_NULLABLE: u32 = 256;
pub const ZEND_ARRAY_SYNTAX_LIST: u32 = 1;
pub const ZEND_ARRAY_SYNTAX_LONG: u32 = 2;
pub const ZEND_ARRAY_SYNTAX_SHORT: u32 = 3;
pub const BP_VAR_R: u32 = 0;
pub const BP_VAR_W: u32 = 1;
pub const BP_VAR_RW: u32 = 2;
pub const BP_VAR_IS: u32 = 3;
pub const BP_VAR_FUNC_ARG: u32 = 4;
pub const BP_VAR_UNSET: u32 = 5;
pub const ZEND_INTERNAL_FUNCTION: u32 = 1;
pub const ZEND_USER_FUNCTION: u32 = 2;
pub const ZEND_OVERLOADED_FUNCTION: u32 = 3;
pub const ZEND_EVAL_CODE: u32 = 4;
pub const ZEND_OVERLOADED_FUNCTION_TEMPORARY: u32 = 5;
pub const ZEND_INTERNAL_CLASS: u32 = 1;
pub const ZEND_USER_CLASS: u32 = 2;
pub const ZEND_EVAL: u32 = 1;
pub const ZEND_INCLUDE: u32 = 2;
pub const ZEND_INCLUDE_ONCE: u32 = 4;
pub const ZEND_REQUIRE: u32 = 8;
pub const ZEND_REQUIRE_ONCE: u32 = 16;
pub const ZEND_FETCH_GLOBAL: u32 = 2;
pub const ZEND_FETCH_LOCAL: u32 = 4;
pub const ZEND_FETCH_GLOBAL_LOCK: u32 = 8;
pub const ZEND_FETCH_TYPE_MASK: u32 = 14;
pub const ZEND_FETCH_REF: u32 = 1;
pub const ZEND_FETCH_DIM_WRITE: u32 = 2;
pub const ZEND_FETCH_OBJ_WRITE: u32 = 3;
pub const ZEND_FETCH_OBJ_FLAGS: u32 = 3;
pub const ZEND_ISEMPTY: u32 = 1;
pub const ZEND_LAST_CATCH: u32 = 1;
pub const ZEND_FREE_ON_RETURN: u32 = 1;
pub const ZEND_FREE_SWITCH: u32 = 2;
pub const ZEND_SEND_BY_VAL: u32 = 0;
pub const ZEND_SEND_BY_REF: u32 = 1;
pub const ZEND_SEND_PREFER_REF: u32 = 2;
pub const ZEND_DIM_IS: u32 = 1;
pub const ZEND_DIM_ALTERNATIVE_SYNTAX: u32 = 2;
pub const IS_CONSTANT_UNQUALIFIED: u32 = 16;
pub const IS_CONSTANT_CLASS: u32 = 128;
pub const IS_CONSTANT_IN_NAMESPACE: u32 = 256;
pub const MAX_ARG_FLAG_NUM: u32 = 12;
pub const ZEND_RETURN_VAL: u32 = 0;
pub const ZEND_RETURN_REF: u32 = 1;
pub const ZEND_BIND_VAL: u32 = 0;
pub const ZEND_BIND_REF: u32 = 1;
pub const ZEND_BIND_IMPLICIT: u32 = 2;
pub const ZEND_RETURNS_FUNCTION: u32 = 1;
pub const ZEND_RETURNS_VALUE: u32 = 2;
pub const ZEND_ARRAY_ELEMENT_REF: u32 = 1;
pub const ZEND_ARRAY_NOT_PACKED: u32 = 2;
pub const ZEND_ARRAY_SIZE_SHIFT: u32 = 2;
pub const ZEND_PARENTHESIZED_CONDITIONAL: u32 = 1;
pub const ZEND_SYMBOL_CLASS: u32 = 1;
pub const ZEND_SYMBOL_FUNCTION: u32 = 2;
pub const ZEND_SYMBOL_CONST: u32 = 4;
pub const ZEND_PARENTHESIZED_CONCAT: u32 = 252;
pub const ZEND_GOTO: u32 = 253;
pub const ZEND_BRK: u32 = 254;
pub const ZEND_CONT: u32 = 255;
pub const ZEND_CLONE_FUNC_NAME: &'static [u8; 8usize] = b"__clone\0";
pub const ZEND_CONSTRUCTOR_FUNC_NAME: &'static [u8; 12usize] = b"__construct\0";
pub const ZEND_DESTRUCTOR_FUNC_NAME: &'static [u8; 11usize] = b"__destruct\0";
pub const ZEND_GET_FUNC_NAME: &'static [u8; 6usize] = b"__get\0";
pub const ZEND_SET_FUNC_NAME: &'static [u8; 6usize] = b"__set\0";
pub const ZEND_UNSET_FUNC_NAME: &'static [u8; 8usize] = b"__unset\0";
pub const ZEND_ISSET_FUNC_NAME: &'static [u8; 8usize] = b"__isset\0";
pub const ZEND_CALL_FUNC_NAME: &'static [u8; 7usize] = b"__call\0";
pub const ZEND_CALLSTATIC_FUNC_NAME: &'static [u8; 13usize] = b"__callstatic\0";
pub const ZEND_TOSTRING_FUNC_NAME: &'static [u8; 11usize] = b"__tostring\0";
pub const ZEND_AUTOLOAD_FUNC_NAME: &'static [u8; 11usize] = b"__autoload\0";
pub const ZEND_INVOKE_FUNC_NAME: &'static [u8; 9usize] = b"__invoke\0";
pub const ZEND_DEBUGINFO_FUNC_NAME: &'static [u8; 12usize] = b"__debuginfo\0";
pub const ZEND_COMPILE_EXTENDED_STMT: u32 = 1;
pub const ZEND_COMPILE_EXTENDED_FCALL: u32 = 2;
pub const ZEND_COMPILE_EXTENDED_INFO: u32 = 3;
pub const ZEND_COMPILE_HANDLE_OP_ARRAY: u32 = 4;
pub const ZEND_COMPILE_IGNORE_INTERNAL_FUNCTIONS: u32 = 8;
pub const ZEND_COMPILE_IGNORE_INTERNAL_CLASSES: u32 = 16;
pub const ZEND_COMPILE_DELAYED_BINDING: u32 = 32;
pub const ZEND_COMPILE_NO_CONSTANT_SUBSTITUTION: u32 = 64;
pub const ZEND_COMPILE_NO_BUILTIN_STRLEN: u32 = 128;
pub const ZEND_COMPILE_NO_PERSISTENT_CONSTANT_SUBSTITUTION: u32 = 256;
pub const ZEND_COMPILE_IGNORE_USER_FUNCTIONS: u32 = 512;
pub const ZEND_COMPILE_GUARDS: u32 = 1024;
pub const ZEND_COMPILE_NO_BUILTINS: u32 = 2048;
pub const ZEND_COMPILE_WITH_FILE_CACHE: u32 = 4096;
pub const ZEND_COMPILE_IGNORE_OTHER_FILES: u32 = 8192;
pub const ZEND_COMPILE_WITHOUT_EXECUTION: u32 = 16384;
pub const ZEND_COMPILE_PRELOAD: u32 = 32768;
pub const ZEND_COMPILE_NO_JUMPTABLES: u32 = 65536;
pub const ZEND_COMPILE_PRELOAD_IN_CHILD: u32 = 131072;
pub const ZEND_COMPILE_DEFAULT: u32 = 4;
pub const ZEND_COMPILE_DEFAULT_FOR_EVAL: u32 = 0;
pub const ZEND_BUILD_TS: &'static [u8; 5usize] = b",NTS\0";
pub const ZEND_MODULE_API_NO: u32 = 20190902;
pub const USING_ZTS: u32 = 0;
pub const MODULE_PERSISTENT: u32 = 1;
pub const MODULE_TEMPORARY: u32 = 2;
pub const MODULE_DEP_REQUIRED: u32 = 1;
pub const MODULE_DEP_CONFLICTS: u32 = 2;
pub const MODULE_DEP_OPTIONAL: u32 = 3;
pub const ZEND_USER_OPCODE_CONTINUE: u32 = 0;
pub const ZEND_USER_OPCODE_RETURN: u32 = 1;
pub const ZEND_USER_OPCODE_DISPATCH: u32 = 2;
pub const ZEND_USER_OPCODE_ENTER: u32 = 3;
pub const ZEND_USER_OPCODE_LEAVE: u32 = 4;
pub const ZEND_USER_OPCODE_DISPATCH_TO: u32 = 256;
pub const CACHE_SPECIAL: u32 = 1;
pub const ZEND_PARSE_PARAMS_QUIET: u32 = 2;
pub const ZEND_PARSE_PARAMS_THROW: u32 = 4;
pub const IS_CALLABLE_CHECK_SYNTAX_ONLY: u32 = 1;
pub const IS_CALLABLE_CHECK_NO_ACCESS: u32 = 2;
pub const IS_CALLABLE_CHECK_IS_STATIC: u32 = 4;
pub const IS_CALLABLE_CHECK_SILENT: u32 = 8;
pub const IS_CALLABLE_STRICT: u32 = 4;
pub const FAST_ZPP: u32 = 1;
pub const ZPP_ERROR_OK: u32 = 0;
pub const ZPP_ERROR_FAILURE: u32 = 1;
pub const ZPP_ERROR_WRONG_CALLBACK: u32 = 2;
pub const ZPP_ERROR_WRONG_CLASS: u32 = 3;
pub const ZPP_ERROR_WRONG_ARG: u32 = 4;
pub const ZPP_ERROR_WRONG_COUNT: u32 = 5;
pub const PHP_OS_FAMILY: &'static [u8; 6usize] = b"Linux\0";
pub const PHP_DEBUG: u32 = 0;
pub const PHP_DIR_SEPARATOR: u8 = 47u8;
pub const PHP_EOL: &'static [u8; 2usize] = b"\n\0";
pub const PHP_ODBC_CFLAGS: &'static [u8; 1usize] = b"\0";
pub const PHP_ODBC_LFLAGS: &'static [u8; 1usize] = b"\0";
pub const PHP_ODBC_LIBS: &'static [u8; 1usize] = b"\0";
pub const PHP_ODBC_TYPE: &'static [u8; 1usize] = b"\0";
pub const PHP_OCI8_DIR: &'static [u8; 1usize] = b"\0";
pub const PHP_OCI8_ORACLE_VERSION: &'static [u8; 1usize] = b"\0";
pub const PHP_PROG_SENDMAIL: &'static [u8; 19usize] = b"/usr/sbin/sendmail\0";
pub const PEAR_INSTALLDIR: &'static [u8; 15usize] = b"/usr/share/php\0";
pub const PHP_INCLUDE_PATH: &'static [u8; 17usize] = b".:/usr/share/php\0";
pub const PHP_EXTENSION_DIR: &'static [u8; 22usize] = b"/usr/lib/php/20190902\0";
pub const PHP_PREFIX: &'static [u8; 5usize] = b"/usr\0";
pub const PHP_BINDIR: &'static [u8; 9usize] = b"/usr/bin\0";
pub const PHP_SBINDIR: &'static [u8; 10usize] = b"/usr/sbin\0";
pub const PHP_MANDIR: &'static [u8; 15usize] = b"/usr/share/man\0";
pub const PHP_LIBDIR: &'static [u8; 13usize] = b"/usr/lib/php\0";
pub const PHP_DATADIR: &'static [u8; 19usize] = b"/usr/share/php/7.4\0";
pub const PHP_SYSCONFDIR: &'static [u8; 5usize] = b"/etc\0";
pub const PHP_LOCALSTATEDIR: &'static [u8; 5usize] = b"/var\0";
pub const PHP_CONFIG_FILE_PATH: &'static [u8; 17usize] = b"/etc/php/7.4/cli\0";
pub const PHP_CONFIG_FILE_SCAN_DIR: &'static [u8; 24usize] = b"/etc/php/7.4/cli/conf.d\0";
pub const PHP_SHLIB_SUFFIX: &'static [u8; 3usize] = b"so\0";
pub const PHP_SHLIB_EXT_PREFIX: &'static [u8; 1usize] = b"\0";
pub const HAVE_STRLCPY: u32 = 1;
pub const USE_STRLCPY_PHP_IMPL: u32 = 1;
pub const HAVE_STRLCAT: u32 = 1;
pub const USE_STRLCAT_PHP_IMPL: u32 = 1;
pub const _CTYPE_H: u32 = 1;
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_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 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 _PWD_H: u32 = 1;
pub const NSS_BUFLEN_PASSWD: u32 = 1024;
pub const _SYS_PARAM_H: u32 = 1;
pub const HZ: u32 = 100;
pub const EXEC_PAGESIZE: u32 = 4096;
pub const NOGROUP: i32 = -1;
pub const MAXHOSTNAMELEN: u32 = 64;
pub const MAXSYMLINKS: u32 = 20;
pub const NOFILE: u32 = 256;
pub const NCARGS: u32 = 131072;
pub const NGROUPS: u32 = 65536;
pub const CANBSIZ: u32 = 255;
pub const MAXPATHLEN: u32 = 4096;
pub const DEV_BSIZE: u32 = 512;
pub const FORMAT_CONV_MAX_PRECISION: u32 = 500;
pub const EXEC_INPUT_BUF: u32 = 4096;
pub const PHP_MIME_TYPE: &'static [u8; 24usize] = b"application/x-httpd-php\0";
pub const _SYS_SYSLOG_H: u32 = 1;
pub const _BITS_SYSLOG_PATH_H: u32 = 1;
pub const _PATH_LOG: &'static [u8; 9usize] = b"/dev/log\0";
pub const LOG_EMERG: u32 = 0;
pub const LOG_ALERT: u32 = 1;
pub const LOG_CRIT: u32 = 2;
pub const LOG_ERR: u32 = 3;
pub const LOG_WARNING: u32 = 4;
pub const LOG_NOTICE: u32 = 5;
pub const LOG_INFO: u32 = 6;
pub const LOG_DEBUG: u32 = 7;
pub const LOG_PRIMASK: u32 = 7;
pub const LOG_KERN: u32 = 0;
pub const LOG_USER: u32 = 8;
pub const LOG_MAIL: u32 = 16;
pub const LOG_DAEMON: u32 = 24;
pub const LOG_AUTH: u32 = 32;
pub const LOG_SYSLOG: u32 = 40;
pub const LOG_LPR: u32 = 48;
pub const LOG_NEWS: u32 = 56;
pub const LOG_UUCP: u32 = 64;
pub const LOG_CRON: u32 = 72;
pub const LOG_AUTHPRIV: u32 = 80;
pub const LOG_FTP: u32 = 88;
pub const LOG_LOCAL0: u32 = 128;
pub const LOG_LOCAL1: u32 = 136;
pub const LOG_LOCAL2: u32 = 144;
pub const LOG_LOCAL3: u32 = 152;
pub const LOG_LOCAL4: u32 = 160;
pub const LOG_LOCAL5: u32 = 168;
pub const LOG_LOCAL6: u32 = 176;
pub const LOG_LOCAL7: u32 = 184;
pub const LOG_NFACILITIES: u32 = 24;
pub const LOG_FACMASK: u32 = 1016;
pub const LOG_PID: u32 = 1;
pub const LOG_CONS: u32 = 2;
pub const LOG_ODELAY: u32 = 4;
pub const LOG_NDELAY: u32 = 8;
pub const LOG_NOWAIT: u32 = 16;
pub const LOG_PERROR: u32 = 32;
pub const PHP_SYSLOG_FILTER_ALL: u32 = 0;
pub const PHP_SYSLOG_FILTER_NO_CTRL: u32 = 1;
pub const PHP_SYSLOG_FILTER_ASCII: u32 = 2;
pub const PHP_SYSLOG_FILTER_RAW: u32 = 3;
pub const PHP_OUTPUT_NEWAPI: u32 = 1;
pub const PHP_OUTPUT_HANDLER_WRITE: u32 = 0;
pub const PHP_OUTPUT_HANDLER_START: u32 = 1;
pub const PHP_OUTPUT_HANDLER_CLEAN: u32 = 2;
pub const PHP_OUTPUT_HANDLER_FLUSH: u32 = 4;
pub const PHP_OUTPUT_HANDLER_FINAL: u32 = 8;
pub const PHP_OUTPUT_HANDLER_CONT: u32 = 0;
pub const PHP_OUTPUT_HANDLER_END: u32 = 8;
pub const PHP_OUTPUT_HANDLER_INTERNAL: u32 = 0;
pub const PHP_OUTPUT_HANDLER_USER: u32 = 1;
pub const PHP_OUTPUT_HANDLER_CLEANABLE: u32 = 16;
pub const PHP_OUTPUT_HANDLER_FLUSHABLE: u32 = 32;
pub const PHP_OUTPUT_HANDLER_REMOVABLE: u32 = 64;
pub const PHP_OUTPUT_HANDLER_STDFLAGS: u32 = 112;
pub const PHP_OUTPUT_HANDLER_STARTED: u32 = 4096;
pub const PHP_OUTPUT_HANDLER_DISABLED: u32 = 8192;
pub const PHP_OUTPUT_HANDLER_PROCESSED: u32 = 16384;
pub const PHP_OUTPUT_POP_TRY: u32 = 0;
pub const PHP_OUTPUT_POP_FORCE: u32 = 1;
pub const PHP_OUTPUT_POP_DISCARD: u32 = 16;
pub const PHP_OUTPUT_POP_SILENT: u32 = 256;
pub const PHP_OUTPUT_IMPLICITFLUSH: u32 = 1;
pub const PHP_OUTPUT_DISABLED: u32 = 2;
pub const PHP_OUTPUT_WRITTEN: u32 = 4;
pub const PHP_OUTPUT_SENT: u32 = 8;
pub const PHP_OUTPUT_ACTIVE: u32 = 16;
pub const PHP_OUTPUT_LOCKED: u32 = 32;
pub const PHP_OUTPUT_ACTIVATED: u32 = 1048576;
pub const PHP_OUTPUT_HANDLER_ALIGNTO_SIZE: u32 = 4096;
pub const PHP_OUTPUT_HANDLER_DEFAULT_SIZE: u32 = 16384;
pub const _SYS_TIME_H: u32 = 1;
pub const PHP_STREAM_NOTIFIER_PROGRESS: u32 = 1;
pub const PHP_STREAM_NOTIFY_RESOLVE: u32 = 1;
pub const PHP_STREAM_NOTIFY_CONNECT: u32 = 2;
pub const PHP_STREAM_NOTIFY_AUTH_REQUIRED: u32 = 3;
pub const PHP_STREAM_NOTIFY_MIME_TYPE_IS: u32 = 4;
pub const PHP_STREAM_NOTIFY_FILE_SIZE_IS: u32 = 5;
pub const PHP_STREAM_NOTIFY_REDIRECTED: u32 = 6;
pub const PHP_STREAM_NOTIFY_PROGRESS: u32 = 7;
pub const PHP_STREAM_NOTIFY_COMPLETED: u32 = 8;
pub const PHP_STREAM_NOTIFY_FAILURE: u32 = 9;
pub const PHP_STREAM_NOTIFY_AUTH_RESULT: u32 = 10;
pub const PHP_STREAM_NOTIFY_SEVERITY_INFO: u32 = 0;
pub const PHP_STREAM_NOTIFY_SEVERITY_WARN: u32 = 1;
pub const PHP_STREAM_NOTIFY_SEVERITY_ERR: u32 = 2;
pub const PHP_STREAM_FILTER_READ: u32 = 1;
pub const PHP_STREAM_FILTER_WRITE: u32 = 2;
pub const PHP_STREAM_FILTER_ALL: u32 = 3;
pub const PSFS_FLAG_NORMAL: u32 = 0;
pub const PSFS_FLAG_FLUSH_INC: u32 = 1;
pub const PSFS_FLAG_FLUSH_CLOSE: u32 = 2;
pub const PHP_STREAM_FLAG_NO_SEEK: u32 = 1;
pub const PHP_STREAM_FLAG_NO_BUFFER: u32 = 2;
pub const PHP_STREAM_FLAG_EOL_UNIX: u32 = 0;
pub const PHP_STREAM_FLAG_DETECT_EOL: u32 = 4;
pub const PHP_STREAM_FLAG_EOL_MAC: u32 = 8;
pub const PHP_STREAM_FLAG_AVOID_BLOCKING: u32 = 16;
pub const PHP_STREAM_FLAG_NO_CLOSE: u32 = 32;
pub const PHP_STREAM_FLAG_IS_DIR: u32 = 64;
pub const PHP_STREAM_FLAG_NO_FCLOSE: u32 = 128;
pub const PHP_STREAM_FLAG_WAS_WRITTEN: u32 = 2147483648;
pub const PHP_STREAM_FCLOSE_NONE: u32 = 0;
pub const PHP_STREAM_FCLOSE_FDOPEN: u32 = 1;
pub const PHP_STREAM_FCLOSE_FOPENCOOKIE: u32 = 2;
pub const PHP_STREAM_PERSISTENT_SUCCESS: u32 = 0;
pub const PHP_STREAM_PERSISTENT_FAILURE: u32 = 1;
pub const PHP_STREAM_PERSISTENT_NOT_EXIST: u32 = 2;
pub const PHP_STREAM_FREE_CALL_DTOR: u32 = 1;
pub const PHP_STREAM_FREE_RELEASE_STREAM: u32 = 2;
pub const PHP_STREAM_FREE_PRESERVE_HANDLE: u32 = 4;
pub const PHP_STREAM_FREE_RSRC_DTOR: u32 = 8;
pub const PHP_STREAM_FREE_PERSISTENT: u32 = 16;
pub const PHP_STREAM_FREE_IGNORE_ENCLOSING: u32 = 32;
pub const PHP_STREAM_FREE_KEEP_RSRC: u32 = 64;
pub const PHP_STREAM_FREE_CLOSE: u32 = 3;
pub const PHP_STREAM_FREE_CLOSE_CASTED: u32 = 7;
pub const PHP_STREAM_FREE_CLOSE_PERSISTENT: u32 = 19;
pub const PHP_STREAM_MKDIR_RECURSIVE: u32 = 1;
pub const PHP_STREAM_URL_STAT_LINK: u32 = 1;
pub const PHP_STREAM_URL_STAT_QUIET: u32 = 2;
pub const PHP_STREAM_URL_STAT_NOCACHE: u32 = 4;
pub const PHP_STREAM_OPTION_BLOCKING: u32 = 1;
pub const PHP_STREAM_OPTION_READ_BUFFER: u32 = 2;
pub const PHP_STREAM_OPTION_WRITE_BUFFER: u32 = 3;
pub const PHP_STREAM_BUFFER_NONE: u32 = 0;
pub const PHP_STREAM_BUFFER_LINE: u32 = 1;
pub const PHP_STREAM_BUFFER_FULL: u32 = 2;
pub const PHP_STREAM_OPTION_READ_TIMEOUT: u32 = 4;
pub const PHP_STREAM_OPTION_SET_CHUNK_SIZE: u32 = 5;
pub const PHP_STREAM_OPTION_LOCKING: u32 = 6;
pub const PHP_STREAM_LOCK_SUPPORTED: u32 = 1;
pub const PHP_STREAM_OPTION_XPORT_API: u32 = 7;
pub const PHP_STREAM_OPTION_CRYPTO_API: u32 = 8;
pub const PHP_STREAM_OPTION_MMAP_API: u32 = 9;
pub const PHP_STREAM_OPTION_TRUNCATE_API: u32 = 10;
pub const PHP_STREAM_TRUNCATE_SUPPORTED: u32 = 0;
pub const PHP_STREAM_TRUNCATE_SET_SIZE: u32 = 1;
pub const PHP_STREAM_OPTION_META_DATA_API: u32 = 11;
pub const PHP_STREAM_OPTION_CHECK_LIVENESS: u32 = 12;
pub const PHP_STREAM_OPTION_PIPE_BLOCKING: u32 = 13;
pub const PHP_STREAM_OPTION_RETURN_OK: u32 = 0;
pub const PHP_STREAM_OPTION_RETURN_ERR: i32 = -1;
pub const PHP_STREAM_OPTION_RETURN_NOTIMPL: i32 = -2;
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_XDP: u32 = 44;
pub const PF_MAX: u32 = 45;
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_XDP: u32 = 44;
pub const AF_MAX: u32 = 45;
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 SOL_XDP: u32 = 283;
pub const SOMAXCONN: u32 = 4096;
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_OLD: u32 = 35078;
pub const SIOCGSTAMPNS_OLD: 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_OLD: u32 = 20;
pub const SO_SNDTIMEO_OLD: 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_ACCEPTCONN: u32 = 30;
pub const SO_PEERSEC: u32 = 31;
pub const SO_PASSSEC: u32 = 34;
pub const SO_MARK: u32 = 36;
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 SO_TXTIME: u32 = 61;
pub const SCM_TXTIME: u32 = 61;
pub const SO_BINDTOIFINDEX: u32 = 62;
pub const SO_TIMESTAMP_OLD: u32 = 29;
pub const SO_TIMESTAMPNS_OLD: u32 = 35;
pub const SO_TIMESTAMPING_OLD: u32 = 37;
pub const SO_TIMESTAMP_NEW: u32 = 63;
pub const SO_TIMESTAMPNS_NEW: u32 = 64;
pub const SO_TIMESTAMPING_NEW: u32 = 65;
pub const SO_RCVTIMEO_NEW: u32 = 66;
pub const SO_SNDTIMEO_NEW: u32 = 67;
pub const SO_DETACH_REUSEPORT_BPF: u32 = 68;
pub const SO_TIMESTAMP: u32 = 29;
pub const SO_TIMESTAMPNS: u32 = 35;
pub const SO_TIMESTAMPING: u32 = 37;
pub const SO_RCVTIMEO: u32 = 20;
pub const SO_SNDTIMEO: u32 = 21;
pub const SCM_TIMESTAMP: u32 = 29;
pub const SCM_TIMESTAMPNS: u32 = 35;
pub const SCM_TIMESTAMPING: u32 = 37;
pub const __osockaddr_defined: u32 = 1;
pub const STREAM_XPORT_CLIENT: u32 = 0;
pub const STREAM_XPORT_SERVER: u32 = 1;
pub const STREAM_XPORT_CONNECT: u32 = 2;
pub const STREAM_XPORT_BIND: u32 = 4;
pub const STREAM_XPORT_LISTEN: u32 = 8;
pub const STREAM_XPORT_CONNECT_ASYNC: u32 = 16;
pub const PHP_STREAM_MMAP_ALL: u32 = 0;
pub const PHP_STREAM_AS_STDIO: u32 = 0;
pub const PHP_STREAM_AS_FD: u32 = 1;
pub const PHP_STREAM_AS_SOCKETD: u32 = 2;
pub const PHP_STREAM_AS_FD_FOR_SELECT: u32 = 3;
pub const PHP_STREAM_CAST_TRY_HARD: u32 = 2147483648;
pub const PHP_STREAM_CAST_RELEASE: u32 = 1073741824;
pub const PHP_STREAM_CAST_INTERNAL: u32 = 536870912;
pub const PHP_STREAM_CAST_MASK: u32 = 3758096384;
pub const IGNORE_PATH: u32 = 0;
pub const USE_PATH: u32 = 1;
pub const IGNORE_URL: u32 = 2;
pub const REPORT_ERRORS: u32 = 8;
pub const STREAM_MUST_SEEK: u32 = 16;
pub const STREAM_WILL_CAST: u32 = 32;
pub const STREAM_LOCATE_WRAPPERS_ONLY: u32 = 64;
pub const STREAM_OPEN_FOR_INCLUDE: u32 = 128;
pub const STREAM_USE_URL: u32 = 256;
pub const STREAM_ONLY_GET_HEADERS: u32 = 512;
pub const STREAM_DISABLE_OPEN_BASEDIR: u32 = 1024;
pub const STREAM_OPEN_PERSISTENT: u32 = 2048;
pub const STREAM_USE_GLOB_DIR_OPEN: u32 = 4096;
pub const STREAM_DISABLE_URL_PROTECTION: u32 = 8192;
pub const STREAM_ASSUME_REALPATH: u32 = 16384;
pub const STREAM_USE_BLOCKING_PIPE: u32 = 32768;
pub const IGNORE_URL_WIN: u32 = 0;
pub const PHP_STREAM_UNCHANGED: u32 = 0;
pub const PHP_STREAM_RELEASED: u32 = 1;
pub const PHP_STREAM_FAILED: u32 = 2;
pub const PHP_STREAM_CRITICAL: u32 = 3;
pub const PHP_STREAM_NO_PREFERENCE: u32 = 0;
pub const PHP_STREAM_PREFER_STDIO: u32 = 1;
pub const PHP_STREAM_FORCE_CONVERSION: u32 = 2;
pub const PHP_STREAM_IS_URL: u32 = 1;
pub const PHP_STREAM_META_TOUCH: u32 = 1;
pub const PHP_STREAM_META_OWNER_NAME: u32 = 2;
pub const PHP_STREAM_META_OWNER: u32 = 3;
pub const PHP_STREAM_META_GROUP_NAME: u32 = 4;
pub const PHP_STREAM_META_GROUP: u32 = 5;
pub const PHP_STREAM_META_ACCESS: u32 = 6;
pub const PHP_STREAM_MAX_MEM: u32 = 2097152;
pub const TEMP_STREAM_DEFAULT: u32 = 0;
pub const TEMP_STREAM_READONLY: u32 = 1;
pub const TEMP_STREAM_TAKE_BUFFER: u32 = 2;
pub const TEMP_STREAM_APPEND: u32 = 4;
pub const PHP_DISPLAY_ERRORS_STDOUT: u32 = 1;
pub const PHP_DISPLAY_ERRORS_STDERR: u32 = 2;
pub const TRACK_VARS_POST: u32 = 0;
pub const TRACK_VARS_GET: u32 = 1;
pub const TRACK_VARS_COOKIE: u32 = 2;
pub const TRACK_VARS_SERVER: u32 = 3;
pub const TRACK_VARS_ENV: u32 = 4;
pub const TRACK_VARS_FILES: u32 = 5;
pub const TRACK_VARS_REQUEST: u32 = 6;
pub const ZEND_INI_USER: u32 = 1;
pub const ZEND_INI_PERDIR: u32 = 2;
pub const ZEND_INI_SYSTEM: u32 = 4;
pub const ZEND_INI_ALL: u32 = 7;
pub const ZEND_INI_DISPLAY_ORIG: u32 = 1;
pub const ZEND_INI_DISPLAY_ACTIVE: u32 = 2;
pub const ZEND_INI_STAGE_STARTUP: u32 = 1;
pub const ZEND_INI_STAGE_SHUTDOWN: u32 = 2;
pub const ZEND_INI_STAGE_ACTIVATE: u32 = 4;
pub const ZEND_INI_STAGE_DEACTIVATE: u32 = 8;
pub const ZEND_INI_STAGE_RUNTIME: u32 = 16;
pub const ZEND_INI_STAGE_HTACCESS: u32 = 32;
pub const ZEND_INI_STAGE_IN_REQUEST: u32 = 60;
pub const ZEND_INI_PARSER_ENTRY: u32 = 1;
pub const ZEND_INI_PARSER_SECTION: u32 = 2;
pub const ZEND_INI_PARSER_POP_ENTRY: u32 = 3;
pub const PHP_INI_USER: u32 = 1;
pub const PHP_INI_PERDIR: u32 = 2;
pub const PHP_INI_SYSTEM: u32 = 4;
pub const PHP_INI_ALL: u32 = 7;
pub const PHP_INI_DISPLAY_ORIG: u32 = 1;
pub const PHP_INI_DISPLAY_ACTIVE: u32 = 2;
pub const PHP_INI_STAGE_STARTUP: u32 = 1;
pub const PHP_INI_STAGE_SHUTDOWN: u32 = 2;
pub const PHP_INI_STAGE_ACTIVATE: u32 = 4;
pub const PHP_INI_STAGE_DEACTIVATE: u32 = 8;
pub const PHP_INI_STAGE_RUNTIME: u32 = 16;
pub const PHP_INI_STAGE_HTACCESS: u32 = 32;
pub const _UTIME_H: u32 = 1;
pub const _DIRENT_H: u32 = 1;
pub const _DIRENT_MATCHES_DIRENT64: u32 = 1;
pub const MAXNAMLEN: u32 = 255;
pub const DEFAULT_SLASH: u8 = 47u8;
pub const DEFAULT_DIR_SEPARATOR: u8 = 58u8;
pub const CWD_EXPAND: u32 = 0;
pub const CWD_FILEPATH: u32 = 1;
pub const CWD_REALPATH: u32 = 2;
pub const REALPATH_CACHE_TTL: u32 = 120;
pub const REALPATH_CACHE_SIZE: u32 = 0;
pub const _S_IFDIR: u32 = 16384;
pub const _S_IFREG: u32 = 32768;
pub const S_IXROOT: u32 = 73;
pub const CONST_CS: u32 = 1;
pub const CONST_PERSISTENT: u32 = 2;
pub const CONST_CT_SUBST: u32 = 4;
pub const CONST_NO_FILE_CACHE: u32 = 8;
pub const PHP_USER_CONSTANT: u32 = 8388607;
pub const ZEND_GET_CONSTANT_NO_DEPRECATION_CHECK: u32 = 4096;
pub const PHP_CONNECTION_NORMAL: u32 = 0;
pub const PHP_CONNECTION_ABORTED: u32 = 1;
pub const PHP_CONNECTION_TIMEOUT: u32 = 2;
pub const _TIME_H: u32 = 1;
pub const _BITS_TIME_H: u32 = 1;
pub const CLOCK_REALTIME: u32 = 0;
pub const CLOCK_MONOTONIC: u32 = 1;
pub const CLOCK_PROCESS_CPUTIME_ID: u32 = 2;
pub const CLOCK_THREAD_CPUTIME_ID: u32 = 3;
pub const CLOCK_MONOTONIC_RAW: u32 = 4;
pub const CLOCK_REALTIME_COARSE: u32 = 5;
pub const CLOCK_MONOTONIC_COARSE: u32 = 6;
pub const CLOCK_BOOTTIME: u32 = 7;
pub const CLOCK_REALTIME_ALARM: u32 = 8;
pub const CLOCK_BOOTTIME_ALARM: u32 = 9;
pub const CLOCK_TAI: u32 = 11;
pub const TIMER_ABSTIME: u32 = 1;
pub const _BITS_TIMEX_H: u32 = 1;
pub const ADJ_OFFSET: u32 = 1;
pub const ADJ_FREQUENCY: u32 = 2;
pub const ADJ_MAXERROR: u32 = 4;
pub const ADJ_ESTERROR: u32 = 8;
pub const ADJ_STATUS: u32 = 16;
pub const ADJ_TIMECONST: u32 = 32;
pub const ADJ_TAI: u32 = 128;
pub const ADJ_SETOFFSET: u32 = 256;
pub const ADJ_MICRO: u32 = 4096;
pub const ADJ_NANO: u32 = 8192;
pub const ADJ_TICK: u32 = 16384;
pub const ADJ_OFFSET_SINGLESHOT: u32 = 32769;
pub const ADJ_OFFSET_SS_READ: u32 = 40961;
pub const MOD_OFFSET: u32 = 1;
pub const MOD_FREQUENCY: u32 = 2;
pub const MOD_MAXERROR: u32 = 4;
pub const MOD_ESTERROR: u32 = 8;
pub const MOD_STATUS: u32 = 16;
pub const MOD_TIMECONST: u32 = 32;
pub const MOD_CLKB: u32 = 16384;
pub const MOD_CLKA: u32 = 32769;
pub const MOD_TAI: u32 = 128;
pub const MOD_MICRO: u32 = 4096;
pub const MOD_NANO: u32 = 8192;
pub const STA_PLL: u32 = 1;
pub const STA_PPSFREQ: u32 = 2;
pub const STA_PPSTIME: u32 = 4;
pub const STA_FLL: u32 = 8;
pub const STA_INS: u32 = 16;
pub const STA_DEL: u32 = 32;
pub const STA_UNSYNC: u32 = 64;
pub const STA_FREQHOLD: u32 = 128;
pub const STA_PPSSIGNAL: u32 = 256;
pub const STA_PPSJITTER: u32 = 512;
pub const STA_PPSWANDER: u32 = 1024;
pub const STA_PPSERROR: u32 = 2048;
pub const STA_CLOCKERR: u32 = 4096;
pub const STA_NANO: u32 = 8192;
pub const STA_MODE: u32 = 16384;
pub const STA_CLK: u32 = 32768;
pub const STA_RONLY: u32 = 65280;
pub const __struct_tm_defined: u32 = 1;
pub const __itimerspec_defined: u32 = 1;
pub const TIME_UTC: u32 = 1;
pub const HAVE_LOCALTIME: u32 = 1;
pub const HAVE_GMTIME: u32 = 1;
pub const HAVE_ASCTIME: u32 = 1;
pub const HAVE_CTIME: u32 = 1;
pub const PHP_ENTRY_NAME_COLOR: &'static [u8; 5usize] = b"#ccf\0";
pub const PHP_CONTENTS_COLOR: &'static [u8; 5usize] = b"#ccc\0";
pub const PHP_HEADER_COLOR: &'static [u8; 5usize] = b"#99c\0";
pub const PHP_INFO_GENERAL: u32 = 1;
pub const PHP_INFO_CREDITS: u32 = 2;
pub const PHP_INFO_CONFIGURATION: u32 = 4;
pub const PHP_INFO_MODULES: u32 = 8;
pub const PHP_INFO_ENVIRONMENT: u32 = 16;
pub const PHP_INFO_VARIABLES: u32 = 32;
pub const PHP_INFO_LICENSE: u32 = 64;
pub const PHP_INFO_ALL: u32 = 4294967295;
pub const PHP_CREDITS_GROUP: u32 = 1;
pub const PHP_CREDITS_GENERAL: u32 = 2;
pub const PHP_CREDITS_SAPI: u32 = 4;
pub const PHP_CREDITS_MODULES: u32 = 8;
pub const PHP_CREDITS_DOCS: u32 = 16;
pub const PHP_CREDITS_FULLPAGE: u32 = 32;
pub const PHP_CREDITS_QA: u32 = 64;
pub const PHP_CREDITS_WEB: u32 = 128;
pub const PHP_CREDITS_ALL: u32 = 4294967295;
pub const PHP_LOGO_DATA_URI : & 'static [u8 ; 5439usize] = b"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHkAAABACAYAAAA+j9gsAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAD4BJREFUeNrsnXtwXFUdx8/dBGihmE21QCrQDY6oZZykon/gY5qizjgM2KQMfzFAOioOA5KEh+j4R9oZH7zT6MAMKrNphZFSQreKHRgZmspLHSCJ2Co6tBtJk7Zps7tJs5t95F5/33PvWU4293F29ybdlPzaM3df2XPv+Zzf4/zOuWc1tkjl+T0HQ3SQC6SBSlD6WKN4rusGm9F1ps/o5mPriOf8dd0YoNfi0nt4ntB1PT4zYwzQkf3kR9/sW4xtpS0CmE0SyPUFUJXFMIxZcM0jAZ4xrKMudQT7963HBF0n6EaUjkP0vI9K9OEHWqJLkNW1s8mC2WgVTwGAqWTafJzTWTKZmQuZ/k1MpAi2+eys6mpWfVaAPzcILu8EVKoCAaYFtPxrAXo8qyNwzZc7gSgzgN9Hx0Ecn3j8xr4lyHOhNrlpaJIgptM5DjCdzrJ0Jmce6bWFkOpqs0MErA4gXIBuAmY53gFmOPCcdaTXCbq+n16PPLXjewMfGcgEttECeouTpk5MplhyKsPBTiXNYyULtwIW7Cx1vlwuJyDLR9L0mQiVPb27fhA54yBbGttMpc1OWwF1cmKaH2FSF7vAjGezOZZJZ9j0dIZlMhnuRiToMO0c+N4X7oksasgEt9XS2KZCHzoem2Ixq5zpAuDTqTR14FMslZyepeEI4Ogj26n0vLj33uiigExgMWRpt+CGCsEePZqoePM738BPTaJzT7CpU0nu1yXpAXCC3VeRkCW4bfJYFZo6dmJyQTW2tvZc1nb719iyZWc5fmZ6Osu6H3uVzit52oBnMll2YizGxk8muFZLAshb/YKtzQdcaO3Y2CQ7eiy+YNGvLN+4+nJetm3bxhKJxJz316xZw1pbW9kLew+w1944XBEaPj6eYCeOx1gqNe07bK1MwIDbKcOFOR49GuePT5fcfOMX2drPXcQ0zf7y2tvbWVdXF/v1k2+yQ4dPVpQ5P0Um/NjoCX6UBMFZR6k+u7qMYVBYDIEqBW7eXAfPZX19zp2/oaGBHysNMGTFinPZik9fWggbI5Omb13zUDeB3lLsdwaK/YPeyAFU0i8Aw9/2Dwyx4SPjFQEYUlf3MTYw4Jx7CIVCbHR0oqIDNMD+FMG+ZE0dO/tsHlvAWnYS6H4qjfMC+Zld/wg92/tuv2WeeYT87j+H2aFDxysGLuSy+o/z49DQkONnmpqa2MjRyoYsZOXKGnb5Z+vZqlUrxUsAvI9At/oK+elnBpoNw+Dai9TekSMxDrgSh0KrSYshTprc2NhoRf1JtlikqirAVl98AddsSavDBDrsC+QdT7/TSoB344tzOZ39+70RbporVerqasyw1MEnC8iV6I9VTDi0uqbmfPFSq2W+gyUHXuEdb3WR5rab5jnD3i/BNMN8ChNaqsTiKa55KmBWX+Tuj0XQdQVF307nhTH0CPls+O0UPbaT5TQG/8qX68u6LpV67LQ6dNknaYgaYyPDx2TzvYGCsnhRkH8b/rsF2GDj1MCInkvxvRjOuCUlipWD/zrKx7ZOwBF0vfSSM2ShyaqAAOC1Nw+zt9/5YNbrN1zfwIdpfgnqebv/A6pnWAn4qlW1HPgHQ6OeoG3N9RO/+StMdDtmV2LxJPfBpQCGfwTgrVu38jFrKaW2tpZt2LCBdXR0sEgkwhv21u9cxQsyW3ZB1+DgoOM54btU6tu8eTPr6elhy5fr7IZNDey+e76e9/fCLcAllHpdKKinpaUlX8+111xB9VzNrYxqUAY/XVVVJYMOekLu2fFGM8VWYQRYiYkU9bD4vPlHFYnH4/zvkb1CgwACHgMoUpdyw3sFXcXUh4YHaNSHDqaxdL5jwVTXBpeXVY9oF3RcUQ+O09NT7Cayfld+4RJlP42gTIq8w66Qf/X4a6FTSSMMDcaE/NhYecMM+MdyG90OAhodWoAGkTUaSZByO5WdiA4GqwStrrM6k5vFKEXQserr63l7oR5V0NBojKctaSZtbneErOtGmFxwkGewjk0UzpCUlJSIRqMcjN8CkHLDqyRByq0PEGBBhDmdj7rQVujAaLfrrlk7xyW5gUaxpEtOmOQDr0e799NYmDVBi0+OT7FcbsaXxEQk8qprEBQMBm0vVKUBRcNjskFE8W71lSt79uzhda1d6w4ZGTUUp3NWAQ3TvW/fPvbVq+rZH/ceULOcF1/I06CY3QJohCCzNJnYdgEwwvpUKuNbUsLNpO3evZtfSGHp7+/nS2pw3LLFPVWLoA5yHQUtXvXFYjH+vU4F5yOibzsRUL38MTqC3XWh8GCWziMcDjt2BNEZUIfoUOpJkwvziT3S5ua8Jj/4yD5E0yERbPkhKv4RF4mhkN1wCMHN2rWfYZ2dnWz9+vXchNkJzBoaQ8Bxqg91wWo41YdO2dzczD+3bt06Rw0rBG4nOF8oi9M0Jsw9OgLqQ124BifLgeuHyVbN0NXUrODBmDWxgRR0pNrUYqMNgDOZGZbNzvgCuc4j0kX+GPJ2//CcMagQmKkbrm/knwVEp++SIXulM1+nhj9AY207QRDnpsnye24WA59DkuPlV/5j+z5eB2hE0W1tbTyQdNJmDpksRzFp2E9csFJAboRvDvz8gZdJgw2ek55KZphfAv+Inu8UdKnmkEUHQK93EjEZ4Rbkifq8JiactEpYAy9Nli2Gm6CjIZPn1qlKFWizleOG3BIwdKNZ+KRMxr9VHKvr1NKLXo2BhlAVFRPq1qlWW6MBr3NWyY2rTGXO5ySJlN9uDuiGsV7XTVPtl8CHYGizf/9+V5Om0hAwVV4ahuU8qia03HP26kyqFkMOTudDzjs/P/QKBUiBYa5ZNucfZJUkCG/0IhpCxYyqBF3lnLOII8q1GKqdStQ3rTh5MStwXX5O/nE1metGQzPHUH6JatA1OppQ8u1eUbpX44tO4GY5vM5Z9sduFgOfG1GwUOK6VFzaSAmrWCSfzGCuuT/O+bi6QwRdTtqXN2keJ4/ejgkJ5HedRARkbkGe6ARulgMWQ+Wc3cDAWohhoZdcue7ifJ7crfP6Me8dELd0Mv8U2begC2k9SHd3t+NnNm7cqKwRbiYUkykqvlZlmOYVLIq5bHRep46JzotOc9BhuFc0ZHGLph+CJIaXr1FZSIfxsdBiN1+LpALEK2By61Aqs0rwtV7DNBU3BMCYixYTLU6C8bM5hBwum0k1mesBpmPtlj+qXFenFsAgCVLon9DYeIxUnmh05HCdBIkCVRP6ussiepVZJZXIutCHwt2I0YGY2Kiz3AIyeG5aLNooVULQBbHy1/nAK2oEtEanheil+GO3aFg0FnwSilNC4q6OrXzywc0XCy1WMaFu/tgrCBLRuWpHuP+n1zqmRXFN0GAnwKgHeW1E1C/86UDJHFKptATZMPZTafbLXHtN3OPixKRC4ev4GwB2Gy6JxhQNEYul+KoKp79RMaGqKzy9ovzt27c7pidVZtYAGJMYOP7u6bdK1mLI1GQ+/ogSZBahwKuLO2jSZt0odw65xrUhAMNrZskLsGiIXz72F3bTjV+ixvtbWcMQr3NWCbog5VyXAIy63PLrqpJITIqHkcD9P7suSiYbG53wvTLKDbr8WBbjZqIF4F3PD3ItRn1eQd5CBF3lCM5RAIYfVp0/dgZ8SvbJ2/l8MmlvNw+8qJTjm+drWQwaAXO9KMuWncc1GBMXKkGeV/pU5ZxFIsTvzovOCu3HvDnOE7NTu3rLr+PE8fy6+IEX9947YM4n/+LbPT/88R8QqoYAuVSDrZLFKcYso2AcLBIeGDPu6h3M+yqvIE/4Y6w4LdUfi+jcr86L75KvC9+PcbVfd1hCi6U7Innwk1/+Q5rcoetsdyBg3s9aCmivBsNFifGfG9zCJUFiztmpEXAbqhMgr6SLWBPu9R1enRfm1ktrC6cVYWH+/Mqg43x6sYK1edaCex7vkRZHZkF+6P6NkXvvi/TpLNBUaqTtdcsoLtIrVTcem2EHDh7m2uq0ikMINBvafOmazzt+BkGMW9CF70DndPsOaJqb38Y1oXjdCYHOiqwbPofrKid6thMAlnxxPtMy6w4K0ubNhq73U5wd5PtVleCTd+50D2CEafLloqixyv0ufMcOGq64CVaMYN2119gfAdPpuscKOxWgCMDwxfm0pvzBhx9siRLoFt3ca7Ikf+x2yygaYzHdTSi7IT9y8fMJ2Lpdhg+ZCPA2+f05d1A88mBLHzQaoA1dL6ohVLJGi+1uQj8XQMyHIMgaGT6eDxuozMkD294LRaB7CPI27DLHQSskSFRvGa30O/zndF4fF0DMhwa//9//iZ2DcILqN7xBHn1oUweNn7eJ3WO9QHvdMlrMsphKEj8XQPgpuHVVMtGOgF0hC9CGTqbb2kHOzXx73aKiuiymEv2x22ICMYYeWSALBQ7RQ0fkoZIr4DnRtS3ohzf1dNzTG9d0PcwMLahZO8UyKTMm38wteratSVtkplq4oWj0PcfrEinPhYg14H+hvdIwCVs1bvb6O+UBMYFGl90d0LRGLRDgoHEUwYnXDniQStocTVUwfPLaKQGA/RoWOmkvtnsaG8unK+PWMKlH5e+Lznp03N27RdO0TkxmYNZKszYBlyfI3RpjsQkmMOo8ls4Wsx1EKcEVAEvayyNoeRzsO2RI+93PNRLesGYtNpBhL4l/prlgZz5ob0mbtZVFhWC301d0EuQgAHPgS7D9hssTHKyMbRfLptF213NBDRuoaqxNA2yh2VUBDnxJ1M1yRW6gOgt2x64gqXK7ht1yOWyW1+wl7bYXvhUygQXgit4KuVDuBGzSbA2bmmtayNzpRgJOGu7XosHFChZzvrGTiUKt5UMiVsmbmtsCb3+2lZmwm3hFNsA/CiYdKyfhYx3Aws8urp8nsJM72naGCG8zYwZMecjk/WHVVRbsMwU6tBVQsWJS2sNDlrgVTO0RE/vzKQtuN2+/85k5PxlUaL75D3BZwKss+JUqSFRAO/F7Eqlkmj+2gbrgYE8rZFluu+P3pOGsyWCG/Y9/GR8exC+vYfc5flxgzRdDGsDEz/8AJsxwQcBUKPCtmKOMFJO8OKMgF8r3b3sKkAm69TN+2OZCAm5ID/g9XPypwX29ufWgudq0urrKes/8nPkxgy1bdg6z/or/SFc2mzV/xs+6HwySTmdYJp2dpaWKEregYrVfn9/B0xkD2U6+e+sOaHqImTfLrycUOIZM1hJwC3oemPXbi/y5PnsrJ136bUa8pxu69BklmANWwDRkgR1wmwVaglyi3Nz6JLQ+ZG5NxQsgNdAhmIfJN7wxgoWg9fxzPQ+c/g9YAIXgeUKCyipJO4uR/wswAOIwB/5IgxvbAAAAAElFTkSuQmCC\0" ;
pub const PHP_EGG_LOGO_DATA_URI : & 'static [u8 ; 8231usize] = b"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHkAAABACAMAAAAJUSgeAAAC+lBMVEUAAACtsdVsooH18+vP0Mfr5tahp3G3toS4wricto5JTIuoq9BZXJlgY55cXptQUouqp3ZkZ6OanciBk19RakXw69tISotzc0dJS4yfpHB7frOusdZ6fbSprs5qbKfv6djv59T07t/t6NWNkMF7qY6ssIa/5Na9y6K0v8+mvJZ3e7NISow5aEZGdU9Qqpc7b0lRr51QjGg3b1F7frRatqRYimZPhFtHakVRfFU/c085fV9z1sWY2chwx7Q5p5ig28p52clWsp5yzbxnxrRjwK5Gb01fknBXiWBGopNbj2hQh2FKfFNCaUOm381OppFHg2JQgmIyakovZEbD69yU18NQknKJzblku6hQn4lCellSSjZyonxYj29Lflo4ZD7G4dI8saJYnYBpl3E6hGjM6Nq05taB3MyFyLFLiWxDb0i75th80cFfWkRUUD+p5NU3m4eC1cOAg7dbu6o4dVZBYTy53s9nm3xHRjHR4NWL3s9LtaVrrZFPk3tDknhimHNBeFKv4NCa4NDp4s54qINmnnVZlnNNeEva5d2L1cO1xaxucat2t5xYmHpokWZagls2Xj0tTy7e7eGGirs5oJBhkGphimNGdEmTzLmAr41FoIpFl4FCinGWmsWk1L9bgFNabko/Y0NMZD9DOyrT7uHK7uCV3MyL2cnK1sds08JlzLxxvqiMuZZZqJNco4k1k39SbELu7OCh49Ss2sm22MaOj3h7zLl8xKpui11lhVcvWzg7VzZfsJhiqYmhlHyBfGZvZ1MlYkidoI5Cf11We06Okr5laaRCq5s0iXKDmmdRc08mVzqhpc2yu8xxm3M0Mx6dpcPPyrWlxqOktZuMsIZIi2RpdV3c2sunqZqPhmnF09S7xdEweV2AdVjc1by40LiWnKzJwKi3tKRyfXFTwrRnuZ2YwZpwlGgiQimHi69Dua1sr5tUVpTEzLuZwKytuK54faKyqI4qcFdIXDagpbR5govMuJaSnYF9n4CkyblBRz3+/v/DqYZwXD8UFA2nO9FlAAAAKnRSTlMA/v79Iv70aP781IEnRv6VSXBf/Ovbt0rv5NG8r9jMxa+KTc/CjsSj2soo+frGAAAUlUlEQVRYw6zUbWgScRwH8BxBM9uiXkTQw4te9HDZg9mkdY0uVw6LimY641ZyzodhcGhReKws8Y5KjUrGlFIIfOjU+cLJBsN7NfRNGrbpG33hiBwMRnvTm172u0PoRTXWw1fxDoT73Pf+9/tvWDMHxB4cp/2jN26q1Vxr6A5L7d8ukeyCiMrP5pfS6Rmr7ukZs+GgRLK9q2vD/8vGQ1Wcpl0g9w70cPnWuX4sKxICsDhdDYV8qb5pe9xtKxUKgYDDsXv3tq4t/0PeBJVdLubB6NyJSwqayx89z1INUalUCodXxeB6OsZa/f1KC2VugMzTcgRBvMD/a+UDVbzDpRrWvhm5e+KRipu8cjKJVRA+iwvVkMeDd3D5oX4lhrnvhRFEDhFkr7dY3LvtX7rvE8Miq4Zlo29GTl+TXuT0r4dYNMhffHlBXMXhTzrDtfqUKEqRZQewbZqXi93d3Vu7/rKxpFOM0y61rHa1Vhu5O/joPkMMKe1nw3K5YxFgGu+g/ZlM/nwSZS1ZWwNShlTChYAD8fL0ysrOv8C37xKJVqseXpbNzdVGZT10Oh2cemw2OcvlToCNrvs0zRCT50DGYKWjryBRU9TkdNYb5UpA7vUCffjw5q1/9Ngle0SQhRDuYhjtqMwV+hLJ3TMYbBqISWNoejxGtYoG2Q+d+1AMo0ibJhaNRmMam8Zk0mgMdQEvrhyGrL+4hGdLgWWQaYbpENjHU5DLEJIkI2n8Q89NhZGXiXyqD0VRS5bMmuG2bGY+JGk22wTc4e3m7R1d63bDDgQRZE86kstFIsFgUKfTXb9+Jh6Pn/3iMY4rjhwx0owWOqeUtzGQLyfiWbirLB83FY+7SVv0Sb0BF4LivL0+V96enPRSJDcFrs5qtep08AXafT1kHB+4JJWOgwyd4d22oFiWfJpIUBRlsVDCLxzdZnj+TiiOeAV7zfXeuKftQuRf5581IwI70w7409O69Af1gKJXKlXBqDMEl7rNQmcSZDsGgdcNPiicWdy2WDQWM9VL4QBv79y6ZuG2Cyl0NpvgWq0zqVTL10r5fL6xMU6v5/DnA5ceHRscBFnNZCZPJlmUxchsIpGww4pjQoQjzFosBr1fPalXHEWovXnL7wuXHG3X8RXgb0GoC25rDMJxHOF/OHJaNt6jmDg2ODuoUqnVDKE/3q9Ek1jWbYfnDKIlYb89jbIo2BaK1Ag02OUC0g21t/1ygktQGGlnebX5bH7eOuODtq1JLsP5/QRBaGuwmfUOKE5N3Jp9/0Klksm0D/THz6MA/ZDNJkMuqAQazt38sEFg2OsVuZefsF/BpVKg7coXO8FdSvuErpkMQfiv9g4zWthF7167dWFiQnpr9uVb1zDID/XHPyfZJMiYILMW08dP795ZlSwEo7IwXhoI2M6KHOF3lp+W+DvZ9RLTRBSFAVhNTNSoCxcujDu3lFqkFbANQktNWx5teWinLRNrMdbOGB5ppwstqCHDGLRiCL4w6iQyPhYqHTRqpmMJmoAWEaUtBpFqjJtCiEbQwMJz+1CjdzHbL/+595x7B+DsDp/7BvBnBIMJajvktdUXwBgtAvlRoDynPvAoUKCVGY1pufTWzeM33HCe3UgWMII5rwJ6124IDasB2Wn6GdD/wX+O1lwq8B24BPfXaq2Li4vezk5b+U4ZwEV5JvPIo0AgMHw64pAbjYeOXXz+6dYt9a77fW63W6UqLT3oDGPk+PkBkFP08fv3G6DiELvLB5v5L72p98XQ35WGwOCu8mojvCAI/IJVJrsWMA5CZCSfPRs4E4lEtHIFkrc331Kr3UfQkIORUzdQnSCx8HTdgLuxsTHV1rDZIKOCT8J2ngL6b7j3N/yNScMXVnm9jodxYen796U4L5cFHtstRS0teeaRkZGzww6vwwFdrT90tLJEo27WNLbNhRfCsViCC3oSGBamcc+Vmpo+tG4ch9BOWHDIXzalUm/+3U69vVDqLIwq/QZufb9W+3FqKg7y93joTJU0x97a0mIygRywd/v9WpALFFVHK/M1qu2avv4JlqIwkgxxXTMYSfDhRJLD+2uUSmVKxseTnA+aayU4QGeba9sf+APKC5W2Wr1+3RkCY9nlJcg8UWCB1ZKXh+RHdptOa9M6us8U2KuO5jarVfnqvv4FPh7n40BHZygMI0EPMT4PDtmLK0AOiyLP+OCUgQKNvT5d66He7Pz4wCAXAnu9Xr/8KjvKYpiwJCxPSCBvC5LNZrNdC+0kg8wKg6HqaIlGpckvvYHTPhz30TyGJWYoSpwXQiJBxGg6meQ4n7PaycV4KCBDv0NUtt7bhoay8NzrOxcAPrnK29kuM5Kjo6PssiCIxHCKBfjpU7Pd77fpFQqtQ243tFZdys1X7W12V+DBuo7GDmeMwgTIzNO0jwuRYnR1iBBD4aTPiTvp6Pv5+PQkWKjeG1KRh3ZkB9f4HeTCG8hmk1XZH4OMTU0tE8OStGsC2QKPUZtMoXdo5Xa7ZRBkdbO6ry14Xg2vUE+MZePzFBbGa4rpMIaNnRBh7zEoPN4AHR3lGRyVGybKulTkzOhqiq3NwlBPxaCl/AuqNnb9bk8hcqHST5/mab3ttTaZUe7tVhgslsFjuSX5+aobV2brNBlZQLJnoNEpgBwVscTYvDAlMh4YpNPiOP4SUc/QTq8/N9SUuSPgJWu1rrJ64fGlk+ktrZLyx4+/Xr/rkoKbkU1yr7czJTvkCmizomOVJSUlpcWzsyqNWjUwKbDsvEBhsaCqw8djRPQ9QXA03RWd4vG2hsNzxFrnu5SGBvimc5nI3xjUSw44W3AH7ZHr7a2FhRJXmaRHKjXlSeGDNlkOBemsra09pNfpFTBZDlzKLcnNd1fM/tir0QxcSYqj1EycwsavqDt8U2Ro9RhJBCuOVHcJItdw2Bkmx52TKW4jlHsryOlNXot6SeuHPt4j37NHATB4hfDNMZmQbIbTZYU3YUqWwXak5Mrtlbc7+tf4Zmd/BJM8yxJjIoXNnVcrfSLJ30tgE0FlRQMtEMm2w3iIYJz0q0y5V2w515T9a4g4HFBnnVxvhGWXSKUuqTQn/UXLbC50LEbaZbWwZHq93ZKVVcofieiaWIwX2VFKeE+wJPNA3cYRVPiewPLBmuI2X4iYbjvMkBPB6q5U6FMgN4GMIiO4W6eDsGgV2C2tPT0SF5jSsrIyVz3IgRy5NeKQvX0LNpxAQ2FL0YHLlypz99VV3CFIjEWLXODGMJZYc1uFJ0gqsTpEjfcriz2cSDL9QZ7iPfBAeoloJDeln3trFyPdOmABNRgMEkNrocvlKiuT5pTDtwcuxvp6RSTi0OmrkNxug3MA8rFLFyufKPs/kj9//iSJj2GGo6MijNDbbqdAkVyUEKNcMOiLYSLnYQjyNRyzavzFjqycifyrDXuPabMKwwCOsKnxbtQYjfeof5BSC6MUsKUWyii1tynQkkC5altwA1kL2ot06Fi1tGWBwkqVtibzgmUgCmPdxAwUVi8TL0wdYxc0zJEpG845lyzxeb+y6XRnrFm2ZL8+7/nOe853XPlcwKWAISclZRh4MsSVyXi8XINMpvW0VlZWrk1WjivRwUqSpWkkA/b1Cc/NXItxGMfj7m7TlgPTB14Q8NHOxlqONn08PX3y5PfPNZ0te/vDpvkP7Dgp2E2fMPIayLHI3jypVAU5qSspKTc3CRxkloyHgS+hNXgrKzsReWMx3rNwShgvRmSNQuET2LfNv03H8WF0s+yiN4ZMpu6cTYMtR6cH9775HI2mN2dOvoDIv9qRuYYvx5ZFT9gayL98/+2XnXl5eLDQl5AXMsG8gQEGpg+Zm4HTilMyiGZkf48mrFEUDc3Mn0s1N5jNk5OTDbSshwU59fbqrYNbxtYfO/bhoefWz7z6wsmxpvkh+QZEdmw3fUXyPZDX/P7Nn5XePJQak9xMMAYvGAyFBgYGQkZGjroAc1WlxSmgS5XjzcUbM/2a3eGenwt+/Wu+O9VsNmdlZXVwRBxOakNDg1hQK9/69nMzb1MHP3y47IVj6z/+Gi9Hz9QMDb+14eDzkG8lGZG97rQn05kpxiDYGAQN2dgeCUH2Vq7N53JVyuIU0M3NzRnNMTlcNPQlZDMG4A5OKoeDfpoqashxVB9r+nMIKWtMQtPW1dOHTYxcMOzYVPPFTdfF3ZAIee++BbebQVdcVBey0RgKBELL+9uDvChqzeVK09DZ0FUM1GFI7tf0CU17z/6mM5eXM7KEw2ZzOGy01BxH2dj6r4XvyzH4BabqrdV2uVBYY9KNOLY/U/07jr93J6755ey+Ba87Pb0VLDqmAVNslMkAGyk0tqx23ujCWtpGsEs0ZyQ9SXpzsd6qqegvkttNpqGcE5Ans+rqYjJ+OGLsVh9+QK+Am4T8ArSTZyDLn/7A2VfE31Dz4/VxcbcyssudHsVDTaOri2QPRV5eHhhY3t8UikRdLsAqpYpWXSlqjr6q1LdV2BYL+OKffvrpREzuqFOI2Ao2cJG5wYGDrhAnUpzEIPOFckS2V5+zOHUFOBQ+Gkehj5xdcLnd6aQacknm8YKRiJHkEOCBaK7X5erkSqmtYslLVUpl82PNSn2hvkInFGSVl5efMDOypE7ClkgkbHZqKp4xh1xej4Mw6Jgs5AvLfvzV6dQ5+JgAyDcm7o0VG+Xuoo6FyEFPpD0SCYWWmwAHoojsQj8HqlQqpVJszMUodluJ3tJdwMEjXX6iPCvLzJFIOiQKkjmparU4J7s2W5AjyAaNYmPw+fayr4685xyhl2FHHIXei2JDxiPWhUmmRunx7NrVHnj1+7GmSGggwItSS0fmNKn0u2Rp8nhGCp5t1WZ9G0W+JJslEh9+EFkEWS0QCMRicUymxAX8obKDzz9/ZNuIrrugnpFv2btvJ8H0fD1mkLFYsFnBYNP3CYlnAqFQiKfN7exU0dYphYzeiaW1LiOjObnQ+QafIk+i3pBT2b4eDRIzMg0m+bvZ9Tj8InGB0ERHzyPbtqHgw9mMfNe+nb0k02a8siUGjZELCVsSl2Ygo3O6IHdyyU7G0CvHM8eLM5L36N7o6+iADBqyGHKPRMEOY0GrUzFEmG1cHdU7kBm4vewgtqmlPxvj9zhHBCRfc/VtkFFqsBfhoHH//vMHExPnA4EATyvDA+bqRCvBwNacrC+06jeWNjrf0Pnq/pEb2D4bOnl49+7dIvQyDBG6WU52PdEFfHkNIuPm4kxjYYXF2bcij/ZOdAHGSS8ma4PLF9af/zwR5SZZO7qw4OrspNT5+QxsLVQmO7uL2HV1HZJYuSfNDZyeKVuPhmRS2WymkYqzayFTZDqD0Rvdw41W0Jfk3tZWHOdT6LxF8xxsunDmPNVmJhAY0HrcC6BdXsw1RgldkukLLd06wERPTqJ3chrEHNuUTaMBrFCQjA+UXCwYdjiwquxlP77OwHGrHomvqLBcrPYoZBxuceii1wiW1rj/wrXnEzHOQDZ6DAsLO12uvLx8wPmbN5colW0W3YgErg+yhGM2Y07VYb/fpgkv7g5rNCIRZ1LBxl9CxiMWq/XFN/dV1zwc/3BM3rdz1D3RinpjmgFDXl7/Fx4wjKV5KnfQi8iUWcrloo1Kx62YKd8Okn1YwKIGtfpntVpT5bftWVxc7NdoqIUycgMyQ6bHa82l2wrYt/xLTk/Hw53CZF7Hmtly/vxVgBEa9TYaoztdXlenNy+PW7K2RKUstDjDO3bUdXQA7pCw1WLBSJ+6T1Nls1oAV1RowmEOWwIa+zXNM85iP/7y/xsakjHR1ElQbS1lDs588vrr5K7MtNE4MTrq9XrT3NySEq5ys2VRs4NkVFqBJ0k9XESXV9Yqaz9gq7WiPxwOS3wKambi7Ox6h9BuAoxbqSvIE3jCMDJYT62DLJtZAhrLvDM6EAgZta29oJFZpeLGOy3WqR09VGc2XPQNuiHsW/T7KxbxT35rxR5csfh8PoUIcg7mWW76HVfOsP4v95Lcit94oUhZx+LNX4SXzrii2CxlHg/P7cXgqvLjt+F/t2H9KCgvRyRS95E80o/ITkubHzLuk3p6/pH59nOf4vbxynIrDfA01yn/lhfcE7wVmlJzX3o5vkRZ5fdPYe3uqJNIJtkxuWikwt+/aCnR+1HttkI6DyvYqSuy6d4r3rg+AhlmV2s6Bs5DxRmQX7soe9OjvKAxFOWxtLKo29vJVWWknJ6drZqawjyjh5jN6JHDkJ1W6x5LidJvbdvcGF+IZsY08J9zBLUOedn9Dz700KpVq64gU7WfZORSKTYEyK/F7DPu3KARgxc1sDwerYyFkTKbWUVux2T5iRO4lHo3uxbV3oO0+swqNFalHpEVbIUEshrw9me2JCQM3nHH/Q88+OCD9AVo/DPPUCnxuD5ZX/zY7TffBxo4ZIN2165IJBKY4Gl3YXhYKXifggwa+yPkdx5/9kWHztmmr8rEV9JDr8J5OHY0EVNkYdnWwYTBwcHVNO7AN7j/gQce+I+clvadvrCk1HD7nXE33Er40oduuuRsb2+PBKI8GdmsjGa8OE8xobPKQeOWcZNQ16/PPH369GzmLGbCb4OMdkr3CNmP1wurB2PygenpubmW1fRrNbNLrqzndCyY/M2471MlQcYAvrSvl5GPHz8eGp3oYuHPTz2GY2cmExqpKTTJFiVuUTBOk2vzSRRYyjk5775bW/vEW3JEJrnl1CFc0xxtYUZsf76N5F53njT/pcb4xhJVbkymetw2IfPsaifZiDVvYK3DSNk4O5vJlPuS3D1OV3QMjLyaMCqNKR7ORgN7a1PN1gRGnh774dChsVOIfEmmzBO9bi93bSPdOf5LvuW2Xh5koiOQkwxY7ikU+fLM23WfHT8OmcrtJ1mBOYZcC3n7hqchrz7Q0jL3xx8f/XAoJs+tZCbZneftfCU+/rLMmIkfZjyAMSDzcnMJ3kgwZNCY6FjmdsiIjPU2ZasgWSRKFYMmuZoiH5g+enRujvk4cLmcnsdd+8qV5LGBSGRFzsWiwhkfmS+TH4f8F8FU7CmbzdofZod308k3h6q9ofqOBLIRleQ/Tp062jI39zewUaw7BOflzwAAAABJRU5ErkJggg==\0" ;
pub const ZEND_LOGO_DATA_URI : & 'static [u8 ; 6083usize] = b"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPoAAAAvCAYAAADKH9ehAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAEWJJREFUeNrsXQl0VNUZvjNJSAgEAxHCGsNitSBFxB1l0boUW1pp3VAUrKLWKgUPUlEB13K0Yq1alaXWuh5EadWK1F0s1gJaoaCgQDRKBBJDVhKSzPR+zPfg5vLevCUzmZnwvnP+k8ybN3fevfff73/vBAJTHxc+khL5kr6T1ODk5nAgTRTWloghFVtEg/zfh2PkSvq9pJGSKiX9SdKittbJoD/PSYkrJD0vKeB4IsNNotfuUtHk/CM+IvijpF9KGiDpGEkLJZ3lC7qPeKKTpD9IWiDpUOfWPCi61ZeLvD2VIhTwp9QlTjK5NsIXdB/xxHmSpvD/OucWPSAyQw2+LfeG1SbXVra1Tqb785xUaNdMel0g7Iu5V1zPv6dJqpD0kKR/+ILuI55o8oeg1bFT0kWSOkraQxK+oPvw0TZR3ZY758foyQXf//ZxUFh0Q/GEfNf9gHkaJ6m7pHJJSyTt9tnXhxtBR2EGlnHCMbZMaHuHzX19JZ0u6VRJh0k6hM+BpMjnklZIelPSNhff3V5StkNlEWBMFm+3LcC+BW3GuZP2GvfmiEiCCMUzxZIKRGSt9zeML/fdGAW9JB3O8c6SlMZ+b5f0qaQiF7EpnieXY1auvZfG7zhSUk8RSS428F7M5xfsh1eAV/vxOzoq16sklZBqbdpo5H2qDPRQXoP3Ki0+20FSFyrZUgt+Rt/7KH2vZb8/t/iMG2Sy/0dI6sbvgHGoV8a3xErQb5Q0iTfHCplkzlkW7w+VNF3ST7QJUzFK0pVkDFiw+yV95uC7r5Z0k3CW2ApwIkrJ9B9IelfSh2SIlqC/pDFUZAVk0rQoMhk2GYswx+AtWvMKPtcyEckW37pPwsIHNAuBniDpYhEpBMmJwvibJL0gIlVh39r0C8UlczkXQ/mM6OtEzuf3RfPVAxUY47f5PStcGKPxpOMldbbxiBptPMavJX1PuQ/P/olyz12S7rD4PLyqBTQ8gyXVSOot6VK+dxR53wyl7POjkv7pkpcwpleJSCHP4eQjM0BB/ZuG4Hl9EO8mQx4ZQ0FfL+k+k+t4wNlULpkO24IGnSzpQklzKPDRAMvZ1eXz9uXfH/Pvx5Ie44C5zYQXUgDPj6LEnMCQ3AFkjjupjGF9/kJmxPw1oiquz+6dalXcCRSmYxwK0kDSRI71azb3Y+6GiMi6P/5ey3F3YpExjxdQoG61uX8gBetkh2OWFkUIVGUT1pS9yosZNu1nkl8uZH+mikhxkx1wz7mkB0WkXsKJFw1ZuSWKotY9wjNJS6mUy41JK5P0c2qCnBgIeQWZvEK7Dnf6WUljTT5TS7d0KwezkJShdWIeGeuKKJo7FktUQylcl0i6RtL/HH4OjP+wB0UTLTGHfubRDWyi1g7SaoZQ495z9w7RpaHKqHEfLeklEyWzk+7dl3TTu1KQCpV7+pBB4IWstFFAgvOpJnTL6DoW0xPbw3k/nIYkW+kbmHeXhUEABklazrBDBdzTDfyuBo5DPq1eoUk7ZbSk70l6n3MZjUdCDpQvMF/rezn7/hX7Xs8wsj/7rsrWdQxnZtrwwENUosJkDDZxTjOUkEH1ds6lzJyDZzGScRsonGNcMCIG+WgRKTRQ8Su2p7uRi/mlKjZKekREChS2KIOcTvfqp3RZDlM+cxnfv8Thc75Pt8kqo92VzNTbxBqcQlceivAdByHDIxbvFTMOLovyHAGGK3qc/jJDoDc4hpjABzBm4UAglBFqEAOqt8mB29ss4uJnNCHfSK/tVZMYEfMykt7Bcco1eDLDHCT8gmzzRdLHZL6wRSgzg6GIgVl8Xj2uhPA+oQn53yTdK2mVMC8NzuJ8zaSyM/ApxyzWCFJRvUQ3eQ29BTNFcRgt+FTl2g30zDZZtD/ZRMifE5ES6Y9MxqAHQ7XZikI9nd97j5p1f83GZTPr6Crt2sOcOB1zTYT8HrqjVRZx4wbSAt47SXn/YsZV9zp4zuvJgNGQRaszmoN1rBY6IH4dHiVHcA5dZd2zeIbPv8ZBkghYTQFTx/h1WvSz6c3kM5ewGG8Prvxc5DZWS2u+dypnM5Y3sIJMXmbxfXW0misZN56oxITnWsyl2fg+6+C+zWTefMWr68RwaYF271htHBZqCsKqL28wB/ACjYShrE9nUjfWmEU33A7woqbR4k5UlNk4yoYOzOHvtGs30KO1QgnlZC2VohGOIGn7WEvW0ZdoMeCHfBgdo8X++m3V+s2wEHKzJMblJom92+ne2SHDwT1gknUispPpJLrrVZqwLxTmy5F5jOdVS72F/b6UwlbrcEytrD00+a8l/ZUM82jEZd8peu8uNYS8JxNWqis5IYqQCy1rPUULh8Y7fOYal3zzmPb6aJN7zlf+32bBV9ESclNE85WUX4j4oNbl/fM1b2eoxX3jyXNqiDTP4Xe8Rm9ItfSjvAr6DM0d+o5MXW/CuHO0a7eZTLYT3KF9LktYZ/WdCI+IkoV+lFZ6l3J9OF14HdM0F3MrhXxFjJmqhh5FBera24XqxaCqL0UosK97Z2ku+yJaEqf4D62ByoROcjZuN78Xaa9zTBSzKvxvC+vlrmgWVPU2h4j4FCO5lZ+vNBnpYHHfOOX/PfR83eApTaGM8CLop5l88WSLWAOu4AiNme5owcBO1xhlLGO/eGAFkyYqrtFe5zKzqU7KBE5o/BAIiv7VJSK7qV4GhEF1XtSk0YseWl6lWYI+cXj6pigJLkH3Vk0qfebxe4q0JGOGSDxCWn/Nchk9qJgMfGKS87LDes1IHeVW0LszgaC6sPMYE5lBt4CzRcuy4lVMLKlWfWwcJ+YpxtcGjtOYfzRjTgNIlv0rnpyCveeHNFSJ/jUlonH/3nNYqyOU28qYhHOLbzVPqFc81JQDKxnQ5twLdmjfmQzlxU6eoZ/mma3y8D3VonlhUr6bElhMwJ81RseSxW+jfOYULdYGAw5s4WBtpeU0ijKwxnp/HCfn70piCNlMFEUU8/WpmnZe1Bq80r96m5yMkIwx9nnNHTWFs114q0ArM1HsiUY7j5/rKFIThdrrzR7agHyoy9vd3Ag64uEfKa+xjIKlLqtTUBB7FWgJrQ9joFl1d2cQ2wzHaeDXa6/ztO9Wx+OT+FrzSAKuV12ptOZp+ljnaVawk8uxDpnMZXYCGB3PXqe5sl7QQ5ubhhQR9B4mQpvjIR+gJgrbOxV0rK/rVUyXmyRWdI2a2YLEhVP3BwmN9sJ9BtQpKkxiSDOrUeUhaeQaPevKzKQ3oIVTSGatcynoRl29sIkh440a8pURNoz00Ab4Ts1obxCps1FKl8k5IpKbcmsgu6nz6ETQC+iSqoKKOPmVJBmYnDjHX4EozB9s7TgwykkyYS13URAHpmstYIloOP/HEi6Wx5a4+DwSpH2V18tTyHUPm3iQeS1s09ai4/0ntVgNRQmzHTRulGwaQNnei3FgHqPcMBEJlXrNioAaE8AcupKBd7ElBu1uTxCzg+dmKB4TahiQNX/OxssAb00Uzdeci4S3FYhEQdfkWCrc1cI2K+2EDhsP1OUxZGUnOWTmcgphV0UgZ4jUR1hLlBiuJfqJpb61CXimOrq8RqiEeu6TU3iMwdzYgWhUnWHDDKr0ptLar6USqmOfYYiGMMTUN/KgziGVTo+pNJHBBfF0zVAQc6N2DUL+tcO2Yc1Rk2ss+yBmOko43yCSCljJXAWA7PD4eAt6MBy2yiNACRvVVN05t40pPLYPsT+zlRDpOLG/Jt8OSGKhmnBpivV7q/Y6JkucVgkyWKb52rVZwl0tvNDi+AzRvKjfK1Dnjvpd1FhPEc1LBVsbqENXN35cFaPY2BIVGdlWYZKqgPPj/RythNtpcNycpoOxwAae0bGwhAkAQg01cfiDWDRqZtHhCqFQ5FAtOXKXh/Yh6Ci2N5YMUDW2SHg/N3scn02N++cnMIZCBdwS9gtApRxqDc6OlzWtSrdc8cJGlzP5fzZDri1tQNixISWL/5fSQvcVzfe/wzXfSG8Kuw03pHB/t5KMik+EYJ1EC1d0zCw6fofqRI2ZJwpvyxN4uPs0q/6UR2szyESobxatf3aa7jvfrT0DGPNpYV3H3CI0BYLGllQdy7TX14rUP/zzDHpuRp0EPLnJvH68Qij/RXnyIyku5Ea+5S3NO7s01q77eMY1qqY8T7Qs+4qtq+o2UWhjZO6HuWhjJBlZXWbAHvbFSTAxqMW+RbuG3VfviAP36tshujINh6Tr3kE0BNMl5x8Qq6+mVTdwrMlzpRrGaGPzVpw9NDNFngjoFZZzRCS/FRPXHRZT31X2MgfYTQYX1WE1moaaQJfKEFTs/camkXnUwt9YtNWPiuc67VmRlb0yiRgS/cAe7is0QXuTAm9kikM2DNc5OkeGRaMU8tq0TJHbUCOtezMeRfITiSv1PLLbGE5gb/NOB/1AuR1KlLETDltidyR4XIPasyEnc6eIbRa9kfNifFeXJOAnVJBiKfFCvobcLKccLHWojHJpIPH3iXQlpoNLrdcH44sucvmQOHHjZ9rDrGdbixVmbk/XGy4mtiKuoQDjmQpFJLs6wuSZvqKmL0ky6zOZLry+420UKUaue5ooyeqy9+iopgM989cp1Dcp16bSU1tOJbyFyjedTID5wOk6OAUFFXUDKFRLkmBM3xH7fzIJwPLsxexDMWP2b8g38DqN45ywCuH0VNuv+XmjwOYCjtUakbg6AkGlNoQGBMB5A9g8hh2g7zFE2U4F35FxfHfmwwbxcz3Yl32C/oAwPwDAS6UXdpOhXPZ27Trc9R/SLTla0zzGoXl2QAexnLVZJB/CZMpV7HthfL4lJIrb54u+tdv3/rCiSbw+k88yM9ZxXgKwlHmZycq13iSr0KeMHmUZw6r1VICrLT4D5fy4wq/5DAvfjaWC9oAd9KxwTNUJynUjL+EqpwSTME1zOWMBuIxmZ7p9RCsNq+NmdxW09I1MdNkJeYZNHsIt0qKEO2Z4kvmHadS+Xqv2cqzc93rpuhdl54tg2DISuJljBW3uZjMHrAPqHOYK6zPIM23G2+14Rts4cyLbdxo3Y667UskOo/W/m/PwRhQBwZFkT2vXzDbTtLMZCyfP1155bbfDrpjKZoYH41bO+d97jmEgMPVxFMF0iHESIkiNtDhKuwV058cw0dBZNP+lFsSU/6VWf0E4P/x+IF2eJnokr4uW/2jAKPYjjRb7Cxef70c3qsCl0im1Gj/Uu2eF6sWo0rUiTQq7zS+pYjywnXYwcyOZfI4mKgHj9N2ttHqbRfSlQXhjw5XXy4S7ZbzOovkxVRsphHp8ia3HlyleZS1zHcvoVrdjuNFdEe7edGHzSbpSria/WZ3+cxYV5DCx/4w7FUfyfTW0WO+i7x2YrzKUXZFw/sut+OxJDGkHUxEZPwgCquQcIgxZR9oXekDQk8FF60bqwocupaIoEz6EmaC3C+0Ro6Wgp4eb2tpPJqN+4xXFXQ3TfUfCc5PDNnLZDpLIV1NADKyjZa87mHgmWX57bYdIfIY3pdCGf43xQUXI62kBn3fZxi4SPC8crIjDQ4yzFAaz/XcPJn7xf03VRzIB5Z7qCbBzPQi5jga2E9bCD+ELug8ficEZCk/Cmj8Ro3aLtLxDR1/QffhIHNRTUZCf+S5G7SJBp2b7G31B9+EjcVAFEInZQ2LU7jiN1zf4gu7DR+KwTvkfO9bGx6BNnEQ8XXmN5cT3fEH34SNxwN4A9dgknIEwyWNbeRTwV7WYHBVwFQfbwKb7vOUjiYAiKVT1PczXqCLD/n5UbuLcNxTKoCgExSFNmsFCHI6iJBQFnUbqqbWPHyFceDAOrC/oPpIN+FVaVLrNUa6dLPbvoEQdO4pd1OUylBVkCutsOkqosbNvwcE6qL6g+0hG3MY4ejots1pT3kE4P9QDdfuLKeDfHswD6gu6j2TF2yQcLoqEGurre9EdP1QTfmxJRdn0NlrvD+jmY69Egz+UQvxfgAEALJ4EcRDa/toAAAAASUVORK5CYII=\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;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct div_t {
pub quot: ::std::os::raw::c_int,
pub rem: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_div_t() {
assert_eq!(
::std::mem::size_of::<div_t>(),
8usize,
concat!("Size of: ", stringify!(div_t))
);
assert_eq!(
::std::mem::align_of::<div_t>(),
4usize,
concat!("Alignment of ", stringify!(div_t))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<div_t>())).quot as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(div_t),
"::",
stringify!(quot)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<div_t>())).rem as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(div_t),
"::",
stringify!(rem)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ldiv_t {
pub quot: ::std::os::raw::c_long,
pub rem: ::std::os::raw::c_long,
}
#[test]
fn bindgen_test_layout_ldiv_t() {
assert_eq!(
::std::mem::size_of::<ldiv_t>(),
16usize,
concat!("Size of: ", stringify!(ldiv_t))
);
assert_eq!(
::std::mem::align_of::<ldiv_t>(),
8usize,
concat!("Alignment of ", stringify!(ldiv_t))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<ldiv_t>())).quot as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(ldiv_t),
"::",
stringify!(quot)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<ldiv_t>())).rem as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(ldiv_t),
"::",
stringify!(rem)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lldiv_t {
pub quot: ::std::os::raw::c_longlong,
pub rem: ::std::os::raw::c_longlong,
}
#[test]
fn bindgen_test_layout_lldiv_t() {
assert_eq!(
::std::mem::size_of::<lldiv_t>(),
16usize,
concat!("Size of: ", stringify!(lldiv_t))
);
assert_eq!(
::std::mem::align_of::<lldiv_t>(),
8usize,
concat!("Alignment of ", stringify!(lldiv_t))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<lldiv_t>())).quot as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(lldiv_t),
"::",
stringify!(quot)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<lldiv_t>())).rem as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(lldiv_t),
"::",
stringify!(rem)
)
);
}
extern "C" {
pub fn __ctype_get_mb_cur_max() -> usize;
}
extern "C" {
pub fn atof(__nptr: *const ::std::os::raw::c_char) -> f64;
}
extern "C" {
pub fn atoi(__nptr: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn atol(__nptr: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn atoll(__nptr: *const ::std::os::raw::c_char) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn strtod(
__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
) -> f64;
}
extern "C" {
pub fn strtof(
__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
) -> f32;
}
extern "C" {
pub fn strtof32(
__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
) -> _Float32;
}
extern "C" {
pub fn strtof64(
__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
) -> _Float64;
}
extern "C" {
pub fn strtof32x(
__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
) -> _Float32x;
}
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 strfromd(
__dest: *mut ::std::os::raw::c_char,
__size: usize,
__format: *const ::std::os::raw::c_char,
__f: f64,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn strfromf(
__dest: *mut ::std::os::raw::c_char,
__size: usize,
__format: *const ::std::os::raw::c_char,
__f: f32,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn strfromf32(
__dest: *mut ::std::os::raw::c_char,
__size: usize,
__format: *const ::std::os::raw::c_char,
__f: _Float32,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn strfromf64(
__dest: *mut ::std::os::raw::c_char,
__size: usize,
__format: *const ::std::os::raw::c_char,
__f: _Float64,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn strfromf32x(
__dest: *mut ::std::os::raw::c_char,
__size: usize,
__format: *const ::std::os::raw::c_char,
__f: _Float32x,
) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __locale_struct {
pub __locales: [*mut __locale_data; 13usize],
pub __ctype_b: *const ::std::os::raw::c_ushort,
pub __ctype_tolower: *const ::std::os::raw::c_int,
pub __ctype_toupper: *const ::std::os::raw::c_int,
pub __names: [*const ::std::os::raw::c_char; 13usize],
}
#[test]
fn bindgen_test_layout___locale_struct() {
assert_eq!(
::std::mem::size_of::<__locale_struct>(),
232usize,
concat!("Size of: ", stringify!(__locale_struct))
);
assert_eq!(
::std::mem::align_of::<__locale_struct>(),
8usize,
concat!("Alignment of ", stringify!(__locale_struct))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__locale_struct>())).__locales as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(__locale_struct),
"::",
stringify!(__locales)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__locale_struct>())).__ctype_b as *const _ as usize },
104usize,
concat!(
"Offset of field: ",
stringify!(__locale_struct),
"::",
stringify!(__ctype_b)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__locale_struct>())).__ctype_tolower as *const _ as usize },
112usize,
concat!(
"Offset of field: ",
stringify!(__locale_struct),
"::",
stringify!(__ctype_tolower)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__locale_struct>())).__ctype_toupper as *const _ as usize },
120usize,
concat!(
"Offset of field: ",
stringify!(__locale_struct),
"::",
stringify!(__ctype_toupper)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__locale_struct>())).__names as *const _ as usize },
128usize,
concat!(
"Offset of field: ",
stringify!(__locale_struct),
"::",
stringify!(__names)
)
);
}
pub type __locale_t = *mut __locale_struct;
pub type locale_t = __locale_t;
extern "C" {
pub fn strtol_l(
__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int,
__loc: locale_t,
) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn strtoul_l(
__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int,
__loc: locale_t,
) -> ::std::os::raw::c_ulong;
}
extern "C" {
pub fn strtoll_l(
__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int,
__loc: locale_t,
) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn strtoull_l(
__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int,
__loc: locale_t,
) -> ::std::os::raw::c_ulonglong;
}
extern "C" {
pub fn strtod_l(
__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
__loc: locale_t,
) -> f64;
}
extern "C" {
pub fn strtof_l(
__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
__loc: locale_t,
) -> f32;
}
extern "C" {
pub fn strtof32_l(
__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
__loc: locale_t,
) -> _Float32;
}
extern "C" {
pub fn strtof64_l(
__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
__loc: locale_t,
) -> _Float64;
}
extern "C" {
pub fn strtof32x_l(
__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
__loc: locale_t,
) -> _Float32x;
}
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 __int_least8_t = __int8_t;
pub type __uint_least8_t = __uint8_t;
pub type __int_least16_t = __int16_t;
pub type __uint_least16_t = __uint16_t;
pub type __int_least32_t = __int32_t;
pub type __uint_least32_t = __uint32_t;
pub type __int_least64_t = __int64_t;
pub type __uint_least64_t = __uint64_t;
pub type __quad_t = ::std::os::raw::c_long;
pub type __u_quad_t = ::std::os::raw::c_ulong;
pub type __intmax_t = ::std::os::raw::c_long;
pub type __uintmax_t = ::std::os::raw::c_ulong;
pub type __dev_t = ::std::os::raw::c_ulong;
pub type __uid_t = ::std::os::raw::c_uint;
pub type __gid_t = ::std::os::raw::c_uint;
pub type __ino_t = ::std::os::raw::c_ulong;
pub type __ino64_t = ::std::os::raw::c_ulong;
pub type __mode_t = ::std::os::raw::c_uint;
pub type __nlink_t = ::std::os::raw::c_ulong;
pub type __off_t = ::std::os::raw::c_long;
pub type __off64_t = ::std::os::raw::c_long;
pub type __pid_t = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __fsid_t {
pub __val: [::std::os::raw::c_int; 2usize],
}
#[test]
fn bindgen_test_layout___fsid_t() {
assert_eq!(
::std::mem::size_of::<__fsid_t>(),
8usize,
concat!("Size of: ", stringify!(__fsid_t))
);
assert_eq!(
::std::mem::align_of::<__fsid_t>(),
4usize,
concat!("Alignment of ", stringify!(__fsid_t))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__fsid_t>())).__val as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(__fsid_t),
"::",
stringify!(__val)
)
);
}
pub type __clock_t = ::std::os::raw::c_long;
pub type __rlim_t = ::std::os::raw::c_ulong;
pub type __rlim64_t = ::std::os::raw::c_ulong;
pub type __id_t = ::std::os::raw::c_uint;
pub type __time_t = ::std::os::raw::c_long;
pub type __useconds_t = ::std::os::raw::c_uint;
pub type __suseconds_t = ::std::os::raw::c_long;
pub type __daddr_t = ::std::os::raw::c_int;
pub type __key_t = ::std::os::raw::c_int;
pub type __clockid_t = ::std::os::raw::c_int;
pub type __timer_t = *mut ::std::os::raw::c_void;
pub type __blksize_t = ::std::os::raw::c_long;
pub type __blkcnt_t = ::std::os::raw::c_long;
pub type __blkcnt64_t = ::std::os::raw::c_long;
pub type __fsblkcnt_t = ::std::os::raw::c_ulong;
pub type __fsblkcnt64_t = ::std::os::raw::c_ulong;
pub type __fsfilcnt_t = ::std::os::raw::c_ulong;
pub type __fsfilcnt64_t = ::std::os::raw::c_ulong;
pub type __fsword_t = ::std::os::raw::c_long;
pub type __ssize_t = ::std::os::raw::c_long;
pub type __syscall_slong_t = ::std::os::raw::c_long;
pub type __syscall_ulong_t = ::std::os::raw::c_ulong;
pub type __loff_t = __off64_t;
pub type __caddr_t = *mut ::std::os::raw::c_char;
pub type __intptr_t = ::std::os::raw::c_long;
pub type __socklen_t = ::std::os::raw::c_uint;
pub type __sig_atomic_t = ::std::os::raw::c_int;
pub type u_char = __u_char;
pub type u_short = __u_short;
pub type u_int = __u_int;
pub type u_long = __u_long;
pub type quad_t = __quad_t;
pub type u_quad_t = __u_quad_t;
pub type fsid_t = __fsid_t;
pub type loff_t = __loff_t;
pub type ino_t = __ino_t;
pub type ino64_t = __ino64_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 off64_t = __off64_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 useconds_t = __useconds_t;
pub type suseconds_t = __suseconds_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 = __uint8_t;
pub type u_int16_t = __uint16_t;
pub type u_int32_t = __uint32_t;
pub type u_int64_t = __uint64_t;
pub type register_t = ::std::os::raw::c_long;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __sigset_t {
pub __val: [::std::os::raw::c_ulong; 16usize],
}
#[test]
fn bindgen_test_layout___sigset_t() {
assert_eq!(
::std::mem::size_of::<__sigset_t>(),
128usize,
concat!("Size of: ", stringify!(__sigset_t))
);
assert_eq!(
::std::mem::align_of::<__sigset_t>(),
8usize,
concat!("Alignment of ", stringify!(__sigset_t))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__sigset_t>())).__val as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(__sigset_t),
"::",
stringify!(__val)
)
);
}
pub type sigset_t = __sigset_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct timeval {
pub tv_sec: __time_t,
pub tv_usec: __suseconds_t,
}
#[test]
fn bindgen_test_layout_timeval() {
assert_eq!(
::std::mem::size_of::<timeval>(),
16usize,
concat!("Size of: ", stringify!(timeval))
);
assert_eq!(
::std::mem::align_of::<timeval>(),
8usize,
concat!("Alignment of ", stringify!(timeval))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<timeval>())).tv_sec as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(timeval),
"::",
stringify!(tv_sec)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<timeval>())).tv_usec as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(timeval),
"::",
stringify!(tv_usec)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct timespec {
pub tv_sec: __time_t,
pub tv_nsec: __syscall_slong_t,
}
#[test]
fn bindgen_test_layout_timespec() {
assert_eq!(
::std::mem::size_of::<timespec>(),
16usize,
concat!("Size of: ", stringify!(timespec))
);
assert_eq!(
::std::mem::align_of::<timespec>(),
8usize,
concat!("Alignment of ", stringify!(timespec))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<timespec>())).tv_sec as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(timespec),
"::",
stringify!(tv_sec)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<timespec>())).tv_nsec as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(timespec),
"::",
stringify!(tv_nsec)
)
);
}
pub type __fd_mask = ::std::os::raw::c_long;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct fd_set {
pub fds_bits: [__fd_mask; 16usize],
}
#[test]
fn bindgen_test_layout_fd_set() {
assert_eq!(
::std::mem::size_of::<fd_set>(),
128usize,
concat!("Size of: ", stringify!(fd_set))
);
assert_eq!(
::std::mem::align_of::<fd_set>(),
8usize,
concat!("Alignment of ", stringify!(fd_set))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<fd_set>())).fds_bits as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(fd_set),
"::",
stringify!(fds_bits)
)
);
}
pub type fd_mask = __fd_mask;
extern "C" {
pub fn select(
__nfds: ::std::os::raw::c_int,
__readfds: *mut fd_set,
__writefds: *mut fd_set,
__exceptfds: *mut fd_set,
__timeout: *mut timeval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pselect(
__nfds: ::std::os::raw::c_int,
__readfds: *mut fd_set,
__writefds: *mut fd_set,
__exceptfds: *mut fd_set,
__timeout: *const timespec,
__sigmask: *const __sigset_t,
) -> ::std::os::raw::c_int;
}
pub type blksize_t = __blksize_t;
pub type blkcnt_t = __blkcnt_t;
pub type fsblkcnt_t = __fsblkcnt_t;
pub type fsfilcnt_t = __fsfilcnt_t;
pub type blkcnt64_t = __blkcnt64_t;
pub type fsblkcnt64_t = __fsblkcnt64_t;
pub type fsfilcnt64_t = __fsfilcnt64_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __pthread_internal_list {
pub __prev: *mut __pthread_internal_list,
pub __next: *mut __pthread_internal_list,
}
#[test]
fn bindgen_test_layout___pthread_internal_list() {
assert_eq!(
::std::mem::size_of::<__pthread_internal_list>(),
16usize,
concat!("Size of: ", stringify!(__pthread_internal_list))
);
assert_eq!(
::std::mem::align_of::<__pthread_internal_list>(),
8usize,
concat!("Alignment of ", stringify!(__pthread_internal_list))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__pthread_internal_list>())).__prev as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(__pthread_internal_list),
"::",
stringify!(__prev)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__pthread_internal_list>())).__next as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(__pthread_internal_list),
"::",
stringify!(__next)
)
);
}
pub type __pthread_list_t = __pthread_internal_list;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __pthread_internal_slist {
pub __next: *mut __pthread_internal_slist,
}
#[test]
fn bindgen_test_layout___pthread_internal_slist() {
assert_eq!(
::std::mem::size_of::<__pthread_internal_slist>(),
8usize,
concat!("Size of: ", stringify!(__pthread_internal_slist))
);
assert_eq!(
::std::mem::align_of::<__pthread_internal_slist>(),
8usize,
concat!("Alignment of ", stringify!(__pthread_internal_slist))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__pthread_internal_slist>())).__next as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(__pthread_internal_slist),
"::",
stringify!(__next)
)
);
}
pub type __pthread_slist_t = __pthread_internal_slist;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __pthread_mutex_s {
pub __lock: ::std::os::raw::c_int,
pub __count: ::std::os::raw::c_uint,
pub __owner: ::std::os::raw::c_int,
pub __nusers: ::std::os::raw::c_uint,
pub __kind: ::std::os::raw::c_int,
pub __spins: ::std::os::raw::c_short,
pub __elision: ::std::os::raw::c_short,
pub __list: __pthread_list_t,
}
#[test]
fn bindgen_test_layout___pthread_mutex_s() {
assert_eq!(
::std::mem::size_of::<__pthread_mutex_s>(),
40usize,
concat!("Size of: ", stringify!(__pthread_mutex_s))
);
assert_eq!(
::std::mem::align_of::<__pthread_mutex_s>(),
8usize,
concat!("Alignment of ", stringify!(__pthread_mutex_s))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__lock as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(__pthread_mutex_s),
"::",
stringify!(__lock)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__count as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(__pthread_mutex_s),
"::",
stringify!(__count)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__owner as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(__pthread_mutex_s),
"::",
stringify!(__owner)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__nusers as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(__pthread_mutex_s),
"::",
stringify!(__nusers)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__kind as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(__pthread_mutex_s),
"::",
stringify!(__kind)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__spins as *const _ as usize },
20usize,
concat!(
"Offset of field: ",
stringify!(__pthread_mutex_s),
"::",
stringify!(__spins)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__elision as *const _ as usize },
22usize,
concat!(
"Offset of field: ",
stringify!(__pthread_mutex_s),
"::",
stringify!(__elision)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__pthread_mutex_s>())).__list as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(__pthread_mutex_s),
"::",
stringify!(__list)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __pthread_rwlock_arch_t {
pub __readers: ::std::os::raw::c_uint,
pub __writers: ::std::os::raw::c_uint,
pub __wrphase_futex: ::std::os::raw::c_uint,
pub __writers_futex: ::std::os::raw::c_uint,
pub __pad3: ::std::os::raw::c_uint,
pub __pad4: ::std::os::raw::c_uint,
pub __cur_writer: ::std::os::raw::c_int,
pub __shared: ::std::os::raw::c_int,
pub __rwelision: ::std::os::raw::c_schar,
pub __pad1: [::std::os::raw::c_uchar; 7usize],
pub __pad2: ::std::os::raw::c_ulong,
pub __flags: ::std::os::raw::c_uint,
}
#[test]
fn bindgen_test_layout___pthread_rwlock_arch_t() {
assert_eq!(
::std::mem::size_of::<__pthread_rwlock_arch_t>(),
56usize,
concat!("Size of: ", stringify!(__pthread_rwlock_arch_t))
);
assert_eq!(
::std::mem::align_of::<__pthread_rwlock_arch_t>(),
8usize,
concat!("Alignment of ", stringify!(__pthread_rwlock_arch_t))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__readers as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(__pthread_rwlock_arch_t),
"::",
stringify!(__readers)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__writers as *const _ as usize
},
4usize,
concat!(
"Offset of field: ",
stringify!(__pthread_rwlock_arch_t),
"::",
stringify!(__writers)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__wrphase_futex as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(__pthread_rwlock_arch_t),
"::",
stringify!(__wrphase_futex)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__writers_futex as *const _ as usize
},
12usize,
concat!(
"Offset of field: ",
stringify!(__pthread_rwlock_arch_t),
"::",
stringify!(__writers_futex)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__pad3 as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(__pthread_rwlock_arch_t),
"::",
stringify!(__pad3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__pad4 as *const _ as usize },
20usize,
concat!(
"Offset of field: ",
stringify!(__pthread_rwlock_arch_t),
"::",
stringify!(__pad4)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__cur_writer as *const _ as usize
},
24usize,
concat!(
"Offset of field: ",
stringify!(__pthread_rwlock_arch_t),
"::",
stringify!(__cur_writer)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__shared as *const _ as usize
},
28usize,
concat!(
"Offset of field: ",
stringify!(__pthread_rwlock_arch_t),
"::",
stringify!(__shared)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__rwelision as *const _ as usize
},
32usize,
concat!(
"Offset of field: ",
stringify!(__pthread_rwlock_arch_t),
"::",
stringify!(__rwelision)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__pad1 as *const _ as usize },
33usize,
concat!(
"Offset of field: ",
stringify!(__pthread_rwlock_arch_t),
"::",
stringify!(__pad1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__pad2 as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(__pthread_rwlock_arch_t),
"::",
stringify!(__pad2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__pthread_rwlock_arch_t>())).__flags as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(__pthread_rwlock_arch_t),
"::",
stringify!(__flags)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct __pthread_cond_s {
pub __bindgen_anon_1: __pthread_cond_s__bindgen_ty_1,
pub __bindgen_anon_2: __pthread_cond_s__bindgen_ty_2,
pub __g_refs: [::std::os::raw::c_uint; 2usize],
pub __g_size: [::std::os::raw::c_uint; 2usize],
pub __g1_orig_size: ::std::os::raw::c_uint,
pub __wrefs: ::std::os::raw::c_uint,
pub __g_signals: [::std::os::raw::c_uint; 2usize],
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union __pthread_cond_s__bindgen_ty_1 {
pub __wseq: ::std::os::raw::c_ulonglong,
pub __wseq32: __pthread_cond_s__bindgen_ty_1__bindgen_ty_1,
_bindgen_union_align: u64,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 {
pub __low: ::std::os::raw::c_uint,
pub __high: ::std::os::raw::c_uint,
}
#[test]
fn bindgen_test_layout___pthread_cond_s__bindgen_ty_1__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<__pthread_cond_s__bindgen_ty_1__bindgen_ty_1>(),
8usize,
concat!(
"Size of: ",
stringify!(__pthread_cond_s__bindgen_ty_1__bindgen_ty_1)
)
);
assert_eq!(
::std::mem::align_of::<__pthread_cond_s__bindgen_ty_1__bindgen_ty_1>(),
4usize,
concat!(
"Alignment of ",
stringify!(__pthread_cond_s__bindgen_ty_1__bindgen_ty_1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__pthread_cond_s__bindgen_ty_1__bindgen_ty_1>())).__low
as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(__pthread_cond_s__bindgen_ty_1__bindgen_ty_1),
"::",
stringify!(__low)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__pthread_cond_s__bindgen_ty_1__bindgen_ty_1>())).__high
as *const _ as usize
},
4usize,
concat!(
"Offset of field: ",
stringify!(__pthread_cond_s__bindgen_ty_1__bindgen_ty_1),
"::",
stringify!(__high)
)
);
}
#[test]
fn bindgen_test_layout___pthread_cond_s__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<__pthread_cond_s__bindgen_ty_1>(),
8usize,
concat!("Size of: ", stringify!(__pthread_cond_s__bindgen_ty_1))
);
assert_eq!(
::std::mem::align_of::<__pthread_cond_s__bindgen_ty_1>(),
8usize,
concat!("Alignment of ", stringify!(__pthread_cond_s__bindgen_ty_1))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__pthread_cond_s__bindgen_ty_1>())).__wseq as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(__pthread_cond_s__bindgen_ty_1),
"::",
stringify!(__wseq)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__pthread_cond_s__bindgen_ty_1>())).__wseq32 as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(__pthread_cond_s__bindgen_ty_1),
"::",
stringify!(__wseq32)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union __pthread_cond_s__bindgen_ty_2 {
pub __g1_start: ::std::os::raw::c_ulonglong,
pub __g1_start32: __pthread_cond_s__bindgen_ty_2__bindgen_ty_1,
_bindgen_union_align: u64,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 {
pub __low: ::std::os::raw::c_uint,
pub __high: ::std::os::raw::c_uint,
}
#[test]
fn bindgen_test_layout___pthread_cond_s__bindgen_ty_2__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<__pthread_cond_s__bindgen_ty_2__bindgen_ty_1>(),
8usize,
concat!(
"Size of: ",
stringify!(__pthread_cond_s__bindgen_ty_2__bindgen_ty_1)
)
);
assert_eq!(
::std::mem::align_of::<__pthread_cond_s__bindgen_ty_2__bindgen_ty_1>(),
4usize,
concat!(
"Alignment of ",
stringify!(__pthread_cond_s__bindgen_ty_2__bindgen_ty_1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__pthread_cond_s__bindgen_ty_2__bindgen_ty_1>())).__low
as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(__pthread_cond_s__bindgen_ty_2__bindgen_ty_1),
"::",
stringify!(__low)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__pthread_cond_s__bindgen_ty_2__bindgen_ty_1>())).__high
as *const _ as usize
},
4usize,
concat!(
"Offset of field: ",
stringify!(__pthread_cond_s__bindgen_ty_2__bindgen_ty_1),
"::",
stringify!(__high)
)
);
}
#[test]
fn bindgen_test_layout___pthread_cond_s__bindgen_ty_2() {
assert_eq!(
::std::mem::size_of::<__pthread_cond_s__bindgen_ty_2>(),
8usize,
concat!("Size of: ", stringify!(__pthread_cond_s__bindgen_ty_2))
);
assert_eq!(
::std::mem::align_of::<__pthread_cond_s__bindgen_ty_2>(),
8usize,
concat!("Alignment of ", stringify!(__pthread_cond_s__bindgen_ty_2))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__pthread_cond_s__bindgen_ty_2>())).__g1_start as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(__pthread_cond_s__bindgen_ty_2),
"::",
stringify!(__g1_start)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__pthread_cond_s__bindgen_ty_2>())).__g1_start32 as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(__pthread_cond_s__bindgen_ty_2),
"::",
stringify!(__g1_start32)
)
);
}
#[test]
fn bindgen_test_layout___pthread_cond_s() {
assert_eq!(
::std::mem::size_of::<__pthread_cond_s>(),
48usize,
concat!("Size of: ", stringify!(__pthread_cond_s))
);
assert_eq!(
::std::mem::align_of::<__pthread_cond_s>(),
8usize,
concat!("Alignment of ", stringify!(__pthread_cond_s))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__pthread_cond_s>())).__g_refs as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(__pthread_cond_s),
"::",
stringify!(__g_refs)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__pthread_cond_s>())).__g_size as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(__pthread_cond_s),
"::",
stringify!(__g_size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__pthread_cond_s>())).__g1_orig_size as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(__pthread_cond_s),
"::",
stringify!(__g1_orig_size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__pthread_cond_s>())).__wrefs as *const _ as usize },
36usize,
concat!(
"Offset of field: ",
stringify!(__pthread_cond_s),
"::",
stringify!(__wrefs)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__pthread_cond_s>())).__g_signals as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(__pthread_cond_s),
"::",
stringify!(__g_signals)
)
);
}
pub type pthread_t = ::std::os::raw::c_ulong;
#[repr(C)]
#[derive(Copy, Clone)]
pub union pthread_mutexattr_t {
pub __size: [::std::os::raw::c_char; 4usize],
pub __align: ::std::os::raw::c_int,
_bindgen_union_align: u32,
}
#[test]
fn bindgen_test_layout_pthread_mutexattr_t() {
assert_eq!(
::std::mem::size_of::<pthread_mutexattr_t>(),
4usize,
concat!("Size of: ", stringify!(pthread_mutexattr_t))
);
assert_eq!(
::std::mem::align_of::<pthread_mutexattr_t>(),
4usize,
concat!("Alignment of ", stringify!(pthread_mutexattr_t))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<pthread_mutexattr_t>())).__size as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(pthread_mutexattr_t),
"::",
stringify!(__size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<pthread_mutexattr_t>())).__align as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(pthread_mutexattr_t),
"::",
stringify!(__align)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union pthread_condattr_t {
pub __size: [::std::os::raw::c_char; 4usize],
pub __align: ::std::os::raw::c_int,
_bindgen_union_align: u32,
}
#[test]
fn bindgen_test_layout_pthread_condattr_t() {
assert_eq!(
::std::mem::size_of::<pthread_condattr_t>(),
4usize,
concat!("Size of: ", stringify!(pthread_condattr_t))
);
assert_eq!(
::std::mem::align_of::<pthread_condattr_t>(),
4usize,
concat!("Alignment of ", stringify!(pthread_condattr_t))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<pthread_condattr_t>())).__size as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(pthread_condattr_t),
"::",
stringify!(__size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<pthread_condattr_t>())).__align as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(pthread_condattr_t),
"::",
stringify!(__align)
)
);
}
pub type pthread_key_t = ::std::os::raw::c_uint;
pub type pthread_once_t = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Copy, Clone)]
pub union pthread_attr_t {
pub __size: [::std::os::raw::c_char; 56usize],
pub __align: ::std::os::raw::c_long,
_bindgen_union_align: [u64; 7usize],
}
#[test]
fn bindgen_test_layout_pthread_attr_t() {
assert_eq!(
::std::mem::size_of::<pthread_attr_t>(),
56usize,
concat!("Size of: ", stringify!(pthread_attr_t))
);
assert_eq!(
::std::mem::align_of::<pthread_attr_t>(),
8usize,
concat!("Alignment of ", stringify!(pthread_attr_t))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<pthread_attr_t>())).__size as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(pthread_attr_t),
"::",
stringify!(__size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<pthread_attr_t>())).__align as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(pthread_attr_t),
"::",
stringify!(__align)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union pthread_mutex_t {
pub __data: __pthread_mutex_s,
pub __size: [::std::os::raw::c_char; 40usize],
pub __align: ::std::os::raw::c_long,
_bindgen_union_align: [u64; 5usize],
}
#[test]
fn bindgen_test_layout_pthread_mutex_t() {
assert_eq!(
::std::mem::size_of::<pthread_mutex_t>(),
40usize,
concat!("Size of: ", stringify!(pthread_mutex_t))
);
assert_eq!(
::std::mem::align_of::<pthread_mutex_t>(),
8usize,
concat!("Alignment of ", stringify!(pthread_mutex_t))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<pthread_mutex_t>())).__data as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(pthread_mutex_t),
"::",
stringify!(__data)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<pthread_mutex_t>())).__size as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(pthread_mutex_t),
"::",
stringify!(__size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<pthread_mutex_t>())).__align as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(pthread_mutex_t),
"::",
stringify!(__align)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union pthread_cond_t {
pub __data: __pthread_cond_s,
pub __size: [::std::os::raw::c_char; 48usize],
pub __align: ::std::os::raw::c_longlong,
_bindgen_union_align: [u64; 6usize],
}
#[test]
fn bindgen_test_layout_pthread_cond_t() {
assert_eq!(
::std::mem::size_of::<pthread_cond_t>(),
48usize,
concat!("Size of: ", stringify!(pthread_cond_t))
);
assert_eq!(
::std::mem::align_of::<pthread_cond_t>(),
8usize,
concat!("Alignment of ", stringify!(pthread_cond_t))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<pthread_cond_t>())).__data as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(pthread_cond_t),
"::",
stringify!(__data)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<pthread_cond_t>())).__size as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(pthread_cond_t),
"::",
stringify!(__size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<pthread_cond_t>())).__align as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(pthread_cond_t),
"::",
stringify!(__align)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union pthread_rwlock_t {
pub __data: __pthread_rwlock_arch_t,
pub __size: [::std::os::raw::c_char; 56usize],
pub __align: ::std::os::raw::c_long,
_bindgen_union_align: [u64; 7usize],
}
#[test]
fn bindgen_test_layout_pthread_rwlock_t() {
assert_eq!(
::std::mem::size_of::<pthread_rwlock_t>(),
56usize,
concat!("Size of: ", stringify!(pthread_rwlock_t))
);
assert_eq!(
::std::mem::align_of::<pthread_rwlock_t>(),
8usize,
concat!("Alignment of ", stringify!(pthread_rwlock_t))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<pthread_rwlock_t>())).__data as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(pthread_rwlock_t),
"::",
stringify!(__data)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<pthread_rwlock_t>())).__size as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(pthread_rwlock_t),
"::",
stringify!(__size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<pthread_rwlock_t>())).__align as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(pthread_rwlock_t),
"::",
stringify!(__align)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union pthread_rwlockattr_t {
pub __size: [::std::os::raw::c_char; 8usize],
pub __align: ::std::os::raw::c_long,
_bindgen_union_align: u64,
}
#[test]
fn bindgen_test_layout_pthread_rwlockattr_t() {
assert_eq!(
::std::mem::size_of::<pthread_rwlockattr_t>(),
8usize,
concat!("Size of: ", stringify!(pthread_rwlockattr_t))
);
assert_eq!(
::std::mem::align_of::<pthread_rwlockattr_t>(),
8usize,
concat!("Alignment of ", stringify!(pthread_rwlockattr_t))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<pthread_rwlockattr_t>())).__size as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(pthread_rwlockattr_t),
"::",
stringify!(__size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<pthread_rwlockattr_t>())).__align as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(pthread_rwlockattr_t),
"::",
stringify!(__align)
)
);
}
pub type pthread_spinlock_t = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Copy, Clone)]
pub union pthread_barrier_t {
pub __size: [::std::os::raw::c_char; 32usize],
pub __align: ::std::os::raw::c_long,
_bindgen_union_align: [u64; 4usize],
}
#[test]
fn bindgen_test_layout_pthread_barrier_t() {
assert_eq!(
::std::mem::size_of::<pthread_barrier_t>(),
32usize,
concat!("Size of: ", stringify!(pthread_barrier_t))
);
assert_eq!(
::std::mem::align_of::<pthread_barrier_t>(),
8usize,
concat!("Alignment of ", stringify!(pthread_barrier_t))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<pthread_barrier_t>())).__size as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(pthread_barrier_t),
"::",
stringify!(__size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<pthread_barrier_t>())).__align as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(pthread_barrier_t),
"::",
stringify!(__align)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union pthread_barrierattr_t {
pub __size: [::std::os::raw::c_char; 4usize],
pub __align: ::std::os::raw::c_int,
_bindgen_union_align: u32,
}
#[test]
fn bindgen_test_layout_pthread_barrierattr_t() {
assert_eq!(
::std::mem::size_of::<pthread_barrierattr_t>(),
4usize,
concat!("Size of: ", stringify!(pthread_barrierattr_t))
);
assert_eq!(
::std::mem::align_of::<pthread_barrierattr_t>(),
4usize,
concat!("Alignment of ", stringify!(pthread_barrierattr_t))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<pthread_barrierattr_t>())).__size as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(pthread_barrierattr_t),
"::",
stringify!(__size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<pthread_barrierattr_t>())).__align as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(pthread_barrierattr_t),
"::",
stringify!(__align)
)
);
}
extern "C" {
pub fn random() -> ::std::os::raw::c_long;
}
extern "C" {
pub fn srandom(__seed: ::std::os::raw::c_uint);
}
extern "C" {
pub fn initstate(
__seed: ::std::os::raw::c_uint,
__statebuf: *mut ::std::os::raw::c_char,
__statelen: usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn setstate(__statebuf: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct random_data {
pub fptr: *mut i32,
pub rptr: *mut i32,
pub state: *mut i32,
pub rand_type: ::std::os::raw::c_int,
pub rand_deg: ::std::os::raw::c_int,
pub rand_sep: ::std::os::raw::c_int,
pub end_ptr: *mut i32,
}
#[test]
fn bindgen_test_layout_random_data() {
assert_eq!(
::std::mem::size_of::<random_data>(),
48usize,
concat!("Size of: ", stringify!(random_data))
);
assert_eq!(
::std::mem::align_of::<random_data>(),
8usize,
concat!("Alignment of ", stringify!(random_data))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<random_data>())).fptr as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(random_data),
"::",
stringify!(fptr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<random_data>())).rptr as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(random_data),
"::",
stringify!(rptr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<random_data>())).state as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(random_data),
"::",
stringify!(state)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<random_data>())).rand_type as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(random_data),
"::",
stringify!(rand_type)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<random_data>())).rand_deg as *const _ as usize },
28usize,
concat!(
"Offset of field: ",
stringify!(random_data),
"::",
stringify!(rand_deg)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<random_data>())).rand_sep as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(random_data),
"::",
stringify!(rand_sep)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<random_data>())).end_ptr as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(random_data),
"::",
stringify!(end_ptr)
)
);
}
extern "C" {
pub fn random_r(__buf: *mut random_data, __result: *mut i32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn srandom_r(
__seed: ::std::os::raw::c_uint,
__buf: *mut random_data,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn initstate_r(
__seed: ::std::os::raw::c_uint,
__statebuf: *mut ::std::os::raw::c_char,
__statelen: usize,
__buf: *mut random_data,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn setstate_r(
__statebuf: *mut ::std::os::raw::c_char,
__buf: *mut random_data,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn rand() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn srand(__seed: ::std::os::raw::c_uint);
}
extern "C" {
pub fn rand_r(__seed: *mut ::std::os::raw::c_uint) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn drand48() -> f64;
}
extern "C" {
pub fn erand48(__xsubi: *mut ::std::os::raw::c_ushort) -> f64;
}
extern "C" {
pub fn lrand48() -> ::std::os::raw::c_long;
}
extern "C" {
pub fn nrand48(__xsubi: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn mrand48() -> ::std::os::raw::c_long;
}
extern "C" {
pub fn jrand48(__xsubi: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn srand48(__seedval: ::std::os::raw::c_long);
}
extern "C" {
pub fn seed48(__seed16v: *mut ::std::os::raw::c_ushort) -> *mut ::std::os::raw::c_ushort;
}
extern "C" {
pub fn lcong48(__param: *mut ::std::os::raw::c_ushort);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct drand48_data {
pub __x: [::std::os::raw::c_ushort; 3usize],
pub __old_x: [::std::os::raw::c_ushort; 3usize],
pub __c: ::std::os::raw::c_ushort,
pub __init: ::std::os::raw::c_ushort,
pub __a: ::std::os::raw::c_ulonglong,
}
#[test]
fn bindgen_test_layout_drand48_data() {
assert_eq!(
::std::mem::size_of::<drand48_data>(),
24usize,
concat!("Size of: ", stringify!(drand48_data))
);
assert_eq!(
::std::mem::align_of::<drand48_data>(),
8usize,
concat!("Alignment of ", stringify!(drand48_data))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<drand48_data>())).__x as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(drand48_data),
"::",
stringify!(__x)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<drand48_data>())).__old_x as *const _ as usize },
6usize,
concat!(
"Offset of field: ",
stringify!(drand48_data),
"::",
stringify!(__old_x)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<drand48_data>())).__c as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(drand48_data),
"::",
stringify!(__c)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<drand48_data>())).__init as *const _ as usize },
14usize,
concat!(
"Offset of field: ",
stringify!(drand48_data),
"::",
stringify!(__init)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<drand48_data>())).__a as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(drand48_data),
"::",
stringify!(__a)
)
);
}
extern "C" {
pub fn drand48_r(__buffer: *mut drand48_data, __result: *mut f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn erand48_r(
__xsubi: *mut ::std::os::raw::c_ushort,
__buffer: *mut drand48_data,
__result: *mut f64,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn lrand48_r(
__buffer: *mut drand48_data,
__result: *mut ::std::os::raw::c_long,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn nrand48_r(
__xsubi: *mut ::std::os::raw::c_ushort,
__buffer: *mut drand48_data,
__result: *mut ::std::os::raw::c_long,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn mrand48_r(
__buffer: *mut drand48_data,
__result: *mut ::std::os::raw::c_long,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn jrand48_r(
__xsubi: *mut ::std::os::raw::c_ushort,
__buffer: *mut drand48_data,
__result: *mut ::std::os::raw::c_long,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn srand48_r(
__seedval: ::std::os::raw::c_long,
__buffer: *mut drand48_data,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn seed48_r(
__seed16v: *mut ::std::os::raw::c_ushort,
__buffer: *mut drand48_data,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn lcong48_r(
__param: *mut ::std::os::raw::c_ushort,
__buffer: *mut drand48_data,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn malloc(__size: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn calloc(
__nmemb: ::std::os::raw::c_ulong,
__size: ::std::os::raw::c_ulong,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn realloc(
__ptr: *mut ::std::os::raw::c_void,
__size: ::std::os::raw::c_ulong,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn reallocarray(
__ptr: *mut ::std::os::raw::c_void,
__nmemb: usize,
__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: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn valloc(__size: usize) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn posix_memalign(
__memptr: *mut *mut ::std::os::raw::c_void,
__alignment: usize,
__size: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn aligned_alloc(__alignment: usize, __size: usize) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn abort();
}
extern "C" {
pub fn atexit(__func: ::std::option::Option<unsafe extern "C" fn()>) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn at_quick_exit(
__func: ::std::option::Option<unsafe extern "C" fn()>,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn on_exit(
__func: ::std::option::Option<
unsafe extern "C" fn(
__status: ::std::os::raw::c_int,
__arg: *mut ::std::os::raw::c_void,
),
>,
__arg: *mut ::std::os::raw::c_void,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn exit(__status: ::std::os::raw::c_int);
}
extern "C" {
pub fn quick_exit(__status: ::std::os::raw::c_int);
}
extern "C" {
pub fn _Exit(__status: ::std::os::raw::c_int);
}
extern "C" {
pub fn getenv(__name: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn secure_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 mkstemp64(__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 mkstemps64(
__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 mkostemp(
__template: *mut ::std::os::raw::c_char,
__flags: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn mkostemp64(
__template: *mut ::std::os::raw::c_char,
__flags: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn mkostemps(
__template: *mut ::std::os::raw::c_char,
__suffixlen: ::std::os::raw::c_int,
__flags: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn mkostemps64(
__template: *mut ::std::os::raw::c_char,
__suffixlen: ::std::os::raw::c_int,
__flags: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn system(__command: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn canonicalize_file_name(
__name: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
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,
>;
pub type comparison_fn_t = __compar_fn_t;
pub type __compar_d_fn_t = ::std::option::Option<
unsafe extern "C" fn(
arg1: *const ::std::os::raw::c_void,
arg2: *const ::std::os::raw::c_void,
arg3: *mut ::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 qsort_r(
__base: *mut ::std::os::raw::c_void,
__nmemb: usize,
__size: usize,
__compar: __compar_d_fn_t,
__arg: *mut ::std::os::raw::c_void,
);
}
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 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 mblen(__s: *const ::std::os::raw::c_char, __n: usize) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn mbtowc(
__pwc: *mut wchar_t,
__s: *const ::std::os::raw::c_char,
__n: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn wctomb(__s: *mut ::std::os::raw::c_char, __wchar: wchar_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn mbstowcs(__pwcs: *mut wchar_t, __s: *const ::std::os::raw::c_char, __n: usize) -> usize;
}
extern "C" {
pub fn wcstombs(__s: *mut ::std::os::raw::c_char, __pwcs: *const wchar_t, __n: usize) -> usize;
}
extern "C" {
pub fn rpmatch(__response: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getsubopt(
__optionp: *mut *mut ::std::os::raw::c_char,
__tokens: *const *mut ::std::os::raw::c_char,
__valuep: *mut *mut ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn posix_openpt(__oflag: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn grantpt(__fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn unlockpt(__fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ptsname(__fd: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn ptsname_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 getpt() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getloadavg(__loadavg: *mut f64, __nelem: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn memcpy(
__dest: *mut ::std::os::raw::c_void,
__src: *const ::std::os::raw::c_void,
__n: ::std::os::raw::c_ulong,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn memmove(
__dest: *mut ::std::os::raw::c_void,
__src: *const ::std::os::raw::c_void,
__n: ::std::os::raw::c_ulong,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn memccpy(
__dest: *mut ::std::os::raw::c_void,
__src: *const ::std::os::raw::c_void,
__c: ::std::os::raw::c_int,
__n: ::std::os::raw::c_ulong,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn memset(
__s: *mut ::std::os::raw::c_void,
__c: ::std::os::raw::c_int,
__n: ::std::os::raw::c_ulong,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn memcmp(
__s1: *const ::std::os::raw::c_void,
__s2: *const ::std::os::raw::c_void,
__n: ::std::os::raw::c_ulong,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn memchr(
__s: *const ::std::os::raw::c_void,
__c: ::std::os::raw::c_int,
__n: ::std::os::raw::c_ulong,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn rawmemchr(
__s: *const ::std::os::raw::c_void,
__c: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn memrchr(
__s: *const ::std::os::raw::c_void,
__c: ::std::os::raw::c_int,
__n: usize,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn strcpy(
__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strncpy(
__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char,
__n: ::std::os::raw::c_ulong,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strcat(
__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strncat(
__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char,
__n: ::std::os::raw::c_ulong,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strcmp(
__s1: *const ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn strncmp(
__s1: *const ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char,
__n: ::std::os::raw::c_ulong,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn strcoll(
__s1: *const ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn strxfrm(
__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char,
__n: ::std::os::raw::c_ulong,
) -> ::std::os::raw::c_ulong;
}
extern "C" {
pub fn strcoll_l(
__s1: *const ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char,
__l: locale_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn strxfrm_l(
__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char,
__n: usize,
__l: locale_t,
) -> usize;
}
extern "C" {
pub fn strdup(__s: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strndup(
__string: *const ::std::os::raw::c_char,
__n: ::std::os::raw::c_ulong,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strchr(
__s: *const ::std::os::raw::c_char,
__c: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strrchr(
__s: *const ::std::os::raw::c_char,
__c: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strchrnul(
__s: *const ::std::os::raw::c_char,
__c: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strcspn(
__s: *const ::std::os::raw::c_char,
__reject: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_ulong;
}
extern "C" {
pub fn strspn(
__s: *const ::std::os::raw::c_char,
__accept: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_ulong;
}
extern "C" {
pub fn strpbrk(
__s: *const ::std::os::raw::c_char,
__accept: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strstr(
__haystack: *const ::std::os::raw::c_char,
__needle: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strtok(
__s: *mut ::std::os::raw::c_char,
__delim: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn __strtok_r(
__s: *mut ::std::os::raw::c_char,
__delim: *const ::std::os::raw::c_char,
__save_ptr: *mut *mut ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strtok_r(
__s: *mut ::std::os::raw::c_char,
__delim: *const ::std::os::raw::c_char,
__save_ptr: *mut *mut ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strcasestr(
__haystack: *const ::std::os::raw::c_char,
__needle: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn memmem(
__haystack: *const ::std::os::raw::c_void,
__haystacklen: usize,
__needle: *const ::std::os::raw::c_void,
__needlelen: usize,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn __mempcpy(
__dest: *mut ::std::os::raw::c_void,
__src: *const ::std::os::raw::c_void,
__n: usize,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn mempcpy(
__dest: *mut ::std::os::raw::c_void,
__src: *const ::std::os::raw::c_void,
__n: ::std::os::raw::c_ulong,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn strlen(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_ulong;
}
extern "C" {
pub fn strnlen(__string: *const ::std::os::raw::c_char, __maxlen: usize) -> usize;
}
extern "C" {
pub fn strerror(__errnum: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strerror_r(
__errnum: ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_char,
__buflen: usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strerror_l(
__errnum: ::std::os::raw::c_int,
__l: locale_t,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn bcmp(
__s1: *const ::std::os::raw::c_void,
__s2: *const ::std::os::raw::c_void,
__n: ::std::os::raw::c_ulong,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn bcopy(
__src: *const ::std::os::raw::c_void,
__dest: *mut ::std::os::raw::c_void,
__n: usize,
);
}
extern "C" {
pub fn bzero(__s: *mut ::std::os::raw::c_void, __n: ::std::os::raw::c_ulong);
}
extern "C" {
pub fn index(
__s: *const ::std::os::raw::c_char,
__c: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn rindex(
__s: *const ::std::os::raw::c_char,
__c: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn ffs(__i: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ffsl(__l: ::std::os::raw::c_long) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ffsll(__ll: ::std::os::raw::c_longlong) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn strcasecmp(
__s1: *const ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn strncasecmp(
__s1: *const ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char,
__n: ::std::os::raw::c_ulong,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn strcasecmp_l(
__s1: *const ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char,
__loc: locale_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn strncasecmp_l(
__s1: *const ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char,
__n: usize,
__loc: locale_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn explicit_bzero(__s: *mut ::std::os::raw::c_void, __n: usize);
}
extern "C" {
pub fn strsep(
__stringp: *mut *mut ::std::os::raw::c_char,
__delim: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strsignal(__sig: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn __stpcpy(
__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn stpcpy(
__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn __stpncpy(
__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char,
__n: usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn stpncpy(
__dest: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char,
__n: ::std::os::raw::c_ulong,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strverscmp(
__s1: *const ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn strfry(__string: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn memfrob(__s: *mut ::std::os::raw::c_void, __n: usize) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn basename(__filename: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
pub type float_t = f32;
pub type double_t = f64;
pub const FP_INT_UPWARD: _bindgen_ty_1 = 0;
pub const FP_INT_DOWNWARD: _bindgen_ty_1 = 1;
pub const FP_INT_TOWARDZERO: _bindgen_ty_1 = 2;
pub const FP_INT_TONEARESTFROMZERO: _bindgen_ty_1 = 3;
pub const FP_INT_TONEAREST: _bindgen_ty_1 = 4;
pub type _bindgen_ty_1 = u32;
extern "C" {
pub fn __fpclassify(__value: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __signbit(__value: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __isinf(__value: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __finite(__value: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __isnan(__value: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __iseqsig(__x: f64, __y: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __issignaling(__value: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn acos(__x: f64) -> f64;
}
extern "C" {
pub fn __acos(__x: f64) -> f64;
}
extern "C" {
pub fn asin(__x: f64) -> f64;
}
extern "C" {
pub fn __asin(__x: f64) -> f64;
}
extern "C" {
pub fn atan(__x: f64) -> f64;
}
extern "C" {
pub fn __atan(__x: f64) -> f64;
}
extern "C" {
pub fn atan2(__y: f64, __x: f64) -> f64;
}
extern "C" {
pub fn __atan2(__y: f64, __x: f64) -> f64;
}
extern "C" {
pub fn cos(__x: f64) -> f64;
}
extern "C" {
pub fn __cos(__x: f64) -> f64;
}
extern "C" {
pub fn sin(__x: f64) -> f64;
}
extern "C" {
pub fn __sin(__x: f64) -> f64;
}
extern "C" {
pub fn tan(__x: f64) -> f64;
}
extern "C" {
pub fn __tan(__x: f64) -> f64;
}
extern "C" {
pub fn cosh(__x: f64) -> f64;
}
extern "C" {
pub fn __cosh(__x: f64) -> f64;
}
extern "C" {
pub fn sinh(__x: f64) -> f64;
}
extern "C" {
pub fn __sinh(__x: f64) -> f64;
}
extern "C" {
pub fn tanh(__x: f64) -> f64;
}
extern "C" {
pub fn __tanh(__x: f64) -> f64;
}
extern "C" {
pub fn sincos(__x: f64, __sinx: *mut f64, __cosx: *mut f64);
}
extern "C" {
pub fn __sincos(__x: f64, __sinx: *mut f64, __cosx: *mut f64);
}
extern "C" {
pub fn acosh(__x: f64) -> f64;
}
extern "C" {
pub fn __acosh(__x: f64) -> f64;
}
extern "C" {
pub fn asinh(__x: f64) -> f64;
}
extern "C" {
pub fn __asinh(__x: f64) -> f64;
}
extern "C" {
pub fn atanh(__x: f64) -> f64;
}
extern "C" {
pub fn __atanh(__x: f64) -> f64;
}
extern "C" {
pub fn exp(__x: f64) -> f64;
}
extern "C" {
pub fn __exp(__x: f64) -> f64;
}
extern "C" {
pub fn frexp(__x: f64, __exponent: *mut ::std::os::raw::c_int) -> f64;
}
extern "C" {
pub fn __frexp(__x: f64, __exponent: *mut ::std::os::raw::c_int) -> f64;
}
extern "C" {
pub fn ldexp(__x: f64, __exponent: ::std::os::raw::c_int) -> f64;
}
extern "C" {
pub fn __ldexp(__x: f64, __exponent: ::std::os::raw::c_int) -> f64;
}
extern "C" {
pub fn log(__x: f64) -> f64;
}
extern "C" {
pub fn __log(__x: f64) -> f64;
}
extern "C" {
pub fn log10(__x: f64) -> f64;
}
extern "C" {
pub fn __log10(__x: f64) -> f64;
}
extern "C" {
pub fn modf(__x: f64, __iptr: *mut f64) -> f64;
}
extern "C" {
pub fn __modf(__x: f64, __iptr: *mut f64) -> f64;
}
extern "C" {
pub fn exp10(__x: f64) -> f64;
}
extern "C" {
pub fn __exp10(__x: f64) -> f64;
}
extern "C" {
pub fn expm1(__x: f64) -> f64;
}
extern "C" {
pub fn __expm1(__x: f64) -> f64;
}
extern "C" {
pub fn log1p(__x: f64) -> f64;
}
extern "C" {
pub fn __log1p(__x: f64) -> f64;
}
extern "C" {
pub fn logb(__x: f64) -> f64;
}
extern "C" {
pub fn __logb(__x: f64) -> f64;
}
extern "C" {
pub fn exp2(__x: f64) -> f64;
}
extern "C" {
pub fn __exp2(__x: f64) -> f64;
}
extern "C" {
pub fn log2(__x: f64) -> f64;
}
extern "C" {
pub fn __log2(__x: f64) -> f64;
}
extern "C" {
pub fn pow(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __pow(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn sqrt(__x: f64) -> f64;
}
extern "C" {
pub fn __sqrt(__x: f64) -> f64;
}
extern "C" {
pub fn hypot(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __hypot(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn cbrt(__x: f64) -> f64;
}
extern "C" {
pub fn __cbrt(__x: f64) -> f64;
}
extern "C" {
pub fn ceil(__x: f64) -> f64;
}
extern "C" {
pub fn __ceil(__x: f64) -> f64;
}
extern "C" {
pub fn fabs(__x: f64) -> f64;
}
extern "C" {
pub fn __fabs(__x: f64) -> f64;
}
extern "C" {
pub fn floor(__x: f64) -> f64;
}
extern "C" {
pub fn __floor(__x: f64) -> f64;
}
extern "C" {
pub fn fmod(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __fmod(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn isinf(__value: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn finite(__value: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn drem(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __drem(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn significand(__x: f64) -> f64;
}
extern "C" {
pub fn __significand(__x: f64) -> f64;
}
extern "C" {
pub fn copysign(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __copysign(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn nan(__tagb: *const ::std::os::raw::c_char) -> f64;
}
extern "C" {
pub fn __nan(__tagb: *const ::std::os::raw::c_char) -> f64;
}
extern "C" {
pub fn isnan(__value: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn j0(arg1: f64) -> f64;
}
extern "C" {
pub fn __j0(arg1: f64) -> f64;
}
extern "C" {
pub fn j1(arg1: f64) -> f64;
}
extern "C" {
pub fn __j1(arg1: f64) -> f64;
}
extern "C" {
pub fn jn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64;
}
extern "C" {
pub fn __jn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64;
}
extern "C" {
pub fn y0(arg1: f64) -> f64;
}
extern "C" {
pub fn __y0(arg1: f64) -> f64;
}
extern "C" {
pub fn y1(arg1: f64) -> f64;
}
extern "C" {
pub fn __y1(arg1: f64) -> f64;
}
extern "C" {
pub fn yn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64;
}
extern "C" {
pub fn __yn(arg1: ::std::os::raw::c_int, arg2: f64) -> f64;
}
extern "C" {
pub fn erf(arg1: f64) -> f64;
}
extern "C" {
pub fn __erf(arg1: f64) -> f64;
}
extern "C" {
pub fn erfc(arg1: f64) -> f64;
}
extern "C" {
pub fn __erfc(arg1: f64) -> f64;
}
extern "C" {
pub fn lgamma(arg1: f64) -> f64;
}
extern "C" {
pub fn __lgamma(arg1: f64) -> f64;
}
extern "C" {
pub fn tgamma(arg1: f64) -> f64;
}
extern "C" {
pub fn __tgamma(arg1: f64) -> f64;
}
extern "C" {
pub fn gamma(arg1: f64) -> f64;
}
extern "C" {
pub fn __gamma(arg1: f64) -> f64;
}
extern "C" {
pub fn lgamma_r(arg1: f64, __signgamp: *mut ::std::os::raw::c_int) -> f64;
}
extern "C" {
pub fn __lgamma_r(arg1: f64, __signgamp: *mut ::std::os::raw::c_int) -> f64;
}
extern "C" {
pub fn rint(__x: f64) -> f64;
}
extern "C" {
pub fn __rint(__x: f64) -> f64;
}
extern "C" {
pub fn nextafter(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __nextafter(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn nextdown(__x: f64) -> f64;
}
extern "C" {
pub fn __nextdown(__x: f64) -> f64;
}
extern "C" {
pub fn nextup(__x: f64) -> f64;
}
extern "C" {
pub fn __nextup(__x: f64) -> f64;
}
extern "C" {
pub fn remainder(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __remainder(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn scalbn(__x: f64, __n: ::std::os::raw::c_int) -> f64;
}
extern "C" {
pub fn __scalbn(__x: f64, __n: ::std::os::raw::c_int) -> f64;
}
extern "C" {
pub fn ilogb(__x: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __ilogb(__x: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn llogb(__x: f64) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn __llogb(__x: f64) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn scalbln(__x: f64, __n: ::std::os::raw::c_long) -> f64;
}
extern "C" {
pub fn __scalbln(__x: f64, __n: ::std::os::raw::c_long) -> f64;
}
extern "C" {
pub fn nearbyint(__x: f64) -> f64;
}
extern "C" {
pub fn __nearbyint(__x: f64) -> f64;
}
extern "C" {
pub fn round(__x: f64) -> f64;
}
extern "C" {
pub fn __round(__x: f64) -> f64;
}
extern "C" {
pub fn trunc(__x: f64) -> f64;
}
extern "C" {
pub fn __trunc(__x: f64) -> f64;
}
extern "C" {
pub fn remquo(__x: f64, __y: f64, __quo: *mut ::std::os::raw::c_int) -> f64;
}
extern "C" {
pub fn __remquo(__x: f64, __y: f64, __quo: *mut ::std::os::raw::c_int) -> f64;
}
extern "C" {
pub fn lrint(__x: f64) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn __lrint(__x: f64) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn llrint(__x: f64) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn __llrint(__x: f64) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn lround(__x: f64) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn __lround(__x: f64) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn llround(__x: f64) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn __llround(__x: f64) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn fdim(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __fdim(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn fmax(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __fmax(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn fmin(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __fmin(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn fma(__x: f64, __y: f64, __z: f64) -> f64;
}
extern "C" {
pub fn __fma(__x: f64, __y: f64, __z: f64) -> f64;
}
extern "C" {
pub fn roundeven(__x: f64) -> f64;
}
extern "C" {
pub fn __roundeven(__x: f64) -> f64;
}
extern "C" {
pub fn fromfp(
__x: f64,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __intmax_t;
}
extern "C" {
pub fn __fromfp(
__x: f64,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __intmax_t;
}
extern "C" {
pub fn ufromfp(
__x: f64,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __uintmax_t;
}
extern "C" {
pub fn __ufromfp(
__x: f64,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __uintmax_t;
}
extern "C" {
pub fn fromfpx(
__x: f64,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __intmax_t;
}
extern "C" {
pub fn __fromfpx(
__x: f64,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __intmax_t;
}
extern "C" {
pub fn ufromfpx(
__x: f64,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __uintmax_t;
}
extern "C" {
pub fn __ufromfpx(
__x: f64,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __uintmax_t;
}
extern "C" {
pub fn fmaxmag(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __fmaxmag(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn fminmag(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn __fminmag(__x: f64, __y: f64) -> f64;
}
extern "C" {
pub fn canonicalize(__cx: *mut f64, __x: *const f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn totalorder(__x: *const f64, __y: *const f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn totalordermag(__x: *const f64, __y: *const f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getpayload(__x: *const f64) -> f64;
}
extern "C" {
pub fn __getpayload(__x: *const f64) -> f64;
}
extern "C" {
pub fn setpayload(__x: *mut f64, __payload: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn setpayloadsig(__x: *mut f64, __payload: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn scalb(__x: f64, __n: f64) -> f64;
}
extern "C" {
pub fn __scalb(__x: f64, __n: f64) -> f64;
}
extern "C" {
pub fn __fpclassifyf(__value: f32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __signbitf(__value: f32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __isinff(__value: f32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __finitef(__value: f32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __isnanf(__value: f32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __iseqsigf(__x: f32, __y: f32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __issignalingf(__value: f32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn acosf(__x: f32) -> f32;
}
extern "C" {
pub fn __acosf(__x: f32) -> f32;
}
extern "C" {
pub fn asinf(__x: f32) -> f32;
}
extern "C" {
pub fn __asinf(__x: f32) -> f32;
}
extern "C" {
pub fn atanf(__x: f32) -> f32;
}
extern "C" {
pub fn __atanf(__x: f32) -> f32;
}
extern "C" {
pub fn atan2f(__y: f32, __x: f32) -> f32;
}
extern "C" {
pub fn __atan2f(__y: f32, __x: f32) -> f32;
}
extern "C" {
pub fn cosf(__x: f32) -> f32;
}
extern "C" {
pub fn __cosf(__x: f32) -> f32;
}
extern "C" {
pub fn sinf(__x: f32) -> f32;
}
extern "C" {
pub fn __sinf(__x: f32) -> f32;
}
extern "C" {
pub fn tanf(__x: f32) -> f32;
}
extern "C" {
pub fn __tanf(__x: f32) -> f32;
}
extern "C" {
pub fn coshf(__x: f32) -> f32;
}
extern "C" {
pub fn __coshf(__x: f32) -> f32;
}
extern "C" {
pub fn sinhf(__x: f32) -> f32;
}
extern "C" {
pub fn __sinhf(__x: f32) -> f32;
}
extern "C" {
pub fn tanhf(__x: f32) -> f32;
}
extern "C" {
pub fn __tanhf(__x: f32) -> f32;
}
extern "C" {
pub fn sincosf(__x: f32, __sinx: *mut f32, __cosx: *mut f32);
}
extern "C" {
pub fn __sincosf(__x: f32, __sinx: *mut f32, __cosx: *mut f32);
}
extern "C" {
pub fn acoshf(__x: f32) -> f32;
}
extern "C" {
pub fn __acoshf(__x: f32) -> f32;
}
extern "C" {
pub fn asinhf(__x: f32) -> f32;
}
extern "C" {
pub fn __asinhf(__x: f32) -> f32;
}
extern "C" {
pub fn atanhf(__x: f32) -> f32;
}
extern "C" {
pub fn __atanhf(__x: f32) -> f32;
}
extern "C" {
pub fn expf(__x: f32) -> f32;
}
extern "C" {
pub fn __expf(__x: f32) -> f32;
}
extern "C" {
pub fn frexpf(__x: f32, __exponent: *mut ::std::os::raw::c_int) -> f32;
}
extern "C" {
pub fn __frexpf(__x: f32, __exponent: *mut ::std::os::raw::c_int) -> f32;
}
extern "C" {
pub fn ldexpf(__x: f32, __exponent: ::std::os::raw::c_int) -> f32;
}
extern "C" {
pub fn __ldexpf(__x: f32, __exponent: ::std::os::raw::c_int) -> f32;
}
extern "C" {
pub fn logf(__x: f32) -> f32;
}
extern "C" {
pub fn __logf(__x: f32) -> f32;
}
extern "C" {
pub fn log10f(__x: f32) -> f32;
}
extern "C" {
pub fn __log10f(__x: f32) -> f32;
}
extern "C" {
pub fn modff(__x: f32, __iptr: *mut f32) -> f32;
}
extern "C" {
pub fn __modff(__x: f32, __iptr: *mut f32) -> f32;
}
extern "C" {
pub fn exp10f(__x: f32) -> f32;
}
extern "C" {
pub fn __exp10f(__x: f32) -> f32;
}
extern "C" {
pub fn expm1f(__x: f32) -> f32;
}
extern "C" {
pub fn __expm1f(__x: f32) -> f32;
}
extern "C" {
pub fn log1pf(__x: f32) -> f32;
}
extern "C" {
pub fn __log1pf(__x: f32) -> f32;
}
extern "C" {
pub fn logbf(__x: f32) -> f32;
}
extern "C" {
pub fn __logbf(__x: f32) -> f32;
}
extern "C" {
pub fn exp2f(__x: f32) -> f32;
}
extern "C" {
pub fn __exp2f(__x: f32) -> f32;
}
extern "C" {
pub fn log2f(__x: f32) -> f32;
}
extern "C" {
pub fn __log2f(__x: f32) -> f32;
}
extern "C" {
pub fn powf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn __powf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn sqrtf(__x: f32) -> f32;
}
extern "C" {
pub fn __sqrtf(__x: f32) -> f32;
}
extern "C" {
pub fn hypotf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn __hypotf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn cbrtf(__x: f32) -> f32;
}
extern "C" {
pub fn __cbrtf(__x: f32) -> f32;
}
extern "C" {
pub fn ceilf(__x: f32) -> f32;
}
extern "C" {
pub fn __ceilf(__x: f32) -> f32;
}
extern "C" {
pub fn fabsf(__x: f32) -> f32;
}
extern "C" {
pub fn __fabsf(__x: f32) -> f32;
}
extern "C" {
pub fn floorf(__x: f32) -> f32;
}
extern "C" {
pub fn __floorf(__x: f32) -> f32;
}
extern "C" {
pub fn fmodf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn __fmodf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn isinff(__value: f32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn finitef(__value: f32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn dremf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn __dremf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn significandf(__x: f32) -> f32;
}
extern "C" {
pub fn __significandf(__x: f32) -> f32;
}
extern "C" {
pub fn copysignf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn __copysignf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn nanf(__tagb: *const ::std::os::raw::c_char) -> f32;
}
extern "C" {
pub fn __nanf(__tagb: *const ::std::os::raw::c_char) -> f32;
}
extern "C" {
pub fn isnanf(__value: f32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn j0f(arg1: f32) -> f32;
}
extern "C" {
pub fn __j0f(arg1: f32) -> f32;
}
extern "C" {
pub fn j1f(arg1: f32) -> f32;
}
extern "C" {
pub fn __j1f(arg1: f32) -> f32;
}
extern "C" {
pub fn jnf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32;
}
extern "C" {
pub fn __jnf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32;
}
extern "C" {
pub fn y0f(arg1: f32) -> f32;
}
extern "C" {
pub fn __y0f(arg1: f32) -> f32;
}
extern "C" {
pub fn y1f(arg1: f32) -> f32;
}
extern "C" {
pub fn __y1f(arg1: f32) -> f32;
}
extern "C" {
pub fn ynf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32;
}
extern "C" {
pub fn __ynf(arg1: ::std::os::raw::c_int, arg2: f32) -> f32;
}
extern "C" {
pub fn erff(arg1: f32) -> f32;
}
extern "C" {
pub fn __erff(arg1: f32) -> f32;
}
extern "C" {
pub fn erfcf(arg1: f32) -> f32;
}
extern "C" {
pub fn __erfcf(arg1: f32) -> f32;
}
extern "C" {
pub fn lgammaf(arg1: f32) -> f32;
}
extern "C" {
pub fn __lgammaf(arg1: f32) -> f32;
}
extern "C" {
pub fn tgammaf(arg1: f32) -> f32;
}
extern "C" {
pub fn __tgammaf(arg1: f32) -> f32;
}
extern "C" {
pub fn gammaf(arg1: f32) -> f32;
}
extern "C" {
pub fn __gammaf(arg1: f32) -> f32;
}
extern "C" {
pub fn lgammaf_r(arg1: f32, __signgamp: *mut ::std::os::raw::c_int) -> f32;
}
extern "C" {
pub fn __lgammaf_r(arg1: f32, __signgamp: *mut ::std::os::raw::c_int) -> f32;
}
extern "C" {
pub fn rintf(__x: f32) -> f32;
}
extern "C" {
pub fn __rintf(__x: f32) -> f32;
}
extern "C" {
pub fn nextafterf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn __nextafterf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn nextdownf(__x: f32) -> f32;
}
extern "C" {
pub fn __nextdownf(__x: f32) -> f32;
}
extern "C" {
pub fn nextupf(__x: f32) -> f32;
}
extern "C" {
pub fn __nextupf(__x: f32) -> f32;
}
extern "C" {
pub fn remainderf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn __remainderf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn scalbnf(__x: f32, __n: ::std::os::raw::c_int) -> f32;
}
extern "C" {
pub fn __scalbnf(__x: f32, __n: ::std::os::raw::c_int) -> f32;
}
extern "C" {
pub fn ilogbf(__x: f32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __ilogbf(__x: f32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn llogbf(__x: f32) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn __llogbf(__x: f32) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn scalblnf(__x: f32, __n: ::std::os::raw::c_long) -> f32;
}
extern "C" {
pub fn __scalblnf(__x: f32, __n: ::std::os::raw::c_long) -> f32;
}
extern "C" {
pub fn nearbyintf(__x: f32) -> f32;
}
extern "C" {
pub fn __nearbyintf(__x: f32) -> f32;
}
extern "C" {
pub fn roundf(__x: f32) -> f32;
}
extern "C" {
pub fn __roundf(__x: f32) -> f32;
}
extern "C" {
pub fn truncf(__x: f32) -> f32;
}
extern "C" {
pub fn __truncf(__x: f32) -> f32;
}
extern "C" {
pub fn remquof(__x: f32, __y: f32, __quo: *mut ::std::os::raw::c_int) -> f32;
}
extern "C" {
pub fn __remquof(__x: f32, __y: f32, __quo: *mut ::std::os::raw::c_int) -> f32;
}
extern "C" {
pub fn lrintf(__x: f32) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn __lrintf(__x: f32) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn llrintf(__x: f32) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn __llrintf(__x: f32) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn lroundf(__x: f32) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn __lroundf(__x: f32) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn llroundf(__x: f32) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn __llroundf(__x: f32) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn fdimf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn __fdimf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn fmaxf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn __fmaxf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn fminf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn __fminf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn fmaf(__x: f32, __y: f32, __z: f32) -> f32;
}
extern "C" {
pub fn __fmaf(__x: f32, __y: f32, __z: f32) -> f32;
}
extern "C" {
pub fn roundevenf(__x: f32) -> f32;
}
extern "C" {
pub fn __roundevenf(__x: f32) -> f32;
}
extern "C" {
pub fn fromfpf(
__x: f32,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __intmax_t;
}
extern "C" {
pub fn __fromfpf(
__x: f32,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __intmax_t;
}
extern "C" {
pub fn ufromfpf(
__x: f32,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __uintmax_t;
}
extern "C" {
pub fn __ufromfpf(
__x: f32,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __uintmax_t;
}
extern "C" {
pub fn fromfpxf(
__x: f32,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __intmax_t;
}
extern "C" {
pub fn __fromfpxf(
__x: f32,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __intmax_t;
}
extern "C" {
pub fn ufromfpxf(
__x: f32,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __uintmax_t;
}
extern "C" {
pub fn __ufromfpxf(
__x: f32,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __uintmax_t;
}
extern "C" {
pub fn fmaxmagf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn __fmaxmagf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn fminmagf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn __fminmagf(__x: f32, __y: f32) -> f32;
}
extern "C" {
pub fn canonicalizef(__cx: *mut f32, __x: *const f32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn totalorderf(__x: *const f32, __y: *const f32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn totalordermagf(__x: *const f32, __y: *const f32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getpayloadf(__x: *const f32) -> f32;
}
extern "C" {
pub fn __getpayloadf(__x: *const f32) -> f32;
}
extern "C" {
pub fn setpayloadf(__x: *mut f32, __payload: f32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn setpayloadsigf(__x: *mut f32, __payload: f32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn scalbf(__x: f32, __n: f32) -> f32;
}
extern "C" {
pub fn __scalbf(__x: f32, __n: f32) -> f32;
}
extern "C" {
pub fn acosf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __acosf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn asinf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __asinf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn atanf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __atanf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn atan2f32(__y: _Float32, __x: _Float32) -> _Float32;
}
extern "C" {
pub fn __atan2f32(__y: _Float32, __x: _Float32) -> _Float32;
}
extern "C" {
pub fn cosf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __cosf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn sinf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __sinf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn tanf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __tanf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn coshf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __coshf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn sinhf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __sinhf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn tanhf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __tanhf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn sincosf32(__x: _Float32, __sinx: *mut _Float32, __cosx: *mut _Float32);
}
extern "C" {
pub fn __sincosf32(__x: _Float32, __sinx: *mut _Float32, __cosx: *mut _Float32);
}
extern "C" {
pub fn acoshf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __acoshf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn asinhf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __asinhf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn atanhf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __atanhf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn expf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __expf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn frexpf32(__x: _Float32, __exponent: *mut ::std::os::raw::c_int) -> _Float32;
}
extern "C" {
pub fn __frexpf32(__x: _Float32, __exponent: *mut ::std::os::raw::c_int) -> _Float32;
}
extern "C" {
pub fn ldexpf32(__x: _Float32, __exponent: ::std::os::raw::c_int) -> _Float32;
}
extern "C" {
pub fn __ldexpf32(__x: _Float32, __exponent: ::std::os::raw::c_int) -> _Float32;
}
extern "C" {
pub fn logf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __logf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn log10f32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __log10f32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn modff32(__x: _Float32, __iptr: *mut _Float32) -> _Float32;
}
extern "C" {
pub fn __modff32(__x: _Float32, __iptr: *mut _Float32) -> _Float32;
}
extern "C" {
pub fn exp10f32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __exp10f32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn expm1f32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __expm1f32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn log1pf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __log1pf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn logbf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __logbf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn exp2f32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __exp2f32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn log2f32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __log2f32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn powf32(__x: _Float32, __y: _Float32) -> _Float32;
}
extern "C" {
pub fn __powf32(__x: _Float32, __y: _Float32) -> _Float32;
}
extern "C" {
pub fn sqrtf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __sqrtf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn hypotf32(__x: _Float32, __y: _Float32) -> _Float32;
}
extern "C" {
pub fn __hypotf32(__x: _Float32, __y: _Float32) -> _Float32;
}
extern "C" {
pub fn cbrtf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __cbrtf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn ceilf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __ceilf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn fabsf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __fabsf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn floorf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __floorf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn fmodf32(__x: _Float32, __y: _Float32) -> _Float32;
}
extern "C" {
pub fn __fmodf32(__x: _Float32, __y: _Float32) -> _Float32;
}
extern "C" {
pub fn copysignf32(__x: _Float32, __y: _Float32) -> _Float32;
}
extern "C" {
pub fn __copysignf32(__x: _Float32, __y: _Float32) -> _Float32;
}
extern "C" {
pub fn nanf32(__tagb: *const ::std::os::raw::c_char) -> _Float32;
}
extern "C" {
pub fn __nanf32(__tagb: *const ::std::os::raw::c_char) -> _Float32;
}
extern "C" {
pub fn j0f32(arg1: _Float32) -> _Float32;
}
extern "C" {
pub fn __j0f32(arg1: _Float32) -> _Float32;
}
extern "C" {
pub fn j1f32(arg1: _Float32) -> _Float32;
}
extern "C" {
pub fn __j1f32(arg1: _Float32) -> _Float32;
}
extern "C" {
pub fn jnf32(arg1: ::std::os::raw::c_int, arg2: _Float32) -> _Float32;
}
extern "C" {
pub fn __jnf32(arg1: ::std::os::raw::c_int, arg2: _Float32) -> _Float32;
}
extern "C" {
pub fn y0f32(arg1: _Float32) -> _Float32;
}
extern "C" {
pub fn __y0f32(arg1: _Float32) -> _Float32;
}
extern "C" {
pub fn y1f32(arg1: _Float32) -> _Float32;
}
extern "C" {
pub fn __y1f32(arg1: _Float32) -> _Float32;
}
extern "C" {
pub fn ynf32(arg1: ::std::os::raw::c_int, arg2: _Float32) -> _Float32;
}
extern "C" {
pub fn __ynf32(arg1: ::std::os::raw::c_int, arg2: _Float32) -> _Float32;
}
extern "C" {
pub fn erff32(arg1: _Float32) -> _Float32;
}
extern "C" {
pub fn __erff32(arg1: _Float32) -> _Float32;
}
extern "C" {
pub fn erfcf32(arg1: _Float32) -> _Float32;
}
extern "C" {
pub fn __erfcf32(arg1: _Float32) -> _Float32;
}
extern "C" {
pub fn lgammaf32(arg1: _Float32) -> _Float32;
}
extern "C" {
pub fn __lgammaf32(arg1: _Float32) -> _Float32;
}
extern "C" {
pub fn tgammaf32(arg1: _Float32) -> _Float32;
}
extern "C" {
pub fn __tgammaf32(arg1: _Float32) -> _Float32;
}
extern "C" {
pub fn lgammaf32_r(arg1: _Float32, __signgamp: *mut ::std::os::raw::c_int) -> _Float32;
}
extern "C" {
pub fn __lgammaf32_r(arg1: _Float32, __signgamp: *mut ::std::os::raw::c_int) -> _Float32;
}
extern "C" {
pub fn rintf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __rintf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn nextafterf32(__x: _Float32, __y: _Float32) -> _Float32;
}
extern "C" {
pub fn __nextafterf32(__x: _Float32, __y: _Float32) -> _Float32;
}
extern "C" {
pub fn nextdownf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __nextdownf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn nextupf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __nextupf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn remainderf32(__x: _Float32, __y: _Float32) -> _Float32;
}
extern "C" {
pub fn __remainderf32(__x: _Float32, __y: _Float32) -> _Float32;
}
extern "C" {
pub fn scalbnf32(__x: _Float32, __n: ::std::os::raw::c_int) -> _Float32;
}
extern "C" {
pub fn __scalbnf32(__x: _Float32, __n: ::std::os::raw::c_int) -> _Float32;
}
extern "C" {
pub fn ilogbf32(__x: _Float32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __ilogbf32(__x: _Float32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn llogbf32(__x: _Float32) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn __llogbf32(__x: _Float32) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn scalblnf32(__x: _Float32, __n: ::std::os::raw::c_long) -> _Float32;
}
extern "C" {
pub fn __scalblnf32(__x: _Float32, __n: ::std::os::raw::c_long) -> _Float32;
}
extern "C" {
pub fn nearbyintf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __nearbyintf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn roundf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __roundf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn truncf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __truncf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn remquof32(__x: _Float32, __y: _Float32, __quo: *mut ::std::os::raw::c_int) -> _Float32;
}
extern "C" {
pub fn __remquof32(__x: _Float32, __y: _Float32, __quo: *mut ::std::os::raw::c_int)
-> _Float32;
}
extern "C" {
pub fn lrintf32(__x: _Float32) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn __lrintf32(__x: _Float32) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn llrintf32(__x: _Float32) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn __llrintf32(__x: _Float32) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn lroundf32(__x: _Float32) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn __lroundf32(__x: _Float32) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn llroundf32(__x: _Float32) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn __llroundf32(__x: _Float32) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn fdimf32(__x: _Float32, __y: _Float32) -> _Float32;
}
extern "C" {
pub fn __fdimf32(__x: _Float32, __y: _Float32) -> _Float32;
}
extern "C" {
pub fn fmaxf32(__x: _Float32, __y: _Float32) -> _Float32;
}
extern "C" {
pub fn __fmaxf32(__x: _Float32, __y: _Float32) -> _Float32;
}
extern "C" {
pub fn fminf32(__x: _Float32, __y: _Float32) -> _Float32;
}
extern "C" {
pub fn __fminf32(__x: _Float32, __y: _Float32) -> _Float32;
}
extern "C" {
pub fn fmaf32(__x: _Float32, __y: _Float32, __z: _Float32) -> _Float32;
}
extern "C" {
pub fn __fmaf32(__x: _Float32, __y: _Float32, __z: _Float32) -> _Float32;
}
extern "C" {
pub fn roundevenf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn __roundevenf32(__x: _Float32) -> _Float32;
}
extern "C" {
pub fn fromfpf32(
__x: _Float32,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __intmax_t;
}
extern "C" {
pub fn __fromfpf32(
__x: _Float32,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __intmax_t;
}
extern "C" {
pub fn ufromfpf32(
__x: _Float32,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __uintmax_t;
}
extern "C" {
pub fn __ufromfpf32(
__x: _Float32,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __uintmax_t;
}
extern "C" {
pub fn fromfpxf32(
__x: _Float32,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __intmax_t;
}
extern "C" {
pub fn __fromfpxf32(
__x: _Float32,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __intmax_t;
}
extern "C" {
pub fn ufromfpxf32(
__x: _Float32,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __uintmax_t;
}
extern "C" {
pub fn __ufromfpxf32(
__x: _Float32,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __uintmax_t;
}
extern "C" {
pub fn fmaxmagf32(__x: _Float32, __y: _Float32) -> _Float32;
}
extern "C" {
pub fn __fmaxmagf32(__x: _Float32, __y: _Float32) -> _Float32;
}
extern "C" {
pub fn fminmagf32(__x: _Float32, __y: _Float32) -> _Float32;
}
extern "C" {
pub fn __fminmagf32(__x: _Float32, __y: _Float32) -> _Float32;
}
extern "C" {
pub fn canonicalizef32(__cx: *mut _Float32, __x: *const _Float32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn totalorderf32(__x: *const _Float32, __y: *const _Float32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn totalordermagf32(__x: *const _Float32, __y: *const _Float32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getpayloadf32(__x: *const _Float32) -> _Float32;
}
extern "C" {
pub fn __getpayloadf32(__x: *const _Float32) -> _Float32;
}
extern "C" {
pub fn setpayloadf32(__x: *mut _Float32, __payload: _Float32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn setpayloadsigf32(__x: *mut _Float32, __payload: _Float32) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn acosf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __acosf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn asinf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __asinf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn atanf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __atanf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn atan2f64(__y: _Float64, __x: _Float64) -> _Float64;
}
extern "C" {
pub fn __atan2f64(__y: _Float64, __x: _Float64) -> _Float64;
}
extern "C" {
pub fn cosf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __cosf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn sinf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __sinf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn tanf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __tanf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn coshf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __coshf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn sinhf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __sinhf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn tanhf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __tanhf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn sincosf64(__x: _Float64, __sinx: *mut _Float64, __cosx: *mut _Float64);
}
extern "C" {
pub fn __sincosf64(__x: _Float64, __sinx: *mut _Float64, __cosx: *mut _Float64);
}
extern "C" {
pub fn acoshf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __acoshf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn asinhf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __asinhf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn atanhf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __atanhf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn expf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __expf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn frexpf64(__x: _Float64, __exponent: *mut ::std::os::raw::c_int) -> _Float64;
}
extern "C" {
pub fn __frexpf64(__x: _Float64, __exponent: *mut ::std::os::raw::c_int) -> _Float64;
}
extern "C" {
pub fn ldexpf64(__x: _Float64, __exponent: ::std::os::raw::c_int) -> _Float64;
}
extern "C" {
pub fn __ldexpf64(__x: _Float64, __exponent: ::std::os::raw::c_int) -> _Float64;
}
extern "C" {
pub fn logf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __logf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn log10f64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __log10f64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn modff64(__x: _Float64, __iptr: *mut _Float64) -> _Float64;
}
extern "C" {
pub fn __modff64(__x: _Float64, __iptr: *mut _Float64) -> _Float64;
}
extern "C" {
pub fn exp10f64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __exp10f64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn expm1f64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __expm1f64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn log1pf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __log1pf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn logbf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __logbf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn exp2f64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __exp2f64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn log2f64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __log2f64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn powf64(__x: _Float64, __y: _Float64) -> _Float64;
}
extern "C" {
pub fn __powf64(__x: _Float64, __y: _Float64) -> _Float64;
}
extern "C" {
pub fn sqrtf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __sqrtf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn hypotf64(__x: _Float64, __y: _Float64) -> _Float64;
}
extern "C" {
pub fn __hypotf64(__x: _Float64, __y: _Float64) -> _Float64;
}
extern "C" {
pub fn cbrtf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __cbrtf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn ceilf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __ceilf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn fabsf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __fabsf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn floorf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __floorf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn fmodf64(__x: _Float64, __y: _Float64) -> _Float64;
}
extern "C" {
pub fn __fmodf64(__x: _Float64, __y: _Float64) -> _Float64;
}
extern "C" {
pub fn copysignf64(__x: _Float64, __y: _Float64) -> _Float64;
}
extern "C" {
pub fn __copysignf64(__x: _Float64, __y: _Float64) -> _Float64;
}
extern "C" {
pub fn nanf64(__tagb: *const ::std::os::raw::c_char) -> _Float64;
}
extern "C" {
pub fn __nanf64(__tagb: *const ::std::os::raw::c_char) -> _Float64;
}
extern "C" {
pub fn j0f64(arg1: _Float64) -> _Float64;
}
extern "C" {
pub fn __j0f64(arg1: _Float64) -> _Float64;
}
extern "C" {
pub fn j1f64(arg1: _Float64) -> _Float64;
}
extern "C" {
pub fn __j1f64(arg1: _Float64) -> _Float64;
}
extern "C" {
pub fn jnf64(arg1: ::std::os::raw::c_int, arg2: _Float64) -> _Float64;
}
extern "C" {
pub fn __jnf64(arg1: ::std::os::raw::c_int, arg2: _Float64) -> _Float64;
}
extern "C" {
pub fn y0f64(arg1: _Float64) -> _Float64;
}
extern "C" {
pub fn __y0f64(arg1: _Float64) -> _Float64;
}
extern "C" {
pub fn y1f64(arg1: _Float64) -> _Float64;
}
extern "C" {
pub fn __y1f64(arg1: _Float64) -> _Float64;
}
extern "C" {
pub fn ynf64(arg1: ::std::os::raw::c_int, arg2: _Float64) -> _Float64;
}
extern "C" {
pub fn __ynf64(arg1: ::std::os::raw::c_int, arg2: _Float64) -> _Float64;
}
extern "C" {
pub fn erff64(arg1: _Float64) -> _Float64;
}
extern "C" {
pub fn __erff64(arg1: _Float64) -> _Float64;
}
extern "C" {
pub fn erfcf64(arg1: _Float64) -> _Float64;
}
extern "C" {
pub fn __erfcf64(arg1: _Float64) -> _Float64;
}
extern "C" {
pub fn lgammaf64(arg1: _Float64) -> _Float64;
}
extern "C" {
pub fn __lgammaf64(arg1: _Float64) -> _Float64;
}
extern "C" {
pub fn tgammaf64(arg1: _Float64) -> _Float64;
}
extern "C" {
pub fn __tgammaf64(arg1: _Float64) -> _Float64;
}
extern "C" {
pub fn lgammaf64_r(arg1: _Float64, __signgamp: *mut ::std::os::raw::c_int) -> _Float64;
}
extern "C" {
pub fn __lgammaf64_r(arg1: _Float64, __signgamp: *mut ::std::os::raw::c_int) -> _Float64;
}
extern "C" {
pub fn rintf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __rintf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn nextafterf64(__x: _Float64, __y: _Float64) -> _Float64;
}
extern "C" {
pub fn __nextafterf64(__x: _Float64, __y: _Float64) -> _Float64;
}
extern "C" {
pub fn nextdownf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __nextdownf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn nextupf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __nextupf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn remainderf64(__x: _Float64, __y: _Float64) -> _Float64;
}
extern "C" {
pub fn __remainderf64(__x: _Float64, __y: _Float64) -> _Float64;
}
extern "C" {
pub fn scalbnf64(__x: _Float64, __n: ::std::os::raw::c_int) -> _Float64;
}
extern "C" {
pub fn __scalbnf64(__x: _Float64, __n: ::std::os::raw::c_int) -> _Float64;
}
extern "C" {
pub fn ilogbf64(__x: _Float64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __ilogbf64(__x: _Float64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn llogbf64(__x: _Float64) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn __llogbf64(__x: _Float64) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn scalblnf64(__x: _Float64, __n: ::std::os::raw::c_long) -> _Float64;
}
extern "C" {
pub fn __scalblnf64(__x: _Float64, __n: ::std::os::raw::c_long) -> _Float64;
}
extern "C" {
pub fn nearbyintf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __nearbyintf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn roundf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __roundf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn truncf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __truncf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn remquof64(__x: _Float64, __y: _Float64, __quo: *mut ::std::os::raw::c_int) -> _Float64;
}
extern "C" {
pub fn __remquof64(__x: _Float64, __y: _Float64, __quo: *mut ::std::os::raw::c_int)
-> _Float64;
}
extern "C" {
pub fn lrintf64(__x: _Float64) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn __lrintf64(__x: _Float64) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn llrintf64(__x: _Float64) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn __llrintf64(__x: _Float64) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn lroundf64(__x: _Float64) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn __lroundf64(__x: _Float64) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn llroundf64(__x: _Float64) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn __llroundf64(__x: _Float64) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn fdimf64(__x: _Float64, __y: _Float64) -> _Float64;
}
extern "C" {
pub fn __fdimf64(__x: _Float64, __y: _Float64) -> _Float64;
}
extern "C" {
pub fn fmaxf64(__x: _Float64, __y: _Float64) -> _Float64;
}
extern "C" {
pub fn __fmaxf64(__x: _Float64, __y: _Float64) -> _Float64;
}
extern "C" {
pub fn fminf64(__x: _Float64, __y: _Float64) -> _Float64;
}
extern "C" {
pub fn __fminf64(__x: _Float64, __y: _Float64) -> _Float64;
}
extern "C" {
pub fn fmaf64(__x: _Float64, __y: _Float64, __z: _Float64) -> _Float64;
}
extern "C" {
pub fn __fmaf64(__x: _Float64, __y: _Float64, __z: _Float64) -> _Float64;
}
extern "C" {
pub fn roundevenf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn __roundevenf64(__x: _Float64) -> _Float64;
}
extern "C" {
pub fn fromfpf64(
__x: _Float64,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __intmax_t;
}
extern "C" {
pub fn __fromfpf64(
__x: _Float64,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __intmax_t;
}
extern "C" {
pub fn ufromfpf64(
__x: _Float64,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __uintmax_t;
}
extern "C" {
pub fn __ufromfpf64(
__x: _Float64,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __uintmax_t;
}
extern "C" {
pub fn fromfpxf64(
__x: _Float64,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __intmax_t;
}
extern "C" {
pub fn __fromfpxf64(
__x: _Float64,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __intmax_t;
}
extern "C" {
pub fn ufromfpxf64(
__x: _Float64,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __uintmax_t;
}
extern "C" {
pub fn __ufromfpxf64(
__x: _Float64,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __uintmax_t;
}
extern "C" {
pub fn fmaxmagf64(__x: _Float64, __y: _Float64) -> _Float64;
}
extern "C" {
pub fn __fmaxmagf64(__x: _Float64, __y: _Float64) -> _Float64;
}
extern "C" {
pub fn fminmagf64(__x: _Float64, __y: _Float64) -> _Float64;
}
extern "C" {
pub fn __fminmagf64(__x: _Float64, __y: _Float64) -> _Float64;
}
extern "C" {
pub fn canonicalizef64(__cx: *mut _Float64, __x: *const _Float64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn totalorderf64(__x: *const _Float64, __y: *const _Float64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn totalordermagf64(__x: *const _Float64, __y: *const _Float64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getpayloadf64(__x: *const _Float64) -> _Float64;
}
extern "C" {
pub fn __getpayloadf64(__x: *const _Float64) -> _Float64;
}
extern "C" {
pub fn setpayloadf64(__x: *mut _Float64, __payload: _Float64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn setpayloadsigf64(__x: *mut _Float64, __payload: _Float64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn acosf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __acosf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn asinf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __asinf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn atanf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __atanf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn atan2f32x(__y: _Float32x, __x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __atan2f32x(__y: _Float32x, __x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn cosf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __cosf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn sinf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __sinf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn tanf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __tanf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn coshf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __coshf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn sinhf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __sinhf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn tanhf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __tanhf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn sincosf32x(__x: _Float32x, __sinx: *mut _Float32x, __cosx: *mut _Float32x);
}
extern "C" {
pub fn __sincosf32x(__x: _Float32x, __sinx: *mut _Float32x, __cosx: *mut _Float32x);
}
extern "C" {
pub fn acoshf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __acoshf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn asinhf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __asinhf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn atanhf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __atanhf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn expf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __expf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn frexpf32x(__x: _Float32x, __exponent: *mut ::std::os::raw::c_int) -> _Float32x;
}
extern "C" {
pub fn __frexpf32x(__x: _Float32x, __exponent: *mut ::std::os::raw::c_int) -> _Float32x;
}
extern "C" {
pub fn ldexpf32x(__x: _Float32x, __exponent: ::std::os::raw::c_int) -> _Float32x;
}
extern "C" {
pub fn __ldexpf32x(__x: _Float32x, __exponent: ::std::os::raw::c_int) -> _Float32x;
}
extern "C" {
pub fn logf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __logf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn log10f32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __log10f32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn modff32x(__x: _Float32x, __iptr: *mut _Float32x) -> _Float32x;
}
extern "C" {
pub fn __modff32x(__x: _Float32x, __iptr: *mut _Float32x) -> _Float32x;
}
extern "C" {
pub fn exp10f32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __exp10f32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn expm1f32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __expm1f32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn log1pf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __log1pf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn logbf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __logbf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn exp2f32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __exp2f32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn log2f32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __log2f32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn powf32x(__x: _Float32x, __y: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __powf32x(__x: _Float32x, __y: _Float32x) -> _Float32x;
}
extern "C" {
pub fn sqrtf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __sqrtf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn hypotf32x(__x: _Float32x, __y: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __hypotf32x(__x: _Float32x, __y: _Float32x) -> _Float32x;
}
extern "C" {
pub fn cbrtf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __cbrtf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn ceilf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __ceilf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn fabsf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __fabsf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn floorf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __floorf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn fmodf32x(__x: _Float32x, __y: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __fmodf32x(__x: _Float32x, __y: _Float32x) -> _Float32x;
}
extern "C" {
pub fn copysignf32x(__x: _Float32x, __y: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __copysignf32x(__x: _Float32x, __y: _Float32x) -> _Float32x;
}
extern "C" {
pub fn nanf32x(__tagb: *const ::std::os::raw::c_char) -> _Float32x;
}
extern "C" {
pub fn __nanf32x(__tagb: *const ::std::os::raw::c_char) -> _Float32x;
}
extern "C" {
pub fn j0f32x(arg1: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __j0f32x(arg1: _Float32x) -> _Float32x;
}
extern "C" {
pub fn j1f32x(arg1: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __j1f32x(arg1: _Float32x) -> _Float32x;
}
extern "C" {
pub fn jnf32x(arg1: ::std::os::raw::c_int, arg2: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __jnf32x(arg1: ::std::os::raw::c_int, arg2: _Float32x) -> _Float32x;
}
extern "C" {
pub fn y0f32x(arg1: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __y0f32x(arg1: _Float32x) -> _Float32x;
}
extern "C" {
pub fn y1f32x(arg1: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __y1f32x(arg1: _Float32x) -> _Float32x;
}
extern "C" {
pub fn ynf32x(arg1: ::std::os::raw::c_int, arg2: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __ynf32x(arg1: ::std::os::raw::c_int, arg2: _Float32x) -> _Float32x;
}
extern "C" {
pub fn erff32x(arg1: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __erff32x(arg1: _Float32x) -> _Float32x;
}
extern "C" {
pub fn erfcf32x(arg1: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __erfcf32x(arg1: _Float32x) -> _Float32x;
}
extern "C" {
pub fn lgammaf32x(arg1: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __lgammaf32x(arg1: _Float32x) -> _Float32x;
}
extern "C" {
pub fn tgammaf32x(arg1: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __tgammaf32x(arg1: _Float32x) -> _Float32x;
}
extern "C" {
pub fn lgammaf32x_r(arg1: _Float32x, __signgamp: *mut ::std::os::raw::c_int) -> _Float32x;
}
extern "C" {
pub fn __lgammaf32x_r(arg1: _Float32x, __signgamp: *mut ::std::os::raw::c_int) -> _Float32x;
}
extern "C" {
pub fn rintf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __rintf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn nextafterf32x(__x: _Float32x, __y: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __nextafterf32x(__x: _Float32x, __y: _Float32x) -> _Float32x;
}
extern "C" {
pub fn nextdownf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __nextdownf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn nextupf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __nextupf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn remainderf32x(__x: _Float32x, __y: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __remainderf32x(__x: _Float32x, __y: _Float32x) -> _Float32x;
}
extern "C" {
pub fn scalbnf32x(__x: _Float32x, __n: ::std::os::raw::c_int) -> _Float32x;
}
extern "C" {
pub fn __scalbnf32x(__x: _Float32x, __n: ::std::os::raw::c_int) -> _Float32x;
}
extern "C" {
pub fn ilogbf32x(__x: _Float32x) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __ilogbf32x(__x: _Float32x) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn llogbf32x(__x: _Float32x) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn __llogbf32x(__x: _Float32x) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn scalblnf32x(__x: _Float32x, __n: ::std::os::raw::c_long) -> _Float32x;
}
extern "C" {
pub fn __scalblnf32x(__x: _Float32x, __n: ::std::os::raw::c_long) -> _Float32x;
}
extern "C" {
pub fn nearbyintf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __nearbyintf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn roundf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __roundf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn truncf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __truncf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn remquof32x(
__x: _Float32x,
__y: _Float32x,
__quo: *mut ::std::os::raw::c_int,
) -> _Float32x;
}
extern "C" {
pub fn __remquof32x(
__x: _Float32x,
__y: _Float32x,
__quo: *mut ::std::os::raw::c_int,
) -> _Float32x;
}
extern "C" {
pub fn lrintf32x(__x: _Float32x) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn __lrintf32x(__x: _Float32x) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn llrintf32x(__x: _Float32x) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn __llrintf32x(__x: _Float32x) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn lroundf32x(__x: _Float32x) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn __lroundf32x(__x: _Float32x) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn llroundf32x(__x: _Float32x) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn __llroundf32x(__x: _Float32x) -> ::std::os::raw::c_longlong;
}
extern "C" {
pub fn fdimf32x(__x: _Float32x, __y: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __fdimf32x(__x: _Float32x, __y: _Float32x) -> _Float32x;
}
extern "C" {
pub fn fmaxf32x(__x: _Float32x, __y: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __fmaxf32x(__x: _Float32x, __y: _Float32x) -> _Float32x;
}
extern "C" {
pub fn fminf32x(__x: _Float32x, __y: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __fminf32x(__x: _Float32x, __y: _Float32x) -> _Float32x;
}
extern "C" {
pub fn fmaf32x(__x: _Float32x, __y: _Float32x, __z: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __fmaf32x(__x: _Float32x, __y: _Float32x, __z: _Float32x) -> _Float32x;
}
extern "C" {
pub fn roundevenf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __roundevenf32x(__x: _Float32x) -> _Float32x;
}
extern "C" {
pub fn fromfpf32x(
__x: _Float32x,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __intmax_t;
}
extern "C" {
pub fn __fromfpf32x(
__x: _Float32x,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __intmax_t;
}
extern "C" {
pub fn ufromfpf32x(
__x: _Float32x,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __uintmax_t;
}
extern "C" {
pub fn __ufromfpf32x(
__x: _Float32x,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __uintmax_t;
}
extern "C" {
pub fn fromfpxf32x(
__x: _Float32x,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __intmax_t;
}
extern "C" {
pub fn __fromfpxf32x(
__x: _Float32x,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __intmax_t;
}
extern "C" {
pub fn ufromfpxf32x(
__x: _Float32x,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __uintmax_t;
}
extern "C" {
pub fn __ufromfpxf32x(
__x: _Float32x,
__round: ::std::os::raw::c_int,
__width: ::std::os::raw::c_uint,
) -> __uintmax_t;
}
extern "C" {
pub fn fmaxmagf32x(__x: _Float32x, __y: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __fmaxmagf32x(__x: _Float32x, __y: _Float32x) -> _Float32x;
}
extern "C" {
pub fn fminmagf32x(__x: _Float32x, __y: _Float32x) -> _Float32x;
}
extern "C" {
pub fn __fminmagf32x(__x: _Float32x, __y: _Float32x) -> _Float32x;
}
extern "C" {
pub fn canonicalizef32x(__cx: *mut _Float32x, __x: *const _Float32x) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn totalorderf32x(__x: *const _Float32x, __y: *const _Float32x) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn totalordermagf32x(__x: *const _Float32x, __y: *const _Float32x)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn getpayloadf32x(__x: *const _Float32x) -> _Float32x;
}
extern "C" {
pub fn __getpayloadf32x(__x: *const _Float32x) -> _Float32x;
}
extern "C" {
pub fn setpayloadf32x(__x: *mut _Float32x, __payload: _Float32x) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn setpayloadsigf32x(__x: *mut _Float32x, __payload: _Float32x) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fadd(__x: f64, __y: f64) -> f32;
}
extern "C" {
pub fn fdiv(__x: f64, __y: f64) -> f32;
}
extern "C" {
pub fn fmul(__x: f64, __y: f64) -> f32;
}
extern "C" {
pub fn fsub(__x: f64, __y: f64) -> f32;
}
extern "C" {
pub fn f32addf32x(__x: _Float32x, __y: _Float32x) -> _Float32;
}
extern "C" {
pub fn f32divf32x(__x: _Float32x, __y: _Float32x) -> _Float32;
}
extern "C" {
pub fn f32mulf32x(__x: _Float32x, __y: _Float32x) -> _Float32;
}
extern "C" {
pub fn f32subf32x(__x: _Float32x, __y: _Float32x) -> _Float32;
}
extern "C" {
pub fn f32addf64(__x: _Float64, __y: _Float64) -> _Float32;
}
extern "C" {
pub fn f32divf64(__x: _Float64, __y: _Float64) -> _Float32;
}
extern "C" {
pub fn f32mulf64(__x: _Float64, __y: _Float64) -> _Float32;
}
extern "C" {
pub fn f32subf64(__x: _Float64, __y: _Float64) -> _Float32;
}
extern "C" {
pub fn f32xaddf64(__x: _Float64, __y: _Float64) -> _Float32x;
}
extern "C" {
pub fn f32xdivf64(__x: _Float64, __y: _Float64) -> _Float32x;
}
extern "C" {
pub fn f32xmulf64(__x: _Float64, __y: _Float64) -> _Float32x;
}
extern "C" {
pub fn f32xsubf64(__x: _Float64, __y: _Float64) -> _Float32x;
}
extern "C" {
pub static mut signgam: ::std::os::raw::c_int;
}
pub const FP_NAN: _bindgen_ty_2 = 0;
pub const FP_INFINITE: _bindgen_ty_2 = 1;
pub const FP_ZERO: _bindgen_ty_2 = 2;
pub const FP_SUBNORMAL: _bindgen_ty_2 = 3;
pub const FP_NORMAL: _bindgen_ty_2 = 4;
pub type _bindgen_ty_2 = u32;
pub type int_least8_t = __int_least8_t;
pub type int_least16_t = __int_least16_t;
pub type int_least32_t = __int_least32_t;
pub type int_least64_t = __int_least64_t;
pub type uint_least8_t = __uint_least8_t;
pub type uint_least16_t = __uint_least16_t;
pub type uint_least32_t = __uint_least32_t;
pub type uint_least64_t = __uint_least64_t;
pub type int_fast8_t = ::std::os::raw::c_schar;
pub type int_fast16_t = ::std::os::raw::c_long;
pub type int_fast32_t = ::std::os::raw::c_long;
pub type int_fast64_t = ::std::os::raw::c_long;
pub type uint_fast8_t = ::std::os::raw::c_uchar;
pub type uint_fast16_t = ::std::os::raw::c_ulong;
pub type uint_fast32_t = ::std::os::raw::c_ulong;
pub type uint_fast64_t = ::std::os::raw::c_ulong;
pub type intmax_t = __intmax_t;
pub type uintmax_t = __uintmax_t;
pub type __gwchar_t = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct imaxdiv_t {
pub quot: ::std::os::raw::c_long,
pub rem: ::std::os::raw::c_long,
}
#[test]
fn bindgen_test_layout_imaxdiv_t() {
assert_eq!(
::std::mem::size_of::<imaxdiv_t>(),
16usize,
concat!("Size of: ", stringify!(imaxdiv_t))
);
assert_eq!(
::std::mem::align_of::<imaxdiv_t>(),
8usize,
concat!("Alignment of ", stringify!(imaxdiv_t))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<imaxdiv_t>())).quot as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(imaxdiv_t),
"::",
stringify!(quot)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<imaxdiv_t>())).rem as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(imaxdiv_t),
"::",
stringify!(rem)
)
);
}
extern "C" {
pub fn imaxabs(__n: intmax_t) -> intmax_t;
}
extern "C" {
pub fn imaxdiv(__numer: intmax_t, __denom: intmax_t) -> imaxdiv_t;
}
extern "C" {
pub fn strtoimax(
__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int,
) -> intmax_t;
}
extern "C" {
pub fn strtoumax(
__nptr: *const ::std::os::raw::c_char,
__endptr: *mut *mut ::std::os::raw::c_char,
__base: ::std::os::raw::c_int,
) -> uintmax_t;
}
extern "C" {
pub fn wcstoimax(
__nptr: *const __gwchar_t,
__endptr: *mut *mut __gwchar_t,
__base: ::std::os::raw::c_int,
) -> intmax_t;
}
extern "C" {
pub fn wcstoumax(
__nptr: *const __gwchar_t,
__endptr: *mut *mut __gwchar_t,
__base: ::std::os::raw::c_int,
) -> uintmax_t;
}
pub type tsrm_intptr_t = isize;
pub type tsrm_uintptr_t = usize;
pub type va_list = __builtin_va_list;
pub type __gnuc_va_list = __builtin_va_list;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct __mbstate_t {
pub __count: ::std::os::raw::c_int,
pub __value: __mbstate_t__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union __mbstate_t__bindgen_ty_1 {
pub __wch: ::std::os::raw::c_uint,
pub __wchb: [::std::os::raw::c_char; 4usize],
_bindgen_union_align: u32,
}
#[test]
fn bindgen_test_layout___mbstate_t__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<__mbstate_t__bindgen_ty_1>(),
4usize,
concat!("Size of: ", stringify!(__mbstate_t__bindgen_ty_1))
);
assert_eq!(
::std::mem::align_of::<__mbstate_t__bindgen_ty_1>(),
4usize,
concat!("Alignment of ", stringify!(__mbstate_t__bindgen_ty_1))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__mbstate_t__bindgen_ty_1>())).__wch as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(__mbstate_t__bindgen_ty_1),
"::",
stringify!(__wch)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__mbstate_t__bindgen_ty_1>())).__wchb as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(__mbstate_t__bindgen_ty_1),
"::",
stringify!(__wchb)
)
);
}
#[test]
fn bindgen_test_layout___mbstate_t() {
assert_eq!(
::std::mem::size_of::<__mbstate_t>(),
8usize,
concat!("Size of: ", stringify!(__mbstate_t))
);
assert_eq!(
::std::mem::align_of::<__mbstate_t>(),
4usize,
concat!("Alignment of ", stringify!(__mbstate_t))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__mbstate_t>())).__count as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(__mbstate_t),
"::",
stringify!(__count)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__mbstate_t>())).__value as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(__mbstate_t),
"::",
stringify!(__value)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _G_fpos_t {
pub __pos: __off_t,
pub __state: __mbstate_t,
}
#[test]
fn bindgen_test_layout__G_fpos_t() {
assert_eq!(
::std::mem::size_of::<_G_fpos_t>(),
16usize,
concat!("Size of: ", stringify!(_G_fpos_t))
);
assert_eq!(
::std::mem::align_of::<_G_fpos_t>(),
8usize,
concat!("Alignment of ", stringify!(_G_fpos_t))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_G_fpos_t>())).__pos as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_G_fpos_t),
"::",
stringify!(__pos)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_G_fpos_t>())).__state as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_G_fpos_t),
"::",
stringify!(__state)
)
);
}
pub type __fpos_t = _G_fpos_t;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _G_fpos64_t {
pub __pos: __off64_t,
pub __state: __mbstate_t,
}
#[test]
fn bindgen_test_layout__G_fpos64_t() {
assert_eq!(
::std::mem::size_of::<_G_fpos64_t>(),
16usize,
concat!("Size of: ", stringify!(_G_fpos64_t))
);
assert_eq!(
::std::mem::align_of::<_G_fpos64_t>(),
8usize,
concat!("Alignment of ", stringify!(_G_fpos64_t))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_G_fpos64_t>())).__pos as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_G_fpos64_t),
"::",
stringify!(__pos)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_G_fpos64_t>())).__state as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_G_fpos64_t),
"::",
stringify!(__state)
)
);
}
pub type __fpos64_t = _G_fpos64_t;
pub type __FILE = _IO_FILE;
pub type FILE = _IO_FILE;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IO_marker {
_unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IO_codecvt {
_unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IO_wide_data {
_unused: [u8; 0],
}
pub type _IO_lock_t = ::std::os::raw::c_void;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IO_FILE {
pub _flags: ::std::os::raw::c_int,
pub _IO_read_ptr: *mut ::std::os::raw::c_char,
pub _IO_read_end: *mut ::std::os::raw::c_char,
pub _IO_read_base: *mut ::std::os::raw::c_char,
pub _IO_write_base: *mut ::std::os::raw::c_char,
pub _IO_write_ptr: *mut ::std::os::raw::c_char,
pub _IO_write_end: *mut ::std::os::raw::c_char,
pub _IO_buf_base: *mut ::std::os::raw::c_char,
pub _IO_buf_end: *mut ::std::os::raw::c_char,
pub _IO_save_base: *mut ::std::os::raw::c_char,
pub _IO_backup_base: *mut ::std::os::raw::c_char,
pub _IO_save_end: *mut ::std::os::raw::c_char,
pub _markers: *mut _IO_marker,
pub _chain: *mut _IO_FILE,
pub _fileno: ::std::os::raw::c_int,
pub _flags2: ::std::os::raw::c_int,
pub _old_offset: __off_t,
pub _cur_column: ::std::os::raw::c_ushort,
pub _vtable_offset: ::std::os::raw::c_schar,
pub _shortbuf: [::std::os::raw::c_char; 1usize],
pub _lock: *mut _IO_lock_t,
pub _offset: __off64_t,
pub _codecvt: *mut _IO_codecvt,
pub _wide_data: *mut _IO_wide_data,
pub _freeres_list: *mut _IO_FILE,
pub _freeres_buf: *mut ::std::os::raw::c_void,
pub __pad5: usize,
pub _mode: ::std::os::raw::c_int,
pub _unused2: [::std::os::raw::c_char; 20usize],
}
#[test]
fn bindgen_test_layout__IO_FILE() {
assert_eq!(
::std::mem::size_of::<_IO_FILE>(),
216usize,
concat!("Size of: ", stringify!(_IO_FILE))
);
assert_eq!(
::std::mem::align_of::<_IO_FILE>(),
8usize,
concat!("Alignment of ", stringify!(_IO_FILE))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._flags as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_flags)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_ptr as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_IO_read_ptr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_end as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_IO_read_end)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_read_base as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_IO_read_base)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_base as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_IO_write_base)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_ptr as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_IO_write_ptr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_write_end as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_IO_write_end)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_buf_base as *const _ as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_IO_buf_base)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_buf_end as *const _ as usize },
64usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_IO_buf_end)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_save_base as *const _ as usize },
72usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_IO_save_base)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_backup_base as *const _ as usize },
80usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_IO_backup_base)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._IO_save_end as *const _ as usize },
88usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_IO_save_end)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._markers as *const _ as usize },
96usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_markers)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._chain as *const _ as usize },
104usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_chain)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._fileno as *const _ as usize },
112usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_fileno)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._flags2 as *const _ as usize },
116usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_flags2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._old_offset as *const _ as usize },
120usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_old_offset)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._cur_column as *const _ as usize },
128usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_cur_column)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._vtable_offset as *const _ as usize },
130usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_vtable_offset)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._shortbuf as *const _ as usize },
131usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_shortbuf)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._lock as *const _ as usize },
136usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_lock)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._offset as *const _ as usize },
144usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_offset)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._codecvt as *const _ as usize },
152usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_codecvt)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._wide_data as *const _ as usize },
160usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_wide_data)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._freeres_list as *const _ as usize },
168usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_freeres_list)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._freeres_buf as *const _ as usize },
176usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_freeres_buf)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>())).__pad5 as *const _ as usize },
184usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(__pad5)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._mode as *const _ as usize },
192usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_mode)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_FILE>()))._unused2 as *const _ as usize },
196usize,
concat!(
"Offset of field: ",
stringify!(_IO_FILE),
"::",
stringify!(_unused2)
)
);
}
pub type cookie_read_function_t = ::std::option::Option<
unsafe extern "C" fn(
__cookie: *mut ::std::os::raw::c_void,
__buf: *mut ::std::os::raw::c_char,
__nbytes: usize,
) -> __ssize_t,
>;
pub type cookie_write_function_t = ::std::option::Option<
unsafe extern "C" fn(
__cookie: *mut ::std::os::raw::c_void,
__buf: *const ::std::os::raw::c_char,
__nbytes: usize,
) -> __ssize_t,
>;
pub type cookie_seek_function_t = ::std::option::Option<
unsafe extern "C" fn(
__cookie: *mut ::std::os::raw::c_void,
__pos: *mut __off64_t,
__w: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int,
>;
pub type cookie_close_function_t = ::std::option::Option<
unsafe extern "C" fn(__cookie: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IO_cookie_io_functions_t {
pub read: cookie_read_function_t,
pub write: cookie_write_function_t,
pub seek: cookie_seek_function_t,
pub close: cookie_close_function_t,
}
#[test]
fn bindgen_test_layout__IO_cookie_io_functions_t() {
assert_eq!(
::std::mem::size_of::<_IO_cookie_io_functions_t>(),
32usize,
concat!("Size of: ", stringify!(_IO_cookie_io_functions_t))
);
assert_eq!(
::std::mem::align_of::<_IO_cookie_io_functions_t>(),
8usize,
concat!("Alignment of ", stringify!(_IO_cookie_io_functions_t))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_cookie_io_functions_t>())).read as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IO_cookie_io_functions_t),
"::",
stringify!(read)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_cookie_io_functions_t>())).write as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_IO_cookie_io_functions_t),
"::",
stringify!(write)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_cookie_io_functions_t>())).seek as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_IO_cookie_io_functions_t),
"::",
stringify!(seek)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IO_cookie_io_functions_t>())).close as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_IO_cookie_io_functions_t),
"::",
stringify!(close)
)
);
}
pub type cookie_io_functions_t = _IO_cookie_io_functions_t;
pub type fpos_t = __fpos_t;
pub type fpos64_t = __fpos64_t;
extern "C" {
pub static mut stdin: *mut FILE;
}
extern "C" {
pub static mut stdout: *mut FILE;
}
extern "C" {
pub static mut stderr: *mut FILE;
}
extern "C" {
pub fn remove(__filename: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn rename(
__old: *const ::std::os::raw::c_char,
__new: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn renameat(
__oldfd: ::std::os::raw::c_int,
__old: *const ::std::os::raw::c_char,
__newfd: ::std::os::raw::c_int,
__new: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn renameat2(
__oldfd: ::std::os::raw::c_int,
__old: *const ::std::os::raw::c_char,
__newfd: ::std::os::raw::c_int,
__new: *const ::std::os::raw::c_char,
__flags: ::std::os::raw::c_uint,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn tmpfile() -> *mut FILE;
}
extern "C" {
pub fn tmpfile64() -> *mut FILE;
}
extern "C" {
pub fn tmpnam(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn tmpnam_r(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn tempnam(
__dir: *const ::std::os::raw::c_char,
__pfx: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn fclose(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fflush(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fflush_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fcloseall() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fopen(
__filename: *const ::std::os::raw::c_char,
__modes: *const ::std::os::raw::c_char,
) -> *mut FILE;
}
extern "C" {
pub fn freopen(
__filename: *const ::std::os::raw::c_char,
__modes: *const ::std::os::raw::c_char,
__stream: *mut FILE,
) -> *mut FILE;
}
extern "C" {
pub fn fopen64(
__filename: *const ::std::os::raw::c_char,
__modes: *const ::std::os::raw::c_char,
) -> *mut FILE;
}
extern "C" {
pub fn freopen64(
__filename: *const ::std::os::raw::c_char,
__modes: *const ::std::os::raw::c_char,
__stream: *mut FILE,
) -> *mut FILE;
}
extern "C" {
pub fn fdopen(__fd: ::std::os::raw::c_int, __modes: *const ::std::os::raw::c_char)
-> *mut FILE;
}
extern "C" {
pub fn fopencookie(
__magic_cookie: *mut ::std::os::raw::c_void,
__modes: *const ::std::os::raw::c_char,
__io_funcs: cookie_io_functions_t,
) -> *mut FILE;
}
extern "C" {
pub fn fmemopen(
__s: *mut ::std::os::raw::c_void,
__len: usize,
__modes: *const ::std::os::raw::c_char,
) -> *mut FILE;
}
extern "C" {
pub fn open_memstream(
__bufloc: *mut *mut ::std::os::raw::c_char,
__sizeloc: *mut usize,
) -> *mut FILE;
}
extern "C" {
pub fn setbuf(__stream: *mut FILE, __buf: *mut ::std::os::raw::c_char);
}
extern "C" {
pub fn setvbuf(
__stream: *mut FILE,
__buf: *mut ::std::os::raw::c_char,
__modes: ::std::os::raw::c_int,
__n: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn setbuffer(__stream: *mut FILE, __buf: *mut ::std::os::raw::c_char, __size: usize);
}
extern "C" {
pub fn setlinebuf(__stream: *mut FILE);
}
extern "C" {
pub fn fprintf(
__stream: *mut FILE,
__format: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn printf(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sprintf(
__s: *mut ::std::os::raw::c_char,
__format: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn vfprintf(
__s: *mut FILE,
__format: *const ::std::os::raw::c_char,
__arg: *mut __va_list_tag,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn vprintf(
__format: *const ::std::os::raw::c_char,
__arg: *mut __va_list_tag,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn vsprintf(
__s: *mut ::std::os::raw::c_char,
__format: *const ::std::os::raw::c_char,
__arg: *mut __va_list_tag,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn snprintf(
__s: *mut ::std::os::raw::c_char,
__maxlen: ::std::os::raw::c_ulong,
__format: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn vsnprintf(
__s: *mut ::std::os::raw::c_char,
__maxlen: ::std::os::raw::c_ulong,
__format: *const ::std::os::raw::c_char,
__arg: *mut __va_list_tag,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn vasprintf(
__ptr: *mut *mut ::std::os::raw::c_char,
__f: *const ::std::os::raw::c_char,
__arg: *mut __va_list_tag,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __asprintf(
__ptr: *mut *mut ::std::os::raw::c_char,
__fmt: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn asprintf(
__ptr: *mut *mut ::std::os::raw::c_char,
__fmt: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn vdprintf(
__fd: ::std::os::raw::c_int,
__fmt: *const ::std::os::raw::c_char,
__arg: *mut __va_list_tag,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn dprintf(
__fd: ::std::os::raw::c_int,
__fmt: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fscanf(
__stream: *mut FILE,
__format: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn scanf(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sscanf(
__s: *const ::std::os::raw::c_char,
__format: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}__isoc99_fscanf"]
pub fn fscanf1(
__stream: *mut FILE,
__format: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}__isoc99_scanf"]
pub fn scanf1(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}__isoc99_sscanf"]
pub fn sscanf1(
__s: *const ::std::os::raw::c_char,
__format: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn vfscanf(
__s: *mut FILE,
__format: *const ::std::os::raw::c_char,
__arg: *mut __va_list_tag,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn vscanf(
__format: *const ::std::os::raw::c_char,
__arg: *mut __va_list_tag,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn vsscanf(
__s: *const ::std::os::raw::c_char,
__format: *const ::std::os::raw::c_char,
__arg: *mut __va_list_tag,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}__isoc99_vfscanf"]
pub fn vfscanf1(
__s: *mut FILE,
__format: *const ::std::os::raw::c_char,
__arg: *mut __va_list_tag,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}__isoc99_vscanf"]
pub fn vscanf1(
__format: *const ::std::os::raw::c_char,
__arg: *mut __va_list_tag,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}__isoc99_vsscanf"]
pub fn vsscanf1(
__s: *const ::std::os::raw::c_char,
__format: *const ::std::os::raw::c_char,
__arg: *mut __va_list_tag,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fgetc(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getc(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getchar() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getc_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getchar_unlocked() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fgetc_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fputc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn putc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn putchar(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fputc_unlocked(__c: ::std::os::raw::c_int, __stream: *mut FILE)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn putc_unlocked(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn putchar_unlocked(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getw(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn putw(__w: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fgets(
__s: *mut ::std::os::raw::c_char,
__n: ::std::os::raw::c_int,
__stream: *mut FILE,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn fgets_unlocked(
__s: *mut ::std::os::raw::c_char,
__n: ::std::os::raw::c_int,
__stream: *mut FILE,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn __getdelim(
__lineptr: *mut *mut ::std::os::raw::c_char,
__n: *mut usize,
__delimiter: ::std::os::raw::c_int,
__stream: *mut FILE,
) -> __ssize_t;
}
extern "C" {
pub fn getdelim(
__lineptr: *mut *mut ::std::os::raw::c_char,
__n: *mut usize,
__delimiter: ::std::os::raw::c_int,
__stream: *mut FILE,
) -> __ssize_t;
}
extern "C" {
pub fn getline(
__lineptr: *mut *mut ::std::os::raw::c_char,
__n: *mut usize,
__stream: *mut FILE,
) -> __ssize_t;
}
extern "C" {
pub fn fputs(__s: *const ::std::os::raw::c_char, __stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn puts(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ungetc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fread(
__ptr: *mut ::std::os::raw::c_void,
__size: ::std::os::raw::c_ulong,
__n: ::std::os::raw::c_ulong,
__stream: *mut FILE,
) -> ::std::os::raw::c_ulong;
}
extern "C" {
pub fn fwrite(
__ptr: *const ::std::os::raw::c_void,
__size: ::std::os::raw::c_ulong,
__n: ::std::os::raw::c_ulong,
__s: *mut FILE,
) -> ::std::os::raw::c_ulong;
}
extern "C" {
pub fn fputs_unlocked(
__s: *const ::std::os::raw::c_char,
__stream: *mut FILE,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fread_unlocked(
__ptr: *mut ::std::os::raw::c_void,
__size: usize,
__n: usize,
__stream: *mut FILE,
) -> usize;
}
extern "C" {
pub fn fwrite_unlocked(
__ptr: *const ::std::os::raw::c_void,
__size: usize,
__n: usize,
__stream: *mut FILE,
) -> usize;
}
extern "C" {
pub fn fseek(
__stream: *mut FILE,
__off: ::std::os::raw::c_long,
__whence: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ftell(__stream: *mut FILE) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn rewind(__stream: *mut FILE);
}
extern "C" {
pub fn fseeko(
__stream: *mut FILE,
__off: __off_t,
__whence: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ftello(__stream: *mut FILE) -> __off_t;
}
extern "C" {
pub fn fgetpos(__stream: *mut FILE, __pos: *mut fpos_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fsetpos(__stream: *mut FILE, __pos: *const fpos_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fseeko64(
__stream: *mut FILE,
__off: __off64_t,
__whence: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ftello64(__stream: *mut FILE) -> __off64_t;
}
extern "C" {
pub fn fgetpos64(__stream: *mut FILE, __pos: *mut fpos64_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fsetpos64(__stream: *mut FILE, __pos: *const fpos64_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn clearerr(__stream: *mut FILE);
}
extern "C" {
pub fn feof(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ferror(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn clearerr_unlocked(__stream: *mut FILE);
}
extern "C" {
pub fn feof_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ferror_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn perror(__s: *const ::std::os::raw::c_char);
}
extern "C" {
pub static mut sys_nerr: ::std::os::raw::c_int;
}
extern "C" {
pub static mut sys_errlist: [*const ::std::os::raw::c_char; 0usize];
}
extern "C" {
pub static mut _sys_nerr: ::std::os::raw::c_int;
}
extern "C" {
pub static mut _sys_errlist: [*const ::std::os::raw::c_char; 0usize];
}
extern "C" {
pub fn fileno(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fileno_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn popen(
__command: *const ::std::os::raw::c_char,
__modes: *const ::std::os::raw::c_char,
) -> *mut FILE;
}
extern "C" {
pub fn pclose(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ctermid(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn cuserid(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct obstack {
_unused: [u8; 0],
}
extern "C" {
pub fn obstack_printf(
__obstack: *mut obstack,
__format: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn obstack_vprintf(
__obstack: *mut obstack,
__format: *const ::std::os::raw::c_char,
__args: *mut __va_list_tag,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn flockfile(__stream: *mut FILE);
}
extern "C" {
pub fn ftrylockfile(__stream: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn funlockfile(__stream: *mut FILE);
}
extern "C" {
pub fn __uflow(arg1: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __overflow(arg1: *mut FILE, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __assert_fail(
__assertion: *const ::std::os::raw::c_char,
__file: *const ::std::os::raw::c_char,
__line: ::std::os::raw::c_uint,
__function: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn __assert_perror_fail(
__errnum: ::std::os::raw::c_int,
__file: *const ::std::os::raw::c_char,
__line: ::std::os::raw::c_uint,
__function: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn __assert(
__assertion: *const ::std::os::raw::c_char,
__file: *const ::std::os::raw::c_char,
__line: ::std::os::raw::c_int,
);
}
#[repr(C)]
#[repr(align(16))]
#[derive(Debug, Copy, Clone)]
pub struct max_align_t {
pub __clang_max_align_nonce1: ::std::os::raw::c_longlong,
pub __bindgen_padding_0: u64,
pub __clang_max_align_nonce2: u128,
}
#[test]
fn bindgen_test_layout_max_align_t() {
assert_eq!(
::std::mem::size_of::<max_align_t>(),
32usize,
concat!("Size of: ", stringify!(max_align_t))
);
assert_eq!(
::std::mem::align_of::<max_align_t>(),
16usize,
concat!("Alignment of ", stringify!(max_align_t))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<max_align_t>())).__clang_max_align_nonce1 as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(max_align_t),
"::",
stringify!(__clang_max_align_nonce1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<max_align_t>())).__clang_max_align_nonce2 as *const _ as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(max_align_t),
"::",
stringify!(__clang_max_align_nonce2)
)
);
}
extern "C" {
pub fn _dl_mcount_wrapper_check(__selfpc: *mut ::std::os::raw::c_void);
}
pub type Lmid_t = ::std::os::raw::c_long;
extern "C" {
pub fn dlopen(
__file: *const ::std::os::raw::c_char,
__mode: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn dlclose(__handle: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn dlsym(
__handle: *mut ::std::os::raw::c_void,
__name: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn dlmopen(
__nsid: Lmid_t,
__file: *const ::std::os::raw::c_char,
__mode: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn dlvsym(
__handle: *mut ::std::os::raw::c_void,
__name: *const ::std::os::raw::c_char,
__version: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn dlerror() -> *mut ::std::os::raw::c_char;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct Dl_info {
pub dli_fname: *const ::std::os::raw::c_char,
pub dli_fbase: *mut ::std::os::raw::c_void,
pub dli_sname: *const ::std::os::raw::c_char,
pub dli_saddr: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout_Dl_info() {
assert_eq!(
::std::mem::size_of::<Dl_info>(),
32usize,
concat!("Size of: ", stringify!(Dl_info))
);
assert_eq!(
::std::mem::align_of::<Dl_info>(),
8usize,
concat!("Alignment of ", stringify!(Dl_info))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<Dl_info>())).dli_fname as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(Dl_info),
"::",
stringify!(dli_fname)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<Dl_info>())).dli_fbase as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(Dl_info),
"::",
stringify!(dli_fbase)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<Dl_info>())).dli_sname as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(Dl_info),
"::",
stringify!(dli_sname)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<Dl_info>())).dli_saddr as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(Dl_info),
"::",
stringify!(dli_saddr)
)
);
}
extern "C" {
pub fn dladdr(
__address: *const ::std::os::raw::c_void,
__info: *mut Dl_info,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn dladdr1(
__address: *const ::std::os::raw::c_void,
__info: *mut Dl_info,
__extra_info: *mut *mut ::std::os::raw::c_void,
__flags: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
pub const RTLD_DL_SYMENT: _bindgen_ty_3 = 1;
pub const RTLD_DL_LINKMAP: _bindgen_ty_3 = 2;
pub type _bindgen_ty_3 = u32;
extern "C" {
pub fn dlinfo(
__handle: *mut ::std::os::raw::c_void,
__request: ::std::os::raw::c_int,
__arg: *mut ::std::os::raw::c_void,
) -> ::std::os::raw::c_int;
}
pub const RTLD_DI_LMID: _bindgen_ty_4 = 1;
pub const RTLD_DI_LINKMAP: _bindgen_ty_4 = 2;
pub const RTLD_DI_CONFIGADDR: _bindgen_ty_4 = 3;
pub const RTLD_DI_SERINFO: _bindgen_ty_4 = 4;
pub const RTLD_DI_SERINFOSIZE: _bindgen_ty_4 = 5;
pub const RTLD_DI_ORIGIN: _bindgen_ty_4 = 6;
pub const RTLD_DI_PROFILENAME: _bindgen_ty_4 = 7;
pub const RTLD_DI_PROFILEOUT: _bindgen_ty_4 = 8;
pub const RTLD_DI_TLS_MODID: _bindgen_ty_4 = 9;
pub const RTLD_DI_TLS_DATA: _bindgen_ty_4 = 10;
pub const RTLD_DI_MAX: _bindgen_ty_4 = 10;
pub type _bindgen_ty_4 = u32;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct Dl_serpath {
pub dls_name: *mut ::std::os::raw::c_char,
pub dls_flags: ::std::os::raw::c_uint,
}
#[test]
fn bindgen_test_layout_Dl_serpath() {
assert_eq!(
::std::mem::size_of::<Dl_serpath>(),
16usize,
concat!("Size of: ", stringify!(Dl_serpath))
);
assert_eq!(
::std::mem::align_of::<Dl_serpath>(),
8usize,
concat!("Alignment of ", stringify!(Dl_serpath))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<Dl_serpath>())).dls_name as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(Dl_serpath),
"::",
stringify!(dls_name)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<Dl_serpath>())).dls_flags as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(Dl_serpath),
"::",
stringify!(dls_flags)
)
);
}
#[repr(C)]
pub struct Dl_serinfo {
pub dls_size: usize,
pub dls_cnt: ::std::os::raw::c_uint,
pub __bindgen_anon_1: Dl_serinfo__bindgen_ty_1,
}
#[repr(C)]
pub struct Dl_serinfo__bindgen_ty_1 {
pub dls_serpath: __BindgenUnionField<[Dl_serpath; 0usize]>,
pub __dls_serpath_pad: __BindgenUnionField<[Dl_serpath; 1usize]>,
pub bindgen_union_field: [u64; 2usize],
}
#[test]
fn bindgen_test_layout_Dl_serinfo__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<Dl_serinfo__bindgen_ty_1>(),
16usize,
concat!("Size of: ", stringify!(Dl_serinfo__bindgen_ty_1))
);
assert_eq!(
::std::mem::align_of::<Dl_serinfo__bindgen_ty_1>(),
8usize,
concat!("Alignment of ", stringify!(Dl_serinfo__bindgen_ty_1))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<Dl_serinfo__bindgen_ty_1>())).dls_serpath as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(Dl_serinfo__bindgen_ty_1),
"::",
stringify!(dls_serpath)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<Dl_serinfo__bindgen_ty_1>())).__dls_serpath_pad as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(Dl_serinfo__bindgen_ty_1),
"::",
stringify!(__dls_serpath_pad)
)
);
}
#[test]
fn bindgen_test_layout_Dl_serinfo() {
assert_eq!(
::std::mem::size_of::<Dl_serinfo>(),
32usize,
concat!("Size of: ", stringify!(Dl_serinfo))
);
assert_eq!(
::std::mem::align_of::<Dl_serinfo>(),
8usize,
concat!("Alignment of ", stringify!(Dl_serinfo))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<Dl_serinfo>())).dls_size as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(Dl_serinfo),
"::",
stringify!(dls_size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<Dl_serinfo>())).dls_cnt as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(Dl_serinfo),
"::",
stringify!(dls_cnt)
)
);
}
pub type zend_long = i64;
pub type zend_ulong = u64;
pub type zend_off_t = i64;
extern "C" {
pub static mut long_min_digits: [::std::os::raw::c_char; 20usize];
}
pub type __m64 = [::std::os::raw::c_longlong; 1usize];
pub type __v1di = [::std::os::raw::c_longlong; 1usize];
pub type __v2si = [::std::os::raw::c_int; 2usize];
pub type __v4hi = [::std::os::raw::c_short; 4usize];
pub type __v8qi = [::std::os::raw::c_char; 8usize];
pub type __v4si = [::std::os::raw::c_int; 4usize];
pub type __v4sf = [f32; 4usize];
pub type __m128 = [f32; 4usize];
pub type __m128_u = [f32; 4usize];
pub type __v4su = [::std::os::raw::c_uint; 4usize];
extern "C" {
pub fn _mm_sfence();
}
extern "C" {
pub fn _mm_getcsr() -> ::std::os::raw::c_uint;
}
extern "C" {
pub fn _mm_setcsr(__i: ::std::os::raw::c_uint);
}
pub type __m128d = [f64; 2usize];
pub type __m128i = [::std::os::raw::c_longlong; 2usize];
pub type __m128d_u = [f64; 2usize];
pub type __m128i_u = [::std::os::raw::c_longlong; 2usize];
pub type __v2df = [f64; 2usize];
pub type __v2di = [::std::os::raw::c_longlong; 2usize];
pub type __v8hi = [::std::os::raw::c_short; 8usize];
pub type __v16qi = [::std::os::raw::c_char; 16usize];
pub type __v2du = [::std::os::raw::c_ulonglong; 2usize];
pub type __v8hu = [::std::os::raw::c_ushort; 8usize];
pub type __v16qu = [::std::os::raw::c_uchar; 16usize];
pub type __v16qs = [::std::os::raw::c_schar; 16usize];
extern "C" {
pub fn _mm_clflush(__p: *const ::std::os::raw::c_void);
}
extern "C" {
pub fn _mm_lfence();
}
extern "C" {
pub fn _mm_mfence();
}
extern "C" {
pub fn _mm_pause();
}
pub type zend_bool = ::std::os::raw::c_uchar;
pub type zend_uchar = ::std::os::raw::c_uchar;
pub const ZEND_RESULT_CODE_SUCCESS: ZEND_RESULT_CODE = 0;
pub const ZEND_RESULT_CODE_FAILURE: ZEND_RESULT_CODE = -1;
pub type ZEND_RESULT_CODE = i32;
pub type zend_intptr_t = isize;
pub type zend_uintptr_t = usize;
pub type zend_object_handlers = _zend_object_handlers;
pub type zend_class_entry = _zend_class_entry;
pub type zend_function = _zend_function;
pub type zend_execute_data = _zend_execute_data;
pub type zval = _zval_struct;
pub type zend_refcounted = _zend_refcounted;
pub type zend_string = _zend_string;
pub type zend_array = _zend_array;
pub type zend_object = _zend_object;
pub type zend_resource = _zend_resource;
pub type zend_reference = _zend_reference;
pub type zend_ast_ref = _zend_ast_ref;
pub type zend_ast = _zend_ast;
pub type compare_func_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,
>;
pub type swap_func_t = ::std::option::Option<
unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void, arg2: *mut ::std::os::raw::c_void),
>;
pub type sort_func_t = ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut ::std::os::raw::c_void,
arg2: usize,
arg3: usize,
arg4: compare_func_t,
arg5: swap_func_t,
),
>;
pub type dtor_func_t = ::std::option::Option<unsafe extern "C" fn(pDest: *mut zval)>;
pub type copy_ctor_func_t = ::std::option::Option<unsafe extern "C" fn(pElement: *mut zval)>;
pub type zend_type = usize;
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_value {
pub lval: zend_long,
pub dval: f64,
pub counted: *mut zend_refcounted,
pub str: *mut zend_string,
pub arr: *mut zend_array,
pub obj: *mut zend_object,
pub res: *mut zend_resource,
pub ref_: *mut zend_reference,
pub ast: *mut zend_ast_ref,
pub zv: *mut zval,
pub ptr: *mut ::std::os::raw::c_void,
pub ce: *mut zend_class_entry,
pub func: *mut zend_function,
pub ww: _zend_value__bindgen_ty_1,
_bindgen_union_align: u64,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_value__bindgen_ty_1 {
pub w1: u32,
pub w2: u32,
}
#[test]
fn bindgen_test_layout__zend_value__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<_zend_value__bindgen_ty_1>(),
8usize,
concat!("Size of: ", stringify!(_zend_value__bindgen_ty_1))
);
assert_eq!(
::std::mem::align_of::<_zend_value__bindgen_ty_1>(),
4usize,
concat!("Alignment of ", stringify!(_zend_value__bindgen_ty_1))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_value__bindgen_ty_1>())).w1 as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_value__bindgen_ty_1),
"::",
stringify!(w1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_value__bindgen_ty_1>())).w2 as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(_zend_value__bindgen_ty_1),
"::",
stringify!(w2)
)
);
}
#[test]
fn bindgen_test_layout__zend_value() {
assert_eq!(
::std::mem::size_of::<_zend_value>(),
8usize,
concat!("Size of: ", stringify!(_zend_value))
);
assert_eq!(
::std::mem::align_of::<_zend_value>(),
8usize,
concat!("Alignment of ", stringify!(_zend_value))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_value>())).lval as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_value),
"::",
stringify!(lval)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_value>())).dval as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_value),
"::",
stringify!(dval)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_value>())).counted as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_value),
"::",
stringify!(counted)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_value>())).str as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_value),
"::",
stringify!(str)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_value>())).arr as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_value),
"::",
stringify!(arr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_value>())).obj as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_value),
"::",
stringify!(obj)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_value>())).res as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_value),
"::",
stringify!(res)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_value>())).ref_ as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_value),
"::",
stringify!(ref_)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_value>())).ast as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_value),
"::",
stringify!(ast)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_value>())).zv as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_value),
"::",
stringify!(zv)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_value>())).ptr as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_value),
"::",
stringify!(ptr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_value>())).ce as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_value),
"::",
stringify!(ce)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_value>())).func as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_value),
"::",
stringify!(func)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_value>())).ww as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_value),
"::",
stringify!(ww)
)
);
}
pub type zend_value = _zend_value;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zval_struct {
pub value: zend_value,
pub u1: _zval_struct__bindgen_ty_1,
pub u2: _zval_struct__bindgen_ty_2,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zval_struct__bindgen_ty_1 {
pub v: _zval_struct__bindgen_ty_1__bindgen_ty_1,
pub type_info: u32,
_bindgen_union_align: u32,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zval_struct__bindgen_ty_1__bindgen_ty_1 {
pub type_: zend_uchar,
pub type_flags: zend_uchar,
pub u: _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {
pub extra: u16,
_bindgen_union_align: u16,
}
#[test]
fn bindgen_test_layout__zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1>(),
2usize,
concat!(
"Size of: ",
stringify!(_zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1)
)
);
assert_eq!(
::std::mem::align_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1>(),
2usize,
concat!(
"Alignment of ",
stringify!(_zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1>())).extra
as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zval_struct__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1),
"::",
stringify!(extra)
)
);
}
#[test]
fn bindgen_test_layout__zval_struct__bindgen_ty_1__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1>(),
4usize,
concat!(
"Size of: ",
stringify!(_zval_struct__bindgen_ty_1__bindgen_ty_1)
)
);
assert_eq!(
::std::mem::align_of::<_zval_struct__bindgen_ty_1__bindgen_ty_1>(),
2usize,
concat!(
"Alignment of ",
stringify!(_zval_struct__bindgen_ty_1__bindgen_ty_1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zval_struct__bindgen_ty_1__bindgen_ty_1>())).type_ as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zval_struct__bindgen_ty_1__bindgen_ty_1),
"::",
stringify!(type_)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zval_struct__bindgen_ty_1__bindgen_ty_1>())).type_flags
as *const _ as usize
},
1usize,
concat!(
"Offset of field: ",
stringify!(_zval_struct__bindgen_ty_1__bindgen_ty_1),
"::",
stringify!(type_flags)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zval_struct__bindgen_ty_1__bindgen_ty_1>())).u as *const _
as usize
},
2usize,
concat!(
"Offset of field: ",
stringify!(_zval_struct__bindgen_ty_1__bindgen_ty_1),
"::",
stringify!(u)
)
);
}
#[test]
fn bindgen_test_layout__zval_struct__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<_zval_struct__bindgen_ty_1>(),
4usize,
concat!("Size of: ", stringify!(_zval_struct__bindgen_ty_1))
);
assert_eq!(
::std::mem::align_of::<_zval_struct__bindgen_ty_1>(),
4usize,
concat!("Alignment of ", stringify!(_zval_struct__bindgen_ty_1))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zval_struct__bindgen_ty_1>())).v as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zval_struct__bindgen_ty_1),
"::",
stringify!(v)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zval_struct__bindgen_ty_1>())).type_info as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zval_struct__bindgen_ty_1),
"::",
stringify!(type_info)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zval_struct__bindgen_ty_2 {
pub next: u32,
pub cache_slot: u32,
pub opline_num: u32,
pub lineno: u32,
pub num_args: u32,
pub fe_pos: u32,
pub fe_iter_idx: u32,
pub access_flags: u32,
pub property_guard: u32,
pub constant_flags: u32,
pub extra: u32,
_bindgen_union_align: u32,
}
#[test]
fn bindgen_test_layout__zval_struct__bindgen_ty_2() {
assert_eq!(
::std::mem::size_of::<_zval_struct__bindgen_ty_2>(),
4usize,
concat!("Size of: ", stringify!(_zval_struct__bindgen_ty_2))
);
assert_eq!(
::std::mem::align_of::<_zval_struct__bindgen_ty_2>(),
4usize,
concat!("Alignment of ", stringify!(_zval_struct__bindgen_ty_2))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zval_struct__bindgen_ty_2>())).next as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zval_struct__bindgen_ty_2),
"::",
stringify!(next)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zval_struct__bindgen_ty_2>())).cache_slot as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zval_struct__bindgen_ty_2),
"::",
stringify!(cache_slot)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zval_struct__bindgen_ty_2>())).opline_num as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zval_struct__bindgen_ty_2),
"::",
stringify!(opline_num)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zval_struct__bindgen_ty_2>())).lineno as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zval_struct__bindgen_ty_2),
"::",
stringify!(lineno)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zval_struct__bindgen_ty_2>())).num_args as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zval_struct__bindgen_ty_2),
"::",
stringify!(num_args)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zval_struct__bindgen_ty_2>())).fe_pos as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zval_struct__bindgen_ty_2),
"::",
stringify!(fe_pos)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zval_struct__bindgen_ty_2>())).fe_iter_idx as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zval_struct__bindgen_ty_2),
"::",
stringify!(fe_iter_idx)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zval_struct__bindgen_ty_2>())).access_flags as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zval_struct__bindgen_ty_2),
"::",
stringify!(access_flags)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zval_struct__bindgen_ty_2>())).property_guard as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zval_struct__bindgen_ty_2),
"::",
stringify!(property_guard)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zval_struct__bindgen_ty_2>())).constant_flags as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zval_struct__bindgen_ty_2),
"::",
stringify!(constant_flags)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zval_struct__bindgen_ty_2>())).extra as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zval_struct__bindgen_ty_2),
"::",
stringify!(extra)
)
);
}
#[test]
fn bindgen_test_layout__zval_struct() {
assert_eq!(
::std::mem::size_of::<_zval_struct>(),
16usize,
concat!("Size of: ", stringify!(_zval_struct))
);
assert_eq!(
::std::mem::align_of::<_zval_struct>(),
8usize,
concat!("Alignment of ", stringify!(_zval_struct))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zval_struct>())).value as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zval_struct),
"::",
stringify!(value)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zval_struct>())).u1 as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zval_struct),
"::",
stringify!(u1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zval_struct>())).u2 as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(_zval_struct),
"::",
stringify!(u2)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_refcounted_h {
pub refcount: u32,
pub u: _zend_refcounted_h__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_refcounted_h__bindgen_ty_1 {
pub type_info: u32,
_bindgen_union_align: u32,
}
#[test]
fn bindgen_test_layout__zend_refcounted_h__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<_zend_refcounted_h__bindgen_ty_1>(),
4usize,
concat!("Size of: ", stringify!(_zend_refcounted_h__bindgen_ty_1))
);
assert_eq!(
::std::mem::align_of::<_zend_refcounted_h__bindgen_ty_1>(),
4usize,
concat!(
"Alignment of ",
stringify!(_zend_refcounted_h__bindgen_ty_1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_refcounted_h__bindgen_ty_1>())).type_info as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_refcounted_h__bindgen_ty_1),
"::",
stringify!(type_info)
)
);
}
#[test]
fn bindgen_test_layout__zend_refcounted_h() {
assert_eq!(
::std::mem::size_of::<_zend_refcounted_h>(),
8usize,
concat!("Size of: ", stringify!(_zend_refcounted_h))
);
assert_eq!(
::std::mem::align_of::<_zend_refcounted_h>(),
4usize,
concat!("Alignment of ", stringify!(_zend_refcounted_h))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_refcounted_h>())).refcount as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_refcounted_h),
"::",
stringify!(refcount)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_refcounted_h>())).u as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(_zend_refcounted_h),
"::",
stringify!(u)
)
);
}
pub type zend_refcounted_h = _zend_refcounted_h;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_refcounted {
pub gc: zend_refcounted_h,
}
#[test]
fn bindgen_test_layout__zend_refcounted() {
assert_eq!(
::std::mem::size_of::<_zend_refcounted>(),
8usize,
concat!("Size of: ", stringify!(_zend_refcounted))
);
assert_eq!(
::std::mem::align_of::<_zend_refcounted>(),
4usize,
concat!("Alignment of ", stringify!(_zend_refcounted))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_refcounted>())).gc as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_refcounted),
"::",
stringify!(gc)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_string {
pub gc: zend_refcounted_h,
pub h: zend_ulong,
pub len: usize,
pub val: [::std::os::raw::c_char; 1usize],
}
#[test]
fn bindgen_test_layout__zend_string() {
assert_eq!(
::std::mem::size_of::<_zend_string>(),
32usize,
concat!("Size of: ", stringify!(_zend_string))
);
assert_eq!(
::std::mem::align_of::<_zend_string>(),
8usize,
concat!("Alignment of ", stringify!(_zend_string))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_string>())).gc as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_string),
"::",
stringify!(gc)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_string>())).h as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_string),
"::",
stringify!(h)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_string>())).len as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_string),
"::",
stringify!(len)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_string>())).val as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_string),
"::",
stringify!(val)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _Bucket {
pub val: zval,
pub h: zend_ulong,
pub key: *mut zend_string,
}
#[test]
fn bindgen_test_layout__Bucket() {
assert_eq!(
::std::mem::size_of::<_Bucket>(),
32usize,
concat!("Size of: ", stringify!(_Bucket))
);
assert_eq!(
::std::mem::align_of::<_Bucket>(),
8usize,
concat!("Alignment of ", stringify!(_Bucket))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_Bucket>())).val as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_Bucket),
"::",
stringify!(val)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_Bucket>())).h as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_Bucket),
"::",
stringify!(h)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_Bucket>())).key as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_Bucket),
"::",
stringify!(key)
)
);
}
pub type Bucket = _Bucket;
pub type HashTable = _zend_array;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_array {
pub gc: zend_refcounted_h,
pub u: _zend_array__bindgen_ty_1,
pub nTableMask: u32,
pub arData: *mut Bucket,
pub nNumUsed: u32,
pub nNumOfElements: u32,
pub nTableSize: u32,
pub nInternalPointer: u32,
pub nNextFreeElement: zend_long,
pub pDestructor: dtor_func_t,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_array__bindgen_ty_1 {
pub v: _zend_array__bindgen_ty_1__bindgen_ty_1,
pub flags: u32,
_bindgen_union_align: u32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_array__bindgen_ty_1__bindgen_ty_1 {
pub flags: zend_uchar,
pub _unused: zend_uchar,
pub nIteratorsCount: zend_uchar,
pub _unused2: zend_uchar,
}
#[test]
fn bindgen_test_layout__zend_array__bindgen_ty_1__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<_zend_array__bindgen_ty_1__bindgen_ty_1>(),
4usize,
concat!(
"Size of: ",
stringify!(_zend_array__bindgen_ty_1__bindgen_ty_1)
)
);
assert_eq!(
::std::mem::align_of::<_zend_array__bindgen_ty_1__bindgen_ty_1>(),
1usize,
concat!(
"Alignment of ",
stringify!(_zend_array__bindgen_ty_1__bindgen_ty_1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_array__bindgen_ty_1__bindgen_ty_1>())).flags as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_array__bindgen_ty_1__bindgen_ty_1),
"::",
stringify!(flags)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_array__bindgen_ty_1__bindgen_ty_1>()))._unused as *const _
as usize
},
1usize,
concat!(
"Offset of field: ",
stringify!(_zend_array__bindgen_ty_1__bindgen_ty_1),
"::",
stringify!(_unused)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_array__bindgen_ty_1__bindgen_ty_1>())).nIteratorsCount
as *const _ as usize
},
2usize,
concat!(
"Offset of field: ",
stringify!(_zend_array__bindgen_ty_1__bindgen_ty_1),
"::",
stringify!(nIteratorsCount)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_array__bindgen_ty_1__bindgen_ty_1>()))._unused2 as *const _
as usize
},
3usize,
concat!(
"Offset of field: ",
stringify!(_zend_array__bindgen_ty_1__bindgen_ty_1),
"::",
stringify!(_unused2)
)
);
}
#[test]
fn bindgen_test_layout__zend_array__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<_zend_array__bindgen_ty_1>(),
4usize,
concat!("Size of: ", stringify!(_zend_array__bindgen_ty_1))
);
assert_eq!(
::std::mem::align_of::<_zend_array__bindgen_ty_1>(),
4usize,
concat!("Alignment of ", stringify!(_zend_array__bindgen_ty_1))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_array__bindgen_ty_1>())).v as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_array__bindgen_ty_1),
"::",
stringify!(v)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_array__bindgen_ty_1>())).flags as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_array__bindgen_ty_1),
"::",
stringify!(flags)
)
);
}
#[test]
fn bindgen_test_layout__zend_array() {
assert_eq!(
::std::mem::size_of::<_zend_array>(),
56usize,
concat!("Size of: ", stringify!(_zend_array))
);
assert_eq!(
::std::mem::align_of::<_zend_array>(),
8usize,
concat!("Alignment of ", stringify!(_zend_array))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_array>())).gc as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_array),
"::",
stringify!(gc)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_array>())).u as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_array),
"::",
stringify!(u)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_array>())).nTableMask as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(_zend_array),
"::",
stringify!(nTableMask)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_array>())).arData as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_array),
"::",
stringify!(arData)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_array>())).nNumUsed as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_array),
"::",
stringify!(nNumUsed)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_array>())).nNumOfElements as *const _ as usize },
28usize,
concat!(
"Offset of field: ",
stringify!(_zend_array),
"::",
stringify!(nNumOfElements)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_array>())).nTableSize as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_array),
"::",
stringify!(nTableSize)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_array>())).nInternalPointer as *const _ as usize },
36usize,
concat!(
"Offset of field: ",
stringify!(_zend_array),
"::",
stringify!(nInternalPointer)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_array>())).nNextFreeElement as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(_zend_array),
"::",
stringify!(nNextFreeElement)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_array>())).pDestructor as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(_zend_array),
"::",
stringify!(pDestructor)
)
);
}
pub type HashPosition = u32;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _HashTableIterator {
pub ht: *mut HashTable,
pub pos: HashPosition,
}
#[test]
fn bindgen_test_layout__HashTableIterator() {
assert_eq!(
::std::mem::size_of::<_HashTableIterator>(),
16usize,
concat!("Size of: ", stringify!(_HashTableIterator))
);
assert_eq!(
::std::mem::align_of::<_HashTableIterator>(),
8usize,
concat!("Alignment of ", stringify!(_HashTableIterator))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_HashTableIterator>())).ht as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_HashTableIterator),
"::",
stringify!(ht)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_HashTableIterator>())).pos as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_HashTableIterator),
"::",
stringify!(pos)
)
);
}
pub type HashTableIterator = _HashTableIterator;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_object {
pub gc: zend_refcounted_h,
pub handle: u32,
pub ce: *mut zend_class_entry,
pub handlers: *const zend_object_handlers,
pub properties: *mut HashTable,
pub properties_table: [zval; 1usize],
}
#[test]
fn bindgen_test_layout__zend_object() {
assert_eq!(
::std::mem::size_of::<_zend_object>(),
56usize,
concat!("Size of: ", stringify!(_zend_object))
);
assert_eq!(
::std::mem::align_of::<_zend_object>(),
8usize,
concat!("Alignment of ", stringify!(_zend_object))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_object>())).gc as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_object),
"::",
stringify!(gc)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_object>())).handle as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_object),
"::",
stringify!(handle)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_object>())).ce as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_object),
"::",
stringify!(ce)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_object>())).handlers as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_object),
"::",
stringify!(handlers)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_object>())).properties as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_object),
"::",
stringify!(properties)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_object>())).properties_table as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(_zend_object),
"::",
stringify!(properties_table)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_resource {
pub gc: zend_refcounted_h,
pub handle: ::std::os::raw::c_int,
pub type_: ::std::os::raw::c_int,
pub ptr: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout__zend_resource() {
assert_eq!(
::std::mem::size_of::<_zend_resource>(),
24usize,
concat!("Size of: ", stringify!(_zend_resource))
);
assert_eq!(
::std::mem::align_of::<_zend_resource>(),
8usize,
concat!("Alignment of ", stringify!(_zend_resource))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_resource>())).gc as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_resource),
"::",
stringify!(gc)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_resource>())).handle as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_resource),
"::",
stringify!(handle)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_resource>())).type_ as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(_zend_resource),
"::",
stringify!(type_)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_resource>())).ptr as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_resource),
"::",
stringify!(ptr)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct zend_property_info_list {
pub num: usize,
pub num_allocated: usize,
pub ptr: [*mut _zend_property_info; 1usize],
}
#[test]
fn bindgen_test_layout_zend_property_info_list() {
assert_eq!(
::std::mem::size_of::<zend_property_info_list>(),
24usize,
concat!("Size of: ", stringify!(zend_property_info_list))
);
assert_eq!(
::std::mem::align_of::<zend_property_info_list>(),
8usize,
concat!("Alignment of ", stringify!(zend_property_info_list))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<zend_property_info_list>())).num as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(zend_property_info_list),
"::",
stringify!(num)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<zend_property_info_list>())).num_allocated as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(zend_property_info_list),
"::",
stringify!(num_allocated)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<zend_property_info_list>())).ptr as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(zend_property_info_list),
"::",
stringify!(ptr)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union zend_property_info_source_list {
pub ptr: *mut _zend_property_info,
pub list: usize,
_bindgen_union_align: u64,
}
#[test]
fn bindgen_test_layout_zend_property_info_source_list() {
assert_eq!(
::std::mem::size_of::<zend_property_info_source_list>(),
8usize,
concat!("Size of: ", stringify!(zend_property_info_source_list))
);
assert_eq!(
::std::mem::align_of::<zend_property_info_source_list>(),
8usize,
concat!("Alignment of ", stringify!(zend_property_info_source_list))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<zend_property_info_source_list>())).ptr as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(zend_property_info_source_list),
"::",
stringify!(ptr)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<zend_property_info_source_list>())).list as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(zend_property_info_source_list),
"::",
stringify!(list)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_reference {
pub gc: zend_refcounted_h,
pub val: zval,
pub sources: zend_property_info_source_list,
}
#[test]
fn bindgen_test_layout__zend_reference() {
assert_eq!(
::std::mem::size_of::<_zend_reference>(),
32usize,
concat!("Size of: ", stringify!(_zend_reference))
);
assert_eq!(
::std::mem::align_of::<_zend_reference>(),
8usize,
concat!("Alignment of ", stringify!(_zend_reference))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_reference>())).gc as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_reference),
"::",
stringify!(gc)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_reference>())).val as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_reference),
"::",
stringify!(val)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_reference>())).sources as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_reference),
"::",
stringify!(sources)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_ast_ref {
pub gc: zend_refcounted_h,
}
#[test]
fn bindgen_test_layout__zend_ast_ref() {
assert_eq!(
::std::mem::size_of::<_zend_ast_ref>(),
8usize,
concat!("Size of: ", stringify!(_zend_ast_ref))
);
assert_eq!(
::std::mem::align_of::<_zend_ast_ref>(),
4usize,
concat!("Alignment of ", stringify!(_zend_ast_ref))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ast_ref>())).gc as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_ast_ref),
"::",
stringify!(gc)
)
);
}
extern "C" {
pub fn zend_map_ptr_reset();
}
extern "C" {
pub fn zend_map_ptr_new() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn zend_map_ptr_extend(last: usize);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_leak_info {
pub addr: *mut ::std::os::raw::c_void,
pub size: usize,
pub filename: *const ::std::os::raw::c_char,
pub orig_filename: *const ::std::os::raw::c_char,
pub lineno: u32,
pub orig_lineno: u32,
}
#[test]
fn bindgen_test_layout__zend_leak_info() {
assert_eq!(
::std::mem::size_of::<_zend_leak_info>(),
40usize,
concat!("Size of: ", stringify!(_zend_leak_info))
);
assert_eq!(
::std::mem::align_of::<_zend_leak_info>(),
8usize,
concat!("Alignment of ", stringify!(_zend_leak_info))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_leak_info>())).addr as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_leak_info),
"::",
stringify!(addr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_leak_info>())).size as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_leak_info),
"::",
stringify!(size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_leak_info>())).filename as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_leak_info),
"::",
stringify!(filename)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_leak_info>())).orig_filename as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_leak_info),
"::",
stringify!(orig_filename)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_leak_info>())).lineno as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_leak_info),
"::",
stringify!(lineno)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_leak_info>())).orig_lineno as *const _ as usize },
36usize,
concat!(
"Offset of field: ",
stringify!(_zend_leak_info),
"::",
stringify!(orig_lineno)
)
);
}
pub type zend_leak_info = _zend_leak_info;
extern "C" {
pub fn zend_strndup(
s: *const ::std::os::raw::c_char,
length: usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _emalloc(size: usize) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _safe_emalloc(nmemb: usize, size: usize, offset: usize) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _safe_malloc(nmemb: usize, size: usize, offset: usize) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _efree(ptr: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _ecalloc(nmemb: usize, size: usize) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _erealloc(ptr: *mut ::std::os::raw::c_void, size: usize) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _erealloc2(
ptr: *mut ::std::os::raw::c_void,
size: usize,
copy_size: usize,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _safe_erealloc(
ptr: *mut ::std::os::raw::c_void,
nmemb: usize,
size: usize,
offset: usize,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _safe_realloc(
ptr: *mut ::std::os::raw::c_void,
nmemb: usize,
size: usize,
offset: usize,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _estrdup(s: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _estrndup(
s: *const ::std::os::raw::c_char,
length: usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _zend_mem_block_size(ptr: *mut ::std::os::raw::c_void) -> usize;
}
extern "C" {
pub fn _emalloc_8() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_16() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_24() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_32() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_40() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_48() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_56() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_64() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_80() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_96() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_112() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_128() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_160() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_192() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_224() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_256() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_320() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_384() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_448() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_512() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_640() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_768() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_896() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_1024() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_1280() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_1536() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_1792() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_2048() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_2560() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_3072() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_large(size: usize) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _emalloc_huge(size: usize) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _efree_8(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_16(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_24(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_32(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_40(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_48(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_56(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_64(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_80(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_96(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_112(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_128(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_160(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_192(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_224(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_256(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_320(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_384(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_448(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_512(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_640(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_768(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_896(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_1024(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_1280(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_1536(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_1792(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_2048(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_2560(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_3072(arg1: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _efree_large(arg1: *mut ::std::os::raw::c_void, size: usize);
}
extern "C" {
pub fn _efree_huge(arg1: *mut ::std::os::raw::c_void, size: usize);
}
extern "C" {
pub fn __zend_malloc(len: usize) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn __zend_calloc(nmemb: usize, len: usize) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn __zend_realloc(
p: *mut ::std::os::raw::c_void,
len: usize,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn zend_set_memory_limit(memory_limit: usize) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn start_memory_manager();
}
extern "C" {
pub fn shutdown_memory_manager(
silent: ::std::os::raw::c_int,
full_shutdown: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn is_zend_mm() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn is_zend_ptr(ptr: *const ::std::os::raw::c_void) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_memory_usage(real_usage: ::std::os::raw::c_int) -> usize;
}
extern "C" {
pub fn zend_memory_peak_usage(real_usage: ::std::os::raw::c_int) -> usize;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_mm_heap {
_unused: [u8; 0],
}
pub type zend_mm_heap = _zend_mm_heap;
extern "C" {
pub fn zend_mm_startup() -> *mut zend_mm_heap;
}
extern "C" {
pub fn zend_mm_shutdown(
heap: *mut zend_mm_heap,
full_shutdown: ::std::os::raw::c_int,
silent: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn _zend_mm_alloc(heap: *mut zend_mm_heap, size: usize) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _zend_mm_free(heap: *mut zend_mm_heap, p: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn _zend_mm_realloc(
heap: *mut zend_mm_heap,
p: *mut ::std::os::raw::c_void,
size: usize,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _zend_mm_realloc2(
heap: *mut zend_mm_heap,
p: *mut ::std::os::raw::c_void,
size: usize,
copy_size: usize,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn _zend_mm_block_size(heap: *mut zend_mm_heap, p: *mut ::std::os::raw::c_void) -> usize;
}
extern "C" {
pub fn zend_mm_set_heap(new_heap: *mut zend_mm_heap) -> *mut zend_mm_heap;
}
extern "C" {
pub fn zend_mm_get_heap() -> *mut zend_mm_heap;
}
extern "C" {
pub fn zend_mm_gc(heap: *mut zend_mm_heap) -> usize;
}
extern "C" {
pub fn zend_mm_is_custom_heap(new_heap: *mut zend_mm_heap) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_mm_set_custom_handlers(
heap: *mut zend_mm_heap,
_malloc: ::std::option::Option<
unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void,
>,
_free: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
_realloc: ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut ::std::os::raw::c_void,
arg2: usize,
) -> *mut ::std::os::raw::c_void,
>,
);
}
extern "C" {
pub fn zend_mm_get_custom_handlers(
heap: *mut zend_mm_heap,
_malloc: *mut ::std::option::Option<
unsafe extern "C" fn(arg1: usize) -> *mut ::std::os::raw::c_void,
>,
_free: *mut ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
_realloc: *mut ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut ::std::os::raw::c_void,
arg2: usize,
) -> *mut ::std::os::raw::c_void,
>,
);
}
pub type zend_mm_storage = _zend_mm_storage;
pub type zend_mm_chunk_alloc_t = ::std::option::Option<
unsafe extern "C" fn(
storage: *mut zend_mm_storage,
size: usize,
alignment: usize,
) -> *mut ::std::os::raw::c_void,
>;
pub type zend_mm_chunk_free_t = ::std::option::Option<
unsafe extern "C" fn(
storage: *mut zend_mm_storage,
chunk: *mut ::std::os::raw::c_void,
size: usize,
),
>;
pub type zend_mm_chunk_truncate_t = ::std::option::Option<
unsafe extern "C" fn(
storage: *mut zend_mm_storage,
chunk: *mut ::std::os::raw::c_void,
old_size: usize,
new_size: usize,
) -> ::std::os::raw::c_int,
>;
pub type zend_mm_chunk_extend_t = ::std::option::Option<
unsafe extern "C" fn(
storage: *mut zend_mm_storage,
chunk: *mut ::std::os::raw::c_void,
old_size: usize,
new_size: usize,
) -> ::std::os::raw::c_int,
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_mm_handlers {
pub chunk_alloc: zend_mm_chunk_alloc_t,
pub chunk_free: zend_mm_chunk_free_t,
pub chunk_truncate: zend_mm_chunk_truncate_t,
pub chunk_extend: zend_mm_chunk_extend_t,
}
#[test]
fn bindgen_test_layout__zend_mm_handlers() {
assert_eq!(
::std::mem::size_of::<_zend_mm_handlers>(),
32usize,
concat!("Size of: ", stringify!(_zend_mm_handlers))
);
assert_eq!(
::std::mem::align_of::<_zend_mm_handlers>(),
8usize,
concat!("Alignment of ", stringify!(_zend_mm_handlers))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_mm_handlers>())).chunk_alloc as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_mm_handlers),
"::",
stringify!(chunk_alloc)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_mm_handlers>())).chunk_free as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_mm_handlers),
"::",
stringify!(chunk_free)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_mm_handlers>())).chunk_truncate as *const _ as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_mm_handlers),
"::",
stringify!(chunk_truncate)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_mm_handlers>())).chunk_extend as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_mm_handlers),
"::",
stringify!(chunk_extend)
)
);
}
pub type zend_mm_handlers = _zend_mm_handlers;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_mm_storage {
pub handlers: zend_mm_handlers,
pub data: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout__zend_mm_storage() {
assert_eq!(
::std::mem::size_of::<_zend_mm_storage>(),
40usize,
concat!("Size of: ", stringify!(_zend_mm_storage))
);
assert_eq!(
::std::mem::align_of::<_zend_mm_storage>(),
8usize,
concat!("Alignment of ", stringify!(_zend_mm_storage))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_mm_storage>())).handlers as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_mm_storage),
"::",
stringify!(handlers)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_mm_storage>())).data as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_mm_storage),
"::",
stringify!(data)
)
);
}
extern "C" {
pub fn zend_mm_get_storage(heap: *mut zend_mm_heap) -> *mut zend_mm_storage;
}
extern "C" {
pub fn zend_mm_startup_ex(
handlers: *const zend_mm_handlers,
data: *mut ::std::os::raw::c_void,
data_size: usize,
) -> *mut zend_mm_heap;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_llist_element {
pub next: *mut _zend_llist_element,
pub prev: *mut _zend_llist_element,
pub data: [::std::os::raw::c_char; 1usize],
}
#[test]
fn bindgen_test_layout__zend_llist_element() {
assert_eq!(
::std::mem::size_of::<_zend_llist_element>(),
24usize,
concat!("Size of: ", stringify!(_zend_llist_element))
);
assert_eq!(
::std::mem::align_of::<_zend_llist_element>(),
8usize,
concat!("Alignment of ", stringify!(_zend_llist_element))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_llist_element>())).next as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_llist_element),
"::",
stringify!(next)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_llist_element>())).prev as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_llist_element),
"::",
stringify!(prev)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_llist_element>())).data as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_llist_element),
"::",
stringify!(data)
)
);
}
pub type zend_llist_element = _zend_llist_element;
pub type llist_dtor_func_t =
::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
pub type llist_compare_func_t = ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut *const zend_llist_element,
arg2: *mut *const zend_llist_element,
) -> ::std::os::raw::c_int,
>;
pub type llist_apply_with_args_func_t = ::std::option::Option<
unsafe extern "C" fn(
data: *mut ::std::os::raw::c_void,
num_args: ::std::os::raw::c_int,
args: *mut __va_list_tag,
),
>;
pub type llist_apply_with_arg_func_t = ::std::option::Option<
unsafe extern "C" fn(data: *mut ::std::os::raw::c_void, arg: *mut ::std::os::raw::c_void),
>;
pub type llist_apply_func_t =
::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_llist {
pub head: *mut zend_llist_element,
pub tail: *mut zend_llist_element,
pub count: usize,
pub size: usize,
pub dtor: llist_dtor_func_t,
pub persistent: ::std::os::raw::c_uchar,
pub traverse_ptr: *mut zend_llist_element,
}
#[test]
fn bindgen_test_layout__zend_llist() {
assert_eq!(
::std::mem::size_of::<_zend_llist>(),
56usize,
concat!("Size of: ", stringify!(_zend_llist))
);
assert_eq!(
::std::mem::align_of::<_zend_llist>(),
8usize,
concat!("Alignment of ", stringify!(_zend_llist))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_llist>())).head as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_llist),
"::",
stringify!(head)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_llist>())).tail as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_llist),
"::",
stringify!(tail)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_llist>())).count as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_llist),
"::",
stringify!(count)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_llist>())).size as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_llist),
"::",
stringify!(size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_llist>())).dtor as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_llist),
"::",
stringify!(dtor)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_llist>())).persistent as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(_zend_llist),
"::",
stringify!(persistent)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_llist>())).traverse_ptr as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(_zend_llist),
"::",
stringify!(traverse_ptr)
)
);
}
pub type zend_llist = _zend_llist;
pub type zend_llist_position = *mut zend_llist_element;
extern "C" {
pub fn zend_llist_init(
l: *mut zend_llist,
size: usize,
dtor: llist_dtor_func_t,
persistent: ::std::os::raw::c_uchar,
);
}
extern "C" {
pub fn zend_llist_add_element(l: *mut zend_llist, element: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn zend_llist_prepend_element(l: *mut zend_llist, element: *mut ::std::os::raw::c_void);
}
extern "C" {
pub fn zend_llist_del_element(
l: *mut zend_llist,
element: *mut ::std::os::raw::c_void,
compare: ::std::option::Option<
unsafe extern "C" fn(
element1: *mut ::std::os::raw::c_void,
element2: *mut ::std::os::raw::c_void,
) -> ::std::os::raw::c_int,
>,
);
}
extern "C" {
pub fn zend_llist_destroy(l: *mut zend_llist);
}
extern "C" {
pub fn zend_llist_clean(l: *mut zend_llist);
}
extern "C" {
pub fn zend_llist_remove_tail(l: *mut zend_llist);
}
extern "C" {
pub fn zend_llist_copy(dst: *mut zend_llist, src: *mut zend_llist);
}
extern "C" {
pub fn zend_llist_apply(l: *mut zend_llist, func: llist_apply_func_t);
}
extern "C" {
pub fn zend_llist_apply_with_del(
l: *mut zend_llist,
func: ::std::option::Option<
unsafe extern "C" fn(data: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
>,
);
}
extern "C" {
pub fn zend_llist_apply_with_argument(
l: *mut zend_llist,
func: llist_apply_with_arg_func_t,
arg: *mut ::std::os::raw::c_void,
);
}
extern "C" {
pub fn zend_llist_apply_with_arguments(
l: *mut zend_llist,
func: llist_apply_with_args_func_t,
num_args: ::std::os::raw::c_int,
...
);
}
extern "C" {
pub fn zend_llist_count(l: *mut zend_llist) -> usize;
}
extern "C" {
pub fn zend_llist_sort(l: *mut zend_llist, comp_func: llist_compare_func_t);
}
extern "C" {
pub fn zend_llist_get_first_ex(
l: *mut zend_llist,
pos: *mut zend_llist_position,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn zend_llist_get_last_ex(
l: *mut zend_llist,
pos: *mut zend_llist_position,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn zend_llist_get_next_ex(
l: *mut zend_llist,
pos: *mut zend_llist_position,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn zend_llist_get_prev_ex(
l: *mut zend_llist,
pos: *mut zend_llist_position,
) -> *mut ::std::os::raw::c_void;
}
pub type zend_string_copy_storage_func_t = ::std::option::Option<unsafe extern "C" fn()>;
pub type zend_new_interned_string_func_t =
::std::option::Option<unsafe extern "C" fn(str: *mut zend_string) -> *mut zend_string>;
pub type zend_string_init_interned_func_t = ::std::option::Option<
unsafe extern "C" fn(
str: *const ::std::os::raw::c_char,
size: usize,
permanent: ::std::os::raw::c_int,
) -> *mut zend_string,
>;
extern "C" {
pub static mut zend_new_interned_string: zend_new_interned_string_func_t;
}
extern "C" {
pub static mut zend_string_init_interned: zend_string_init_interned_func_t;
}
extern "C" {
pub fn zend_string_hash_func(str: *mut zend_string) -> zend_ulong;
}
extern "C" {
pub fn zend_hash_func(str: *const ::std::os::raw::c_char, len: usize) -> zend_ulong;
}
extern "C" {
pub fn zend_interned_string_find_permanent(str: *mut zend_string) -> *mut zend_string;
}
extern "C" {
pub fn zend_interned_strings_init();
}
extern "C" {
pub fn zend_interned_strings_dtor();
}
extern "C" {
pub fn zend_interned_strings_activate();
}
extern "C" {
pub fn zend_interned_strings_deactivate();
}
extern "C" {
pub fn zend_interned_strings_set_request_storage_handlers(
handler: zend_new_interned_string_func_t,
init_handler: zend_string_init_interned_func_t,
);
}
extern "C" {
pub fn zend_interned_strings_switch_storage(request: zend_bool);
}
extern "C" {
pub static mut zend_empty_string: *mut zend_string;
}
extern "C" {
pub static mut zend_one_char_string: [*mut zend_string; 256usize];
}
extern "C" {
pub static mut zend_known_strings: *mut *mut zend_string;
}
extern "C" {
pub fn zend_string_equal_val(s1: *mut zend_string, s2: *mut zend_string) -> zend_bool;
}
pub const _zend_known_string_id_ZEND_STR_FILE: _zend_known_string_id = 0;
pub const _zend_known_string_id_ZEND_STR_LINE: _zend_known_string_id = 1;
pub const _zend_known_string_id_ZEND_STR_FUNCTION: _zend_known_string_id = 2;
pub const _zend_known_string_id_ZEND_STR_CLASS: _zend_known_string_id = 3;
pub const _zend_known_string_id_ZEND_STR_OBJECT: _zend_known_string_id = 4;
pub const _zend_known_string_id_ZEND_STR_TYPE: _zend_known_string_id = 5;
pub const _zend_known_string_id_ZEND_STR_OBJECT_OPERATOR: _zend_known_string_id = 6;
pub const _zend_known_string_id_ZEND_STR_PAAMAYIM_NEKUDOTAYIM: _zend_known_string_id = 7;
pub const _zend_known_string_id_ZEND_STR_ARGS: _zend_known_string_id = 8;
pub const _zend_known_string_id_ZEND_STR_UNKNOWN: _zend_known_string_id = 9;
pub const _zend_known_string_id_ZEND_STR_EVAL: _zend_known_string_id = 10;
pub const _zend_known_string_id_ZEND_STR_INCLUDE: _zend_known_string_id = 11;
pub const _zend_known_string_id_ZEND_STR_REQUIRE: _zend_known_string_id = 12;
pub const _zend_known_string_id_ZEND_STR_INCLUDE_ONCE: _zend_known_string_id = 13;
pub const _zend_known_string_id_ZEND_STR_REQUIRE_ONCE: _zend_known_string_id = 14;
pub const _zend_known_string_id_ZEND_STR_SCALAR: _zend_known_string_id = 15;
pub const _zend_known_string_id_ZEND_STR_ERROR_REPORTING: _zend_known_string_id = 16;
pub const _zend_known_string_id_ZEND_STR_STATIC: _zend_known_string_id = 17;
pub const _zend_known_string_id_ZEND_STR_THIS: _zend_known_string_id = 18;
pub const _zend_known_string_id_ZEND_STR_VALUE: _zend_known_string_id = 19;
pub const _zend_known_string_id_ZEND_STR_KEY: _zend_known_string_id = 20;
pub const _zend_known_string_id_ZEND_STR_MAGIC_AUTOLOAD: _zend_known_string_id = 21;
pub const _zend_known_string_id_ZEND_STR_MAGIC_INVOKE: _zend_known_string_id = 22;
pub const _zend_known_string_id_ZEND_STR_PREVIOUS: _zend_known_string_id = 23;
pub const _zend_known_string_id_ZEND_STR_CODE: _zend_known_string_id = 24;
pub const _zend_known_string_id_ZEND_STR_MESSAGE: _zend_known_string_id = 25;
pub const _zend_known_string_id_ZEND_STR_SEVERITY: _zend_known_string_id = 26;
pub const _zend_known_string_id_ZEND_STR_STRING: _zend_known_string_id = 27;
pub const _zend_known_string_id_ZEND_STR_TRACE: _zend_known_string_id = 28;
pub const _zend_known_string_id_ZEND_STR_SCHEME: _zend_known_string_id = 29;
pub const _zend_known_string_id_ZEND_STR_HOST: _zend_known_string_id = 30;
pub const _zend_known_string_id_ZEND_STR_PORT: _zend_known_string_id = 31;
pub const _zend_known_string_id_ZEND_STR_USER: _zend_known_string_id = 32;
pub const _zend_known_string_id_ZEND_STR_PASS: _zend_known_string_id = 33;
pub const _zend_known_string_id_ZEND_STR_PATH: _zend_known_string_id = 34;
pub const _zend_known_string_id_ZEND_STR_QUERY: _zend_known_string_id = 35;
pub const _zend_known_string_id_ZEND_STR_FRAGMENT: _zend_known_string_id = 36;
pub const _zend_known_string_id_ZEND_STR_NULL: _zend_known_string_id = 37;
pub const _zend_known_string_id_ZEND_STR_BOOLEAN: _zend_known_string_id = 38;
pub const _zend_known_string_id_ZEND_STR_INTEGER: _zend_known_string_id = 39;
pub const _zend_known_string_id_ZEND_STR_DOUBLE: _zend_known_string_id = 40;
pub const _zend_known_string_id_ZEND_STR_ARRAY: _zend_known_string_id = 41;
pub const _zend_known_string_id_ZEND_STR_RESOURCE: _zend_known_string_id = 42;
pub const _zend_known_string_id_ZEND_STR_CLOSED_RESOURCE: _zend_known_string_id = 43;
pub const _zend_known_string_id_ZEND_STR_NAME: _zend_known_string_id = 44;
pub const _zend_known_string_id_ZEND_STR_ARGV: _zend_known_string_id = 45;
pub const _zend_known_string_id_ZEND_STR_ARGC: _zend_known_string_id = 46;
pub const _zend_known_string_id_ZEND_STR_ARRAY_CAPITALIZED: _zend_known_string_id = 47;
pub const _zend_known_string_id_ZEND_STR_LAST_KNOWN: _zend_known_string_id = 48;
pub type _zend_known_string_id = u32;
pub use self::_zend_known_string_id as zend_known_string_id;
extern "C" {
pub static zend_empty_array: HashTable;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_hash_key {
pub h: zend_ulong,
pub key: *mut zend_string,
}
#[test]
fn bindgen_test_layout__zend_hash_key() {
assert_eq!(
::std::mem::size_of::<_zend_hash_key>(),
16usize,
concat!("Size of: ", stringify!(_zend_hash_key))
);
assert_eq!(
::std::mem::align_of::<_zend_hash_key>(),
8usize,
concat!("Alignment of ", stringify!(_zend_hash_key))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_hash_key>())).h as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_hash_key),
"::",
stringify!(h)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_hash_key>())).key as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_hash_key),
"::",
stringify!(key)
)
);
}
pub type zend_hash_key = _zend_hash_key;
pub type merge_checker_func_t = ::std::option::Option<
unsafe extern "C" fn(
target_ht: *mut HashTable,
source_data: *mut zval,
hash_key: *mut zend_hash_key,
pParam: *mut ::std::os::raw::c_void,
) -> zend_bool,
>;
extern "C" {
pub fn _zend_hash_init(
ht: *mut HashTable,
nSize: u32,
pDestructor: dtor_func_t,
persistent: zend_bool,
);
}
extern "C" {
pub fn zend_hash_destroy(ht: *mut HashTable);
}
extern "C" {
pub fn zend_hash_clean(ht: *mut HashTable);
}
extern "C" {
pub fn zend_hash_real_init(ht: *mut HashTable, packed: zend_bool);
}
extern "C" {
pub fn zend_hash_real_init_packed(ht: *mut HashTable);
}
extern "C" {
pub fn zend_hash_real_init_mixed(ht: *mut HashTable);
}
extern "C" {
pub fn zend_hash_packed_to_hash(ht: *mut HashTable);
}
extern "C" {
pub fn zend_hash_to_packed(ht: *mut HashTable);
}
extern "C" {
pub fn zend_hash_extend(ht: *mut HashTable, nSize: u32, packed: zend_bool);
}
extern "C" {
pub fn zend_hash_discard(ht: *mut HashTable, nNumUsed: u32);
}
extern "C" {
pub fn zend_hash_add_or_update(
ht: *mut HashTable,
key: *mut zend_string,
pData: *mut zval,
flag: u32,
) -> *mut zval;
}
extern "C" {
pub fn zend_hash_update(
ht: *mut HashTable,
key: *mut zend_string,
pData: *mut zval,
) -> *mut zval;
}
extern "C" {
pub fn zend_hash_update_ind(
ht: *mut HashTable,
key: *mut zend_string,
pData: *mut zval,
) -> *mut zval;
}
extern "C" {
pub fn zend_hash_add(ht: *mut HashTable, key: *mut zend_string, pData: *mut zval) -> *mut zval;
}
extern "C" {
pub fn zend_hash_add_new(
ht: *mut HashTable,
key: *mut zend_string,
pData: *mut zval,
) -> *mut zval;
}
extern "C" {
pub fn zend_hash_str_add_or_update(
ht: *mut HashTable,
key: *const ::std::os::raw::c_char,
len: usize,
pData: *mut zval,
flag: u32,
) -> *mut zval;
}
extern "C" {
pub fn zend_hash_str_update(
ht: *mut HashTable,
key: *const ::std::os::raw::c_char,
len: usize,
pData: *mut zval,
) -> *mut zval;
}
extern "C" {
pub fn zend_hash_str_update_ind(
ht: *mut HashTable,
key: *const ::std::os::raw::c_char,
len: usize,
pData: *mut zval,
) -> *mut zval;
}
extern "C" {
pub fn zend_hash_str_add(
ht: *mut HashTable,
key: *const ::std::os::raw::c_char,
len: usize,
pData: *mut zval,
) -> *mut zval;
}
extern "C" {
pub fn zend_hash_str_add_new(
ht: *mut HashTable,
key: *const ::std::os::raw::c_char,
len: usize,
pData: *mut zval,
) -> *mut zval;
}
extern "C" {
pub fn zend_hash_index_add_or_update(
ht: *mut HashTable,
h: zend_ulong,
pData: *mut zval,
flag: u32,
) -> *mut zval;
}
extern "C" {
pub fn zend_hash_index_add(ht: *mut HashTable, h: zend_ulong, pData: *mut zval) -> *mut zval;
}
extern "C" {
pub fn zend_hash_index_add_new(
ht: *mut HashTable,
h: zend_ulong,
pData: *mut zval,
) -> *mut zval;
}
extern "C" {
pub fn zend_hash_index_update(ht: *mut HashTable, h: zend_ulong, pData: *mut zval)
-> *mut zval;
}
extern "C" {
pub fn zend_hash_next_index_insert(ht: *mut HashTable, pData: *mut zval) -> *mut zval;
}
extern "C" {
pub fn zend_hash_next_index_insert_new(ht: *mut HashTable, pData: *mut zval) -> *mut zval;
}
extern "C" {
pub fn zend_hash_index_add_empty_element(ht: *mut HashTable, h: zend_ulong) -> *mut zval;
}
extern "C" {
pub fn zend_hash_add_empty_element(ht: *mut HashTable, key: *mut zend_string) -> *mut zval;
}
extern "C" {
pub fn zend_hash_str_add_empty_element(
ht: *mut HashTable,
key: *const ::std::os::raw::c_char,
len: usize,
) -> *mut zval;
}
extern "C" {
pub fn zend_hash_set_bucket_key(
ht: *mut HashTable,
p: *mut Bucket,
key: *mut zend_string,
) -> *mut zval;
}
pub type apply_func_t =
::std::option::Option<unsafe extern "C" fn(pDest: *mut zval) -> ::std::os::raw::c_int>;
pub type apply_func_arg_t = ::std::option::Option<
unsafe extern "C" fn(
pDest: *mut zval,
argument: *mut ::std::os::raw::c_void,
) -> ::std::os::raw::c_int,
>;
pub type apply_func_args_t = ::std::option::Option<
unsafe extern "C" fn(
pDest: *mut zval,
num_args: ::std::os::raw::c_int,
args: *mut __va_list_tag,
hash_key: *mut zend_hash_key,
) -> ::std::os::raw::c_int,
>;
extern "C" {
pub fn zend_hash_graceful_destroy(ht: *mut HashTable);
}
extern "C" {
pub fn zend_hash_graceful_reverse_destroy(ht: *mut HashTable);
}
extern "C" {
pub fn zend_hash_apply(ht: *mut HashTable, apply_func: apply_func_t);
}
extern "C" {
pub fn zend_hash_apply_with_argument(
ht: *mut HashTable,
apply_func: apply_func_arg_t,
arg1: *mut ::std::os::raw::c_void,
);
}
extern "C" {
pub fn zend_hash_apply_with_arguments(
ht: *mut HashTable,
apply_func: apply_func_args_t,
arg1: ::std::os::raw::c_int,
...
);
}
extern "C" {
pub fn zend_hash_reverse_apply(ht: *mut HashTable, apply_func: apply_func_t);
}
extern "C" {
pub fn zend_hash_del(ht: *mut HashTable, key: *mut zend_string) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_hash_del_ind(ht: *mut HashTable, key: *mut zend_string) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_hash_str_del(
ht: *mut HashTable,
key: *const ::std::os::raw::c_char,
len: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_hash_str_del_ind(
ht: *mut HashTable,
key: *const ::std::os::raw::c_char,
len: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_hash_index_del(ht: *mut HashTable, h: zend_ulong) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_hash_del_bucket(ht: *mut HashTable, p: *mut Bucket);
}
extern "C" {
pub fn zend_hash_find(ht: *const HashTable, key: *mut zend_string) -> *mut zval;
}
extern "C" {
pub fn zend_hash_str_find(
ht: *const HashTable,
key: *const ::std::os::raw::c_char,
len: usize,
) -> *mut zval;
}
extern "C" {
pub fn zend_hash_index_find(ht: *const HashTable, h: zend_ulong) -> *mut zval;
}
extern "C" {
pub fn _zend_hash_index_find(ht: *const HashTable, h: zend_ulong) -> *mut zval;
}
extern "C" {
pub fn _zend_hash_find_known_hash(ht: *const HashTable, key: *mut zend_string) -> *mut zval;
}
extern "C" {
pub fn zend_hash_get_current_pos(ht: *const HashTable) -> HashPosition;
}
extern "C" {
pub fn zend_hash_move_forward_ex(
ht: *mut HashTable,
pos: *mut HashPosition,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_hash_move_backwards_ex(
ht: *mut HashTable,
pos: *mut HashPosition,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_hash_get_current_key_ex(
ht: *const HashTable,
str_index: *mut *mut zend_string,
num_index: *mut zend_ulong,
pos: *mut HashPosition,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_hash_get_current_key_zval_ex(
ht: *const HashTable,
key: *mut zval,
pos: *mut HashPosition,
);
}
extern "C" {
pub fn zend_hash_get_current_key_type_ex(
ht: *mut HashTable,
pos: *mut HashPosition,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_hash_get_current_data_ex(ht: *mut HashTable, pos: *mut HashPosition) -> *mut zval;
}
extern "C" {
pub fn zend_hash_internal_pointer_reset_ex(ht: *mut HashTable, pos: *mut HashPosition);
}
extern "C" {
pub fn zend_hash_internal_pointer_end_ex(ht: *mut HashTable, pos: *mut HashPosition);
}
extern "C" {
pub fn zend_hash_copy(
target: *mut HashTable,
source: *mut HashTable,
pCopyConstructor: copy_ctor_func_t,
);
}
extern "C" {
pub fn zend_hash_merge(
target: *mut HashTable,
source: *mut HashTable,
pCopyConstructor: copy_ctor_func_t,
overwrite: zend_bool,
);
}
extern "C" {
pub fn zend_hash_merge_ex(
target: *mut HashTable,
source: *mut HashTable,
pCopyConstructor: copy_ctor_func_t,
pMergeSource: merge_checker_func_t,
pParam: *mut ::std::os::raw::c_void,
);
}
extern "C" {
pub fn zend_hash_bucket_swap(p: *mut Bucket, q: *mut Bucket);
}
extern "C" {
pub fn zend_hash_bucket_renum_swap(p: *mut Bucket, q: *mut Bucket);
}
extern "C" {
pub fn zend_hash_bucket_packed_swap(p: *mut Bucket, q: *mut Bucket);
}
extern "C" {
pub fn zend_hash_compare(
ht1: *mut HashTable,
ht2: *mut HashTable,
compar: compare_func_t,
ordered: zend_bool,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_hash_sort_ex(
ht: *mut HashTable,
sort_func: sort_func_t,
compare_func: compare_func_t,
renumber: zend_bool,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_hash_minmax(ht: *const HashTable, compar: compare_func_t, flag: u32) -> *mut zval;
}
extern "C" {
pub fn zend_hash_rehash(ht: *mut HashTable) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _zend_new_array_0() -> *mut HashTable;
}
extern "C" {
pub fn _zend_new_array(size: u32) -> *mut HashTable;
}
extern "C" {
pub fn zend_new_pair(val1: *mut zval, val2: *mut zval) -> *mut HashTable;
}
extern "C" {
pub fn zend_array_count(ht: *mut HashTable) -> u32;
}
extern "C" {
pub fn zend_array_dup(source: *mut HashTable) -> *mut HashTable;
}
extern "C" {
pub fn zend_array_destroy(ht: *mut HashTable);
}
extern "C" {
pub fn zend_symtable_clean(ht: *mut HashTable);
}
extern "C" {
pub fn zend_symtable_to_proptable(ht: *mut HashTable) -> *mut HashTable;
}
extern "C" {
pub fn zend_proptable_to_symtable(
ht: *mut HashTable,
always_duplicate: zend_bool,
) -> *mut HashTable;
}
extern "C" {
pub fn _zend_handle_numeric_str_ex(
key: *const ::std::os::raw::c_char,
length: usize,
idx: *mut zend_ulong,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_hash_iterator_add(ht: *mut HashTable, pos: HashPosition) -> u32;
}
extern "C" {
pub fn zend_hash_iterator_pos(idx: u32, ht: *mut HashTable) -> HashPosition;
}
extern "C" {
pub fn zend_hash_iterator_pos_ex(idx: u32, array: *mut zval) -> HashPosition;
}
extern "C" {
pub fn zend_hash_iterator_del(idx: u32);
}
extern "C" {
pub fn zend_hash_iterators_lower_pos(ht: *mut HashTable, start: HashPosition) -> HashPosition;
}
extern "C" {
pub fn _zend_hash_iterators_update(ht: *mut HashTable, from: HashPosition, to: HashPosition);
}
extern "C" {
pub fn zend_hash_iterators_advance(ht: *mut HashTable, step: HashPosition);
}
pub const _zend_ast_kind_ZEND_AST_ZVAL: _zend_ast_kind = 64;
pub const _zend_ast_kind_ZEND_AST_CONSTANT: _zend_ast_kind = 65;
pub const _zend_ast_kind_ZEND_AST_ZNODE: _zend_ast_kind = 66;
pub const _zend_ast_kind_ZEND_AST_FUNC_DECL: _zend_ast_kind = 67;
pub const _zend_ast_kind_ZEND_AST_CLOSURE: _zend_ast_kind = 68;
pub const _zend_ast_kind_ZEND_AST_METHOD: _zend_ast_kind = 69;
pub const _zend_ast_kind_ZEND_AST_CLASS: _zend_ast_kind = 70;
pub const _zend_ast_kind_ZEND_AST_ARROW_FUNC: _zend_ast_kind = 71;
pub const _zend_ast_kind_ZEND_AST_ARG_LIST: _zend_ast_kind = 128;
pub const _zend_ast_kind_ZEND_AST_ARRAY: _zend_ast_kind = 129;
pub const _zend_ast_kind_ZEND_AST_ENCAPS_LIST: _zend_ast_kind = 130;
pub const _zend_ast_kind_ZEND_AST_EXPR_LIST: _zend_ast_kind = 131;
pub const _zend_ast_kind_ZEND_AST_STMT_LIST: _zend_ast_kind = 132;
pub const _zend_ast_kind_ZEND_AST_IF: _zend_ast_kind = 133;
pub const _zend_ast_kind_ZEND_AST_SWITCH_LIST: _zend_ast_kind = 134;
pub const _zend_ast_kind_ZEND_AST_CATCH_LIST: _zend_ast_kind = 135;
pub const _zend_ast_kind_ZEND_AST_PARAM_LIST: _zend_ast_kind = 136;
pub const _zend_ast_kind_ZEND_AST_CLOSURE_USES: _zend_ast_kind = 137;
pub const _zend_ast_kind_ZEND_AST_PROP_DECL: _zend_ast_kind = 138;
pub const _zend_ast_kind_ZEND_AST_CONST_DECL: _zend_ast_kind = 139;
pub const _zend_ast_kind_ZEND_AST_CLASS_CONST_DECL: _zend_ast_kind = 140;
pub const _zend_ast_kind_ZEND_AST_NAME_LIST: _zend_ast_kind = 141;
pub const _zend_ast_kind_ZEND_AST_TRAIT_ADAPTATIONS: _zend_ast_kind = 142;
pub const _zend_ast_kind_ZEND_AST_USE: _zend_ast_kind = 143;
pub const _zend_ast_kind_ZEND_AST_MAGIC_CONST: _zend_ast_kind = 0;
pub const _zend_ast_kind_ZEND_AST_TYPE: _zend_ast_kind = 1;
pub const _zend_ast_kind_ZEND_AST_CONSTANT_CLASS: _zend_ast_kind = 2;
pub const _zend_ast_kind_ZEND_AST_VAR: _zend_ast_kind = 256;
pub const _zend_ast_kind_ZEND_AST_CONST: _zend_ast_kind = 257;
pub const _zend_ast_kind_ZEND_AST_UNPACK: _zend_ast_kind = 258;
pub const _zend_ast_kind_ZEND_AST_UNARY_PLUS: _zend_ast_kind = 259;
pub const _zend_ast_kind_ZEND_AST_UNARY_MINUS: _zend_ast_kind = 260;
pub const _zend_ast_kind_ZEND_AST_CAST: _zend_ast_kind = 261;
pub const _zend_ast_kind_ZEND_AST_EMPTY: _zend_ast_kind = 262;
pub const _zend_ast_kind_ZEND_AST_ISSET: _zend_ast_kind = 263;
pub const _zend_ast_kind_ZEND_AST_SILENCE: _zend_ast_kind = 264;
pub const _zend_ast_kind_ZEND_AST_SHELL_EXEC: _zend_ast_kind = 265;
pub const _zend_ast_kind_ZEND_AST_CLONE: _zend_ast_kind = 266;
pub const _zend_ast_kind_ZEND_AST_EXIT: _zend_ast_kind = 267;
pub const _zend_ast_kind_ZEND_AST_PRINT: _zend_ast_kind = 268;
pub const _zend_ast_kind_ZEND_AST_INCLUDE_OR_EVAL: _zend_ast_kind = 269;
pub const _zend_ast_kind_ZEND_AST_UNARY_OP: _zend_ast_kind = 270;
pub const _zend_ast_kind_ZEND_AST_PRE_INC: _zend_ast_kind = 271;
pub const _zend_ast_kind_ZEND_AST_PRE_DEC: _zend_ast_kind = 272;
pub const _zend_ast_kind_ZEND_AST_POST_INC: _zend_ast_kind = 273;
pub const _zend_ast_kind_ZEND_AST_POST_DEC: _zend_ast_kind = 274;
pub const _zend_ast_kind_ZEND_AST_YIELD_FROM: _zend_ast_kind = 275;
pub const _zend_ast_kind_ZEND_AST_CLASS_NAME: _zend_ast_kind = 276;
pub const _zend_ast_kind_ZEND_AST_GLOBAL: _zend_ast_kind = 277;
pub const _zend_ast_kind_ZEND_AST_UNSET: _zend_ast_kind = 278;
pub const _zend_ast_kind_ZEND_AST_RETURN: _zend_ast_kind = 279;
pub const _zend_ast_kind_ZEND_AST_LABEL: _zend_ast_kind = 280;
pub const _zend_ast_kind_ZEND_AST_REF: _zend_ast_kind = 281;
pub const _zend_ast_kind_ZEND_AST_HALT_COMPILER: _zend_ast_kind = 282;
pub const _zend_ast_kind_ZEND_AST_ECHO: _zend_ast_kind = 283;
pub const _zend_ast_kind_ZEND_AST_THROW: _zend_ast_kind = 284;
pub const _zend_ast_kind_ZEND_AST_GOTO: _zend_ast_kind = 285;
pub const _zend_ast_kind_ZEND_AST_BREAK: _zend_ast_kind = 286;
pub const _zend_ast_kind_ZEND_AST_CONTINUE: _zend_ast_kind = 287;
pub const _zend_ast_kind_ZEND_AST_DIM: _zend_ast_kind = 512;
pub const _zend_ast_kind_ZEND_AST_PROP: _zend_ast_kind = 513;
pub const _zend_ast_kind_ZEND_AST_STATIC_PROP: _zend_ast_kind = 514;
pub const _zend_ast_kind_ZEND_AST_CALL: _zend_ast_kind = 515;
pub const _zend_ast_kind_ZEND_AST_CLASS_CONST: _zend_ast_kind = 516;
pub const _zend_ast_kind_ZEND_AST_ASSIGN: _zend_ast_kind = 517;
pub const _zend_ast_kind_ZEND_AST_ASSIGN_REF: _zend_ast_kind = 518;
pub const _zend_ast_kind_ZEND_AST_ASSIGN_OP: _zend_ast_kind = 519;
pub const _zend_ast_kind_ZEND_AST_BINARY_OP: _zend_ast_kind = 520;
pub const _zend_ast_kind_ZEND_AST_GREATER: _zend_ast_kind = 521;
pub const _zend_ast_kind_ZEND_AST_GREATER_EQUAL: _zend_ast_kind = 522;
pub const _zend_ast_kind_ZEND_AST_AND: _zend_ast_kind = 523;
pub const _zend_ast_kind_ZEND_AST_OR: _zend_ast_kind = 524;
pub const _zend_ast_kind_ZEND_AST_ARRAY_ELEM: _zend_ast_kind = 525;
pub const _zend_ast_kind_ZEND_AST_NEW: _zend_ast_kind = 526;
pub const _zend_ast_kind_ZEND_AST_INSTANCEOF: _zend_ast_kind = 527;
pub const _zend_ast_kind_ZEND_AST_YIELD: _zend_ast_kind = 528;
pub const _zend_ast_kind_ZEND_AST_COALESCE: _zend_ast_kind = 529;
pub const _zend_ast_kind_ZEND_AST_ASSIGN_COALESCE: _zend_ast_kind = 530;
pub const _zend_ast_kind_ZEND_AST_STATIC: _zend_ast_kind = 531;
pub const _zend_ast_kind_ZEND_AST_WHILE: _zend_ast_kind = 532;
pub const _zend_ast_kind_ZEND_AST_DO_WHILE: _zend_ast_kind = 533;
pub const _zend_ast_kind_ZEND_AST_IF_ELEM: _zend_ast_kind = 534;
pub const _zend_ast_kind_ZEND_AST_SWITCH: _zend_ast_kind = 535;
pub const _zend_ast_kind_ZEND_AST_SWITCH_CASE: _zend_ast_kind = 536;
pub const _zend_ast_kind_ZEND_AST_DECLARE: _zend_ast_kind = 537;
pub const _zend_ast_kind_ZEND_AST_USE_TRAIT: _zend_ast_kind = 538;
pub const _zend_ast_kind_ZEND_AST_TRAIT_PRECEDENCE: _zend_ast_kind = 539;
pub const _zend_ast_kind_ZEND_AST_METHOD_REFERENCE: _zend_ast_kind = 540;
pub const _zend_ast_kind_ZEND_AST_NAMESPACE: _zend_ast_kind = 541;
pub const _zend_ast_kind_ZEND_AST_USE_ELEM: _zend_ast_kind = 542;
pub const _zend_ast_kind_ZEND_AST_TRAIT_ALIAS: _zend_ast_kind = 543;
pub const _zend_ast_kind_ZEND_AST_GROUP_USE: _zend_ast_kind = 544;
pub const _zend_ast_kind_ZEND_AST_PROP_GROUP: _zend_ast_kind = 545;
pub const _zend_ast_kind_ZEND_AST_METHOD_CALL: _zend_ast_kind = 768;
pub const _zend_ast_kind_ZEND_AST_STATIC_CALL: _zend_ast_kind = 769;
pub const _zend_ast_kind_ZEND_AST_CONDITIONAL: _zend_ast_kind = 770;
pub const _zend_ast_kind_ZEND_AST_TRY: _zend_ast_kind = 771;
pub const _zend_ast_kind_ZEND_AST_CATCH: _zend_ast_kind = 772;
pub const _zend_ast_kind_ZEND_AST_PARAM: _zend_ast_kind = 773;
pub const _zend_ast_kind_ZEND_AST_PROP_ELEM: _zend_ast_kind = 774;
pub const _zend_ast_kind_ZEND_AST_CONST_ELEM: _zend_ast_kind = 775;
pub const _zend_ast_kind_ZEND_AST_FOR: _zend_ast_kind = 1024;
pub const _zend_ast_kind_ZEND_AST_FOREACH: _zend_ast_kind = 1025;
pub type _zend_ast_kind = u32;
pub type zend_ast_kind = u16;
pub type zend_ast_attr = u16;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_ast {
pub kind: zend_ast_kind,
pub attr: zend_ast_attr,
pub lineno: u32,
pub child: [*mut zend_ast; 1usize],
}
#[test]
fn bindgen_test_layout__zend_ast() {
assert_eq!(
::std::mem::size_of::<_zend_ast>(),
16usize,
concat!("Size of: ", stringify!(_zend_ast))
);
assert_eq!(
::std::mem::align_of::<_zend_ast>(),
8usize,
concat!("Alignment of ", stringify!(_zend_ast))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ast>())).kind as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_ast),
"::",
stringify!(kind)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ast>())).attr as *const _ as usize },
2usize,
concat!(
"Offset of field: ",
stringify!(_zend_ast),
"::",
stringify!(attr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ast>())).lineno as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(_zend_ast),
"::",
stringify!(lineno)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ast>())).child as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_ast),
"::",
stringify!(child)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_ast_list {
pub kind: zend_ast_kind,
pub attr: zend_ast_attr,
pub lineno: u32,
pub children: u32,
pub child: [*mut zend_ast; 1usize],
}
#[test]
fn bindgen_test_layout__zend_ast_list() {
assert_eq!(
::std::mem::size_of::<_zend_ast_list>(),
24usize,
concat!("Size of: ", stringify!(_zend_ast_list))
);
assert_eq!(
::std::mem::align_of::<_zend_ast_list>(),
8usize,
concat!("Alignment of ", stringify!(_zend_ast_list))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ast_list>())).kind as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_ast_list),
"::",
stringify!(kind)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ast_list>())).attr as *const _ as usize },
2usize,
concat!(
"Offset of field: ",
stringify!(_zend_ast_list),
"::",
stringify!(attr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ast_list>())).lineno as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(_zend_ast_list),
"::",
stringify!(lineno)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ast_list>())).children as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_ast_list),
"::",
stringify!(children)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ast_list>())).child as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_ast_list),
"::",
stringify!(child)
)
);
}
pub type zend_ast_list = _zend_ast_list;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_ast_zval {
pub kind: zend_ast_kind,
pub attr: zend_ast_attr,
pub val: zval,
}
#[test]
fn bindgen_test_layout__zend_ast_zval() {
assert_eq!(
::std::mem::size_of::<_zend_ast_zval>(),
24usize,
concat!("Size of: ", stringify!(_zend_ast_zval))
);
assert_eq!(
::std::mem::align_of::<_zend_ast_zval>(),
8usize,
concat!("Alignment of ", stringify!(_zend_ast_zval))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ast_zval>())).kind as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_ast_zval),
"::",
stringify!(kind)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ast_zval>())).attr as *const _ as usize },
2usize,
concat!(
"Offset of field: ",
stringify!(_zend_ast_zval),
"::",
stringify!(attr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ast_zval>())).val as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_ast_zval),
"::",
stringify!(val)
)
);
}
pub type zend_ast_zval = _zend_ast_zval;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_ast_decl {
pub kind: zend_ast_kind,
pub attr: zend_ast_attr,
pub start_lineno: u32,
pub end_lineno: u32,
pub flags: u32,
pub lex_pos: *mut ::std::os::raw::c_uchar,
pub doc_comment: *mut zend_string,
pub name: *mut zend_string,
pub child: [*mut zend_ast; 4usize],
}
#[test]
fn bindgen_test_layout__zend_ast_decl() {
assert_eq!(
::std::mem::size_of::<_zend_ast_decl>(),
72usize,
concat!("Size of: ", stringify!(_zend_ast_decl))
);
assert_eq!(
::std::mem::align_of::<_zend_ast_decl>(),
8usize,
concat!("Alignment of ", stringify!(_zend_ast_decl))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ast_decl>())).kind as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_ast_decl),
"::",
stringify!(kind)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ast_decl>())).attr as *const _ as usize },
2usize,
concat!(
"Offset of field: ",
stringify!(_zend_ast_decl),
"::",
stringify!(attr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ast_decl>())).start_lineno as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(_zend_ast_decl),
"::",
stringify!(start_lineno)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ast_decl>())).end_lineno as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_ast_decl),
"::",
stringify!(end_lineno)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ast_decl>())).flags as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(_zend_ast_decl),
"::",
stringify!(flags)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ast_decl>())).lex_pos as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_ast_decl),
"::",
stringify!(lex_pos)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ast_decl>())).doc_comment as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_ast_decl),
"::",
stringify!(doc_comment)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ast_decl>())).name as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_ast_decl),
"::",
stringify!(name)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ast_decl>())).child as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(_zend_ast_decl),
"::",
stringify!(child)
)
);
}
pub type zend_ast_decl = _zend_ast_decl;
pub type zend_ast_process_t = ::std::option::Option<unsafe extern "C" fn(ast: *mut zend_ast)>;
extern "C" {
pub static mut zend_ast_process: zend_ast_process_t;
}
extern "C" {
pub fn zend_ast_create_zval_with_lineno(zv: *mut zval, lineno: u32) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_zval_ex(zv: *mut zval, attr: zend_ast_attr) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_zval(zv: *mut zval) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_zval_from_str(str: *mut zend_string) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_zval_from_long(lval: zend_long) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_constant(name: *mut zend_string, attr: zend_ast_attr) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_class_const_or_name(
class_name: *mut zend_ast,
name: *mut zend_ast,
) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_0(kind: zend_ast_kind) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_1(kind: zend_ast_kind, child: *mut zend_ast) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_2(
kind: zend_ast_kind,
child1: *mut zend_ast,
child2: *mut zend_ast,
) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_3(
kind: zend_ast_kind,
child1: *mut zend_ast,
child2: *mut zend_ast,
child3: *mut zend_ast,
) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_4(
kind: zend_ast_kind,
child1: *mut zend_ast,
child2: *mut zend_ast,
child3: *mut zend_ast,
child4: *mut zend_ast,
) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_list_0(kind: zend_ast_kind) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_list_1(kind: zend_ast_kind, child: *mut zend_ast) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_list_2(
kind: zend_ast_kind,
child1: *mut zend_ast,
child2: *mut zend_ast,
) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_list_add(list: *mut zend_ast, op: *mut zend_ast) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_create_decl(
kind: zend_ast_kind,
flags: u32,
start_lineno: u32,
doc_comment: *mut zend_string,
name: *mut zend_string,
child0: *mut zend_ast,
child1: *mut zend_ast,
child2: *mut zend_ast,
child3: *mut zend_ast,
) -> *mut zend_ast;
}
extern "C" {
pub fn zend_ast_evaluate(
result: *mut zval,
ast: *mut zend_ast,
scope: *mut zend_class_entry,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_ast_export(
prefix: *const ::std::os::raw::c_char,
ast: *mut zend_ast,
suffix: *const ::std::os::raw::c_char,
) -> *mut zend_string;
}
extern "C" {
pub fn zend_ast_copy(ast: *mut zend_ast) -> *mut zend_ast_ref;
}
extern "C" {
pub fn zend_ast_destroy(ast: *mut zend_ast);
}
extern "C" {
pub fn zend_ast_ref_destroy(ast: *mut zend_ast_ref);
}
pub type zend_ast_apply_func =
::std::option::Option<unsafe extern "C" fn(ast_ptr: *mut *mut zend_ast)>;
extern "C" {
pub fn zend_ast_apply(ast: *mut zend_ast, fn_: zend_ast_apply_func);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_gc_status {
pub runs: u32,
pub collected: u32,
pub threshold: u32,
pub num_roots: u32,
}
#[test]
fn bindgen_test_layout__zend_gc_status() {
assert_eq!(
::std::mem::size_of::<_zend_gc_status>(),
16usize,
concat!("Size of: ", stringify!(_zend_gc_status))
);
assert_eq!(
::std::mem::align_of::<_zend_gc_status>(),
4usize,
concat!("Alignment of ", stringify!(_zend_gc_status))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_gc_status>())).runs as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_gc_status),
"::",
stringify!(runs)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_gc_status>())).collected as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(_zend_gc_status),
"::",
stringify!(collected)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_gc_status>())).threshold as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_gc_status),
"::",
stringify!(threshold)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_gc_status>())).num_roots as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(_zend_gc_status),
"::",
stringify!(num_roots)
)
);
}
pub type zend_gc_status = _zend_gc_status;
extern "C" {
pub static mut gc_collect_cycles:
::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
}
extern "C" {
pub fn gc_possible_root(ref_: *mut zend_refcounted);
}
extern "C" {
pub fn gc_remove_from_buffer(ref_: *mut zend_refcounted);
}
extern "C" {
pub fn gc_enable(enable: zend_bool) -> zend_bool;
}
extern "C" {
pub fn gc_enabled() -> zend_bool;
}
extern "C" {
pub fn gc_protect(protect: zend_bool) -> zend_bool;
}
extern "C" {
pub fn gc_protected() -> zend_bool;
}
extern "C" {
pub fn zend_gc_collect_cycles() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_gc_get_status(status: *mut zend_gc_status);
}
extern "C" {
pub fn gc_globals_ctor();
}
extern "C" {
pub fn gc_globals_dtor();
}
extern "C" {
pub fn gc_reset();
}
extern "C" {
pub fn rc_dtor_func(p: *mut zend_refcounted);
}
extern "C" {
pub fn zval_copy_ctor_func(zvalue: *mut zval);
}
extern "C" {
pub fn zval_ptr_dtor(zval_ptr: *mut zval);
}
extern "C" {
pub fn zval_internal_ptr_dtor(zvalue: *mut zval);
}
extern "C" {
pub fn zval_add_ref(p: *mut zval);
}
pub type zend_object_iterator = _zend_object_iterator;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_object_iterator_funcs {
pub dtor: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
pub valid: ::std::option::Option<
unsafe extern "C" fn(iter: *mut zend_object_iterator) -> ::std::os::raw::c_int,
>,
pub get_current_data:
::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator) -> *mut zval>,
pub get_current_key: ::std::option::Option<
unsafe extern "C" fn(iter: *mut zend_object_iterator, key: *mut zval),
>,
pub move_forward: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
pub rewind: ::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
pub invalidate_current:
::std::option::Option<unsafe extern "C" fn(iter: *mut zend_object_iterator)>,
}
#[test]
fn bindgen_test_layout__zend_object_iterator_funcs() {
assert_eq!(
::std::mem::size_of::<_zend_object_iterator_funcs>(),
56usize,
concat!("Size of: ", stringify!(_zend_object_iterator_funcs))
);
assert_eq!(
::std::mem::align_of::<_zend_object_iterator_funcs>(),
8usize,
concat!("Alignment of ", stringify!(_zend_object_iterator_funcs))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_iterator_funcs>())).dtor as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_iterator_funcs),
"::",
stringify!(dtor)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_iterator_funcs>())).valid as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_iterator_funcs),
"::",
stringify!(valid)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_iterator_funcs>())).get_current_data as *const _
as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_iterator_funcs),
"::",
stringify!(get_current_data)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_iterator_funcs>())).get_current_key as *const _
as usize
},
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_iterator_funcs),
"::",
stringify!(get_current_key)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_iterator_funcs>())).move_forward as *const _
as usize
},
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_iterator_funcs),
"::",
stringify!(move_forward)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_iterator_funcs>())).rewind as *const _ as usize
},
40usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_iterator_funcs),
"::",
stringify!(rewind)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_iterator_funcs>())).invalidate_current as *const _
as usize
},
48usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_iterator_funcs),
"::",
stringify!(invalidate_current)
)
);
}
pub type zend_object_iterator_funcs = _zend_object_iterator_funcs;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_object_iterator {
pub std: zend_object,
pub data: zval,
pub funcs: *const zend_object_iterator_funcs,
pub index: zend_ulong,
}
#[test]
fn bindgen_test_layout__zend_object_iterator() {
assert_eq!(
::std::mem::size_of::<_zend_object_iterator>(),
88usize,
concat!("Size of: ", stringify!(_zend_object_iterator))
);
assert_eq!(
::std::mem::align_of::<_zend_object_iterator>(),
8usize,
concat!("Alignment of ", stringify!(_zend_object_iterator))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_object_iterator>())).std as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_iterator),
"::",
stringify!(std)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_object_iterator>())).data as *const _ as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_iterator),
"::",
stringify!(data)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_object_iterator>())).funcs as *const _ as usize },
72usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_iterator),
"::",
stringify!(funcs)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_object_iterator>())).index as *const _ as usize },
80usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_iterator),
"::",
stringify!(index)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_class_iterator_funcs {
pub zf_new_iterator: *mut zend_function,
pub zf_valid: *mut zend_function,
pub zf_current: *mut zend_function,
pub zf_key: *mut zend_function,
pub zf_next: *mut zend_function,
pub zf_rewind: *mut zend_function,
}
#[test]
fn bindgen_test_layout__zend_class_iterator_funcs() {
assert_eq!(
::std::mem::size_of::<_zend_class_iterator_funcs>(),
48usize,
concat!("Size of: ", stringify!(_zend_class_iterator_funcs))
);
assert_eq!(
::std::mem::align_of::<_zend_class_iterator_funcs>(),
8usize,
concat!("Alignment of ", stringify!(_zend_class_iterator_funcs))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_iterator_funcs>())).zf_new_iterator as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_iterator_funcs),
"::",
stringify!(zf_new_iterator)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_iterator_funcs>())).zf_valid as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_iterator_funcs),
"::",
stringify!(zf_valid)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_iterator_funcs>())).zf_current as *const _ as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_iterator_funcs),
"::",
stringify!(zf_current)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_iterator_funcs>())).zf_key as *const _ as usize
},
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_iterator_funcs),
"::",
stringify!(zf_key)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_iterator_funcs>())).zf_next as *const _ as usize
},
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_iterator_funcs),
"::",
stringify!(zf_next)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_iterator_funcs>())).zf_rewind as *const _ as usize
},
40usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_iterator_funcs),
"::",
stringify!(zf_rewind)
)
);
}
pub type zend_class_iterator_funcs = _zend_class_iterator_funcs;
extern "C" {
pub fn zend_iterator_unwrap(array_ptr: *mut zval) -> *mut zend_object_iterator;
}
extern "C" {
pub fn zend_iterator_init(iter: *mut zend_object_iterator);
}
extern "C" {
pub fn zend_iterator_dtor(iter: *mut zend_object_iterator);
}
extern "C" {
pub fn zend_register_iterator_wrapper();
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct stat {
pub st_dev: __dev_t,
pub st_ino: __ino_t,
pub st_nlink: __nlink_t,
pub st_mode: __mode_t,
pub st_uid: __uid_t,
pub st_gid: __gid_t,
pub __pad0: ::std::os::raw::c_int,
pub st_rdev: __dev_t,
pub st_size: __off_t,
pub st_blksize: __blksize_t,
pub st_blocks: __blkcnt_t,
pub st_atim: timespec,
pub st_mtim: timespec,
pub st_ctim: timespec,
pub __glibc_reserved: [__syscall_slong_t; 3usize],
}
#[test]
fn bindgen_test_layout_stat() {
assert_eq!(
::std::mem::size_of::<stat>(),
144usize,
concat!("Size of: ", stringify!(stat))
);
assert_eq!(
::std::mem::align_of::<stat>(),
8usize,
concat!("Alignment of ", stringify!(stat))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat>())).st_dev as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(stat),
"::",
stringify!(st_dev)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat>())).st_ino as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(stat),
"::",
stringify!(st_ino)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat>())).st_nlink as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(stat),
"::",
stringify!(st_nlink)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat>())).st_mode as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(stat),
"::",
stringify!(st_mode)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat>())).st_uid as *const _ as usize },
28usize,
concat!(
"Offset of field: ",
stringify!(stat),
"::",
stringify!(st_uid)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat>())).st_gid as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(stat),
"::",
stringify!(st_gid)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat>())).__pad0 as *const _ as usize },
36usize,
concat!(
"Offset of field: ",
stringify!(stat),
"::",
stringify!(__pad0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat>())).st_rdev as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(stat),
"::",
stringify!(st_rdev)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat>())).st_size as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(stat),
"::",
stringify!(st_size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat>())).st_blksize as *const _ as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(stat),
"::",
stringify!(st_blksize)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat>())).st_blocks as *const _ as usize },
64usize,
concat!(
"Offset of field: ",
stringify!(stat),
"::",
stringify!(st_blocks)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat>())).st_atim as *const _ as usize },
72usize,
concat!(
"Offset of field: ",
stringify!(stat),
"::",
stringify!(st_atim)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat>())).st_mtim as *const _ as usize },
88usize,
concat!(
"Offset of field: ",
stringify!(stat),
"::",
stringify!(st_mtim)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat>())).st_ctim as *const _ as usize },
104usize,
concat!(
"Offset of field: ",
stringify!(stat),
"::",
stringify!(st_ctim)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat>())).__glibc_reserved as *const _ as usize },
120usize,
concat!(
"Offset of field: ",
stringify!(stat),
"::",
stringify!(__glibc_reserved)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct stat64 {
pub st_dev: __dev_t,
pub st_ino: __ino64_t,
pub st_nlink: __nlink_t,
pub st_mode: __mode_t,
pub st_uid: __uid_t,
pub st_gid: __gid_t,
pub __pad0: ::std::os::raw::c_int,
pub st_rdev: __dev_t,
pub st_size: __off_t,
pub st_blksize: __blksize_t,
pub st_blocks: __blkcnt64_t,
pub st_atim: timespec,
pub st_mtim: timespec,
pub st_ctim: timespec,
pub __glibc_reserved: [__syscall_slong_t; 3usize],
}
#[test]
fn bindgen_test_layout_stat64() {
assert_eq!(
::std::mem::size_of::<stat64>(),
144usize,
concat!("Size of: ", stringify!(stat64))
);
assert_eq!(
::std::mem::align_of::<stat64>(),
8usize,
concat!("Alignment of ", stringify!(stat64))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat64>())).st_dev as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(stat64),
"::",
stringify!(st_dev)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat64>())).st_ino as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(stat64),
"::",
stringify!(st_ino)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat64>())).st_nlink as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(stat64),
"::",
stringify!(st_nlink)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat64>())).st_mode as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(stat64),
"::",
stringify!(st_mode)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat64>())).st_uid as *const _ as usize },
28usize,
concat!(
"Offset of field: ",
stringify!(stat64),
"::",
stringify!(st_uid)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat64>())).st_gid as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(stat64),
"::",
stringify!(st_gid)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat64>())).__pad0 as *const _ as usize },
36usize,
concat!(
"Offset of field: ",
stringify!(stat64),
"::",
stringify!(__pad0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat64>())).st_rdev as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(stat64),
"::",
stringify!(st_rdev)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat64>())).st_size as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(stat64),
"::",
stringify!(st_size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat64>())).st_blksize as *const _ as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(stat64),
"::",
stringify!(st_blksize)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat64>())).st_blocks as *const _ as usize },
64usize,
concat!(
"Offset of field: ",
stringify!(stat64),
"::",
stringify!(st_blocks)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat64>())).st_atim as *const _ as usize },
72usize,
concat!(
"Offset of field: ",
stringify!(stat64),
"::",
stringify!(st_atim)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat64>())).st_mtim as *const _ as usize },
88usize,
concat!(
"Offset of field: ",
stringify!(stat64),
"::",
stringify!(st_mtim)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat64>())).st_ctim as *const _ as usize },
104usize,
concat!(
"Offset of field: ",
stringify!(stat64),
"::",
stringify!(st_ctim)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stat64>())).__glibc_reserved as *const _ as usize },
120usize,
concat!(
"Offset of field: ",
stringify!(stat64),
"::",
stringify!(__glibc_reserved)
)
);
}
extern "C" {
pub fn stat(__file: *const ::std::os::raw::c_char, __buf: *mut stat) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fstat(__fd: ::std::os::raw::c_int, __buf: *mut stat) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn stat64(
__file: *const ::std::os::raw::c_char,
__buf: *mut stat64,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fstat64(__fd: ::std::os::raw::c_int, __buf: *mut stat64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fstatat(
__fd: ::std::os::raw::c_int,
__file: *const ::std::os::raw::c_char,
__buf: *mut stat,
__flag: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fstatat64(
__fd: ::std::os::raw::c_int,
__file: *const ::std::os::raw::c_char,
__buf: *mut stat64,
__flag: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn lstat(__file: *const ::std::os::raw::c_char, __buf: *mut stat) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn lstat64(
__file: *const ::std::os::raw::c_char,
__buf: *mut stat64,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn chmod(__file: *const ::std::os::raw::c_char, __mode: __mode_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn lchmod(__file: *const ::std::os::raw::c_char, __mode: __mode_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn fchmod(__fd: ::std::os::raw::c_int, __mode: __mode_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fchmodat(
__fd: ::std::os::raw::c_int,
__file: *const ::std::os::raw::c_char,
__mode: __mode_t,
__flag: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn umask(__mask: __mode_t) -> __mode_t;
}
extern "C" {
pub fn getumask() -> __mode_t;
}
extern "C" {
pub fn mkdir(__path: *const ::std::os::raw::c_char, __mode: __mode_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn mkdirat(
__fd: ::std::os::raw::c_int,
__path: *const ::std::os::raw::c_char,
__mode: __mode_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn mknod(
__path: *const ::std::os::raw::c_char,
__mode: __mode_t,
__dev: __dev_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn mknodat(
__fd: ::std::os::raw::c_int,
__path: *const ::std::os::raw::c_char,
__mode: __mode_t,
__dev: __dev_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn mkfifo(__path: *const ::std::os::raw::c_char, __mode: __mode_t)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn mkfifoat(
__fd: ::std::os::raw::c_int,
__path: *const ::std::os::raw::c_char,
__mode: __mode_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn utimensat(
__fd: ::std::os::raw::c_int,
__path: *const ::std::os::raw::c_char,
__times: *const timespec,
__flags: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn futimens(__fd: ::std::os::raw::c_int, __times: *const timespec)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn __fxstat(
__ver: ::std::os::raw::c_int,
__fildes: ::std::os::raw::c_int,
__stat_buf: *mut stat,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __xstat(
__ver: ::std::os::raw::c_int,
__filename: *const ::std::os::raw::c_char,
__stat_buf: *mut stat,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __lxstat(
__ver: ::std::os::raw::c_int,
__filename: *const ::std::os::raw::c_char,
__stat_buf: *mut stat,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __fxstatat(
__ver: ::std::os::raw::c_int,
__fildes: ::std::os::raw::c_int,
__filename: *const ::std::os::raw::c_char,
__stat_buf: *mut stat,
__flag: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __fxstat64(
__ver: ::std::os::raw::c_int,
__fildes: ::std::os::raw::c_int,
__stat_buf: *mut stat64,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __xstat64(
__ver: ::std::os::raw::c_int,
__filename: *const ::std::os::raw::c_char,
__stat_buf: *mut stat64,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __lxstat64(
__ver: ::std::os::raw::c_int,
__filename: *const ::std::os::raw::c_char,
__stat_buf: *mut stat64,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __fxstatat64(
__ver: ::std::os::raw::c_int,
__fildes: ::std::os::raw::c_int,
__filename: *const ::std::os::raw::c_char,
__stat_buf: *mut stat64,
__flag: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __xmknod(
__ver: ::std::os::raw::c_int,
__path: *const ::std::os::raw::c_char,
__mode: __mode_t,
__dev: *mut __dev_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __xmknodat(
__ver: ::std::os::raw::c_int,
__fd: ::std::os::raw::c_int,
__path: *const ::std::os::raw::c_char,
__mode: __mode_t,
__dev: *mut __dev_t,
) -> ::std::os::raw::c_int;
}
pub type __s8 = ::std::os::raw::c_schar;
pub type __u8 = ::std::os::raw::c_uchar;
pub type __s16 = ::std::os::raw::c_short;
pub type __u16 = ::std::os::raw::c_ushort;
pub type __s32 = ::std::os::raw::c_int;
pub type __u32 = ::std::os::raw::c_uint;
pub type __s64 = ::std::os::raw::c_longlong;
pub type __u64 = ::std::os::raw::c_ulonglong;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __kernel_fd_set {
pub fds_bits: [::std::os::raw::c_ulong; 16usize],
}
#[test]
fn bindgen_test_layout___kernel_fd_set() {
assert_eq!(
::std::mem::size_of::<__kernel_fd_set>(),
128usize,
concat!("Size of: ", stringify!(__kernel_fd_set))
);
assert_eq!(
::std::mem::align_of::<__kernel_fd_set>(),
8usize,
concat!("Alignment of ", stringify!(__kernel_fd_set))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__kernel_fd_set>())).fds_bits as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(__kernel_fd_set),
"::",
stringify!(fds_bits)
)
);
}
pub type __kernel_sighandler_t =
::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>;
pub type __kernel_key_t = ::std::os::raw::c_int;
pub type __kernel_mqd_t = ::std::os::raw::c_int;
pub type __kernel_old_uid_t = ::std::os::raw::c_ushort;
pub type __kernel_old_gid_t = ::std::os::raw::c_ushort;
pub type __kernel_old_dev_t = ::std::os::raw::c_ulong;
pub type __kernel_long_t = ::std::os::raw::c_long;
pub type __kernel_ulong_t = ::std::os::raw::c_ulong;
pub type __kernel_ino_t = __kernel_ulong_t;
pub type __kernel_mode_t = ::std::os::raw::c_uint;
pub type __kernel_pid_t = ::std::os::raw::c_int;
pub type __kernel_ipc_pid_t = ::std::os::raw::c_int;
pub type __kernel_uid_t = ::std::os::raw::c_uint;
pub type __kernel_gid_t = ::std::os::raw::c_uint;
pub type __kernel_suseconds_t = __kernel_long_t;
pub type __kernel_daddr_t = ::std::os::raw::c_int;
pub type __kernel_uid32_t = ::std::os::raw::c_uint;
pub type __kernel_gid32_t = ::std::os::raw::c_uint;
pub type __kernel_size_t = __kernel_ulong_t;
pub type __kernel_ssize_t = __kernel_long_t;
pub type __kernel_ptrdiff_t = __kernel_long_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __kernel_fsid_t {
pub val: [::std::os::raw::c_int; 2usize],
}
#[test]
fn bindgen_test_layout___kernel_fsid_t() {
assert_eq!(
::std::mem::size_of::<__kernel_fsid_t>(),
8usize,
concat!("Size of: ", stringify!(__kernel_fsid_t))
);
assert_eq!(
::std::mem::align_of::<__kernel_fsid_t>(),
4usize,
concat!("Alignment of ", stringify!(__kernel_fsid_t))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__kernel_fsid_t>())).val as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(__kernel_fsid_t),
"::",
stringify!(val)
)
);
}
pub type __kernel_off_t = __kernel_long_t;
pub type __kernel_loff_t = ::std::os::raw::c_longlong;
pub type __kernel_time_t = __kernel_long_t;
pub type __kernel_time64_t = ::std::os::raw::c_longlong;
pub type __kernel_clock_t = __kernel_long_t;
pub type __kernel_timer_t = ::std::os::raw::c_int;
pub type __kernel_clockid_t = ::std::os::raw::c_int;
pub type __kernel_caddr_t = *mut ::std::os::raw::c_char;
pub type __kernel_uid16_t = ::std::os::raw::c_ushort;
pub type __kernel_gid16_t = ::std::os::raw::c_ushort;
pub type __le16 = __u16;
pub type __be16 = __u16;
pub type __le32 = __u32;
pub type __be32 = __u32;
pub type __le64 = __u64;
pub type __be64 = __u64;
pub type __sum16 = __u16;
pub type __wsum = __u32;
pub type __poll_t = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct statx_timestamp {
pub tv_sec: __s64,
pub tv_nsec: __u32,
pub __reserved: __s32,
}
#[test]
fn bindgen_test_layout_statx_timestamp() {
assert_eq!(
::std::mem::size_of::<statx_timestamp>(),
16usize,
concat!("Size of: ", stringify!(statx_timestamp))
);
assert_eq!(
::std::mem::align_of::<statx_timestamp>(),
8usize,
concat!("Alignment of ", stringify!(statx_timestamp))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<statx_timestamp>())).tv_sec as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(statx_timestamp),
"::",
stringify!(tv_sec)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<statx_timestamp>())).tv_nsec as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(statx_timestamp),
"::",
stringify!(tv_nsec)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<statx_timestamp>())).__reserved as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(statx_timestamp),
"::",
stringify!(__reserved)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct statx {
pub stx_mask: __u32,
pub stx_blksize: __u32,
pub stx_attributes: __u64,
pub stx_nlink: __u32,
pub stx_uid: __u32,
pub stx_gid: __u32,
pub stx_mode: __u16,
pub __spare0: [__u16; 1usize],
pub stx_ino: __u64,
pub stx_size: __u64,
pub stx_blocks: __u64,
pub stx_attributes_mask: __u64,
pub stx_atime: statx_timestamp,
pub stx_btime: statx_timestamp,
pub stx_ctime: statx_timestamp,
pub stx_mtime: statx_timestamp,
pub stx_rdev_major: __u32,
pub stx_rdev_minor: __u32,
pub stx_dev_major: __u32,
pub stx_dev_minor: __u32,
pub __spare2: [__u64; 14usize],
}
#[test]
fn bindgen_test_layout_statx() {
assert_eq!(
::std::mem::size_of::<statx>(),
256usize,
concat!("Size of: ", stringify!(statx))
);
assert_eq!(
::std::mem::align_of::<statx>(),
8usize,
concat!("Alignment of ", stringify!(statx))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<statx>())).stx_mask as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(statx),
"::",
stringify!(stx_mask)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<statx>())).stx_blksize as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(statx),
"::",
stringify!(stx_blksize)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<statx>())).stx_attributes as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(statx),
"::",
stringify!(stx_attributes)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<statx>())).stx_nlink as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(statx),
"::",
stringify!(stx_nlink)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<statx>())).stx_uid as *const _ as usize },
20usize,
concat!(
"Offset of field: ",
stringify!(statx),
"::",
stringify!(stx_uid)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<statx>())).stx_gid as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(statx),
"::",
stringify!(stx_gid)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<statx>())).stx_mode as *const _ as usize },
28usize,
concat!(
"Offset of field: ",
stringify!(statx),
"::",
stringify!(stx_mode)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<statx>())).__spare0 as *const _ as usize },
30usize,
concat!(
"Offset of field: ",
stringify!(statx),
"::",
stringify!(__spare0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<statx>())).stx_ino as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(statx),
"::",
stringify!(stx_ino)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<statx>())).stx_size as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(statx),
"::",
stringify!(stx_size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<statx>())).stx_blocks as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(statx),
"::",
stringify!(stx_blocks)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<statx>())).stx_attributes_mask as *const _ as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(statx),
"::",
stringify!(stx_attributes_mask)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<statx>())).stx_atime as *const _ as usize },
64usize,
concat!(
"Offset of field: ",
stringify!(statx),
"::",
stringify!(stx_atime)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<statx>())).stx_btime as *const _ as usize },
80usize,
concat!(
"Offset of field: ",
stringify!(statx),
"::",
stringify!(stx_btime)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<statx>())).stx_ctime as *const _ as usize },
96usize,
concat!(
"Offset of field: ",
stringify!(statx),
"::",
stringify!(stx_ctime)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<statx>())).stx_mtime as *const _ as usize },
112usize,
concat!(
"Offset of field: ",
stringify!(statx),
"::",
stringify!(stx_mtime)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<statx>())).stx_rdev_major as *const _ as usize },
128usize,
concat!(
"Offset of field: ",
stringify!(statx),
"::",
stringify!(stx_rdev_major)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<statx>())).stx_rdev_minor as *const _ as usize },
132usize,
concat!(
"Offset of field: ",
stringify!(statx),
"::",
stringify!(stx_rdev_minor)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<statx>())).stx_dev_major as *const _ as usize },
136usize,
concat!(
"Offset of field: ",
stringify!(statx),
"::",
stringify!(stx_dev_major)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<statx>())).stx_dev_minor as *const _ as usize },
140usize,
concat!(
"Offset of field: ",
stringify!(statx),
"::",
stringify!(stx_dev_minor)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<statx>())).__spare2 as *const _ as usize },
144usize,
concat!(
"Offset of field: ",
stringify!(statx),
"::",
stringify!(__spare2)
)
);
}
extern "C" {
pub fn statx(
__dirfd: ::std::os::raw::c_int,
__path: *const ::std::os::raw::c_char,
__flags: ::std::os::raw::c_int,
__mask: ::std::os::raw::c_uint,
__buf: *mut statx,
) -> ::std::os::raw::c_int;
}
pub type zend_stream_fsizer_t =
::std::option::Option<unsafe extern "C" fn(handle: *mut ::std::os::raw::c_void) -> usize>;
pub type zend_stream_reader_t = ::std::option::Option<
unsafe extern "C" fn(
handle: *mut ::std::os::raw::c_void,
buf: *mut ::std::os::raw::c_char,
len: usize,
) -> isize,
>;
pub type zend_stream_closer_t =
::std::option::Option<unsafe extern "C" fn(handle: *mut ::std::os::raw::c_void)>;
pub const zend_stream_type_ZEND_HANDLE_FILENAME: zend_stream_type = 0;
pub const zend_stream_type_ZEND_HANDLE_FP: zend_stream_type = 1;
pub const zend_stream_type_ZEND_HANDLE_STREAM: zend_stream_type = 2;
pub type zend_stream_type = u32;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_stream {
pub handle: *mut ::std::os::raw::c_void,
pub isatty: ::std::os::raw::c_int,
pub reader: zend_stream_reader_t,
pub fsizer: zend_stream_fsizer_t,
pub closer: zend_stream_closer_t,
}
#[test]
fn bindgen_test_layout__zend_stream() {
assert_eq!(
::std::mem::size_of::<_zend_stream>(),
40usize,
concat!("Size of: ", stringify!(_zend_stream))
);
assert_eq!(
::std::mem::align_of::<_zend_stream>(),
8usize,
concat!("Alignment of ", stringify!(_zend_stream))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_stream>())).handle as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_stream),
"::",
stringify!(handle)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_stream>())).isatty as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_stream),
"::",
stringify!(isatty)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_stream>())).reader as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_stream),
"::",
stringify!(reader)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_stream>())).fsizer as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_stream),
"::",
stringify!(fsizer)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_stream>())).closer as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_stream),
"::",
stringify!(closer)
)
);
}
pub type zend_stream = _zend_stream;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_file_handle {
pub handle: _zend_file_handle__bindgen_ty_1,
pub filename: *const ::std::os::raw::c_char,
pub opened_path: *mut zend_string,
pub type_: zend_stream_type,
pub free_filename: zend_bool,
pub buf: *mut ::std::os::raw::c_char,
pub len: usize,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_file_handle__bindgen_ty_1 {
pub fp: *mut FILE,
pub stream: zend_stream,
_bindgen_union_align: [u64; 5usize],
}
#[test]
fn bindgen_test_layout__zend_file_handle__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<_zend_file_handle__bindgen_ty_1>(),
40usize,
concat!("Size of: ", stringify!(_zend_file_handle__bindgen_ty_1))
);
assert_eq!(
::std::mem::align_of::<_zend_file_handle__bindgen_ty_1>(),
8usize,
concat!("Alignment of ", stringify!(_zend_file_handle__bindgen_ty_1))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_file_handle__bindgen_ty_1>())).fp as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_file_handle__bindgen_ty_1),
"::",
stringify!(fp)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_file_handle__bindgen_ty_1>())).stream as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_file_handle__bindgen_ty_1),
"::",
stringify!(stream)
)
);
}
#[test]
fn bindgen_test_layout__zend_file_handle() {
assert_eq!(
::std::mem::size_of::<_zend_file_handle>(),
80usize,
concat!("Size of: ", stringify!(_zend_file_handle))
);
assert_eq!(
::std::mem::align_of::<_zend_file_handle>(),
8usize,
concat!("Alignment of ", stringify!(_zend_file_handle))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_file_handle>())).handle as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_file_handle),
"::",
stringify!(handle)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_file_handle>())).filename as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(_zend_file_handle),
"::",
stringify!(filename)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_file_handle>())).opened_path as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(_zend_file_handle),
"::",
stringify!(opened_path)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_file_handle>())).type_ as *const _ as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(_zend_file_handle),
"::",
stringify!(type_)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_file_handle>())).free_filename as *const _ as usize },
60usize,
concat!(
"Offset of field: ",
stringify!(_zend_file_handle),
"::",
stringify!(free_filename)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_file_handle>())).buf as *const _ as usize },
64usize,
concat!(
"Offset of field: ",
stringify!(_zend_file_handle),
"::",
stringify!(buf)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_file_handle>())).len as *const _ as usize },
72usize,
concat!(
"Offset of field: ",
stringify!(_zend_file_handle),
"::",
stringify!(len)
)
);
}
pub type zend_file_handle = _zend_file_handle;
extern "C" {
pub fn zend_stream_init_fp(
handle: *mut zend_file_handle,
fp: *mut FILE,
filename: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn zend_stream_init_filename(
handle: *mut zend_file_handle,
filename: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn zend_stream_open(
filename: *const ::std::os::raw::c_char,
handle: *mut zend_file_handle,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_stream_fixup(
file_handle: *mut zend_file_handle,
buf: *mut *mut ::std::os::raw::c_char,
len: *mut usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_file_handle_dtor(fh: *mut zend_file_handle);
}
extern "C" {
pub fn zend_compare_file_handles(
fh1: *mut zend_file_handle,
fh2: *mut zend_file_handle,
) -> ::std::os::raw::c_int;
}
pub type zend_stat_t = stat;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct smart_str {
pub s: *mut zend_string,
pub a: usize,
}
#[test]
fn bindgen_test_layout_smart_str() {
assert_eq!(
::std::mem::size_of::<smart_str>(),
16usize,
concat!("Size of: ", stringify!(smart_str))
);
assert_eq!(
::std::mem::align_of::<smart_str>(),
8usize,
concat!("Alignment of ", stringify!(smart_str))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<smart_str>())).s as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(smart_str),
"::",
stringify!(s)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<smart_str>())).a as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(smart_str),
"::",
stringify!(a)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct smart_string {
pub c: *mut ::std::os::raw::c_char,
pub len: usize,
pub a: usize,
}
#[test]
fn bindgen_test_layout_smart_string() {
assert_eq!(
::std::mem::size_of::<smart_string>(),
24usize,
concat!("Size of: ", stringify!(smart_string))
);
assert_eq!(
::std::mem::align_of::<smart_string>(),
8usize,
concat!("Alignment of ", stringify!(smart_string))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<smart_string>())).c as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(smart_string),
"::",
stringify!(c)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<smart_string>())).len as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(smart_string),
"::",
stringify!(len)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<smart_string>())).a as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(smart_string),
"::",
stringify!(a)
)
);
}
pub type sig_atomic_t = __sig_atomic_t;
#[repr(C)]
#[derive(Copy, Clone)]
pub union sigval {
pub sival_int: ::std::os::raw::c_int,
pub sival_ptr: *mut ::std::os::raw::c_void,
_bindgen_union_align: u64,
}
#[test]
fn bindgen_test_layout_sigval() {
assert_eq!(
::std::mem::size_of::<sigval>(),
8usize,
concat!("Size of: ", stringify!(sigval))
);
assert_eq!(
::std::mem::align_of::<sigval>(),
8usize,
concat!("Alignment of ", stringify!(sigval))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigval>())).sival_int as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(sigval),
"::",
stringify!(sival_int)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigval>())).sival_ptr as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(sigval),
"::",
stringify!(sival_ptr)
)
);
}
pub type __sigval_t = sigval;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct siginfo_t {
pub si_signo: ::std::os::raw::c_int,
pub si_errno: ::std::os::raw::c_int,
pub si_code: ::std::os::raw::c_int,
pub __pad0: ::std::os::raw::c_int,
pub _sifields: siginfo_t__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union siginfo_t__bindgen_ty_1 {
pub _pad: [::std::os::raw::c_int; 28usize],
pub _kill: siginfo_t__bindgen_ty_1__bindgen_ty_1,
pub _timer: siginfo_t__bindgen_ty_1__bindgen_ty_2,
pub _rt: siginfo_t__bindgen_ty_1__bindgen_ty_3,
pub _sigchld: siginfo_t__bindgen_ty_1__bindgen_ty_4,
pub _sigfault: siginfo_t__bindgen_ty_1__bindgen_ty_5,
pub _sigpoll: siginfo_t__bindgen_ty_1__bindgen_ty_6,
pub _sigsys: siginfo_t__bindgen_ty_1__bindgen_ty_7,
_bindgen_union_align: [u64; 14usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_1 {
pub si_pid: __pid_t,
pub si_uid: __uid_t,
}
#[test]
fn bindgen_test_layout_siginfo_t__bindgen_ty_1__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_1>(),
8usize,
concat!(
"Size of: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_1)
)
);
assert_eq!(
::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_1>(),
4usize,
concat!(
"Alignment of ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_1>())).si_pid as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_1),
"::",
stringify!(si_pid)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_1>())).si_uid as *const _
as usize
},
4usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_1),
"::",
stringify!(si_uid)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_2 {
pub si_tid: ::std::os::raw::c_int,
pub si_overrun: ::std::os::raw::c_int,
pub si_sigval: __sigval_t,
}
#[test]
fn bindgen_test_layout_siginfo_t__bindgen_ty_1__bindgen_ty_2() {
assert_eq!(
::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_2>(),
16usize,
concat!(
"Size of: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_2)
)
);
assert_eq!(
::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_2>(),
8usize,
concat!(
"Alignment of ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_2>())).si_tid as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_2),
"::",
stringify!(si_tid)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_2>())).si_overrun as *const _
as usize
},
4usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_2),
"::",
stringify!(si_overrun)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_2>())).si_sigval as *const _
as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_2),
"::",
stringify!(si_sigval)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_3 {
pub si_pid: __pid_t,
pub si_uid: __uid_t,
pub si_sigval: __sigval_t,
}
#[test]
fn bindgen_test_layout_siginfo_t__bindgen_ty_1__bindgen_ty_3() {
assert_eq!(
::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_3>(),
16usize,
concat!(
"Size of: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_3)
)
);
assert_eq!(
::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_3>(),
8usize,
concat!(
"Alignment of ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_3)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_3>())).si_pid as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_3),
"::",
stringify!(si_pid)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_3>())).si_uid as *const _
as usize
},
4usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_3),
"::",
stringify!(si_uid)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_3>())).si_sigval as *const _
as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_3),
"::",
stringify!(si_sigval)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_4 {
pub si_pid: __pid_t,
pub si_uid: __uid_t,
pub si_status: ::std::os::raw::c_int,
pub si_utime: __clock_t,
pub si_stime: __clock_t,
}
#[test]
fn bindgen_test_layout_siginfo_t__bindgen_ty_1__bindgen_ty_4() {
assert_eq!(
::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_4>(),
32usize,
concat!(
"Size of: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_4)
)
);
assert_eq!(
::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_4>(),
8usize,
concat!(
"Alignment of ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_4)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_4>())).si_pid as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_4),
"::",
stringify!(si_pid)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_4>())).si_uid as *const _
as usize
},
4usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_4),
"::",
stringify!(si_uid)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_4>())).si_status as *const _
as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_4),
"::",
stringify!(si_status)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_4>())).si_utime as *const _
as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_4),
"::",
stringify!(si_utime)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_4>())).si_stime as *const _
as usize
},
24usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_4),
"::",
stringify!(si_stime)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5 {
pub si_addr: *mut ::std::os::raw::c_void,
pub si_addr_lsb: ::std::os::raw::c_short,
pub _bounds: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1 {
pub _addr_bnd: siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1,
pub _pkey: __uint32_t,
_bindgen_union_align: [u64; 2usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1 {
pub _lower: *mut ::std::os::raw::c_void,
pub _upper: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout_siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1>(),
16usize,
concat!(
"Size of: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1)
)
);
assert_eq!(
::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1>(),
8usize,
concat!(
"Alignment of ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<
siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1,
>()))
._lower as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1),
"::",
stringify!(_lower)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<
siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1,
>()))
._upper as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1__bindgen_ty_1),
"::",
stringify!(_upper)
)
);
}
#[test]
fn bindgen_test_layout_siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1>(),
16usize,
concat!(
"Size of: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1)
)
);
assert_eq!(
::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1>(),
8usize,
concat!(
"Alignment of ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1>()))
._addr_bnd as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1),
"::",
stringify!(_addr_bnd)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1>()))._pkey
as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_5__bindgen_ty_1),
"::",
stringify!(_pkey)
)
);
}
#[test]
fn bindgen_test_layout_siginfo_t__bindgen_ty_1__bindgen_ty_5() {
assert_eq!(
::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5>(),
32usize,
concat!(
"Size of: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_5)
)
);
assert_eq!(
::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_5>(),
8usize,
concat!(
"Alignment of ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_5)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_5>())).si_addr as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_5),
"::",
stringify!(si_addr)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_5>())).si_addr_lsb
as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_5),
"::",
stringify!(si_addr_lsb)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_5>()))._bounds as *const _
as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_5),
"::",
stringify!(_bounds)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_6 {
pub si_band: ::std::os::raw::c_long,
pub si_fd: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_siginfo_t__bindgen_ty_1__bindgen_ty_6() {
assert_eq!(
::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_6>(),
16usize,
concat!(
"Size of: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_6)
)
);
assert_eq!(
::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_6>(),
8usize,
concat!(
"Alignment of ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_6)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_6>())).si_band as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_6),
"::",
stringify!(si_band)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_6>())).si_fd as *const _
as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_6),
"::",
stringify!(si_fd)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct siginfo_t__bindgen_ty_1__bindgen_ty_7 {
pub _call_addr: *mut ::std::os::raw::c_void,
pub _syscall: ::std::os::raw::c_int,
pub _arch: ::std::os::raw::c_uint,
}
#[test]
fn bindgen_test_layout_siginfo_t__bindgen_ty_1__bindgen_ty_7() {
assert_eq!(
::std::mem::size_of::<siginfo_t__bindgen_ty_1__bindgen_ty_7>(),
16usize,
concat!(
"Size of: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_7)
)
);
assert_eq!(
::std::mem::align_of::<siginfo_t__bindgen_ty_1__bindgen_ty_7>(),
8usize,
concat!(
"Alignment of ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_7)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_7>()))._call_addr as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_7),
"::",
stringify!(_call_addr)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_7>()))._syscall as *const _
as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_7),
"::",
stringify!(_syscall)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<siginfo_t__bindgen_ty_1__bindgen_ty_7>()))._arch as *const _
as usize
},
12usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1__bindgen_ty_7),
"::",
stringify!(_arch)
)
);
}
#[test]
fn bindgen_test_layout_siginfo_t__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<siginfo_t__bindgen_ty_1>(),
112usize,
concat!("Size of: ", stringify!(siginfo_t__bindgen_ty_1))
);
assert_eq!(
::std::mem::align_of::<siginfo_t__bindgen_ty_1>(),
8usize,
concat!("Alignment of ", stringify!(siginfo_t__bindgen_ty_1))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1>()))._pad as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1),
"::",
stringify!(_pad)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1>()))._kill as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1),
"::",
stringify!(_kill)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1>()))._timer as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1),
"::",
stringify!(_timer)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1>()))._rt as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1),
"::",
stringify!(_rt)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<siginfo_t__bindgen_ty_1>()))._sigchld as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1),
"::",
stringify!(_sigchld)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<siginfo_t__bindgen_ty_1>()))._sigfault as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1),
"::",
stringify!(_sigfault)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<siginfo_t__bindgen_ty_1>()))._sigpoll as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1),
"::",
stringify!(_sigpoll)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<siginfo_t__bindgen_ty_1>()))._sigsys as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t__bindgen_ty_1),
"::",
stringify!(_sigsys)
)
);
}
#[test]
fn bindgen_test_layout_siginfo_t() {
assert_eq!(
::std::mem::size_of::<siginfo_t>(),
128usize,
concat!("Size of: ", stringify!(siginfo_t))
);
assert_eq!(
::std::mem::align_of::<siginfo_t>(),
8usize,
concat!("Alignment of ", stringify!(siginfo_t))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<siginfo_t>())).si_signo as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t),
"::",
stringify!(si_signo)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<siginfo_t>())).si_errno as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t),
"::",
stringify!(si_errno)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<siginfo_t>())).si_code as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t),
"::",
stringify!(si_code)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<siginfo_t>())).__pad0 as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t),
"::",
stringify!(__pad0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<siginfo_t>()))._sifields as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(siginfo_t),
"::",
stringify!(_sifields)
)
);
}
pub const SI_ASYNCNL: _bindgen_ty_5 = -60;
pub const SI_DETHREAD: _bindgen_ty_5 = -7;
pub const SI_TKILL: _bindgen_ty_5 = -6;
pub const SI_SIGIO: _bindgen_ty_5 = -5;
pub const SI_ASYNCIO: _bindgen_ty_5 = -4;
pub const SI_MESGQ: _bindgen_ty_5 = -3;
pub const SI_TIMER: _bindgen_ty_5 = -2;
pub const SI_QUEUE: _bindgen_ty_5 = -1;
pub const SI_USER: _bindgen_ty_5 = 0;
pub const SI_KERNEL: _bindgen_ty_5 = 128;
pub type _bindgen_ty_5 = i32;
pub const ILL_ILLOPC: _bindgen_ty_6 = 1;
pub const ILL_ILLOPN: _bindgen_ty_6 = 2;
pub const ILL_ILLADR: _bindgen_ty_6 = 3;
pub const ILL_ILLTRP: _bindgen_ty_6 = 4;
pub const ILL_PRVOPC: _bindgen_ty_6 = 5;
pub const ILL_PRVREG: _bindgen_ty_6 = 6;
pub const ILL_COPROC: _bindgen_ty_6 = 7;
pub const ILL_BADSTK: _bindgen_ty_6 = 8;
pub const ILL_BADIADDR: _bindgen_ty_6 = 9;
pub type _bindgen_ty_6 = u32;
pub const FPE_INTDIV: _bindgen_ty_7 = 1;
pub const FPE_INTOVF: _bindgen_ty_7 = 2;
pub const FPE_FLTDIV: _bindgen_ty_7 = 3;
pub const FPE_FLTOVF: _bindgen_ty_7 = 4;
pub const FPE_FLTUND: _bindgen_ty_7 = 5;
pub const FPE_FLTRES: _bindgen_ty_7 = 6;
pub const FPE_FLTINV: _bindgen_ty_7 = 7;
pub const FPE_FLTSUB: _bindgen_ty_7 = 8;
pub const FPE_FLTUNK: _bindgen_ty_7 = 14;
pub const FPE_CONDTRAP: _bindgen_ty_7 = 15;
pub type _bindgen_ty_7 = u32;
pub const SEGV_MAPERR: _bindgen_ty_8 = 1;
pub const SEGV_ACCERR: _bindgen_ty_8 = 2;
pub const SEGV_BNDERR: _bindgen_ty_8 = 3;
pub const SEGV_PKUERR: _bindgen_ty_8 = 4;
pub const SEGV_ACCADI: _bindgen_ty_8 = 5;
pub const SEGV_ADIDERR: _bindgen_ty_8 = 6;
pub const SEGV_ADIPERR: _bindgen_ty_8 = 7;
pub type _bindgen_ty_8 = u32;
pub const BUS_ADRALN: _bindgen_ty_9 = 1;
pub const BUS_ADRERR: _bindgen_ty_9 = 2;
pub const BUS_OBJERR: _bindgen_ty_9 = 3;
pub const BUS_MCEERR_AR: _bindgen_ty_9 = 4;
pub const BUS_MCEERR_AO: _bindgen_ty_9 = 5;
pub type _bindgen_ty_9 = u32;
pub const TRAP_BRKPT: _bindgen_ty_10 = 1;
pub const TRAP_TRACE: _bindgen_ty_10 = 2;
pub const TRAP_BRANCH: _bindgen_ty_10 = 3;
pub const TRAP_HWBKPT: _bindgen_ty_10 = 4;
pub const TRAP_UNK: _bindgen_ty_10 = 5;
pub type _bindgen_ty_10 = u32;
pub const CLD_EXITED: _bindgen_ty_11 = 1;
pub const CLD_KILLED: _bindgen_ty_11 = 2;
pub const CLD_DUMPED: _bindgen_ty_11 = 3;
pub const CLD_TRAPPED: _bindgen_ty_11 = 4;
pub const CLD_STOPPED: _bindgen_ty_11 = 5;
pub const CLD_CONTINUED: _bindgen_ty_11 = 6;
pub type _bindgen_ty_11 = u32;
pub const POLL_IN: _bindgen_ty_12 = 1;
pub const POLL_OUT: _bindgen_ty_12 = 2;
pub const POLL_MSG: _bindgen_ty_12 = 3;
pub const POLL_ERR: _bindgen_ty_12 = 4;
pub const POLL_PRI: _bindgen_ty_12 = 5;
pub const POLL_HUP: _bindgen_ty_12 = 6;
pub type _bindgen_ty_12 = u32;
pub type sigval_t = __sigval_t;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct sigevent {
pub sigev_value: __sigval_t,
pub sigev_signo: ::std::os::raw::c_int,
pub sigev_notify: ::std::os::raw::c_int,
pub _sigev_un: sigevent__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union sigevent__bindgen_ty_1 {
pub _pad: [::std::os::raw::c_int; 12usize],
pub _tid: __pid_t,
pub _sigev_thread: sigevent__bindgen_ty_1__bindgen_ty_1,
_bindgen_union_align: [u64; 6usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sigevent__bindgen_ty_1__bindgen_ty_1 {
pub _function: ::std::option::Option<unsafe extern "C" fn(arg1: __sigval_t)>,
pub _attribute: *mut pthread_attr_t,
}
#[test]
fn bindgen_test_layout_sigevent__bindgen_ty_1__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<sigevent__bindgen_ty_1__bindgen_ty_1>(),
16usize,
concat!(
"Size of: ",
stringify!(sigevent__bindgen_ty_1__bindgen_ty_1)
)
);
assert_eq!(
::std::mem::align_of::<sigevent__bindgen_ty_1__bindgen_ty_1>(),
8usize,
concat!(
"Alignment of ",
stringify!(sigevent__bindgen_ty_1__bindgen_ty_1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<sigevent__bindgen_ty_1__bindgen_ty_1>()))._function as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(sigevent__bindgen_ty_1__bindgen_ty_1),
"::",
stringify!(_function)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<sigevent__bindgen_ty_1__bindgen_ty_1>()))._attribute as *const _
as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(sigevent__bindgen_ty_1__bindgen_ty_1),
"::",
stringify!(_attribute)
)
);
}
#[test]
fn bindgen_test_layout_sigevent__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<sigevent__bindgen_ty_1>(),
48usize,
concat!("Size of: ", stringify!(sigevent__bindgen_ty_1))
);
assert_eq!(
::std::mem::align_of::<sigevent__bindgen_ty_1>(),
8usize,
concat!("Alignment of ", stringify!(sigevent__bindgen_ty_1))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigevent__bindgen_ty_1>()))._pad as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(sigevent__bindgen_ty_1),
"::",
stringify!(_pad)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigevent__bindgen_ty_1>()))._tid as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(sigevent__bindgen_ty_1),
"::",
stringify!(_tid)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<sigevent__bindgen_ty_1>()))._sigev_thread as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(sigevent__bindgen_ty_1),
"::",
stringify!(_sigev_thread)
)
);
}
#[test]
fn bindgen_test_layout_sigevent() {
assert_eq!(
::std::mem::size_of::<sigevent>(),
64usize,
concat!("Size of: ", stringify!(sigevent))
);
assert_eq!(
::std::mem::align_of::<sigevent>(),
8usize,
concat!("Alignment of ", stringify!(sigevent))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigevent>())).sigev_value as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(sigevent),
"::",
stringify!(sigev_value)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigevent>())).sigev_signo as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(sigevent),
"::",
stringify!(sigev_signo)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigevent>())).sigev_notify as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(sigevent),
"::",
stringify!(sigev_notify)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigevent>()))._sigev_un as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(sigevent),
"::",
stringify!(_sigev_un)
)
);
}
pub type sigevent_t = sigevent;
pub const SIGEV_SIGNAL: _bindgen_ty_13 = 0;
pub const SIGEV_NONE: _bindgen_ty_13 = 1;
pub const SIGEV_THREAD: _bindgen_ty_13 = 2;
pub const SIGEV_THREAD_ID: _bindgen_ty_13 = 4;
pub type _bindgen_ty_13 = u32;
pub type __sighandler_t = ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>;
extern "C" {
pub fn __sysv_signal(__sig: ::std::os::raw::c_int, __handler: __sighandler_t)
-> __sighandler_t;
}
extern "C" {
pub fn sysv_signal(__sig: ::std::os::raw::c_int, __handler: __sighandler_t) -> __sighandler_t;
}
extern "C" {
pub fn signal(__sig: ::std::os::raw::c_int, __handler: __sighandler_t) -> __sighandler_t;
}
extern "C" {
pub fn kill(__pid: __pid_t, __sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn killpg(__pgrp: __pid_t, __sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn raise(__sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ssignal(__sig: ::std::os::raw::c_int, __handler: __sighandler_t) -> __sighandler_t;
}
extern "C" {
pub fn gsignal(__sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn psignal(__sig: ::std::os::raw::c_int, __s: *const ::std::os::raw::c_char);
}
extern "C" {
pub fn psiginfo(__pinfo: *const siginfo_t, __s: *const ::std::os::raw::c_char);
}
extern "C" {
#[link_name = "\u{1}__xpg_sigpause"]
pub fn sigpause(__sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigblock(__mask: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigsetmask(__mask: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn siggetmask() -> ::std::os::raw::c_int;
}
pub type sighandler_t = __sighandler_t;
pub type sig_t = __sighandler_t;
extern "C" {
pub fn sigemptyset(__set: *mut sigset_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigfillset(__set: *mut sigset_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigaddset(__set: *mut sigset_t, __signo: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigdelset(__set: *mut sigset_t, __signo: ::std::os::raw::c_int)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigismember(
__set: *const sigset_t,
__signo: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigisemptyset(__set: *const sigset_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigandset(
__set: *mut sigset_t,
__left: *const sigset_t,
__right: *const sigset_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigorset(
__set: *mut sigset_t,
__left: *const sigset_t,
__right: *const sigset_t,
) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct sigaction {
pub __sigaction_handler: sigaction__bindgen_ty_1,
pub sa_mask: __sigset_t,
pub sa_flags: ::std::os::raw::c_int,
pub sa_restorer: ::std::option::Option<unsafe extern "C" fn()>,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union sigaction__bindgen_ty_1 {
pub sa_handler: __sighandler_t,
pub sa_sigaction: ::std::option::Option<
unsafe extern "C" fn(
arg1: ::std::os::raw::c_int,
arg2: *mut siginfo_t,
arg3: *mut ::std::os::raw::c_void,
),
>,
_bindgen_union_align: u64,
}
#[test]
fn bindgen_test_layout_sigaction__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<sigaction__bindgen_ty_1>(),
8usize,
concat!("Size of: ", stringify!(sigaction__bindgen_ty_1))
);
assert_eq!(
::std::mem::align_of::<sigaction__bindgen_ty_1>(),
8usize,
concat!("Alignment of ", stringify!(sigaction__bindgen_ty_1))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<sigaction__bindgen_ty_1>())).sa_handler as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(sigaction__bindgen_ty_1),
"::",
stringify!(sa_handler)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<sigaction__bindgen_ty_1>())).sa_sigaction as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(sigaction__bindgen_ty_1),
"::",
stringify!(sa_sigaction)
)
);
}
#[test]
fn bindgen_test_layout_sigaction() {
assert_eq!(
::std::mem::size_of::<sigaction>(),
152usize,
concat!("Size of: ", stringify!(sigaction))
);
assert_eq!(
::std::mem::align_of::<sigaction>(),
8usize,
concat!("Alignment of ", stringify!(sigaction))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigaction>())).__sigaction_handler as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(sigaction),
"::",
stringify!(__sigaction_handler)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigaction>())).sa_mask as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(sigaction),
"::",
stringify!(sa_mask)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigaction>())).sa_flags as *const _ as usize },
136usize,
concat!(
"Offset of field: ",
stringify!(sigaction),
"::",
stringify!(sa_flags)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigaction>())).sa_restorer as *const _ as usize },
144usize,
concat!(
"Offset of field: ",
stringify!(sigaction),
"::",
stringify!(sa_restorer)
)
);
}
extern "C" {
pub fn sigprocmask(
__how: ::std::os::raw::c_int,
__set: *const sigset_t,
__oset: *mut sigset_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigsuspend(__set: *const sigset_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigaction(
__sig: ::std::os::raw::c_int,
__act: *const sigaction,
__oact: *mut sigaction,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigpending(__set: *mut sigset_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigwait(
__set: *const sigset_t,
__sig: *mut ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigwaitinfo(__set: *const sigset_t, __info: *mut siginfo_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigtimedwait(
__set: *const sigset_t,
__info: *mut siginfo_t,
__timeout: *const timespec,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigqueue(
__pid: __pid_t,
__sig: ::std::os::raw::c_int,
__val: sigval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub static mut _sys_siglist: [*const ::std::os::raw::c_char; 65usize];
}
extern "C" {
pub static mut sys_siglist: [*const ::std::os::raw::c_char; 65usize];
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _fpx_sw_bytes {
pub magic1: __uint32_t,
pub extended_size: __uint32_t,
pub xstate_bv: __uint64_t,
pub xstate_size: __uint32_t,
pub __glibc_reserved1: [__uint32_t; 7usize],
}
#[test]
fn bindgen_test_layout__fpx_sw_bytes() {
assert_eq!(
::std::mem::size_of::<_fpx_sw_bytes>(),
48usize,
concat!("Size of: ", stringify!(_fpx_sw_bytes))
);
assert_eq!(
::std::mem::align_of::<_fpx_sw_bytes>(),
8usize,
concat!("Alignment of ", stringify!(_fpx_sw_bytes))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_fpx_sw_bytes>())).magic1 as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_fpx_sw_bytes),
"::",
stringify!(magic1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_fpx_sw_bytes>())).extended_size as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(_fpx_sw_bytes),
"::",
stringify!(extended_size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_fpx_sw_bytes>())).xstate_bv as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_fpx_sw_bytes),
"::",
stringify!(xstate_bv)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_fpx_sw_bytes>())).xstate_size as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_fpx_sw_bytes),
"::",
stringify!(xstate_size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_fpx_sw_bytes>())).__glibc_reserved1 as *const _ as usize },
20usize,
concat!(
"Offset of field: ",
stringify!(_fpx_sw_bytes),
"::",
stringify!(__glibc_reserved1)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _fpreg {
pub significand: [::std::os::raw::c_ushort; 4usize],
pub exponent: ::std::os::raw::c_ushort,
}
#[test]
fn bindgen_test_layout__fpreg() {
assert_eq!(
::std::mem::size_of::<_fpreg>(),
10usize,
concat!("Size of: ", stringify!(_fpreg))
);
assert_eq!(
::std::mem::align_of::<_fpreg>(),
2usize,
concat!("Alignment of ", stringify!(_fpreg))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_fpreg>())).significand as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_fpreg),
"::",
stringify!(significand)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_fpreg>())).exponent as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_fpreg),
"::",
stringify!(exponent)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _fpxreg {
pub significand: [::std::os::raw::c_ushort; 4usize],
pub exponent: ::std::os::raw::c_ushort,
pub __glibc_reserved1: [::std::os::raw::c_ushort; 3usize],
}
#[test]
fn bindgen_test_layout__fpxreg() {
assert_eq!(
::std::mem::size_of::<_fpxreg>(),
16usize,
concat!("Size of: ", stringify!(_fpxreg))
);
assert_eq!(
::std::mem::align_of::<_fpxreg>(),
2usize,
concat!("Alignment of ", stringify!(_fpxreg))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_fpxreg>())).significand as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_fpxreg),
"::",
stringify!(significand)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_fpxreg>())).exponent as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_fpxreg),
"::",
stringify!(exponent)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_fpxreg>())).__glibc_reserved1 as *const _ as usize },
10usize,
concat!(
"Offset of field: ",
stringify!(_fpxreg),
"::",
stringify!(__glibc_reserved1)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _xmmreg {
pub element: [__uint32_t; 4usize],
}
#[test]
fn bindgen_test_layout__xmmreg() {
assert_eq!(
::std::mem::size_of::<_xmmreg>(),
16usize,
concat!("Size of: ", stringify!(_xmmreg))
);
assert_eq!(
::std::mem::align_of::<_xmmreg>(),
4usize,
concat!("Alignment of ", stringify!(_xmmreg))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_xmmreg>())).element as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_xmmreg),
"::",
stringify!(element)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _fpstate {
pub cwd: __uint16_t,
pub swd: __uint16_t,
pub ftw: __uint16_t,
pub fop: __uint16_t,
pub rip: __uint64_t,
pub rdp: __uint64_t,
pub mxcsr: __uint32_t,
pub mxcr_mask: __uint32_t,
pub _st: [_fpxreg; 8usize],
pub _xmm: [_xmmreg; 16usize],
pub __glibc_reserved1: [__uint32_t; 24usize],
}
#[test]
fn bindgen_test_layout__fpstate() {
assert_eq!(
::std::mem::size_of::<_fpstate>(),
512usize,
concat!("Size of: ", stringify!(_fpstate))
);
assert_eq!(
::std::mem::align_of::<_fpstate>(),
8usize,
concat!("Alignment of ", stringify!(_fpstate))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_fpstate>())).cwd as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_fpstate),
"::",
stringify!(cwd)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_fpstate>())).swd as *const _ as usize },
2usize,
concat!(
"Offset of field: ",
stringify!(_fpstate),
"::",
stringify!(swd)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_fpstate>())).ftw as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(_fpstate),
"::",
stringify!(ftw)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_fpstate>())).fop as *const _ as usize },
6usize,
concat!(
"Offset of field: ",
stringify!(_fpstate),
"::",
stringify!(fop)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_fpstate>())).rip as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_fpstate),
"::",
stringify!(rip)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_fpstate>())).rdp as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_fpstate),
"::",
stringify!(rdp)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_fpstate>())).mxcsr as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_fpstate),
"::",
stringify!(mxcsr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_fpstate>())).mxcr_mask as *const _ as usize },
28usize,
concat!(
"Offset of field: ",
stringify!(_fpstate),
"::",
stringify!(mxcr_mask)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_fpstate>()))._st as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(_fpstate),
"::",
stringify!(_st)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_fpstate>()))._xmm as *const _ as usize },
160usize,
concat!(
"Offset of field: ",
stringify!(_fpstate),
"::",
stringify!(_xmm)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_fpstate>())).__glibc_reserved1 as *const _ as usize },
416usize,
concat!(
"Offset of field: ",
stringify!(_fpstate),
"::",
stringify!(__glibc_reserved1)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct sigcontext {
pub r8: __uint64_t,
pub r9: __uint64_t,
pub r10: __uint64_t,
pub r11: __uint64_t,
pub r12: __uint64_t,
pub r13: __uint64_t,
pub r14: __uint64_t,
pub r15: __uint64_t,
pub rdi: __uint64_t,
pub rsi: __uint64_t,
pub rbp: __uint64_t,
pub rbx: __uint64_t,
pub rdx: __uint64_t,
pub rax: __uint64_t,
pub rcx: __uint64_t,
pub rsp: __uint64_t,
pub rip: __uint64_t,
pub eflags: __uint64_t,
pub cs: ::std::os::raw::c_ushort,
pub gs: ::std::os::raw::c_ushort,
pub fs: ::std::os::raw::c_ushort,
pub __pad0: ::std::os::raw::c_ushort,
pub err: __uint64_t,
pub trapno: __uint64_t,
pub oldmask: __uint64_t,
pub cr2: __uint64_t,
pub __bindgen_anon_1: sigcontext__bindgen_ty_1,
pub __reserved1: [__uint64_t; 8usize],
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union sigcontext__bindgen_ty_1 {
pub fpstate: *mut _fpstate,
pub __fpstate_word: __uint64_t,
_bindgen_union_align: u64,
}
#[test]
fn bindgen_test_layout_sigcontext__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<sigcontext__bindgen_ty_1>(),
8usize,
concat!("Size of: ", stringify!(sigcontext__bindgen_ty_1))
);
assert_eq!(
::std::mem::align_of::<sigcontext__bindgen_ty_1>(),
8usize,
concat!("Alignment of ", stringify!(sigcontext__bindgen_ty_1))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<sigcontext__bindgen_ty_1>())).fpstate as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(sigcontext__bindgen_ty_1),
"::",
stringify!(fpstate)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<sigcontext__bindgen_ty_1>())).__fpstate_word as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(sigcontext__bindgen_ty_1),
"::",
stringify!(__fpstate_word)
)
);
}
#[test]
fn bindgen_test_layout_sigcontext() {
assert_eq!(
::std::mem::size_of::<sigcontext>(),
256usize,
concat!("Size of: ", stringify!(sigcontext))
);
assert_eq!(
::std::mem::align_of::<sigcontext>(),
8usize,
concat!("Alignment of ", stringify!(sigcontext))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigcontext>())).r8 as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(sigcontext),
"::",
stringify!(r8)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigcontext>())).r9 as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(sigcontext),
"::",
stringify!(r9)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigcontext>())).r10 as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(sigcontext),
"::",
stringify!(r10)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigcontext>())).r11 as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(sigcontext),
"::",
stringify!(r11)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigcontext>())).r12 as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(sigcontext),
"::",
stringify!(r12)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigcontext>())).r13 as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(sigcontext),
"::",
stringify!(r13)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigcontext>())).r14 as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(sigcontext),
"::",
stringify!(r14)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigcontext>())).r15 as *const _ as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(sigcontext),
"::",
stringify!(r15)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigcontext>())).rdi as *const _ as usize },
64usize,
concat!(
"Offset of field: ",
stringify!(sigcontext),
"::",
stringify!(rdi)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigcontext>())).rsi as *const _ as usize },
72usize,
concat!(
"Offset of field: ",
stringify!(sigcontext),
"::",
stringify!(rsi)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigcontext>())).rbp as *const _ as usize },
80usize,
concat!(
"Offset of field: ",
stringify!(sigcontext),
"::",
stringify!(rbp)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigcontext>())).rbx as *const _ as usize },
88usize,
concat!(
"Offset of field: ",
stringify!(sigcontext),
"::",
stringify!(rbx)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigcontext>())).rdx as *const _ as usize },
96usize,
concat!(
"Offset of field: ",
stringify!(sigcontext),
"::",
stringify!(rdx)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigcontext>())).rax as *const _ as usize },
104usize,
concat!(
"Offset of field: ",
stringify!(sigcontext),
"::",
stringify!(rax)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigcontext>())).rcx as *const _ as usize },
112usize,
concat!(
"Offset of field: ",
stringify!(sigcontext),
"::",
stringify!(rcx)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigcontext>())).rsp as *const _ as usize },
120usize,
concat!(
"Offset of field: ",
stringify!(sigcontext),
"::",
stringify!(rsp)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigcontext>())).rip as *const _ as usize },
128usize,
concat!(
"Offset of field: ",
stringify!(sigcontext),
"::",
stringify!(rip)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigcontext>())).eflags as *const _ as usize },
136usize,
concat!(
"Offset of field: ",
stringify!(sigcontext),
"::",
stringify!(eflags)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigcontext>())).cs as *const _ as usize },
144usize,
concat!(
"Offset of field: ",
stringify!(sigcontext),
"::",
stringify!(cs)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigcontext>())).gs as *const _ as usize },
146usize,
concat!(
"Offset of field: ",
stringify!(sigcontext),
"::",
stringify!(gs)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigcontext>())).fs as *const _ as usize },
148usize,
concat!(
"Offset of field: ",
stringify!(sigcontext),
"::",
stringify!(fs)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigcontext>())).__pad0 as *const _ as usize },
150usize,
concat!(
"Offset of field: ",
stringify!(sigcontext),
"::",
stringify!(__pad0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigcontext>())).err as *const _ as usize },
152usize,
concat!(
"Offset of field: ",
stringify!(sigcontext),
"::",
stringify!(err)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigcontext>())).trapno as *const _ as usize },
160usize,
concat!(
"Offset of field: ",
stringify!(sigcontext),
"::",
stringify!(trapno)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigcontext>())).oldmask as *const _ as usize },
168usize,
concat!(
"Offset of field: ",
stringify!(sigcontext),
"::",
stringify!(oldmask)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigcontext>())).cr2 as *const _ as usize },
176usize,
concat!(
"Offset of field: ",
stringify!(sigcontext),
"::",
stringify!(cr2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigcontext>())).__reserved1 as *const _ as usize },
192usize,
concat!(
"Offset of field: ",
stringify!(sigcontext),
"::",
stringify!(__reserved1)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _xsave_hdr {
pub xstate_bv: __uint64_t,
pub __glibc_reserved1: [__uint64_t; 2usize],
pub __glibc_reserved2: [__uint64_t; 5usize],
}
#[test]
fn bindgen_test_layout__xsave_hdr() {
assert_eq!(
::std::mem::size_of::<_xsave_hdr>(),
64usize,
concat!("Size of: ", stringify!(_xsave_hdr))
);
assert_eq!(
::std::mem::align_of::<_xsave_hdr>(),
8usize,
concat!("Alignment of ", stringify!(_xsave_hdr))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_xsave_hdr>())).xstate_bv as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_xsave_hdr),
"::",
stringify!(xstate_bv)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_xsave_hdr>())).__glibc_reserved1 as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_xsave_hdr),
"::",
stringify!(__glibc_reserved1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_xsave_hdr>())).__glibc_reserved2 as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_xsave_hdr),
"::",
stringify!(__glibc_reserved2)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _ymmh_state {
pub ymmh_space: [__uint32_t; 64usize],
}
#[test]
fn bindgen_test_layout__ymmh_state() {
assert_eq!(
::std::mem::size_of::<_ymmh_state>(),
256usize,
concat!("Size of: ", stringify!(_ymmh_state))
);
assert_eq!(
::std::mem::align_of::<_ymmh_state>(),
4usize,
concat!("Alignment of ", stringify!(_ymmh_state))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_ymmh_state>())).ymmh_space as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_ymmh_state),
"::",
stringify!(ymmh_space)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _xstate {
pub fpstate: _fpstate,
pub xstate_hdr: _xsave_hdr,
pub ymmh: _ymmh_state,
}
#[test]
fn bindgen_test_layout__xstate() {
assert_eq!(
::std::mem::size_of::<_xstate>(),
832usize,
concat!("Size of: ", stringify!(_xstate))
);
assert_eq!(
::std::mem::align_of::<_xstate>(),
8usize,
concat!("Alignment of ", stringify!(_xstate))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_xstate>())).fpstate as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_xstate),
"::",
stringify!(fpstate)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_xstate>())).xstate_hdr as *const _ as usize },
512usize,
concat!(
"Offset of field: ",
stringify!(_xstate),
"::",
stringify!(xstate_hdr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_xstate>())).ymmh as *const _ as usize },
576usize,
concat!(
"Offset of field: ",
stringify!(_xstate),
"::",
stringify!(ymmh)
)
);
}
extern "C" {
pub fn sigreturn(__scp: *mut sigcontext) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct stack_t {
pub ss_sp: *mut ::std::os::raw::c_void,
pub ss_flags: ::std::os::raw::c_int,
pub ss_size: usize,
}
#[test]
fn bindgen_test_layout_stack_t() {
assert_eq!(
::std::mem::size_of::<stack_t>(),
24usize,
concat!("Size of: ", stringify!(stack_t))
);
assert_eq!(
::std::mem::align_of::<stack_t>(),
8usize,
concat!("Alignment of ", stringify!(stack_t))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stack_t>())).ss_sp as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(stack_t),
"::",
stringify!(ss_sp)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stack_t>())).ss_flags as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(stack_t),
"::",
stringify!(ss_flags)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<stack_t>())).ss_size as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(stack_t),
"::",
stringify!(ss_size)
)
);
}
pub type greg_t = ::std::os::raw::c_longlong;
pub type gregset_t = [greg_t; 23usize];
pub const REG_R8: _bindgen_ty_14 = 0;
pub const REG_R9: _bindgen_ty_14 = 1;
pub const REG_R10: _bindgen_ty_14 = 2;
pub const REG_R11: _bindgen_ty_14 = 3;
pub const REG_R12: _bindgen_ty_14 = 4;
pub const REG_R13: _bindgen_ty_14 = 5;
pub const REG_R14: _bindgen_ty_14 = 6;
pub const REG_R15: _bindgen_ty_14 = 7;
pub const REG_RDI: _bindgen_ty_14 = 8;
pub const REG_RSI: _bindgen_ty_14 = 9;
pub const REG_RBP: _bindgen_ty_14 = 10;
pub const REG_RBX: _bindgen_ty_14 = 11;
pub const REG_RDX: _bindgen_ty_14 = 12;
pub const REG_RAX: _bindgen_ty_14 = 13;
pub const REG_RCX: _bindgen_ty_14 = 14;
pub const REG_RSP: _bindgen_ty_14 = 15;
pub const REG_RIP: _bindgen_ty_14 = 16;
pub const REG_EFL: _bindgen_ty_14 = 17;
pub const REG_CSGSFS: _bindgen_ty_14 = 18;
pub const REG_ERR: _bindgen_ty_14 = 19;
pub const REG_TRAPNO: _bindgen_ty_14 = 20;
pub const REG_OLDMASK: _bindgen_ty_14 = 21;
pub const REG_CR2: _bindgen_ty_14 = 22;
pub type _bindgen_ty_14 = u32;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _libc_fpxreg {
pub significand: [::std::os::raw::c_ushort; 4usize],
pub exponent: ::std::os::raw::c_ushort,
pub __glibc_reserved1: [::std::os::raw::c_ushort; 3usize],
}
#[test]
fn bindgen_test_layout__libc_fpxreg() {
assert_eq!(
::std::mem::size_of::<_libc_fpxreg>(),
16usize,
concat!("Size of: ", stringify!(_libc_fpxreg))
);
assert_eq!(
::std::mem::align_of::<_libc_fpxreg>(),
2usize,
concat!("Alignment of ", stringify!(_libc_fpxreg))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_libc_fpxreg>())).significand as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_libc_fpxreg),
"::",
stringify!(significand)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_libc_fpxreg>())).exponent as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_libc_fpxreg),
"::",
stringify!(exponent)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_libc_fpxreg>())).__glibc_reserved1 as *const _ as usize },
10usize,
concat!(
"Offset of field: ",
stringify!(_libc_fpxreg),
"::",
stringify!(__glibc_reserved1)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _libc_xmmreg {
pub element: [__uint32_t; 4usize],
}
#[test]
fn bindgen_test_layout__libc_xmmreg() {
assert_eq!(
::std::mem::size_of::<_libc_xmmreg>(),
16usize,
concat!("Size of: ", stringify!(_libc_xmmreg))
);
assert_eq!(
::std::mem::align_of::<_libc_xmmreg>(),
4usize,
concat!("Alignment of ", stringify!(_libc_xmmreg))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_libc_xmmreg>())).element as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_libc_xmmreg),
"::",
stringify!(element)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _libc_fpstate {
pub cwd: __uint16_t,
pub swd: __uint16_t,
pub ftw: __uint16_t,
pub fop: __uint16_t,
pub rip: __uint64_t,
pub rdp: __uint64_t,
pub mxcsr: __uint32_t,
pub mxcr_mask: __uint32_t,
pub _st: [_libc_fpxreg; 8usize],
pub _xmm: [_libc_xmmreg; 16usize],
pub __glibc_reserved1: [__uint32_t; 24usize],
}
#[test]
fn bindgen_test_layout__libc_fpstate() {
assert_eq!(
::std::mem::size_of::<_libc_fpstate>(),
512usize,
concat!("Size of: ", stringify!(_libc_fpstate))
);
assert_eq!(
::std::mem::align_of::<_libc_fpstate>(),
8usize,
concat!("Alignment of ", stringify!(_libc_fpstate))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_libc_fpstate>())).cwd as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_libc_fpstate),
"::",
stringify!(cwd)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_libc_fpstate>())).swd as *const _ as usize },
2usize,
concat!(
"Offset of field: ",
stringify!(_libc_fpstate),
"::",
stringify!(swd)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_libc_fpstate>())).ftw as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(_libc_fpstate),
"::",
stringify!(ftw)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_libc_fpstate>())).fop as *const _ as usize },
6usize,
concat!(
"Offset of field: ",
stringify!(_libc_fpstate),
"::",
stringify!(fop)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_libc_fpstate>())).rip as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_libc_fpstate),
"::",
stringify!(rip)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_libc_fpstate>())).rdp as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_libc_fpstate),
"::",
stringify!(rdp)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_libc_fpstate>())).mxcsr as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_libc_fpstate),
"::",
stringify!(mxcsr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_libc_fpstate>())).mxcr_mask as *const _ as usize },
28usize,
concat!(
"Offset of field: ",
stringify!(_libc_fpstate),
"::",
stringify!(mxcr_mask)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_libc_fpstate>()))._st as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(_libc_fpstate),
"::",
stringify!(_st)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_libc_fpstate>()))._xmm as *const _ as usize },
160usize,
concat!(
"Offset of field: ",
stringify!(_libc_fpstate),
"::",
stringify!(_xmm)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_libc_fpstate>())).__glibc_reserved1 as *const _ as usize },
416usize,
concat!(
"Offset of field: ",
stringify!(_libc_fpstate),
"::",
stringify!(__glibc_reserved1)
)
);
}
pub type fpregset_t = *mut _libc_fpstate;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct mcontext_t {
pub gregs: gregset_t,
pub fpregs: fpregset_t,
pub __reserved1: [::std::os::raw::c_ulonglong; 8usize],
}
#[test]
fn bindgen_test_layout_mcontext_t() {
assert_eq!(
::std::mem::size_of::<mcontext_t>(),
256usize,
concat!("Size of: ", stringify!(mcontext_t))
);
assert_eq!(
::std::mem::align_of::<mcontext_t>(),
8usize,
concat!("Alignment of ", stringify!(mcontext_t))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<mcontext_t>())).gregs as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(mcontext_t),
"::",
stringify!(gregs)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<mcontext_t>())).fpregs as *const _ as usize },
184usize,
concat!(
"Offset of field: ",
stringify!(mcontext_t),
"::",
stringify!(fpregs)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<mcontext_t>())).__reserved1 as *const _ as usize },
192usize,
concat!(
"Offset of field: ",
stringify!(mcontext_t),
"::",
stringify!(__reserved1)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ucontext_t {
pub uc_flags: ::std::os::raw::c_ulong,
pub uc_link: *mut ucontext_t,
pub uc_stack: stack_t,
pub uc_mcontext: mcontext_t,
pub uc_sigmask: sigset_t,
pub __fpregs_mem: _libc_fpstate,
pub __ssp: [::std::os::raw::c_ulonglong; 4usize],
}
#[test]
fn bindgen_test_layout_ucontext_t() {
assert_eq!(
::std::mem::size_of::<ucontext_t>(),
968usize,
concat!("Size of: ", stringify!(ucontext_t))
);
assert_eq!(
::std::mem::align_of::<ucontext_t>(),
8usize,
concat!("Alignment of ", stringify!(ucontext_t))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<ucontext_t>())).uc_flags as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(ucontext_t),
"::",
stringify!(uc_flags)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<ucontext_t>())).uc_link as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(ucontext_t),
"::",
stringify!(uc_link)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<ucontext_t>())).uc_stack as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(ucontext_t),
"::",
stringify!(uc_stack)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<ucontext_t>())).uc_mcontext as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(ucontext_t),
"::",
stringify!(uc_mcontext)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<ucontext_t>())).uc_sigmask as *const _ as usize },
296usize,
concat!(
"Offset of field: ",
stringify!(ucontext_t),
"::",
stringify!(uc_sigmask)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<ucontext_t>())).__fpregs_mem as *const _ as usize },
424usize,
concat!(
"Offset of field: ",
stringify!(ucontext_t),
"::",
stringify!(__fpregs_mem)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<ucontext_t>())).__ssp as *const _ as usize },
936usize,
concat!(
"Offset of field: ",
stringify!(ucontext_t),
"::",
stringify!(__ssp)
)
);
}
extern "C" {
pub fn siginterrupt(
__sig: ::std::os::raw::c_int,
__interrupt: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
pub const SS_ONSTACK: _bindgen_ty_15 = 1;
pub const SS_DISABLE: _bindgen_ty_15 = 2;
pub type _bindgen_ty_15 = u32;
extern "C" {
pub fn sigaltstack(__ss: *const stack_t, __oss: *mut stack_t) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sigstack {
pub ss_sp: *mut ::std::os::raw::c_void,
pub ss_onstack: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_sigstack() {
assert_eq!(
::std::mem::size_of::<sigstack>(),
16usize,
concat!("Size of: ", stringify!(sigstack))
);
assert_eq!(
::std::mem::align_of::<sigstack>(),
8usize,
concat!("Alignment of ", stringify!(sigstack))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigstack>())).ss_sp as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(sigstack),
"::",
stringify!(ss_sp)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<sigstack>())).ss_onstack as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(sigstack),
"::",
stringify!(ss_onstack)
)
);
}
extern "C" {
pub fn sigstack(__ss: *mut sigstack, __oss: *mut sigstack) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sighold(__sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigrelse(__sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigignore(__sig: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn sigset(__sig: ::std::os::raw::c_int, __disp: __sighandler_t) -> __sighandler_t;
}
extern "C" {
pub fn pthread_sigmask(
__how: ::std::os::raw::c_int,
__newmask: *const __sigset_t,
__oldmask: *mut __sigset_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_kill(
__threadid: pthread_t,
__signo: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pthread_sigqueue(
__threadid: pthread_t,
__signo: ::std::os::raw::c_int,
__value: sigval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __libc_current_sigrtmin() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __libc_current_sigrtmax() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn tgkill(
__tgid: __pid_t,
__tid: __pid_t,
__signal: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_signal_entry_t {
pub flags: ::std::os::raw::c_int,
pub handler: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout__zend_signal_entry_t() {
assert_eq!(
::std::mem::size_of::<_zend_signal_entry_t>(),
16usize,
concat!("Size of: ", stringify!(_zend_signal_entry_t))
);
assert_eq!(
::std::mem::align_of::<_zend_signal_entry_t>(),
8usize,
concat!("Alignment of ", stringify!(_zend_signal_entry_t))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_signal_entry_t>())).flags as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_signal_entry_t),
"::",
stringify!(flags)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_signal_entry_t>())).handler as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_signal_entry_t),
"::",
stringify!(handler)
)
);
}
pub type zend_signal_entry_t = _zend_signal_entry_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_signal_t {
pub signo: ::std::os::raw::c_int,
pub siginfo: *mut siginfo_t,
pub context: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout__zend_signal_t() {
assert_eq!(
::std::mem::size_of::<_zend_signal_t>(),
24usize,
concat!("Size of: ", stringify!(_zend_signal_t))
);
assert_eq!(
::std::mem::align_of::<_zend_signal_t>(),
8usize,
concat!("Alignment of ", stringify!(_zend_signal_t))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_signal_t>())).signo as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_signal_t),
"::",
stringify!(signo)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_signal_t>())).siginfo as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_signal_t),
"::",
stringify!(siginfo)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_signal_t>())).context as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_signal_t),
"::",
stringify!(context)
)
);
}
pub type zend_signal_t = _zend_signal_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_signal_queue_t {
pub zend_signal: zend_signal_t,
pub next: *mut _zend_signal_queue_t,
}
#[test]
fn bindgen_test_layout__zend_signal_queue_t() {
assert_eq!(
::std::mem::size_of::<_zend_signal_queue_t>(),
32usize,
concat!("Size of: ", stringify!(_zend_signal_queue_t))
);
assert_eq!(
::std::mem::align_of::<_zend_signal_queue_t>(),
8usize,
concat!("Alignment of ", stringify!(_zend_signal_queue_t))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_signal_queue_t>())).zend_signal as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_signal_queue_t),
"::",
stringify!(zend_signal)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_signal_queue_t>())).next as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_signal_queue_t),
"::",
stringify!(next)
)
);
}
pub type zend_signal_queue_t = _zend_signal_queue_t;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_signal_globals_t {
pub depth: ::std::os::raw::c_int,
pub blocked: ::std::os::raw::c_int,
pub running: ::std::os::raw::c_int,
pub active: ::std::os::raw::c_int,
pub check: zend_bool,
pub reset: zend_bool,
pub handlers: [zend_signal_entry_t; 65usize],
pub pstorage: [zend_signal_queue_t; 64usize],
pub phead: *mut zend_signal_queue_t,
pub ptail: *mut zend_signal_queue_t,
pub pavail: *mut zend_signal_queue_t,
}
#[test]
fn bindgen_test_layout__zend_signal_globals_t() {
assert_eq!(
::std::mem::size_of::<_zend_signal_globals_t>(),
3136usize,
concat!("Size of: ", stringify!(_zend_signal_globals_t))
);
assert_eq!(
::std::mem::align_of::<_zend_signal_globals_t>(),
8usize,
concat!("Alignment of ", stringify!(_zend_signal_globals_t))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_signal_globals_t>())).depth as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_signal_globals_t),
"::",
stringify!(depth)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_signal_globals_t>())).blocked as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(_zend_signal_globals_t),
"::",
stringify!(blocked)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_signal_globals_t>())).running as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_signal_globals_t),
"::",
stringify!(running)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_signal_globals_t>())).active as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(_zend_signal_globals_t),
"::",
stringify!(active)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_signal_globals_t>())).check as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_signal_globals_t),
"::",
stringify!(check)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_signal_globals_t>())).reset as *const _ as usize },
17usize,
concat!(
"Offset of field: ",
stringify!(_zend_signal_globals_t),
"::",
stringify!(reset)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_signal_globals_t>())).handlers as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_signal_globals_t),
"::",
stringify!(handlers)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_signal_globals_t>())).pstorage as *const _ as usize },
1064usize,
concat!(
"Offset of field: ",
stringify!(_zend_signal_globals_t),
"::",
stringify!(pstorage)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_signal_globals_t>())).phead as *const _ as usize },
3112usize,
concat!(
"Offset of field: ",
stringify!(_zend_signal_globals_t),
"::",
stringify!(phead)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_signal_globals_t>())).ptail as *const _ as usize },
3120usize,
concat!(
"Offset of field: ",
stringify!(_zend_signal_globals_t),
"::",
stringify!(ptail)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_signal_globals_t>())).pavail as *const _ as usize },
3128usize,
concat!(
"Offset of field: ",
stringify!(_zend_signal_globals_t),
"::",
stringify!(pavail)
)
);
}
pub type zend_signal_globals_t = _zend_signal_globals_t;
extern "C" {
pub static mut zend_signal_globals: zend_signal_globals_t;
}
extern "C" {
pub fn zend_signal_handler_unblock();
}
extern "C" {
pub fn zend_signal_activate();
}
extern "C" {
pub fn zend_signal_deactivate();
}
extern "C" {
pub fn zend_signal_startup();
}
extern "C" {
pub fn zend_signal_init();
}
extern "C" {
pub fn zend_signal(
signo: ::std::os::raw::c_int,
handler: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_sigaction(
signo: ::std::os::raw::c_int,
act: *const sigaction,
oldact: *mut sigaction,
) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_serialize_data {
_unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_unserialize_data {
_unused: [u8; 0],
}
pub type zend_serialize_data = _zend_serialize_data;
pub type zend_unserialize_data = _zend_unserialize_data;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_class_name {
pub name: *mut zend_string,
pub lc_name: *mut zend_string,
}
#[test]
fn bindgen_test_layout__zend_class_name() {
assert_eq!(
::std::mem::size_of::<_zend_class_name>(),
16usize,
concat!("Size of: ", stringify!(_zend_class_name))
);
assert_eq!(
::std::mem::align_of::<_zend_class_name>(),
8usize,
concat!("Alignment of ", stringify!(_zend_class_name))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_class_name>())).name as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_name),
"::",
stringify!(name)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_class_name>())).lc_name as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_name),
"::",
stringify!(lc_name)
)
);
}
pub type zend_class_name = _zend_class_name;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_trait_method_reference {
pub method_name: *mut zend_string,
pub class_name: *mut zend_string,
}
#[test]
fn bindgen_test_layout__zend_trait_method_reference() {
assert_eq!(
::std::mem::size_of::<_zend_trait_method_reference>(),
16usize,
concat!("Size of: ", stringify!(_zend_trait_method_reference))
);
assert_eq!(
::std::mem::align_of::<_zend_trait_method_reference>(),
8usize,
concat!("Alignment of ", stringify!(_zend_trait_method_reference))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_trait_method_reference>())).method_name as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_trait_method_reference),
"::",
stringify!(method_name)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_trait_method_reference>())).class_name as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_trait_method_reference),
"::",
stringify!(class_name)
)
);
}
pub type zend_trait_method_reference = _zend_trait_method_reference;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_trait_precedence {
pub trait_method: zend_trait_method_reference,
pub num_excludes: u32,
pub exclude_class_names: [*mut zend_string; 1usize],
}
#[test]
fn bindgen_test_layout__zend_trait_precedence() {
assert_eq!(
::std::mem::size_of::<_zend_trait_precedence>(),
32usize,
concat!("Size of: ", stringify!(_zend_trait_precedence))
);
assert_eq!(
::std::mem::align_of::<_zend_trait_precedence>(),
8usize,
concat!("Alignment of ", stringify!(_zend_trait_precedence))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_trait_precedence>())).trait_method as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_trait_precedence),
"::",
stringify!(trait_method)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_trait_precedence>())).num_excludes as *const _ as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_trait_precedence),
"::",
stringify!(num_excludes)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_trait_precedence>())).exclude_class_names as *const _
as usize
},
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_trait_precedence),
"::",
stringify!(exclude_class_names)
)
);
}
pub type zend_trait_precedence = _zend_trait_precedence;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_trait_alias {
pub trait_method: zend_trait_method_reference,
#[doc = " name for method to be added"]
pub alias: *mut zend_string,
#[doc = " modifiers to be set on trait method"]
pub modifiers: u32,
}
#[test]
fn bindgen_test_layout__zend_trait_alias() {
assert_eq!(
::std::mem::size_of::<_zend_trait_alias>(),
32usize,
concat!("Size of: ", stringify!(_zend_trait_alias))
);
assert_eq!(
::std::mem::align_of::<_zend_trait_alias>(),
8usize,
concat!("Alignment of ", stringify!(_zend_trait_alias))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_trait_alias>())).trait_method as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_trait_alias),
"::",
stringify!(trait_method)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_trait_alias>())).alias as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_trait_alias),
"::",
stringify!(alias)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_trait_alias>())).modifiers as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_trait_alias),
"::",
stringify!(modifiers)
)
);
}
pub type zend_trait_alias = _zend_trait_alias;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_class_entry {
pub type_: ::std::os::raw::c_char,
pub name: *mut zend_string,
pub __bindgen_anon_1: _zend_class_entry__bindgen_ty_1,
pub refcount: ::std::os::raw::c_int,
pub ce_flags: u32,
pub default_properties_count: ::std::os::raw::c_int,
pub default_static_members_count: ::std::os::raw::c_int,
pub default_properties_table: *mut zval,
pub default_static_members_table: *mut zval,
pub static_members_table__ptr: *mut *mut zval,
pub function_table: HashTable,
pub properties_info: HashTable,
pub constants_table: HashTable,
pub properties_info_table: *mut *mut _zend_property_info,
pub constructor: *mut zend_function,
pub destructor: *mut zend_function,
pub clone: *mut zend_function,
pub __get: *mut zend_function,
pub __set: *mut zend_function,
pub __unset: *mut zend_function,
pub __isset: *mut zend_function,
pub __call: *mut zend_function,
pub __callstatic: *mut zend_function,
pub __tostring: *mut zend_function,
pub __debugInfo: *mut zend_function,
pub serialize_func: *mut zend_function,
pub unserialize_func: *mut zend_function,
pub iterator_funcs_ptr: *mut zend_class_iterator_funcs,
pub __bindgen_anon_2: _zend_class_entry__bindgen_ty_2,
pub get_iterator: ::std::option::Option<
unsafe extern "C" fn(
ce: *mut zend_class_entry,
object: *mut zval,
by_ref: ::std::os::raw::c_int,
) -> *mut zend_object_iterator,
>,
pub get_static_method: ::std::option::Option<
unsafe extern "C" fn(
ce: *mut zend_class_entry,
method: *mut zend_string,
) -> *mut zend_function,
>,
pub serialize: ::std::option::Option<
unsafe extern "C" fn(
object: *mut zval,
buffer: *mut *mut ::std::os::raw::c_uchar,
buf_len: *mut usize,
data: *mut zend_serialize_data,
) -> ::std::os::raw::c_int,
>,
pub unserialize: ::std::option::Option<
unsafe extern "C" fn(
object: *mut zval,
ce: *mut zend_class_entry,
buf: *const ::std::os::raw::c_uchar,
buf_len: usize,
data: *mut zend_unserialize_data,
) -> ::std::os::raw::c_int,
>,
pub num_interfaces: u32,
pub num_traits: u32,
pub __bindgen_anon_3: _zend_class_entry__bindgen_ty_3,
pub trait_names: *mut zend_class_name,
pub trait_aliases: *mut *mut zend_trait_alias,
pub trait_precedences: *mut *mut zend_trait_precedence,
pub info: _zend_class_entry__bindgen_ty_4,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_class_entry__bindgen_ty_1 {
pub parent: *mut zend_class_entry,
pub parent_name: *mut zend_string,
_bindgen_union_align: u64,
}
#[test]
fn bindgen_test_layout__zend_class_entry__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<_zend_class_entry__bindgen_ty_1>(),
8usize,
concat!("Size of: ", stringify!(_zend_class_entry__bindgen_ty_1))
);
assert_eq!(
::std::mem::align_of::<_zend_class_entry__bindgen_ty_1>(),
8usize,
concat!("Alignment of ", stringify!(_zend_class_entry__bindgen_ty_1))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_1>())).parent as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry__bindgen_ty_1),
"::",
stringify!(parent)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_1>())).parent_name as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry__bindgen_ty_1),
"::",
stringify!(parent_name)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_class_entry__bindgen_ty_2 {
pub create_object: ::std::option::Option<
unsafe extern "C" fn(class_type: *mut zend_class_entry) -> *mut zend_object,
>,
pub interface_gets_implemented: ::std::option::Option<
unsafe extern "C" fn(
iface: *mut zend_class_entry,
class_type: *mut zend_class_entry,
) -> ::std::os::raw::c_int,
>,
_bindgen_union_align: u64,
}
#[test]
fn bindgen_test_layout__zend_class_entry__bindgen_ty_2() {
assert_eq!(
::std::mem::size_of::<_zend_class_entry__bindgen_ty_2>(),
8usize,
concat!("Size of: ", stringify!(_zend_class_entry__bindgen_ty_2))
);
assert_eq!(
::std::mem::align_of::<_zend_class_entry__bindgen_ty_2>(),
8usize,
concat!("Alignment of ", stringify!(_zend_class_entry__bindgen_ty_2))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_2>())).create_object as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry__bindgen_ty_2),
"::",
stringify!(create_object)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_2>())).interface_gets_implemented
as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry__bindgen_ty_2),
"::",
stringify!(interface_gets_implemented)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_class_entry__bindgen_ty_3 {
pub interfaces: *mut *mut zend_class_entry,
pub interface_names: *mut zend_class_name,
_bindgen_union_align: u64,
}
#[test]
fn bindgen_test_layout__zend_class_entry__bindgen_ty_3() {
assert_eq!(
::std::mem::size_of::<_zend_class_entry__bindgen_ty_3>(),
8usize,
concat!("Size of: ", stringify!(_zend_class_entry__bindgen_ty_3))
);
assert_eq!(
::std::mem::align_of::<_zend_class_entry__bindgen_ty_3>(),
8usize,
concat!("Alignment of ", stringify!(_zend_class_entry__bindgen_ty_3))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_3>())).interfaces as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry__bindgen_ty_3),
"::",
stringify!(interfaces)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_3>())).interface_names as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry__bindgen_ty_3),
"::",
stringify!(interface_names)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_class_entry__bindgen_ty_4 {
pub user: _zend_class_entry__bindgen_ty_4__bindgen_ty_1,
pub internal: _zend_class_entry__bindgen_ty_4__bindgen_ty_2,
_bindgen_union_align: [u64; 3usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_class_entry__bindgen_ty_4__bindgen_ty_1 {
pub filename: *mut zend_string,
pub line_start: u32,
pub line_end: u32,
pub doc_comment: *mut zend_string,
}
#[test]
fn bindgen_test_layout__zend_class_entry__bindgen_ty_4__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<_zend_class_entry__bindgen_ty_4__bindgen_ty_1>(),
24usize,
concat!(
"Size of: ",
stringify!(_zend_class_entry__bindgen_ty_4__bindgen_ty_1)
)
);
assert_eq!(
::std::mem::align_of::<_zend_class_entry__bindgen_ty_4__bindgen_ty_1>(),
8usize,
concat!(
"Alignment of ",
stringify!(_zend_class_entry__bindgen_ty_4__bindgen_ty_1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_4__bindgen_ty_1>())).filename
as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry__bindgen_ty_4__bindgen_ty_1),
"::",
stringify!(filename)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_4__bindgen_ty_1>())).line_start
as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry__bindgen_ty_4__bindgen_ty_1),
"::",
stringify!(line_start)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_4__bindgen_ty_1>())).line_end
as *const _ as usize
},
12usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry__bindgen_ty_4__bindgen_ty_1),
"::",
stringify!(line_end)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_4__bindgen_ty_1>())).doc_comment
as *const _ as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry__bindgen_ty_4__bindgen_ty_1),
"::",
stringify!(doc_comment)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_class_entry__bindgen_ty_4__bindgen_ty_2 {
pub builtin_functions: *const _zend_function_entry,
pub module: *mut _zend_module_entry,
}
#[test]
fn bindgen_test_layout__zend_class_entry__bindgen_ty_4__bindgen_ty_2() {
assert_eq!(
::std::mem::size_of::<_zend_class_entry__bindgen_ty_4__bindgen_ty_2>(),
16usize,
concat!(
"Size of: ",
stringify!(_zend_class_entry__bindgen_ty_4__bindgen_ty_2)
)
);
assert_eq!(
::std::mem::align_of::<_zend_class_entry__bindgen_ty_4__bindgen_ty_2>(),
8usize,
concat!(
"Alignment of ",
stringify!(_zend_class_entry__bindgen_ty_4__bindgen_ty_2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_4__bindgen_ty_2>()))
.builtin_functions as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry__bindgen_ty_4__bindgen_ty_2),
"::",
stringify!(builtin_functions)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_4__bindgen_ty_2>())).module
as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry__bindgen_ty_4__bindgen_ty_2),
"::",
stringify!(module)
)
);
}
#[test]
fn bindgen_test_layout__zend_class_entry__bindgen_ty_4() {
assert_eq!(
::std::mem::size_of::<_zend_class_entry__bindgen_ty_4>(),
24usize,
concat!("Size of: ", stringify!(_zend_class_entry__bindgen_ty_4))
);
assert_eq!(
::std::mem::align_of::<_zend_class_entry__bindgen_ty_4>(),
8usize,
concat!("Alignment of ", stringify!(_zend_class_entry__bindgen_ty_4))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_4>())).user as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry__bindgen_ty_4),
"::",
stringify!(user)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry__bindgen_ty_4>())).internal as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry__bindgen_ty_4),
"::",
stringify!(internal)
)
);
}
#[test]
fn bindgen_test_layout__zend_class_entry() {
assert_eq!(
::std::mem::size_of::<_zend_class_entry>(),
456usize,
concat!("Size of: ", stringify!(_zend_class_entry))
);
assert_eq!(
::std::mem::align_of::<_zend_class_entry>(),
8usize,
concat!("Alignment of ", stringify!(_zend_class_entry))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).type_ as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(type_)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).name as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(name)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).refcount as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(refcount)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).ce_flags as *const _ as usize },
28usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(ce_flags)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry>())).default_properties_count as *const _
as usize
},
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(default_properties_count)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry>())).default_static_members_count as *const _
as usize
},
36usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(default_static_members_count)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry>())).default_properties_table as *const _
as usize
},
40usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(default_properties_table)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry>())).default_static_members_table as *const _
as usize
},
48usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(default_static_members_table)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry>())).static_members_table__ptr as *const _
as usize
},
56usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(static_members_table__ptr)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry>())).function_table as *const _ as usize
},
64usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(function_table)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry>())).properties_info as *const _ as usize
},
120usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(properties_info)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry>())).constants_table as *const _ as usize
},
176usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(constants_table)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry>())).properties_info_table as *const _ as usize
},
232usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(properties_info_table)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).constructor as *const _ as usize },
240usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(constructor)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).destructor as *const _ as usize },
248usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(destructor)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).clone as *const _ as usize },
256usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(clone)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__get as *const _ as usize },
264usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(__get)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__set as *const _ as usize },
272usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(__set)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__unset as *const _ as usize },
280usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(__unset)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__isset as *const _ as usize },
288usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(__isset)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__call as *const _ as usize },
296usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(__call)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__callstatic as *const _ as usize },
304usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(__callstatic)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__tostring as *const _ as usize },
312usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(__tostring)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).__debugInfo as *const _ as usize },
320usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(__debugInfo)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry>())).serialize_func as *const _ as usize
},
328usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(serialize_func)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry>())).unserialize_func as *const _ as usize
},
336usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(unserialize_func)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry>())).iterator_funcs_ptr as *const _ as usize
},
344usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(iterator_funcs_ptr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).get_iterator as *const _ as usize },
360usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(get_iterator)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry>())).get_static_method as *const _ as usize
},
368usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(get_static_method)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).serialize as *const _ as usize },
376usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(serialize)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).unserialize as *const _ as usize },
384usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(unserialize)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry>())).num_interfaces as *const _ as usize
},
392usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(num_interfaces)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).num_traits as *const _ as usize },
396usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(num_traits)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).trait_names as *const _ as usize },
408usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(trait_names)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).trait_aliases as *const _ as usize },
416usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(trait_aliases)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_entry>())).trait_precedences as *const _ as usize
},
424usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(trait_precedences)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_class_entry>())).info as *const _ as usize },
432usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_entry),
"::",
stringify!(info)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_utility_functions {
pub error_function: ::std::option::Option<
unsafe extern "C" fn(
type_: ::std::os::raw::c_int,
error_filename: *const ::std::os::raw::c_char,
error_lineno: u32,
format: *const ::std::os::raw::c_char,
args: *mut __va_list_tag,
),
>,
pub printf_function: ::std::option::Option<
unsafe extern "C" fn(format: *const ::std::os::raw::c_char, ...) -> usize,
>,
pub write_function: ::std::option::Option<
unsafe extern "C" fn(str: *const ::std::os::raw::c_char, str_length: usize) -> usize,
>,
pub fopen_function: ::std::option::Option<
unsafe extern "C" fn(
filename: *const ::std::os::raw::c_char,
opened_path: *mut *mut zend_string,
) -> *mut FILE,
>,
pub message_handler: ::std::option::Option<
unsafe extern "C" fn(message: zend_long, data: *const ::std::os::raw::c_void),
>,
pub get_configuration_directive:
::std::option::Option<unsafe extern "C" fn(name: *mut zend_string) -> *mut zval>,
pub ticks_function: ::std::option::Option<unsafe extern "C" fn(ticks: ::std::os::raw::c_int)>,
pub on_timeout: ::std::option::Option<unsafe extern "C" fn(seconds: ::std::os::raw::c_int)>,
pub stream_open_function: ::std::option::Option<
unsafe extern "C" fn(
filename: *const ::std::os::raw::c_char,
handle: *mut zend_file_handle,
) -> ::std::os::raw::c_int,
>,
pub printf_to_smart_string_function: ::std::option::Option<
unsafe extern "C" fn(
buf: *mut smart_string,
format: *const ::std::os::raw::c_char,
ap: *mut __va_list_tag,
),
>,
pub printf_to_smart_str_function: ::std::option::Option<
unsafe extern "C" fn(
buf: *mut smart_str,
format: *const ::std::os::raw::c_char,
ap: *mut __va_list_tag,
),
>,
pub getenv_function: ::std::option::Option<
unsafe extern "C" fn(
name: *mut ::std::os::raw::c_char,
name_len: usize,
) -> *mut ::std::os::raw::c_char,
>,
pub resolve_path_function: ::std::option::Option<
unsafe extern "C" fn(
filename: *const ::std::os::raw::c_char,
filename_len: usize,
) -> *mut zend_string,
>,
}
#[test]
fn bindgen_test_layout__zend_utility_functions() {
assert_eq!(
::std::mem::size_of::<_zend_utility_functions>(),
104usize,
concat!("Size of: ", stringify!(_zend_utility_functions))
);
assert_eq!(
::std::mem::align_of::<_zend_utility_functions>(),
8usize,
concat!("Alignment of ", stringify!(_zend_utility_functions))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_utility_functions>())).error_function as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_utility_functions),
"::",
stringify!(error_function)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_utility_functions>())).printf_function as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_utility_functions),
"::",
stringify!(printf_function)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_utility_functions>())).write_function as *const _ as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_utility_functions),
"::",
stringify!(write_function)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_utility_functions>())).fopen_function as *const _ as usize
},
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_utility_functions),
"::",
stringify!(fopen_function)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_utility_functions>())).message_handler as *const _ as usize
},
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_utility_functions),
"::",
stringify!(message_handler)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_utility_functions>())).get_configuration_directive
as *const _ as usize
},
40usize,
concat!(
"Offset of field: ",
stringify!(_zend_utility_functions),
"::",
stringify!(get_configuration_directive)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_utility_functions>())).ticks_function as *const _ as usize
},
48usize,
concat!(
"Offset of field: ",
stringify!(_zend_utility_functions),
"::",
stringify!(ticks_function)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_utility_functions>())).on_timeout as *const _ as usize
},
56usize,
concat!(
"Offset of field: ",
stringify!(_zend_utility_functions),
"::",
stringify!(on_timeout)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_utility_functions>())).stream_open_function as *const _
as usize
},
64usize,
concat!(
"Offset of field: ",
stringify!(_zend_utility_functions),
"::",
stringify!(stream_open_function)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_utility_functions>())).printf_to_smart_string_function
as *const _ as usize
},
72usize,
concat!(
"Offset of field: ",
stringify!(_zend_utility_functions),
"::",
stringify!(printf_to_smart_string_function)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_utility_functions>())).printf_to_smart_str_function
as *const _ as usize
},
80usize,
concat!(
"Offset of field: ",
stringify!(_zend_utility_functions),
"::",
stringify!(printf_to_smart_str_function)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_utility_functions>())).getenv_function as *const _ as usize
},
88usize,
concat!(
"Offset of field: ",
stringify!(_zend_utility_functions),
"::",
stringify!(getenv_function)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_utility_functions>())).resolve_path_function as *const _
as usize
},
96usize,
concat!(
"Offset of field: ",
stringify!(_zend_utility_functions),
"::",
stringify!(resolve_path_function)
)
);
}
pub type zend_utility_functions = _zend_utility_functions;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_utility_values {
pub html_errors: zend_bool,
}
#[test]
fn bindgen_test_layout__zend_utility_values() {
assert_eq!(
::std::mem::size_of::<_zend_utility_values>(),
1usize,
concat!("Size of: ", stringify!(_zend_utility_values))
);
assert_eq!(
::std::mem::align_of::<_zend_utility_values>(),
1usize,
concat!("Alignment of ", stringify!(_zend_utility_values))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_utility_values>())).html_errors as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_utility_values),
"::",
stringify!(html_errors)
)
);
}
pub type zend_utility_values = _zend_utility_values;
pub type zend_write_func_t = ::std::option::Option<
unsafe extern "C" fn(
str: *const ::std::os::raw::c_char,
str_length: usize,
) -> ::std::os::raw::c_int,
>;
extern "C" {
pub fn zend_startup(utility_functions: *mut zend_utility_functions) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_shutdown();
}
extern "C" {
pub fn zend_register_standard_ini_entries();
}
extern "C" {
pub fn zend_post_startup() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_set_utility_values(utility_values: *mut zend_utility_values);
}
extern "C" {
pub fn _zend_bailout(filename: *const ::std::os::raw::c_char, lineno: u32);
}
extern "C" {
pub fn zend_vspprintf(
pbuf: *mut *mut ::std::os::raw::c_char,
max_len: usize,
format: *const ::std::os::raw::c_char,
ap: *mut __va_list_tag,
) -> usize;
}
extern "C" {
pub fn zend_spprintf(
message: *mut *mut ::std::os::raw::c_char,
max_len: usize,
format: *const ::std::os::raw::c_char,
...
) -> usize;
}
extern "C" {
pub fn zend_vstrpprintf(
max_len: usize,
format: *const ::std::os::raw::c_char,
ap: *mut __va_list_tag,
) -> *mut zend_string;
}
extern "C" {
pub fn zend_strpprintf(
max_len: usize,
format: *const ::std::os::raw::c_char,
...
) -> *mut zend_string;
}
extern "C" {
pub fn zend_spprintf_unchecked(
message: *mut *mut ::std::os::raw::c_char,
max_len: usize,
format: *const ::std::os::raw::c_char,
...
) -> usize;
}
extern "C" {
pub fn zend_strpprintf_unchecked(
max_len: usize,
format: *const ::std::os::raw::c_char,
...
) -> *mut zend_string;
}
extern "C" {
pub fn get_zend_version() -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_make_printable_zval(expr: *mut zval, expr_copy: *mut zval)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_print_zval(expr: *mut zval, indent: ::std::os::raw::c_int) -> usize;
}
extern "C" {
pub fn zend_print_zval_r(expr: *mut zval, indent: ::std::os::raw::c_int);
}
extern "C" {
pub fn zend_print_zval_r_to_str(
expr: *mut zval,
indent: ::std::os::raw::c_int,
) -> *mut zend_string;
}
extern "C" {
pub fn zend_print_flat_zval_r(expr: *mut zval);
}
extern "C" {
pub fn zend_output_debug_string(
trigger_break: zend_bool,
format: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn zend_activate();
}
extern "C" {
pub fn zend_deactivate();
}
extern "C" {
pub fn zend_call_destructors();
}
extern "C" {
pub fn zend_activate_modules();
}
extern "C" {
pub fn zend_deactivate_modules();
}
extern "C" {
pub fn zend_post_deactivate_modules();
}
extern "C" {
pub fn free_estring(str_p: *mut *mut ::std::os::raw::c_char);
}
extern "C" {
pub static mut zend_printf: ::std::option::Option<
unsafe extern "C" fn(format: *const ::std::os::raw::c_char, ...) -> usize,
>;
}
extern "C" {
pub static mut zend_write: zend_write_func_t;
}
extern "C" {
pub static mut zend_fopen: ::std::option::Option<
unsafe extern "C" fn(
filename: *const ::std::os::raw::c_char,
opened_path: *mut *mut zend_string,
) -> *mut FILE,
>;
}
extern "C" {
pub static mut zend_ticks_function:
::std::option::Option<unsafe extern "C" fn(ticks: ::std::os::raw::c_int)>;
}
extern "C" {
pub static mut zend_interrupt_function:
::std::option::Option<unsafe extern "C" fn(execute_data: *mut zend_execute_data)>;
}
extern "C" {
pub static mut zend_error_cb: ::std::option::Option<
unsafe extern "C" fn(
type_: ::std::os::raw::c_int,
error_filename: *const ::std::os::raw::c_char,
error_lineno: u32,
format: *const ::std::os::raw::c_char,
args: *mut __va_list_tag,
),
>;
}
extern "C" {
pub static mut zend_on_timeout:
::std::option::Option<unsafe extern "C" fn(seconds: ::std::os::raw::c_int)>;
}
extern "C" {
pub static mut zend_stream_open_function: ::std::option::Option<
unsafe extern "C" fn(
filename: *const ::std::os::raw::c_char,
handle: *mut zend_file_handle,
) -> ::std::os::raw::c_int,
>;
}
extern "C" {
pub static mut zend_printf_to_smart_string: ::std::option::Option<
unsafe extern "C" fn(
buf: *mut smart_string,
format: *const ::std::os::raw::c_char,
ap: *mut __va_list_tag,
),
>;
}
extern "C" {
pub static mut zend_printf_to_smart_str: ::std::option::Option<
unsafe extern "C" fn(
buf: *mut smart_str,
format: *const ::std::os::raw::c_char,
ap: *mut __va_list_tag,
),
>;
}
extern "C" {
pub static mut zend_getenv: ::std::option::Option<
unsafe extern "C" fn(
name: *mut ::std::os::raw::c_char,
name_len: usize,
) -> *mut ::std::os::raw::c_char,
>;
}
extern "C" {
pub static mut zend_resolve_path: ::std::option::Option<
unsafe extern "C" fn(
filename: *const ::std::os::raw::c_char,
filename_len: usize,
) -> *mut zend_string,
>;
}
extern "C" {
pub static mut zend_post_startup_cb:
::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
}
extern "C" {
pub static mut zend_post_shutdown_cb: ::std::option::Option<unsafe extern "C" fn()>;
}
extern "C" {
pub fn zend_error(type_: ::std::os::raw::c_int, format: *const ::std::os::raw::c_char, ...);
}
extern "C" {
pub fn zend_error_noreturn(
type_: ::std::os::raw::c_int,
format: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn zend_error_at(
type_: ::std::os::raw::c_int,
filename: *const ::std::os::raw::c_char,
lineno: u32,
format: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn zend_error_at_noreturn(
type_: ::std::os::raw::c_int,
filename: *const ::std::os::raw::c_char,
lineno: u32,
format: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn zend_throw_error(
exception_ce: *mut zend_class_entry,
format: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn zend_type_error(format: *const ::std::os::raw::c_char, ...);
}
extern "C" {
pub fn zend_internal_type_error(
throw_exception: zend_bool,
format: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn zend_internal_argument_count_error(
throw_exception: zend_bool,
format: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn zenderror(error: *const ::std::os::raw::c_char);
}
extern "C" {
pub static mut zend_standard_class_def: *mut zend_class_entry;
}
extern "C" {
pub static mut zend_uv: zend_utility_values;
}
extern "C" {
pub static mut zend_dtrace_enabled: zend_bool;
}
extern "C" {
pub fn zend_message_dispatcher(message: zend_long, data: *const ::std::os::raw::c_void);
}
extern "C" {
pub fn zend_get_configuration_directive(name: *mut zend_string) -> *mut zval;
}
pub const zend_error_handling_t_EH_NORMAL: zend_error_handling_t = 0;
pub const zend_error_handling_t_EH_THROW: zend_error_handling_t = 1;
pub type zend_error_handling_t = u32;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct zend_error_handling {
pub handling: zend_error_handling_t,
pub exception: *mut zend_class_entry,
pub user_handler: zval,
}
#[test]
fn bindgen_test_layout_zend_error_handling() {
assert_eq!(
::std::mem::size_of::<zend_error_handling>(),
32usize,
concat!("Size of: ", stringify!(zend_error_handling))
);
assert_eq!(
::std::mem::align_of::<zend_error_handling>(),
8usize,
concat!("Alignment of ", stringify!(zend_error_handling))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<zend_error_handling>())).handling as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(zend_error_handling),
"::",
stringify!(handling)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<zend_error_handling>())).exception as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(zend_error_handling),
"::",
stringify!(exception)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<zend_error_handling>())).user_handler as *const _ as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(zend_error_handling),
"::",
stringify!(user_handler)
)
);
}
extern "C" {
pub fn zend_save_error_handling(current: *mut zend_error_handling);
}
extern "C" {
pub fn zend_replace_error_handling(
error_handling: zend_error_handling_t,
exception_class: *mut zend_class_entry,
current: *mut zend_error_handling,
);
}
extern "C" {
pub fn zend_restore_error_handling(saved: *mut zend_error_handling);
}
pub type zend_object_read_property_t = ::std::option::Option<
unsafe extern "C" fn(
object: *mut zval,
member: *mut zval,
type_: ::std::os::raw::c_int,
cache_slot: *mut *mut ::std::os::raw::c_void,
rv: *mut zval,
) -> *mut zval,
>;
pub type zend_object_read_dimension_t = ::std::option::Option<
unsafe extern "C" fn(
object: *mut zval,
offset: *mut zval,
type_: ::std::os::raw::c_int,
rv: *mut zval,
) -> *mut zval,
>;
pub type zend_object_write_property_t = ::std::option::Option<
unsafe extern "C" fn(
object: *mut zval,
member: *mut zval,
value: *mut zval,
cache_slot: *mut *mut ::std::os::raw::c_void,
) -> *mut zval,
>;
pub type zend_object_write_dimension_t = ::std::option::Option<
unsafe extern "C" fn(object: *mut zval, offset: *mut zval, value: *mut zval),
>;
pub type zend_object_get_property_ptr_ptr_t = ::std::option::Option<
unsafe extern "C" fn(
object: *mut zval,
member: *mut zval,
type_: ::std::os::raw::c_int,
cache_slot: *mut *mut ::std::os::raw::c_void,
) -> *mut zval,
>;
pub type zend_object_set_t =
::std::option::Option<unsafe extern "C" fn(object: *mut zval, value: *mut zval)>;
pub type zend_object_get_t =
::std::option::Option<unsafe extern "C" fn(object: *mut zval, rv: *mut zval) -> *mut zval>;
pub type zend_object_has_property_t = ::std::option::Option<
unsafe extern "C" fn(
object: *mut zval,
member: *mut zval,
has_set_exists: ::std::os::raw::c_int,
cache_slot: *mut *mut ::std::os::raw::c_void,
) -> ::std::os::raw::c_int,
>;
pub type zend_object_has_dimension_t = ::std::option::Option<
unsafe extern "C" fn(
object: *mut zval,
member: *mut zval,
check_empty: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int,
>;
pub type zend_object_unset_property_t = ::std::option::Option<
unsafe extern "C" fn(
object: *mut zval,
member: *mut zval,
cache_slot: *mut *mut ::std::os::raw::c_void,
),
>;
pub type zend_object_unset_dimension_t =
::std::option::Option<unsafe extern "C" fn(object: *mut zval, offset: *mut zval)>;
pub type zend_object_get_properties_t =
::std::option::Option<unsafe extern "C" fn(object: *mut zval) -> *mut HashTable>;
pub type zend_object_get_debug_info_t = ::std::option::Option<
unsafe extern "C" fn(object: *mut zval, is_temp: *mut ::std::os::raw::c_int) -> *mut HashTable,
>;
pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_DEBUG: _zend_prop_purpose = 0;
pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_ARRAY_CAST: _zend_prop_purpose = 1;
pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_SERIALIZE: _zend_prop_purpose = 2;
pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_VAR_EXPORT: _zend_prop_purpose = 3;
pub const _zend_prop_purpose_ZEND_PROP_PURPOSE_JSON: _zend_prop_purpose = 4;
pub const _zend_prop_purpose__ZEND_PROP_PURPOSE_ARRAY_KEY_EXISTS: _zend_prop_purpose = 5;
pub const _zend_prop_purpose__ZEND_PROP_PURPOSE_NON_EXHAUSTIVE_ENUM: _zend_prop_purpose = 6;
pub type _zend_prop_purpose = u32;
pub use self::_zend_prop_purpose as zend_prop_purpose;
pub type zend_object_get_properties_for_t = ::std::option::Option<
unsafe extern "C" fn(object: *mut zval, purpose: zend_prop_purpose) -> *mut zend_array,
>;
pub type zend_object_call_method_t = ::std::option::Option<
unsafe extern "C" fn(
method: *mut zend_string,
object: *mut zend_object,
execute_data: *mut zend_execute_data,
return_value: *mut zval,
) -> ::std::os::raw::c_int,
>;
pub type zend_object_get_method_t = ::std::option::Option<
unsafe extern "C" fn(
object: *mut *mut zend_object,
method: *mut zend_string,
key: *const zval,
) -> *mut zend_function,
>;
pub type zend_object_get_constructor_t =
::std::option::Option<unsafe extern "C" fn(object: *mut zend_object) -> *mut zend_function>;
pub type zend_object_dtor_obj_t =
::std::option::Option<unsafe extern "C" fn(object: *mut zend_object)>;
pub type zend_object_free_obj_t =
::std::option::Option<unsafe extern "C" fn(object: *mut zend_object)>;
pub type zend_object_clone_obj_t =
::std::option::Option<unsafe extern "C" fn(object: *mut zval) -> *mut zend_object>;
pub type zend_object_get_class_name_t =
::std::option::Option<unsafe extern "C" fn(object: *const zend_object) -> *mut zend_string>;
pub type zend_object_compare_t = ::std::option::Option<
unsafe extern "C" fn(object1: *mut zval, object2: *mut zval) -> ::std::os::raw::c_int,
>;
pub type zend_object_compare_zvals_t = ::std::option::Option<
unsafe extern "C" fn(
result: *mut zval,
op1: *mut zval,
op2: *mut zval,
) -> ::std::os::raw::c_int,
>;
pub type zend_object_cast_t = ::std::option::Option<
unsafe extern "C" fn(
readobj: *mut zval,
retval: *mut zval,
type_: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int,
>;
pub type zend_object_count_elements_t = ::std::option::Option<
unsafe extern "C" fn(object: *mut zval, count: *mut zend_long) -> ::std::os::raw::c_int,
>;
pub type zend_object_get_closure_t = ::std::option::Option<
unsafe extern "C" fn(
obj: *mut zval,
ce_ptr: *mut *mut zend_class_entry,
fptr_ptr: *mut *mut zend_function,
obj_ptr: *mut *mut zend_object,
) -> ::std::os::raw::c_int,
>;
pub type zend_object_get_gc_t = ::std::option::Option<
unsafe extern "C" fn(
object: *mut zval,
table: *mut *mut zval,
n: *mut ::std::os::raw::c_int,
) -> *mut HashTable,
>;
pub type zend_object_do_operation_t = ::std::option::Option<
unsafe extern "C" fn(
opcode: zend_uchar,
result: *mut zval,
op1: *mut zval,
op2: *mut zval,
) -> ::std::os::raw::c_int,
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_object_handlers {
pub offset: ::std::os::raw::c_int,
pub free_obj: zend_object_free_obj_t,
pub dtor_obj: zend_object_dtor_obj_t,
pub clone_obj: zend_object_clone_obj_t,
pub read_property: zend_object_read_property_t,
pub write_property: zend_object_write_property_t,
pub read_dimension: zend_object_read_dimension_t,
pub write_dimension: zend_object_write_dimension_t,
pub get_property_ptr_ptr: zend_object_get_property_ptr_ptr_t,
pub get: zend_object_get_t,
pub set: zend_object_set_t,
pub has_property: zend_object_has_property_t,
pub unset_property: zend_object_unset_property_t,
pub has_dimension: zend_object_has_dimension_t,
pub unset_dimension: zend_object_unset_dimension_t,
pub get_properties: zend_object_get_properties_t,
pub get_method: zend_object_get_method_t,
pub call_method: zend_object_call_method_t,
pub get_constructor: zend_object_get_constructor_t,
pub get_class_name: zend_object_get_class_name_t,
pub compare_objects: zend_object_compare_t,
pub cast_object: zend_object_cast_t,
pub count_elements: zend_object_count_elements_t,
pub get_debug_info: zend_object_get_debug_info_t,
pub get_closure: zend_object_get_closure_t,
pub get_gc: zend_object_get_gc_t,
pub do_operation: zend_object_do_operation_t,
pub compare: zend_object_compare_zvals_t,
pub get_properties_for: zend_object_get_properties_for_t,
}
#[test]
fn bindgen_test_layout__zend_object_handlers() {
assert_eq!(
::std::mem::size_of::<_zend_object_handlers>(),
232usize,
concat!("Size of: ", stringify!(_zend_object_handlers))
);
assert_eq!(
::std::mem::align_of::<_zend_object_handlers>(),
8usize,
concat!("Alignment of ", stringify!(_zend_object_handlers))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).offset as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(offset)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).free_obj as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(free_obj)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).dtor_obj as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(dtor_obj)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).clone_obj as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(clone_obj)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_handlers>())).read_property as *const _ as usize
},
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(read_property)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_handlers>())).write_property as *const _ as usize
},
40usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(write_property)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_handlers>())).read_dimension as *const _ as usize
},
48usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(read_dimension)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_handlers>())).write_dimension as *const _ as usize
},
56usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(write_dimension)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_handlers>())).get_property_ptr_ptr as *const _
as usize
},
64usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(get_property_ptr_ptr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).get as *const _ as usize },
72usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(get)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).set as *const _ as usize },
80usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(set)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_handlers>())).has_property as *const _ as usize
},
88usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(has_property)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_handlers>())).unset_property as *const _ as usize
},
96usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(unset_property)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_handlers>())).has_dimension as *const _ as usize
},
104usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(has_dimension)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_handlers>())).unset_dimension as *const _ as usize
},
112usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(unset_dimension)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_handlers>())).get_properties as *const _ as usize
},
120usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(get_properties)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_handlers>())).get_method as *const _ as usize
},
128usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(get_method)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_handlers>())).call_method as *const _ as usize
},
136usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(call_method)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_handlers>())).get_constructor as *const _ as usize
},
144usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(get_constructor)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_handlers>())).get_class_name as *const _ as usize
},
152usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(get_class_name)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_handlers>())).compare_objects as *const _ as usize
},
160usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(compare_objects)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_handlers>())).cast_object as *const _ as usize
},
168usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(cast_object)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_handlers>())).count_elements as *const _ as usize
},
176usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(count_elements)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_handlers>())).get_debug_info as *const _ as usize
},
184usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(get_debug_info)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_handlers>())).get_closure as *const _ as usize
},
192usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(get_closure)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).get_gc as *const _ as usize },
200usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(get_gc)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_handlers>())).do_operation as *const _ as usize
},
208usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(do_operation)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_object_handlers>())).compare as *const _ as usize },
216usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(compare)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_object_handlers>())).get_properties_for as *const _
as usize
},
224usize,
concat!(
"Offset of field: ",
stringify!(_zend_object_handlers),
"::",
stringify!(get_properties_for)
)
);
}
extern "C" {
pub static std_object_handlers: zend_object_handlers;
}
extern "C" {
pub fn zend_class_init_statics(ce: *mut zend_class_entry);
}
extern "C" {
pub fn zend_std_get_static_method(
ce: *mut zend_class_entry,
function_name_strval: *mut zend_string,
key: *const zval,
) -> *mut zend_function;
}
extern "C" {
pub fn zend_std_get_static_property_with_info(
ce: *mut zend_class_entry,
property_name: *mut zend_string,
type_: ::std::os::raw::c_int,
prop_info: *mut *mut _zend_property_info,
) -> *mut zval;
}
extern "C" {
pub fn zend_std_get_static_property(
ce: *mut zend_class_entry,
property_name: *mut zend_string,
type_: ::std::os::raw::c_int,
) -> *mut zval;
}
extern "C" {
pub fn zend_std_unset_static_property(
ce: *mut zend_class_entry,
property_name: *mut zend_string,
) -> zend_bool;
}
extern "C" {
pub fn zend_std_get_constructor(object: *mut zend_object) -> *mut zend_function;
}
extern "C" {
pub fn zend_get_property_info(
ce: *mut zend_class_entry,
member: *mut zend_string,
silent: ::std::os::raw::c_int,
) -> *mut _zend_property_info;
}
extern "C" {
pub fn zend_std_get_properties(object: *mut zval) -> *mut HashTable;
}
extern "C" {
pub fn zend_std_get_gc(
object: *mut zval,
table: *mut *mut zval,
n: *mut ::std::os::raw::c_int,
) -> *mut HashTable;
}
extern "C" {
pub fn zend_std_get_debug_info(
object: *mut zval,
is_temp: *mut ::std::os::raw::c_int,
) -> *mut HashTable;
}
extern "C" {
pub fn zend_std_cast_object_tostring(
readobj: *mut zval,
writeobj: *mut zval,
type_: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_std_get_property_ptr_ptr(
object: *mut zval,
member: *mut zval,
type_: ::std::os::raw::c_int,
cache_slot: *mut *mut ::std::os::raw::c_void,
) -> *mut zval;
}
extern "C" {
pub fn zend_std_read_property(
object: *mut zval,
member: *mut zval,
type_: ::std::os::raw::c_int,
cache_slot: *mut *mut ::std::os::raw::c_void,
rv: *mut zval,
) -> *mut zval;
}
extern "C" {
pub fn zend_std_write_property(
object: *mut zval,
member: *mut zval,
value: *mut zval,
cache_slot: *mut *mut ::std::os::raw::c_void,
) -> *mut zval;
}
extern "C" {
pub fn zend_std_has_property(
object: *mut zval,
member: *mut zval,
has_set_exists: ::std::os::raw::c_int,
cache_slot: *mut *mut ::std::os::raw::c_void,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_std_unset_property(
object: *mut zval,
member: *mut zval,
cache_slot: *mut *mut ::std::os::raw::c_void,
);
}
extern "C" {
pub fn zend_std_read_dimension(
object: *mut zval,
offset: *mut zval,
type_: ::std::os::raw::c_int,
rv: *mut zval,
) -> *mut zval;
}
extern "C" {
pub fn zend_std_write_dimension(object: *mut zval, offset: *mut zval, value: *mut zval);
}
extern "C" {
pub fn zend_std_has_dimension(
object: *mut zval,
offset: *mut zval,
check_empty: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_std_unset_dimension(object: *mut zval, offset: *mut zval);
}
extern "C" {
pub fn zend_std_get_method(
obj_ptr: *mut *mut zend_object,
method_name: *mut zend_string,
key: *const zval,
) -> *mut zend_function;
}
extern "C" {
pub fn zend_std_get_class_name(zobj: *const zend_object) -> *mut zend_string;
}
extern "C" {
pub fn zend_std_compare_objects(o1: *mut zval, o2: *mut zval) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_std_get_closure(
obj: *mut zval,
ce_ptr: *mut *mut zend_class_entry,
fptr_ptr: *mut *mut zend_function,
obj_ptr: *mut *mut zend_object,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn rebuild_object_properties(zobj: *mut zend_object);
}
extern "C" {
pub fn zend_check_protected(
ce: *mut zend_class_entry,
scope: *mut zend_class_entry,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_check_property_access(
zobj: *mut zend_object,
prop_info_name: *mut zend_string,
is_dynamic: zend_bool,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_get_call_trampoline_func(
ce: *mut zend_class_entry,
method_name: *mut zend_string,
is_static: ::std::os::raw::c_int,
) -> *mut zend_function;
}
extern "C" {
pub fn zend_get_property_guard(zobj: *mut zend_object, member: *mut zend_string) -> *mut u32;
}
extern "C" {
pub fn zend_std_get_properties_for(
obj: *mut zval,
purpose: zend_prop_purpose,
) -> *mut HashTable;
}
extern "C" {
pub fn zend_get_properties_for(obj: *mut zval, purpose: zend_prop_purpose) -> *mut HashTable;
}
extern "C" {
pub fn __errno_location() -> *mut ::std::os::raw::c_int;
}
extern "C" {
pub static mut program_invocation_name: *mut ::std::os::raw::c_char;
}
extern "C" {
pub static mut program_invocation_short_name: *mut ::std::os::raw::c_char;
}
pub type error_t = ::std::os::raw::c_int;
extern "C" {
pub fn zend_freedtoa(s: *mut ::std::os::raw::c_char);
}
extern "C" {
pub fn zend_dtoa(
_d: f64,
mode: ::std::os::raw::c_int,
ndigits: ::std::os::raw::c_int,
decpt: *mut ::std::os::raw::c_int,
sign: *mut ::std::os::raw::c_int,
rve: *mut *mut ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_strtod(
s00: *const ::std::os::raw::c_char,
se: *mut *const ::std::os::raw::c_char,
) -> f64;
}
extern "C" {
pub fn zend_hex_strtod(
str: *const ::std::os::raw::c_char,
endptr: *mut *const ::std::os::raw::c_char,
) -> f64;
}
extern "C" {
pub fn zend_oct_strtod(
str: *const ::std::os::raw::c_char,
endptr: *mut *const ::std::os::raw::c_char,
) -> f64;
}
extern "C" {
pub fn zend_bin_strtod(
str: *const ::std::os::raw::c_char,
endptr: *mut *const ::std::os::raw::c_char,
) -> f64;
}
extern "C" {
pub fn zend_startup_strtod() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_shutdown_strtod() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_function(result: *mut zval, op1: *mut zval, op2: *mut zval)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn sub_function(result: *mut zval, op1: *mut zval, op2: *mut zval)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn mul_function(result: *mut zval, op1: *mut zval, op2: *mut zval)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn pow_function(result: *mut zval, op1: *mut zval, op2: *mut zval)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn div_function(result: *mut zval, op1: *mut zval, op2: *mut zval)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn mod_function(result: *mut zval, op1: *mut zval, op2: *mut zval)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn boolean_xor_function(
result: *mut zval,
op1: *mut zval,
op2: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn boolean_not_function(result: *mut zval, op1: *mut zval) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn bitwise_not_function(result: *mut zval, op1: *mut zval) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn bitwise_or_function(
result: *mut zval,
op1: *mut zval,
op2: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn bitwise_and_function(
result: *mut zval,
op1: *mut zval,
op2: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn bitwise_xor_function(
result: *mut zval,
op1: *mut zval,
op2: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn shift_left_function(
result: *mut zval,
op1: *mut zval,
op2: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn shift_right_function(
result: *mut zval,
op1: *mut zval,
op2: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn concat_function(
result: *mut zval,
op1: *mut zval,
op2: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_is_identical(op1: *mut zval, op2: *mut zval) -> zend_bool;
}
extern "C" {
pub fn is_equal_function(
result: *mut zval,
op1: *mut zval,
op2: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn is_identical_function(
result: *mut zval,
op1: *mut zval,
op2: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn is_not_identical_function(
result: *mut zval,
op1: *mut zval,
op2: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn is_not_equal_function(
result: *mut zval,
op1: *mut zval,
op2: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn is_smaller_function(
result: *mut zval,
op1: *mut zval,
op2: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn is_smaller_or_equal_function(
result: *mut zval,
op1: *mut zval,
op2: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn instanceof_function_ex(
instance_ce: *const zend_class_entry,
ce: *const zend_class_entry,
is_interface: zend_bool,
) -> zend_bool;
}
extern "C" {
pub fn instanceof_function(
instance_ce: *const zend_class_entry,
ce: *const zend_class_entry,
) -> zend_bool;
}
extern "C" {
#[doc = " Checks whether the string \"str\" with length \"length\" is numeric. The value"]
#[doc = " of allow_errors determines whether it's required to be entirely numeric, or"]
#[doc = " just its prefix. Leading whitespace is allowed."]
#[doc = ""]
#[doc = " The function returns 0 if the string did not contain a valid number; IS_LONG"]
#[doc = " if it contained a number that fits within the range of a long; or IS_DOUBLE"]
#[doc = " if the number was out of long range or contained a decimal point/exponent."]
#[doc = " The number's value is returned into the respective pointer, *lval or *dval,"]
#[doc = " if that pointer is not NULL."]
#[doc = ""]
#[doc = " This variant also gives information if a string that represents an integer"]
#[doc = " could not be represented as such due to overflow. It writes 1 to oflow_info"]
#[doc = " if the integer is larger than ZEND_LONG_MAX and -1 if it's smaller than ZEND_LONG_MIN."]
pub fn _is_numeric_string_ex(
str: *const ::std::os::raw::c_char,
length: usize,
lval: *mut zend_long,
dval: *mut f64,
allow_errors: ::std::os::raw::c_int,
oflow_info: *mut ::std::os::raw::c_int,
) -> zend_uchar;
}
extern "C" {
pub fn zend_memnstr_ex(
haystack: *const ::std::os::raw::c_char,
needle: *const ::std::os::raw::c_char,
needle_len: usize,
end: *const ::std::os::raw::c_char,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_memnrstr_ex(
haystack: *const ::std::os::raw::c_char,
needle: *const ::std::os::raw::c_char,
needle_len: usize,
end: *const ::std::os::raw::c_char,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_dval_to_lval_slow(d: f64) -> zend_long;
}
extern "C" {
pub fn is_numeric_str_function(
str: *const zend_string,
lval: *mut zend_long,
dval: *mut f64,
) -> zend_uchar;
}
extern "C" {
pub fn increment_function(op1: *mut zval) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn decrement_function(op2: *mut zval) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn convert_scalar_to_number(op: *mut zval);
}
extern "C" {
pub fn _convert_to_cstring(op: *mut zval);
}
extern "C" {
pub fn _convert_to_string(op: *mut zval);
}
extern "C" {
pub fn convert_to_long(op: *mut zval);
}
extern "C" {
pub fn convert_to_double(op: *mut zval);
}
extern "C" {
pub fn convert_to_long_base(op: *mut zval, base: ::std::os::raw::c_int);
}
extern "C" {
pub fn convert_to_null(op: *mut zval);
}
extern "C" {
pub fn convert_to_boolean(op: *mut zval);
}
extern "C" {
pub fn convert_to_array(op: *mut zval);
}
extern "C" {
pub fn convert_to_object(op: *mut zval);
}
extern "C" {
pub fn multi_convert_to_long_ex(argc: ::std::os::raw::c_int, ...);
}
extern "C" {
pub fn multi_convert_to_double_ex(argc: ::std::os::raw::c_int, ...);
}
extern "C" {
pub fn multi_convert_to_string_ex(argc: ::std::os::raw::c_int, ...);
}
extern "C" {
pub fn zval_get_long_func(op: *mut zval) -> zend_long;
}
extern "C" {
pub fn zval_get_double_func(op: *mut zval) -> f64;
}
extern "C" {
pub fn zval_get_string_func(op: *mut zval) -> *mut zend_string;
}
extern "C" {
pub fn zval_try_get_string_func(op: *mut zval) -> *mut zend_string;
}
extern "C" {
pub fn _try_convert_to_string(op: *mut zval) -> zend_bool;
}
extern "C" {
pub fn zend_is_true(op: *mut zval) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_object_is_true(op: *mut zval) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn compare_function(
result: *mut zval,
op1: *mut zval,
op2: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn numeric_compare_function(op1: *mut zval, op2: *mut zval) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn string_compare_function_ex(
op1: *mut zval,
op2: *mut zval,
case_insensitive: zend_bool,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn string_compare_function(op1: *mut zval, op2: *mut zval) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn string_case_compare_function(op1: *mut zval, op2: *mut zval) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn string_locale_compare_function(op1: *mut zval, op2: *mut zval) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_str_tolower(str: *mut ::std::os::raw::c_char, length: usize);
}
extern "C" {
pub fn zend_str_tolower_copy(
dest: *mut ::std::os::raw::c_char,
source: *const ::std::os::raw::c_char,
length: usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_str_tolower_dup(
source: *const ::std::os::raw::c_char,
length: usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_str_tolower_dup_ex(
source: *const ::std::os::raw::c_char,
length: usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_string_tolower_ex(
str: *mut zend_string,
persistent: ::std::os::raw::c_int,
) -> *mut zend_string;
}
extern "C" {
pub fn zend_binary_zval_strcmp(s1: *mut zval, s2: *mut zval) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_binary_zval_strncmp(
s1: *mut zval,
s2: *mut zval,
s3: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_binary_zval_strcasecmp(s1: *mut zval, s2: *mut zval) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_binary_zval_strncasecmp(
s1: *mut zval,
s2: *mut zval,
s3: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_binary_strcmp(
s1: *const ::std::os::raw::c_char,
len1: usize,
s2: *const ::std::os::raw::c_char,
len2: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_binary_strncmp(
s1: *const ::std::os::raw::c_char,
len1: usize,
s2: *const ::std::os::raw::c_char,
len2: usize,
length: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_binary_strcasecmp(
s1: *const ::std::os::raw::c_char,
len1: usize,
s2: *const ::std::os::raw::c_char,
len2: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_binary_strncasecmp(
s1: *const ::std::os::raw::c_char,
len1: usize,
s2: *const ::std::os::raw::c_char,
len2: usize,
length: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_binary_strcasecmp_l(
s1: *const ::std::os::raw::c_char,
len1: usize,
s2: *const ::std::os::raw::c_char,
len2: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_binary_strncasecmp_l(
s1: *const ::std::os::raw::c_char,
len1: usize,
s2: *const ::std::os::raw::c_char,
len2: usize,
length: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zendi_smart_streq(s1: *mut zend_string, s2: *mut zend_string) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zendi_smart_strcmp(s1: *mut zend_string, s2: *mut zend_string) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_compare_symbol_tables(
ht1: *mut HashTable,
ht2: *mut HashTable,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_compare_arrays(a1: *mut zval, a2: *mut zval) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_compare_objects(o1: *mut zval, o2: *mut zval) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_atoi(str: *const ::std::os::raw::c_char, str_len: usize) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_atol(str: *const ::std::os::raw::c_char, str_len: usize) -> zend_long;
}
extern "C" {
pub fn zend_locale_sprintf_double(op: *mut zval);
}
extern "C" {
pub fn zend_long_to_str(num: zend_long) -> *mut zend_string;
}
extern "C" {
pub fn zend_qsort(
base: *mut ::std::os::raw::c_void,
nmemb: usize,
siz: usize,
cmp: compare_func_t,
swp: swap_func_t,
);
}
extern "C" {
pub fn zend_sort(
base: *mut ::std::os::raw::c_void,
nmemb: usize,
siz: usize,
cmp: compare_func_t,
swp: swap_func_t,
);
}
extern "C" {
pub fn zend_insert_sort(
base: *mut ::std::os::raw::c_void,
nmemb: usize,
siz: usize,
cmp: compare_func_t,
swp: swap_func_t,
);
}
pub type zend_op_array = _zend_op_array;
pub type zend_op = _zend_op;
#[repr(C)]
#[derive(Copy, Clone)]
pub union _znode_op {
pub constant: u32,
pub var: u32,
pub num: u32,
pub opline_num: u32,
pub jmp_offset: u32,
_bindgen_union_align: u32,
}
#[test]
fn bindgen_test_layout__znode_op() {
assert_eq!(
::std::mem::size_of::<_znode_op>(),
4usize,
concat!("Size of: ", stringify!(_znode_op))
);
assert_eq!(
::std::mem::align_of::<_znode_op>(),
4usize,
concat!("Alignment of ", stringify!(_znode_op))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_znode_op>())).constant as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_znode_op),
"::",
stringify!(constant)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_znode_op>())).var as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_znode_op),
"::",
stringify!(var)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_znode_op>())).num as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_znode_op),
"::",
stringify!(num)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_znode_op>())).opline_num as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_znode_op),
"::",
stringify!(opline_num)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_znode_op>())).jmp_offset as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_znode_op),
"::",
stringify!(jmp_offset)
)
);
}
pub type znode_op = _znode_op;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _znode {
pub op_type: zend_uchar,
pub flag: zend_uchar,
pub u: _znode__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _znode__bindgen_ty_1 {
pub op: znode_op,
pub constant: zval,
_bindgen_union_align: [u64; 2usize],
}
#[test]
fn bindgen_test_layout__znode__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<_znode__bindgen_ty_1>(),
16usize,
concat!("Size of: ", stringify!(_znode__bindgen_ty_1))
);
assert_eq!(
::std::mem::align_of::<_znode__bindgen_ty_1>(),
8usize,
concat!("Alignment of ", stringify!(_znode__bindgen_ty_1))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_znode__bindgen_ty_1>())).op as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_znode__bindgen_ty_1),
"::",
stringify!(op)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_znode__bindgen_ty_1>())).constant as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_znode__bindgen_ty_1),
"::",
stringify!(constant)
)
);
}
#[test]
fn bindgen_test_layout__znode() {
assert_eq!(
::std::mem::size_of::<_znode>(),
24usize,
concat!("Size of: ", stringify!(_znode))
);
assert_eq!(
::std::mem::align_of::<_znode>(),
8usize,
concat!("Alignment of ", stringify!(_znode))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_znode>())).op_type as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_znode),
"::",
stringify!(op_type)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_znode>())).flag as *const _ as usize },
1usize,
concat!(
"Offset of field: ",
stringify!(_znode),
"::",
stringify!(flag)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_znode>())).u as *const _ as usize },
8usize,
concat!("Offset of field: ", stringify!(_znode), "::", stringify!(u))
);
}
pub type znode = _znode;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_ast_znode {
pub kind: zend_ast_kind,
pub attr: zend_ast_attr,
pub lineno: u32,
pub node: znode,
}
#[test]
fn bindgen_test_layout__zend_ast_znode() {
assert_eq!(
::std::mem::size_of::<_zend_ast_znode>(),
32usize,
concat!("Size of: ", stringify!(_zend_ast_znode))
);
assert_eq!(
::std::mem::align_of::<_zend_ast_znode>(),
8usize,
concat!("Alignment of ", stringify!(_zend_ast_znode))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ast_znode>())).kind as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_ast_znode),
"::",
stringify!(kind)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ast_znode>())).attr as *const _ as usize },
2usize,
concat!(
"Offset of field: ",
stringify!(_zend_ast_znode),
"::",
stringify!(attr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ast_znode>())).lineno as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(_zend_ast_znode),
"::",
stringify!(lineno)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ast_znode>())).node as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_ast_znode),
"::",
stringify!(node)
)
);
}
pub type zend_ast_znode = _zend_ast_znode;
extern "C" {
pub fn zend_ast_create_znode(node: *mut znode) -> *mut zend_ast;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_declarables {
pub ticks: zend_long,
}
#[test]
fn bindgen_test_layout__zend_declarables() {
assert_eq!(
::std::mem::size_of::<_zend_declarables>(),
8usize,
concat!("Size of: ", stringify!(_zend_declarables))
);
assert_eq!(
::std::mem::align_of::<_zend_declarables>(),
8usize,
concat!("Alignment of ", stringify!(_zend_declarables))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_declarables>())).ticks as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_declarables),
"::",
stringify!(ticks)
)
);
}
pub type zend_declarables = _zend_declarables;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_file_context {
pub declarables: zend_declarables,
pub current_namespace: *mut zend_string,
pub in_namespace: zend_bool,
pub has_bracketed_namespaces: zend_bool,
pub imports: *mut HashTable,
pub imports_function: *mut HashTable,
pub imports_const: *mut HashTable,
pub seen_symbols: HashTable,
}
#[test]
fn bindgen_test_layout__zend_file_context() {
assert_eq!(
::std::mem::size_of::<_zend_file_context>(),
104usize,
concat!("Size of: ", stringify!(_zend_file_context))
);
assert_eq!(
::std::mem::align_of::<_zend_file_context>(),
8usize,
concat!("Alignment of ", stringify!(_zend_file_context))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_file_context>())).declarables as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_file_context),
"::",
stringify!(declarables)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_file_context>())).current_namespace as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_file_context),
"::",
stringify!(current_namespace)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_file_context>())).in_namespace as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_file_context),
"::",
stringify!(in_namespace)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_file_context>())).has_bracketed_namespaces as *const _
as usize
},
17usize,
concat!(
"Offset of field: ",
stringify!(_zend_file_context),
"::",
stringify!(has_bracketed_namespaces)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_file_context>())).imports as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_file_context),
"::",
stringify!(imports)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_file_context>())).imports_function as *const _ as usize
},
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_file_context),
"::",
stringify!(imports_function)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_file_context>())).imports_const as *const _ as usize
},
40usize,
concat!(
"Offset of field: ",
stringify!(_zend_file_context),
"::",
stringify!(imports_const)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_file_context>())).seen_symbols as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(_zend_file_context),
"::",
stringify!(seen_symbols)
)
);
}
pub type zend_file_context = _zend_file_context;
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_parser_stack_elem {
pub ast: *mut zend_ast,
pub str: *mut zend_string,
pub num: zend_ulong,
pub ptr: *mut ::std::os::raw::c_uchar,
_bindgen_union_align: u64,
}
#[test]
fn bindgen_test_layout__zend_parser_stack_elem() {
assert_eq!(
::std::mem::size_of::<_zend_parser_stack_elem>(),
8usize,
concat!("Size of: ", stringify!(_zend_parser_stack_elem))
);
assert_eq!(
::std::mem::align_of::<_zend_parser_stack_elem>(),
8usize,
concat!("Alignment of ", stringify!(_zend_parser_stack_elem))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_parser_stack_elem>())).ast as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_parser_stack_elem),
"::",
stringify!(ast)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_parser_stack_elem>())).str as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_parser_stack_elem),
"::",
stringify!(str)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_parser_stack_elem>())).num as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_parser_stack_elem),
"::",
stringify!(num)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_parser_stack_elem>())).ptr as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_parser_stack_elem),
"::",
stringify!(ptr)
)
);
}
pub type zend_parser_stack_elem = _zend_parser_stack_elem;
extern "C" {
pub fn zend_compile_top_stmt(ast: *mut zend_ast);
}
extern "C" {
pub fn zend_compile_stmt(ast: *mut zend_ast);
}
extern "C" {
pub fn zend_compile_expr(node: *mut znode, ast: *mut zend_ast);
}
extern "C" {
pub fn zend_compile_var(
node: *mut znode,
ast: *mut zend_ast,
type_: u32,
by_ref: ::std::os::raw::c_int,
) -> *mut zend_op;
}
extern "C" {
pub fn zend_eval_const_expr(ast_ptr: *mut *mut zend_ast);
}
extern "C" {
pub fn zend_const_expr_to_zval(result: *mut zval, ast: *mut zend_ast);
}
pub type user_opcode_handler_t = ::std::option::Option<
unsafe extern "C" fn(execute_data: *mut zend_execute_data) -> ::std::os::raw::c_int,
>;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_op {
pub handler: *const ::std::os::raw::c_void,
pub op1: znode_op,
pub op2: znode_op,
pub result: znode_op,
pub extended_value: u32,
pub lineno: u32,
pub opcode: zend_uchar,
pub op1_type: zend_uchar,
pub op2_type: zend_uchar,
pub result_type: zend_uchar,
}
#[test]
fn bindgen_test_layout__zend_op() {
assert_eq!(
::std::mem::size_of::<_zend_op>(),
32usize,
concat!("Size of: ", stringify!(_zend_op))
);
assert_eq!(
::std::mem::align_of::<_zend_op>(),
8usize,
concat!("Alignment of ", stringify!(_zend_op))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op>())).handler as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_op),
"::",
stringify!(handler)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op>())).op1 as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_op),
"::",
stringify!(op1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op>())).op2 as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(_zend_op),
"::",
stringify!(op2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op>())).result as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_op),
"::",
stringify!(result)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op>())).extended_value as *const _ as usize },
20usize,
concat!(
"Offset of field: ",
stringify!(_zend_op),
"::",
stringify!(extended_value)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op>())).lineno as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_op),
"::",
stringify!(lineno)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op>())).opcode as *const _ as usize },
28usize,
concat!(
"Offset of field: ",
stringify!(_zend_op),
"::",
stringify!(opcode)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op>())).op1_type as *const _ as usize },
29usize,
concat!(
"Offset of field: ",
stringify!(_zend_op),
"::",
stringify!(op1_type)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op>())).op2_type as *const _ as usize },
30usize,
concat!(
"Offset of field: ",
stringify!(_zend_op),
"::",
stringify!(op2_type)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op>())).result_type as *const _ as usize },
31usize,
concat!(
"Offset of field: ",
stringify!(_zend_op),
"::",
stringify!(result_type)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_brk_cont_element {
pub start: ::std::os::raw::c_int,
pub cont: ::std::os::raw::c_int,
pub brk: ::std::os::raw::c_int,
pub parent: ::std::os::raw::c_int,
pub is_switch: zend_bool,
}
#[test]
fn bindgen_test_layout__zend_brk_cont_element() {
assert_eq!(
::std::mem::size_of::<_zend_brk_cont_element>(),
20usize,
concat!("Size of: ", stringify!(_zend_brk_cont_element))
);
assert_eq!(
::std::mem::align_of::<_zend_brk_cont_element>(),
4usize,
concat!("Alignment of ", stringify!(_zend_brk_cont_element))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_brk_cont_element>())).start as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_brk_cont_element),
"::",
stringify!(start)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_brk_cont_element>())).cont as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(_zend_brk_cont_element),
"::",
stringify!(cont)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_brk_cont_element>())).brk as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_brk_cont_element),
"::",
stringify!(brk)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_brk_cont_element>())).parent as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(_zend_brk_cont_element),
"::",
stringify!(parent)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_brk_cont_element>())).is_switch as *const _ as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_brk_cont_element),
"::",
stringify!(is_switch)
)
);
}
pub type zend_brk_cont_element = _zend_brk_cont_element;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_label {
pub brk_cont: ::std::os::raw::c_int,
pub opline_num: u32,
}
#[test]
fn bindgen_test_layout__zend_label() {
assert_eq!(
::std::mem::size_of::<_zend_label>(),
8usize,
concat!("Size of: ", stringify!(_zend_label))
);
assert_eq!(
::std::mem::align_of::<_zend_label>(),
4usize,
concat!("Alignment of ", stringify!(_zend_label))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_label>())).brk_cont as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_label),
"::",
stringify!(brk_cont)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_label>())).opline_num as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(_zend_label),
"::",
stringify!(opline_num)
)
);
}
pub type zend_label = _zend_label;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_try_catch_element {
pub try_op: u32,
pub catch_op: u32,
pub finally_op: u32,
pub finally_end: u32,
}
#[test]
fn bindgen_test_layout__zend_try_catch_element() {
assert_eq!(
::std::mem::size_of::<_zend_try_catch_element>(),
16usize,
concat!("Size of: ", stringify!(_zend_try_catch_element))
);
assert_eq!(
::std::mem::align_of::<_zend_try_catch_element>(),
4usize,
concat!("Alignment of ", stringify!(_zend_try_catch_element))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_try_catch_element>())).try_op as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_try_catch_element),
"::",
stringify!(try_op)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_try_catch_element>())).catch_op as *const _ as usize
},
4usize,
concat!(
"Offset of field: ",
stringify!(_zend_try_catch_element),
"::",
stringify!(catch_op)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_try_catch_element>())).finally_op as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_try_catch_element),
"::",
stringify!(finally_op)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_try_catch_element>())).finally_end as *const _ as usize
},
12usize,
concat!(
"Offset of field: ",
stringify!(_zend_try_catch_element),
"::",
stringify!(finally_end)
)
);
}
pub type zend_try_catch_element = _zend_try_catch_element;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_live_range {
pub var: u32,
pub start: u32,
pub end: u32,
}
#[test]
fn bindgen_test_layout__zend_live_range() {
assert_eq!(
::std::mem::size_of::<_zend_live_range>(),
12usize,
concat!("Size of: ", stringify!(_zend_live_range))
);
assert_eq!(
::std::mem::align_of::<_zend_live_range>(),
4usize,
concat!("Alignment of ", stringify!(_zend_live_range))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_live_range>())).var as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_live_range),
"::",
stringify!(var)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_live_range>())).start as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(_zend_live_range),
"::",
stringify!(start)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_live_range>())).end as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_live_range),
"::",
stringify!(end)
)
);
}
pub type zend_live_range = _zend_live_range;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_oparray_context {
pub opcodes_size: u32,
pub vars_size: ::std::os::raw::c_int,
pub literals_size: ::std::os::raw::c_int,
pub fast_call_var: u32,
pub try_catch_offset: u32,
pub current_brk_cont: ::std::os::raw::c_int,
pub last_brk_cont: ::std::os::raw::c_int,
pub brk_cont_array: *mut zend_brk_cont_element,
pub labels: *mut HashTable,
}
#[test]
fn bindgen_test_layout__zend_oparray_context() {
assert_eq!(
::std::mem::size_of::<_zend_oparray_context>(),
48usize,
concat!("Size of: ", stringify!(_zend_oparray_context))
);
assert_eq!(
::std::mem::align_of::<_zend_oparray_context>(),
8usize,
concat!("Alignment of ", stringify!(_zend_oparray_context))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_oparray_context>())).opcodes_size as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_oparray_context),
"::",
stringify!(opcodes_size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_oparray_context>())).vars_size as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(_zend_oparray_context),
"::",
stringify!(vars_size)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_oparray_context>())).literals_size as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_oparray_context),
"::",
stringify!(literals_size)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_oparray_context>())).fast_call_var as *const _ as usize
},
12usize,
concat!(
"Offset of field: ",
stringify!(_zend_oparray_context),
"::",
stringify!(fast_call_var)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_oparray_context>())).try_catch_offset as *const _ as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_oparray_context),
"::",
stringify!(try_catch_offset)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_oparray_context>())).current_brk_cont as *const _ as usize
},
20usize,
concat!(
"Offset of field: ",
stringify!(_zend_oparray_context),
"::",
stringify!(current_brk_cont)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_oparray_context>())).last_brk_cont as *const _ as usize
},
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_oparray_context),
"::",
stringify!(last_brk_cont)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_oparray_context>())).brk_cont_array as *const _ as usize
},
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_oparray_context),
"::",
stringify!(brk_cont_array)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_oparray_context>())).labels as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(_zend_oparray_context),
"::",
stringify!(labels)
)
);
}
pub type zend_oparray_context = _zend_oparray_context;
extern "C" {
pub fn zend_visibility_string(fn_flags: u32) -> *mut ::std::os::raw::c_char;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_property_info {
pub offset: u32,
pub flags: u32,
pub name: *mut zend_string,
pub doc_comment: *mut zend_string,
pub ce: *mut zend_class_entry,
pub type_: zend_type,
}
#[test]
fn bindgen_test_layout__zend_property_info() {
assert_eq!(
::std::mem::size_of::<_zend_property_info>(),
40usize,
concat!("Size of: ", stringify!(_zend_property_info))
);
assert_eq!(
::std::mem::align_of::<_zend_property_info>(),
8usize,
concat!("Alignment of ", stringify!(_zend_property_info))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_property_info>())).offset as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_property_info),
"::",
stringify!(offset)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_property_info>())).flags as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(_zend_property_info),
"::",
stringify!(flags)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_property_info>())).name as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_property_info),
"::",
stringify!(name)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_property_info>())).doc_comment as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_property_info),
"::",
stringify!(doc_comment)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_property_info>())).ce as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_property_info),
"::",
stringify!(ce)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_property_info>())).type_ as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_property_info),
"::",
stringify!(type_)
)
);
}
pub type zend_property_info = _zend_property_info;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_class_constant {
pub value: zval,
pub doc_comment: *mut zend_string,
pub ce: *mut zend_class_entry,
}
#[test]
fn bindgen_test_layout__zend_class_constant() {
assert_eq!(
::std::mem::size_of::<_zend_class_constant>(),
32usize,
concat!("Size of: ", stringify!(_zend_class_constant))
);
assert_eq!(
::std::mem::align_of::<_zend_class_constant>(),
8usize,
concat!("Alignment of ", stringify!(_zend_class_constant))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_class_constant>())).value as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_constant),
"::",
stringify!(value)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_class_constant>())).doc_comment as *const _ as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_constant),
"::",
stringify!(doc_comment)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_class_constant>())).ce as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_class_constant),
"::",
stringify!(ce)
)
);
}
pub type zend_class_constant = _zend_class_constant;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_internal_arg_info {
pub name: *const ::std::os::raw::c_char,
pub type_: zend_type,
pub pass_by_reference: zend_uchar,
pub is_variadic: zend_bool,
}
#[test]
fn bindgen_test_layout__zend_internal_arg_info() {
assert_eq!(
::std::mem::size_of::<_zend_internal_arg_info>(),
24usize,
concat!("Size of: ", stringify!(_zend_internal_arg_info))
);
assert_eq!(
::std::mem::align_of::<_zend_internal_arg_info>(),
8usize,
concat!("Alignment of ", stringify!(_zend_internal_arg_info))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_internal_arg_info>())).name as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_internal_arg_info),
"::",
stringify!(name)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_internal_arg_info>())).type_ as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_internal_arg_info),
"::",
stringify!(type_)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_internal_arg_info>())).pass_by_reference as *const _
as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_internal_arg_info),
"::",
stringify!(pass_by_reference)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_internal_arg_info>())).is_variadic as *const _ as usize
},
17usize,
concat!(
"Offset of field: ",
stringify!(_zend_internal_arg_info),
"::",
stringify!(is_variadic)
)
);
}
pub type zend_internal_arg_info = _zend_internal_arg_info;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_arg_info {
pub name: *mut zend_string,
pub type_: zend_type,
pub pass_by_reference: zend_uchar,
pub is_variadic: zend_bool,
}
#[test]
fn bindgen_test_layout__zend_arg_info() {
assert_eq!(
::std::mem::size_of::<_zend_arg_info>(),
24usize,
concat!("Size of: ", stringify!(_zend_arg_info))
);
assert_eq!(
::std::mem::align_of::<_zend_arg_info>(),
8usize,
concat!("Alignment of ", stringify!(_zend_arg_info))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_arg_info>())).name as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_arg_info),
"::",
stringify!(name)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_arg_info>())).type_ as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_arg_info),
"::",
stringify!(type_)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_arg_info>())).pass_by_reference as *const _ as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_arg_info),
"::",
stringify!(pass_by_reference)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_arg_info>())).is_variadic as *const _ as usize },
17usize,
concat!(
"Offset of field: ",
stringify!(_zend_arg_info),
"::",
stringify!(is_variadic)
)
);
}
pub type zend_arg_info = _zend_arg_info;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_internal_function_info {
pub required_num_args: zend_uintptr_t,
pub type_: zend_type,
pub return_reference: zend_bool,
pub _is_variadic: zend_bool,
}
#[test]
fn bindgen_test_layout__zend_internal_function_info() {
assert_eq!(
::std::mem::size_of::<_zend_internal_function_info>(),
24usize,
concat!("Size of: ", stringify!(_zend_internal_function_info))
);
assert_eq!(
::std::mem::align_of::<_zend_internal_function_info>(),
8usize,
concat!("Alignment of ", stringify!(_zend_internal_function_info))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_internal_function_info>())).required_num_args as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_internal_function_info),
"::",
stringify!(required_num_args)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_internal_function_info>())).type_ as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_internal_function_info),
"::",
stringify!(type_)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_internal_function_info>())).return_reference as *const _
as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_internal_function_info),
"::",
stringify!(return_reference)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_internal_function_info>()))._is_variadic as *const _
as usize
},
17usize,
concat!(
"Offset of field: ",
stringify!(_zend_internal_function_info),
"::",
stringify!(_is_variadic)
)
);
}
pub type zend_internal_function_info = _zend_internal_function_info;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_op_array {
pub type_: zend_uchar,
pub arg_flags: [zend_uchar; 3usize],
pub fn_flags: u32,
pub function_name: *mut zend_string,
pub scope: *mut zend_class_entry,
pub prototype: *mut zend_function,
pub num_args: u32,
pub required_num_args: u32,
pub arg_info: *mut zend_arg_info,
pub cache_size: ::std::os::raw::c_int,
pub last_var: ::std::os::raw::c_int,
pub T: u32,
pub last: u32,
pub opcodes: *mut zend_op,
pub run_time_cache__ptr: *mut *mut *mut ::std::os::raw::c_void,
pub static_variables_ptr__ptr: *mut *mut HashTable,
pub static_variables: *mut HashTable,
pub vars: *mut *mut zend_string,
pub refcount: *mut u32,
pub last_live_range: ::std::os::raw::c_int,
pub last_try_catch: ::std::os::raw::c_int,
pub live_range: *mut zend_live_range,
pub try_catch_array: *mut zend_try_catch_element,
pub filename: *mut zend_string,
pub line_start: u32,
pub line_end: u32,
pub doc_comment: *mut zend_string,
pub last_literal: ::std::os::raw::c_int,
pub literals: *mut zval,
pub reserved: [*mut ::std::os::raw::c_void; 6usize],
}
#[test]
fn bindgen_test_layout__zend_op_array() {
assert_eq!(
::std::mem::size_of::<_zend_op_array>(),
224usize,
concat!("Size of: ", stringify!(_zend_op_array))
);
assert_eq!(
::std::mem::align_of::<_zend_op_array>(),
8usize,
concat!("Alignment of ", stringify!(_zend_op_array))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op_array>())).type_ as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(type_)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op_array>())).arg_flags as *const _ as usize },
1usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(arg_flags)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op_array>())).fn_flags as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(fn_flags)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op_array>())).function_name as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(function_name)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op_array>())).scope as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(scope)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op_array>())).prototype as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(prototype)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op_array>())).num_args as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(num_args)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_op_array>())).required_num_args as *const _ as usize
},
36usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(required_num_args)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op_array>())).arg_info as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(arg_info)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op_array>())).cache_size as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(cache_size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op_array>())).last_var as *const _ as usize },
52usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(last_var)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op_array>())).T as *const _ as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(T)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op_array>())).last as *const _ as usize },
60usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(last)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op_array>())).opcodes as *const _ as usize },
64usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(opcodes)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_op_array>())).run_time_cache__ptr as *const _ as usize
},
72usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(run_time_cache__ptr)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_op_array>())).static_variables_ptr__ptr as *const _
as usize
},
80usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(static_variables_ptr__ptr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op_array>())).static_variables as *const _ as usize },
88usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(static_variables)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op_array>())).vars as *const _ as usize },
96usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(vars)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op_array>())).refcount as *const _ as usize },
104usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(refcount)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op_array>())).last_live_range as *const _ as usize },
112usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(last_live_range)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op_array>())).last_try_catch as *const _ as usize },
116usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(last_try_catch)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op_array>())).live_range as *const _ as usize },
120usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(live_range)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op_array>())).try_catch_array as *const _ as usize },
128usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(try_catch_array)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op_array>())).filename as *const _ as usize },
136usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(filename)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op_array>())).line_start as *const _ as usize },
144usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(line_start)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op_array>())).line_end as *const _ as usize },
148usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(line_end)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op_array>())).doc_comment as *const _ as usize },
152usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(doc_comment)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op_array>())).last_literal as *const _ as usize },
160usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(last_literal)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op_array>())).literals as *const _ as usize },
168usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(literals)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_op_array>())).reserved as *const _ as usize },
176usize,
concat!(
"Offset of field: ",
stringify!(_zend_op_array),
"::",
stringify!(reserved)
)
);
}
pub type zif_handler = ::std::option::Option<
unsafe extern "C" fn(execute_data: *mut zend_execute_data, return_value: *mut zval),
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_internal_function {
pub type_: zend_uchar,
pub arg_flags: [zend_uchar; 3usize],
pub fn_flags: u32,
pub function_name: *mut zend_string,
pub scope: *mut zend_class_entry,
pub prototype: *mut zend_function,
pub num_args: u32,
pub required_num_args: u32,
pub arg_info: *mut zend_internal_arg_info,
pub handler: zif_handler,
pub module: *mut _zend_module_entry,
pub reserved: [*mut ::std::os::raw::c_void; 6usize],
}
#[test]
fn bindgen_test_layout__zend_internal_function() {
assert_eq!(
::std::mem::size_of::<_zend_internal_function>(),
112usize,
concat!("Size of: ", stringify!(_zend_internal_function))
);
assert_eq!(
::std::mem::align_of::<_zend_internal_function>(),
8usize,
concat!("Alignment of ", stringify!(_zend_internal_function))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_internal_function>())).type_ as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_internal_function),
"::",
stringify!(type_)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_internal_function>())).arg_flags as *const _ as usize
},
1usize,
concat!(
"Offset of field: ",
stringify!(_zend_internal_function),
"::",
stringify!(arg_flags)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_internal_function>())).fn_flags as *const _ as usize
},
4usize,
concat!(
"Offset of field: ",
stringify!(_zend_internal_function),
"::",
stringify!(fn_flags)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_internal_function>())).function_name as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_internal_function),
"::",
stringify!(function_name)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_internal_function>())).scope as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_internal_function),
"::",
stringify!(scope)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_internal_function>())).prototype as *const _ as usize
},
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_internal_function),
"::",
stringify!(prototype)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_internal_function>())).num_args as *const _ as usize
},
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_internal_function),
"::",
stringify!(num_args)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_internal_function>())).required_num_args as *const _
as usize
},
36usize,
concat!(
"Offset of field: ",
stringify!(_zend_internal_function),
"::",
stringify!(required_num_args)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_internal_function>())).arg_info as *const _ as usize
},
40usize,
concat!(
"Offset of field: ",
stringify!(_zend_internal_function),
"::",
stringify!(arg_info)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_internal_function>())).handler as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(_zend_internal_function),
"::",
stringify!(handler)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_internal_function>())).module as *const _ as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(_zend_internal_function),
"::",
stringify!(module)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_internal_function>())).reserved as *const _ as usize
},
64usize,
concat!(
"Offset of field: ",
stringify!(_zend_internal_function),
"::",
stringify!(reserved)
)
);
}
pub type zend_internal_function = _zend_internal_function;
#[repr(C)]
#[derive(Copy, Clone)]
pub union _zend_function {
pub type_: zend_uchar,
pub quick_arg_flags: u32,
pub common: _zend_function__bindgen_ty_1,
pub op_array: zend_op_array,
pub internal_function: zend_internal_function,
_bindgen_union_align: [u64; 28usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_function__bindgen_ty_1 {
pub type_: zend_uchar,
pub arg_flags: [zend_uchar; 3usize],
pub fn_flags: u32,
pub function_name: *mut zend_string,
pub scope: *mut zend_class_entry,
pub prototype: *mut zend_function,
pub num_args: u32,
pub required_num_args: u32,
pub arg_info: *mut zend_arg_info,
}
#[test]
fn bindgen_test_layout__zend_function__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<_zend_function__bindgen_ty_1>(),
48usize,
concat!("Size of: ", stringify!(_zend_function__bindgen_ty_1))
);
assert_eq!(
::std::mem::align_of::<_zend_function__bindgen_ty_1>(),
8usize,
concat!("Alignment of ", stringify!(_zend_function__bindgen_ty_1))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).type_ as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_function__bindgen_ty_1),
"::",
stringify!(type_)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).arg_flags as *const _ as usize
},
1usize,
concat!(
"Offset of field: ",
stringify!(_zend_function__bindgen_ty_1),
"::",
stringify!(arg_flags)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).fn_flags as *const _ as usize
},
4usize,
concat!(
"Offset of field: ",
stringify!(_zend_function__bindgen_ty_1),
"::",
stringify!(fn_flags)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).function_name as *const _
as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_function__bindgen_ty_1),
"::",
stringify!(function_name)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).scope as *const _ as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_function__bindgen_ty_1),
"::",
stringify!(scope)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).prototype as *const _ as usize
},
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_function__bindgen_ty_1),
"::",
stringify!(prototype)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).num_args as *const _ as usize
},
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_function__bindgen_ty_1),
"::",
stringify!(num_args)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).required_num_args as *const _
as usize
},
36usize,
concat!(
"Offset of field: ",
stringify!(_zend_function__bindgen_ty_1),
"::",
stringify!(required_num_args)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_function__bindgen_ty_1>())).arg_info as *const _ as usize
},
40usize,
concat!(
"Offset of field: ",
stringify!(_zend_function__bindgen_ty_1),
"::",
stringify!(arg_info)
)
);
}
#[test]
fn bindgen_test_layout__zend_function() {
assert_eq!(
::std::mem::size_of::<_zend_function>(),
224usize,
concat!("Size of: ", stringify!(_zend_function))
);
assert_eq!(
::std::mem::align_of::<_zend_function>(),
8usize,
concat!("Alignment of ", stringify!(_zend_function))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_function>())).type_ as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_function),
"::",
stringify!(type_)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_function>())).quick_arg_flags as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_function),
"::",
stringify!(quick_arg_flags)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_function>())).common as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_function),
"::",
stringify!(common)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_function>())).op_array as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_function),
"::",
stringify!(op_array)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_function>())).internal_function as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_function),
"::",
stringify!(internal_function)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_execute_data {
pub opline: *const zend_op,
pub call: *mut zend_execute_data,
pub return_value: *mut zval,
pub func: *mut zend_function,
pub This: zval,
pub prev_execute_data: *mut zend_execute_data,
pub symbol_table: *mut zend_array,
pub run_time_cache: *mut *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout__zend_execute_data() {
assert_eq!(
::std::mem::size_of::<_zend_execute_data>(),
72usize,
concat!("Size of: ", stringify!(_zend_execute_data))
);
assert_eq!(
::std::mem::align_of::<_zend_execute_data>(),
8usize,
concat!("Alignment of ", stringify!(_zend_execute_data))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).opline as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_execute_data),
"::",
stringify!(opline)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).call as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_execute_data),
"::",
stringify!(call)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).return_value as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_execute_data),
"::",
stringify!(return_value)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).func as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_execute_data),
"::",
stringify!(func)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).This as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_execute_data),
"::",
stringify!(This)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_execute_data>())).prev_execute_data as *const _ as usize
},
48usize,
concat!(
"Offset of field: ",
stringify!(_zend_execute_data),
"::",
stringify!(prev_execute_data)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_execute_data>())).symbol_table as *const _ as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(_zend_execute_data),
"::",
stringify!(symbol_table)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_execute_data>())).run_time_cache as *const _ as usize
},
64usize,
concat!(
"Offset of field: ",
stringify!(_zend_execute_data),
"::",
stringify!(run_time_cache)
)
);
}
pub type __jmp_buf = [::std::os::raw::c_long; 8usize];
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __jmp_buf_tag {
pub __jmpbuf: __jmp_buf,
pub __mask_was_saved: ::std::os::raw::c_int,
pub __saved_mask: __sigset_t,
}
#[test]
fn bindgen_test_layout___jmp_buf_tag() {
assert_eq!(
::std::mem::size_of::<__jmp_buf_tag>(),
200usize,
concat!("Size of: ", stringify!(__jmp_buf_tag))
);
assert_eq!(
::std::mem::align_of::<__jmp_buf_tag>(),
8usize,
concat!("Alignment of ", stringify!(__jmp_buf_tag))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__jmp_buf_tag>())).__jmpbuf as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(__jmp_buf_tag),
"::",
stringify!(__jmpbuf)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__jmp_buf_tag>())).__mask_was_saved as *const _ as usize },
64usize,
concat!(
"Offset of field: ",
stringify!(__jmp_buf_tag),
"::",
stringify!(__mask_was_saved)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__jmp_buf_tag>())).__saved_mask as *const _ as usize },
72usize,
concat!(
"Offset of field: ",
stringify!(__jmp_buf_tag),
"::",
stringify!(__saved_mask)
)
);
}
pub type jmp_buf = [__jmp_buf_tag; 1usize];
extern "C" {
pub fn setjmp(__env: *mut __jmp_buf_tag) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __sigsetjmp(
__env: *mut __jmp_buf_tag,
__savemask: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _setjmp(__env: *mut __jmp_buf_tag) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn longjmp(__env: *mut __jmp_buf_tag, __val: ::std::os::raw::c_int);
}
extern "C" {
pub fn _longjmp(__env: *mut __jmp_buf_tag, __val: ::std::os::raw::c_int);
}
pub type sigjmp_buf = [__jmp_buf_tag; 1usize];
extern "C" {
pub fn siglongjmp(__env: *mut __jmp_buf_tag, __val: ::std::os::raw::c_int);
}
pub type zend_compiler_globals = _zend_compiler_globals;
pub type zend_executor_globals = _zend_executor_globals;
pub type zend_php_scanner_globals = _zend_php_scanner_globals;
pub type zend_ini_scanner_globals = _zend_ini_scanner_globals;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_compiler_globals {
pub loop_var_stack: zend_stack,
pub active_class_entry: *mut zend_class_entry,
pub compiled_filename: *mut zend_string,
pub zend_lineno: ::std::os::raw::c_int,
pub active_op_array: *mut zend_op_array,
pub function_table: *mut HashTable,
pub class_table: *mut HashTable,
pub filenames_table: HashTable,
pub auto_globals: *mut HashTable,
pub parse_error: zend_bool,
pub in_compilation: zend_bool,
pub short_tags: zend_bool,
pub unclean_shutdown: zend_bool,
pub ini_parser_unbuffered_errors: zend_bool,
pub open_files: zend_llist,
pub ini_parser_param: *mut _zend_ini_parser_param,
pub skip_shebang: zend_bool,
pub increment_lineno: zend_bool,
pub doc_comment: *mut zend_string,
pub extra_fn_flags: u32,
pub compiler_options: u32,
pub context: zend_oparray_context,
pub file_context: zend_file_context,
pub arena: *mut zend_arena,
pub interned_strings: HashTable,
pub script_encoding_list: *mut *const zend_encoding,
pub script_encoding_list_size: usize,
pub multibyte: zend_bool,
pub detect_unicode: zend_bool,
pub encoding_declared: zend_bool,
pub ast: *mut zend_ast,
pub ast_arena: *mut zend_arena,
pub delayed_oplines_stack: zend_stack,
pub memoized_exprs: *mut HashTable,
pub memoize_mode: ::std::os::raw::c_int,
pub map_ptr_base: *mut ::std::os::raw::c_void,
pub map_ptr_size: usize,
pub map_ptr_last: usize,
pub delayed_variance_obligations: *mut HashTable,
pub delayed_autoloads: *mut HashTable,
pub rtd_key_counter: u32,
}
#[test]
fn bindgen_test_layout__zend_compiler_globals() {
assert_eq!(
::std::mem::size_of::<_zend_compiler_globals>(),
576usize,
concat!("Size of: ", stringify!(_zend_compiler_globals))
);
assert_eq!(
::std::mem::align_of::<_zend_compiler_globals>(),
8usize,
concat!("Alignment of ", stringify!(_zend_compiler_globals))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).loop_var_stack as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(loop_var_stack)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).active_class_entry as *const _
as usize
},
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(active_class_entry)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).compiled_filename as *const _
as usize
},
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(compiled_filename)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).zend_lineno as *const _ as usize
},
40usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(zend_lineno)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).active_op_array as *const _ as usize
},
48usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(active_op_array)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).function_table as *const _ as usize
},
56usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(function_table)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).class_table as *const _ as usize
},
64usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(class_table)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).filenames_table as *const _ as usize
},
72usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(filenames_table)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).auto_globals as *const _ as usize
},
128usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(auto_globals)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).parse_error as *const _ as usize
},
136usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(parse_error)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).in_compilation as *const _ as usize
},
137usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(in_compilation)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).short_tags as *const _ as usize
},
138usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(short_tags)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).unclean_shutdown as *const _ as usize
},
139usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(unclean_shutdown)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).ini_parser_unbuffered_errors
as *const _ as usize
},
140usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(ini_parser_unbuffered_errors)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).open_files as *const _ as usize
},
144usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(open_files)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).ini_parser_param as *const _ as usize
},
200usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(ini_parser_param)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).skip_shebang as *const _ as usize
},
208usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(skip_shebang)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).increment_lineno as *const _ as usize
},
209usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(increment_lineno)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).doc_comment as *const _ as usize
},
216usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(doc_comment)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).extra_fn_flags as *const _ as usize
},
224usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(extra_fn_flags)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).compiler_options as *const _ as usize
},
228usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(compiler_options)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_compiler_globals>())).context as *const _ as usize },
232usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(context)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).file_context as *const _ as usize
},
280usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(file_context)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_compiler_globals>())).arena as *const _ as usize },
384usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(arena)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).interned_strings as *const _ as usize
},
392usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(interned_strings)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).script_encoding_list as *const _
as usize
},
448usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(script_encoding_list)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).script_encoding_list_size as *const _
as usize
},
456usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(script_encoding_list_size)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).multibyte as *const _ as usize
},
464usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(multibyte)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).detect_unicode as *const _ as usize
},
465usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(detect_unicode)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).encoding_declared as *const _
as usize
},
466usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(encoding_declared)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_compiler_globals>())).ast as *const _ as usize },
472usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(ast)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).ast_arena as *const _ as usize
},
480usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(ast_arena)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).delayed_oplines_stack as *const _
as usize
},
488usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(delayed_oplines_stack)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).memoized_exprs as *const _ as usize
},
512usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(memoized_exprs)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).memoize_mode as *const _ as usize
},
520usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(memoize_mode)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).map_ptr_base as *const _ as usize
},
528usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(map_ptr_base)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).map_ptr_size as *const _ as usize
},
536usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(map_ptr_size)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).map_ptr_last as *const _ as usize
},
544usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(map_ptr_last)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).delayed_variance_obligations
as *const _ as usize
},
552usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(delayed_variance_obligations)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).delayed_autoloads as *const _
as usize
},
560usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(delayed_autoloads)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_compiler_globals>())).rtd_key_counter as *const _ as usize
},
568usize,
concat!(
"Offset of field: ",
stringify!(_zend_compiler_globals),
"::",
stringify!(rtd_key_counter)
)
);
}
extern "C" {
pub static mut compiler_globals: _zend_compiler_globals;
}
extern "C" {
pub fn zendparse() -> ::std::os::raw::c_int;
}
extern "C" {
pub static mut executor_globals: zend_executor_globals;
}
extern "C" {
pub static mut language_scanner_globals: zend_php_scanner_globals;
}
extern "C" {
pub static mut ini_scanner_globals: zend_ini_scanner_globals;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_stack {
pub size: ::std::os::raw::c_int,
pub top: ::std::os::raw::c_int,
pub max: ::std::os::raw::c_int,
pub elements: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout__zend_stack() {
assert_eq!(
::std::mem::size_of::<_zend_stack>(),
24usize,
concat!("Size of: ", stringify!(_zend_stack))
);
assert_eq!(
::std::mem::align_of::<_zend_stack>(),
8usize,
concat!("Alignment of ", stringify!(_zend_stack))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_stack>())).size as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_stack),
"::",
stringify!(size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_stack>())).top as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(_zend_stack),
"::",
stringify!(top)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_stack>())).max as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_stack),
"::",
stringify!(max)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_stack>())).elements as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_stack),
"::",
stringify!(elements)
)
);
}
pub type zend_stack = _zend_stack;
extern "C" {
pub fn zend_stack_init(
stack: *mut zend_stack,
size: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_stack_push(
stack: *mut zend_stack,
element: *const ::std::os::raw::c_void,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_stack_top(stack: *const zend_stack) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn zend_stack_del_top(stack: *mut zend_stack) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_stack_int_top(stack: *const zend_stack) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_stack_is_empty(stack: *const zend_stack) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_stack_destroy(stack: *mut zend_stack) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_stack_base(stack: *const zend_stack) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn zend_stack_count(stack: *const zend_stack) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_stack_apply(
stack: *mut zend_stack,
type_: ::std::os::raw::c_int,
apply_function: ::std::option::Option<
unsafe extern "C" fn(element: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
>,
);
}
extern "C" {
pub fn zend_stack_apply_with_argument(
stack: *mut zend_stack,
type_: ::std::os::raw::c_int,
apply_function: ::std::option::Option<
unsafe extern "C" fn(
element: *mut ::std::os::raw::c_void,
arg: *mut ::std::os::raw::c_void,
) -> ::std::os::raw::c_int,
>,
arg: *mut ::std::os::raw::c_void,
);
}
extern "C" {
pub fn zend_stack_clean(
stack: *mut zend_stack,
func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
free_elements: zend_bool,
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_ptr_stack {
pub top: ::std::os::raw::c_int,
pub max: ::std::os::raw::c_int,
pub elements: *mut *mut ::std::os::raw::c_void,
pub top_element: *mut *mut ::std::os::raw::c_void,
pub persistent: zend_bool,
}
#[test]
fn bindgen_test_layout__zend_ptr_stack() {
assert_eq!(
::std::mem::size_of::<_zend_ptr_stack>(),
32usize,
concat!("Size of: ", stringify!(_zend_ptr_stack))
);
assert_eq!(
::std::mem::align_of::<_zend_ptr_stack>(),
8usize,
concat!("Alignment of ", stringify!(_zend_ptr_stack))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ptr_stack>())).top as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_ptr_stack),
"::",
stringify!(top)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ptr_stack>())).max as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(_zend_ptr_stack),
"::",
stringify!(max)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ptr_stack>())).elements as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_ptr_stack),
"::",
stringify!(elements)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ptr_stack>())).top_element as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_ptr_stack),
"::",
stringify!(top_element)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ptr_stack>())).persistent as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_ptr_stack),
"::",
stringify!(persistent)
)
);
}
pub type zend_ptr_stack = _zend_ptr_stack;
extern "C" {
pub fn zend_ptr_stack_init(stack: *mut zend_ptr_stack);
}
extern "C" {
pub fn zend_ptr_stack_init_ex(stack: *mut zend_ptr_stack, persistent: zend_bool);
}
extern "C" {
pub fn zend_ptr_stack_n_push(stack: *mut zend_ptr_stack, count: ::std::os::raw::c_int, ...);
}
extern "C" {
pub fn zend_ptr_stack_n_pop(stack: *mut zend_ptr_stack, count: ::std::os::raw::c_int, ...);
}
extern "C" {
pub fn zend_ptr_stack_destroy(stack: *mut zend_ptr_stack);
}
extern "C" {
pub fn zend_ptr_stack_apply(
stack: *mut zend_ptr_stack,
func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
);
}
extern "C" {
pub fn zend_ptr_stack_reverse_apply(
stack: *mut zend_ptr_stack,
func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
);
}
extern "C" {
pub fn zend_ptr_stack_clean(
stack: *mut zend_ptr_stack,
func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
free_elements: zend_bool,
);
}
extern "C" {
pub fn zend_ptr_stack_num_elements(stack: *mut zend_ptr_stack) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_object_std_init(object: *mut zend_object, ce: *mut zend_class_entry);
}
extern "C" {
pub fn zend_objects_new(ce: *mut zend_class_entry) -> *mut zend_object;
}
extern "C" {
pub fn zend_objects_clone_members(new_object: *mut zend_object, old_object: *mut zend_object);
}
extern "C" {
pub fn zend_object_std_dtor(object: *mut zend_object);
}
extern "C" {
pub fn zend_objects_destroy_object(object: *mut zend_object);
}
extern "C" {
pub fn zend_objects_clone_obj(object: *mut zval) -> *mut zend_object;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_objects_store {
pub object_buckets: *mut *mut zend_object,
pub top: u32,
pub size: u32,
pub free_list_head: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout__zend_objects_store() {
assert_eq!(
::std::mem::size_of::<_zend_objects_store>(),
24usize,
concat!("Size of: ", stringify!(_zend_objects_store))
);
assert_eq!(
::std::mem::align_of::<_zend_objects_store>(),
8usize,
concat!("Alignment of ", stringify!(_zend_objects_store))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_objects_store>())).object_buckets as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_objects_store),
"::",
stringify!(object_buckets)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_objects_store>())).top as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_objects_store),
"::",
stringify!(top)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_objects_store>())).size as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(_zend_objects_store),
"::",
stringify!(size)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_objects_store>())).free_list_head as *const _ as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_objects_store),
"::",
stringify!(free_list_head)
)
);
}
pub type zend_objects_store = _zend_objects_store;
extern "C" {
pub fn zend_objects_store_init(objects: *mut zend_objects_store, init_size: u32);
}
extern "C" {
pub fn zend_objects_store_call_destructors(objects: *mut zend_objects_store);
}
extern "C" {
pub fn zend_objects_store_mark_destructed(objects: *mut zend_objects_store);
}
extern "C" {
pub fn zend_objects_store_free_object_storage(
objects: *mut zend_objects_store,
fast_shutdown: zend_bool,
);
}
extern "C" {
pub fn zend_objects_store_destroy(objects: *mut zend_objects_store);
}
extern "C" {
pub fn zend_objects_store_put(object: *mut zend_object);
}
extern "C" {
pub fn zend_objects_store_del(object: *mut zend_object);
}
extern "C" {
pub fn zend_init_fpu();
}
extern "C" {
pub fn zend_shutdown_fpu();
}
extern "C" {
pub fn zend_ensure_fpu_mode();
}
pub type fpu_control_t = ::std::os::raw::c_ushort;
extern "C" {
pub static mut __fpu_control: fpu_control_t;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_encoding {
_unused: [u8; 0],
}
pub type zend_encoding = _zend_encoding;
pub type zend_encoding_filter = ::std::option::Option<
unsafe extern "C" fn(
str: *mut *mut ::std::os::raw::c_uchar,
str_length: *mut usize,
buf: *const ::std::os::raw::c_uchar,
length: usize,
) -> usize,
>;
pub type zend_encoding_fetcher = ::std::option::Option<
unsafe extern "C" fn(encoding_name: *const ::std::os::raw::c_char) -> *const zend_encoding,
>;
pub type zend_encoding_name_getter = ::std::option::Option<
unsafe extern "C" fn(encoding: *const zend_encoding) -> *const ::std::os::raw::c_char,
>;
pub type zend_encoding_lexer_compatibility_checker = ::std::option::Option<
unsafe extern "C" fn(encoding: *const zend_encoding) -> ::std::os::raw::c_int,
>;
pub type zend_encoding_detector = ::std::option::Option<
unsafe extern "C" fn(
string: *const ::std::os::raw::c_uchar,
length: usize,
list: *mut *const zend_encoding,
list_size: usize,
) -> *const zend_encoding,
>;
pub type zend_encoding_converter = ::std::option::Option<
unsafe extern "C" fn(
to: *mut *mut ::std::os::raw::c_uchar,
to_length: *mut usize,
from: *const ::std::os::raw::c_uchar,
from_length: usize,
encoding_to: *const zend_encoding,
encoding_from: *const zend_encoding,
) -> usize,
>;
pub type zend_encoding_list_parser = ::std::option::Option<
unsafe extern "C" fn(
encoding_list: *const ::std::os::raw::c_char,
encoding_list_len: usize,
return_list: *mut *mut *const zend_encoding,
return_size: *mut usize,
persistent: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int,
>;
pub type zend_encoding_internal_encoding_getter =
::std::option::Option<unsafe extern "C" fn() -> *const zend_encoding>;
pub type zend_encoding_internal_encoding_setter = ::std::option::Option<
unsafe extern "C" fn(encoding: *const zend_encoding) -> ::std::os::raw::c_int,
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_multibyte_functions {
pub provider_name: *const ::std::os::raw::c_char,
pub encoding_fetcher: zend_encoding_fetcher,
pub encoding_name_getter: zend_encoding_name_getter,
pub lexer_compatibility_checker: zend_encoding_lexer_compatibility_checker,
pub encoding_detector: zend_encoding_detector,
pub encoding_converter: zend_encoding_converter,
pub encoding_list_parser: zend_encoding_list_parser,
pub internal_encoding_getter: zend_encoding_internal_encoding_getter,
pub internal_encoding_setter: zend_encoding_internal_encoding_setter,
}
#[test]
fn bindgen_test_layout__zend_multibyte_functions() {
assert_eq!(
::std::mem::size_of::<_zend_multibyte_functions>(),
72usize,
concat!("Size of: ", stringify!(_zend_multibyte_functions))
);
assert_eq!(
::std::mem::align_of::<_zend_multibyte_functions>(),
8usize,
concat!("Alignment of ", stringify!(_zend_multibyte_functions))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_multibyte_functions>())).provider_name as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_multibyte_functions),
"::",
stringify!(provider_name)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_multibyte_functions>())).encoding_fetcher as *const _
as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_multibyte_functions),
"::",
stringify!(encoding_fetcher)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_multibyte_functions>())).encoding_name_getter as *const _
as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_multibyte_functions),
"::",
stringify!(encoding_name_getter)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_multibyte_functions>())).lexer_compatibility_checker
as *const _ as usize
},
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_multibyte_functions),
"::",
stringify!(lexer_compatibility_checker)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_multibyte_functions>())).encoding_detector as *const _
as usize
},
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_multibyte_functions),
"::",
stringify!(encoding_detector)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_multibyte_functions>())).encoding_converter as *const _
as usize
},
40usize,
concat!(
"Offset of field: ",
stringify!(_zend_multibyte_functions),
"::",
stringify!(encoding_converter)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_multibyte_functions>())).encoding_list_parser as *const _
as usize
},
48usize,
concat!(
"Offset of field: ",
stringify!(_zend_multibyte_functions),
"::",
stringify!(encoding_list_parser)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_multibyte_functions>())).internal_encoding_getter
as *const _ as usize
},
56usize,
concat!(
"Offset of field: ",
stringify!(_zend_multibyte_functions),
"::",
stringify!(internal_encoding_getter)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_multibyte_functions>())).internal_encoding_setter
as *const _ as usize
},
64usize,
concat!(
"Offset of field: ",
stringify!(_zend_multibyte_functions),
"::",
stringify!(internal_encoding_setter)
)
);
}
pub type zend_multibyte_functions = _zend_multibyte_functions;
extern "C" {
pub static mut zend_multibyte_encoding_utf32be: *const zend_encoding;
}
extern "C" {
pub static mut zend_multibyte_encoding_utf32le: *const zend_encoding;
}
extern "C" {
pub static mut zend_multibyte_encoding_utf16be: *const zend_encoding;
}
extern "C" {
pub static mut zend_multibyte_encoding_utf16le: *const zend_encoding;
}
extern "C" {
pub static mut zend_multibyte_encoding_utf8: *const zend_encoding;
}
extern "C" {
pub fn zend_multibyte_set_functions(
functions: *const zend_multibyte_functions,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_multibyte_restore_functions();
}
extern "C" {
pub fn zend_multibyte_get_functions() -> *const zend_multibyte_functions;
}
extern "C" {
pub fn zend_multibyte_fetch_encoding(
name: *const ::std::os::raw::c_char,
) -> *const zend_encoding;
}
extern "C" {
pub fn zend_multibyte_get_encoding_name(
encoding: *const zend_encoding,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_multibyte_check_lexer_compatibility(
encoding: *const zend_encoding,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_multibyte_encoding_detector(
string: *const ::std::os::raw::c_uchar,
length: usize,
list: *mut *const zend_encoding,
list_size: usize,
) -> *const zend_encoding;
}
extern "C" {
pub fn zend_multibyte_encoding_converter(
to: *mut *mut ::std::os::raw::c_uchar,
to_length: *mut usize,
from: *const ::std::os::raw::c_uchar,
from_length: usize,
encoding_to: *const zend_encoding,
encoding_from: *const zend_encoding,
) -> usize;
}
extern "C" {
pub fn zend_multibyte_parse_encoding_list(
encoding_list: *const ::std::os::raw::c_char,
encoding_list_len: usize,
return_list: *mut *mut *const zend_encoding,
return_size: *mut usize,
persistent: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_multibyte_get_internal_encoding() -> *const zend_encoding;
}
extern "C" {
pub fn zend_multibyte_get_script_encoding() -> *const zend_encoding;
}
extern "C" {
pub fn zend_multibyte_set_script_encoding(
encoding_list: *mut *const zend_encoding,
encoding_list_size: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_multibyte_set_internal_encoding(
encoding: *const zend_encoding,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_multibyte_set_script_encoding_by_string(
new_value: *const ::std::os::raw::c_char,
new_value_length: usize,
) -> ::std::os::raw::c_int;
}
pub type zend_arena = _zend_arena;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_arena {
pub ptr: *mut ::std::os::raw::c_char,
pub end: *mut ::std::os::raw::c_char,
pub prev: *mut zend_arena,
}
#[test]
fn bindgen_test_layout__zend_arena() {
assert_eq!(
::std::mem::size_of::<_zend_arena>(),
24usize,
concat!("Size of: ", stringify!(_zend_arena))
);
assert_eq!(
::std::mem::align_of::<_zend_arena>(),
8usize,
concat!("Alignment of ", stringify!(_zend_arena))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_arena>())).ptr as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_arena),
"::",
stringify!(ptr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_arena>())).end as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_arena),
"::",
stringify!(end)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_arena>())).prev as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_arena),
"::",
stringify!(prev)
)
);
}
pub type zend_vm_stack = *mut _zend_vm_stack;
pub type zend_ini_entry = _zend_ini_entry;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_executor_globals {
pub uninitialized_zval: zval,
pub error_zval: zval,
pub symtable_cache: [*mut zend_array; 32usize],
pub symtable_cache_limit: *mut *mut zend_array,
pub symtable_cache_ptr: *mut *mut zend_array,
pub symbol_table: zend_array,
pub included_files: HashTable,
pub bailout: *mut jmp_buf,
pub error_reporting: ::std::os::raw::c_int,
pub exit_status: ::std::os::raw::c_int,
pub function_table: *mut HashTable,
pub class_table: *mut HashTable,
pub zend_constants: *mut HashTable,
pub vm_stack_top: *mut zval,
pub vm_stack_end: *mut zval,
pub vm_stack: zend_vm_stack,
pub vm_stack_page_size: usize,
pub current_execute_data: *mut _zend_execute_data,
pub fake_scope: *mut zend_class_entry,
pub precision: zend_long,
pub ticks_count: ::std::os::raw::c_int,
pub persistent_constants_count: u32,
pub persistent_functions_count: u32,
pub persistent_classes_count: u32,
pub in_autoload: *mut HashTable,
pub autoload_func: *mut zend_function,
pub full_tables_cleanup: zend_bool,
pub no_extensions: zend_bool,
pub vm_interrupt: zend_bool,
pub timed_out: zend_bool,
pub hard_timeout: zend_long,
pub regular_list: HashTable,
pub persistent_list: HashTable,
pub user_error_handler_error_reporting: ::std::os::raw::c_int,
pub user_error_handler: zval,
pub user_exception_handler: zval,
pub user_error_handlers_error_reporting: zend_stack,
pub user_error_handlers: zend_stack,
pub user_exception_handlers: zend_stack,
pub error_handling: zend_error_handling_t,
pub exception_class: *mut zend_class_entry,
pub timeout_seconds: zend_long,
pub lambda_count: ::std::os::raw::c_int,
pub ini_directives: *mut HashTable,
pub modified_ini_directives: *mut HashTable,
pub error_reporting_ini_entry: *mut zend_ini_entry,
pub objects_store: zend_objects_store,
pub exception: *mut zend_object,
pub prev_exception: *mut zend_object,
pub opline_before_exception: *const zend_op,
pub exception_op: [zend_op; 3usize],
pub current_module: *mut _zend_module_entry,
pub active: zend_bool,
pub flags: zend_uchar,
pub assertions: zend_long,
pub ht_iterators_count: u32,
pub ht_iterators_used: u32,
pub ht_iterators: *mut HashTableIterator,
pub ht_iterators_slots: [HashTableIterator; 16usize],
pub saved_fpu_cw_ptr: *mut ::std::os::raw::c_void,
pub saved_fpu_cw: fpu_control_t,
pub trampoline: zend_function,
pub call_trampoline_op: zend_op,
pub each_deprecation_thrown: zend_bool,
pub weakrefs: HashTable,
pub exception_ignore_args: zend_bool,
pub reserved: [*mut ::std::os::raw::c_void; 6usize],
}
#[test]
fn bindgen_test_layout__zend_executor_globals() {
assert_eq!(
::std::mem::size_of::<_zend_executor_globals>(),
1672usize,
concat!("Size of: ", stringify!(_zend_executor_globals))
);
assert_eq!(
::std::mem::align_of::<_zend_executor_globals>(),
8usize,
concat!("Alignment of ", stringify!(_zend_executor_globals))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).uninitialized_zval as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(uninitialized_zval)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).error_zval as *const _ as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(error_zval)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).symtable_cache as *const _ as usize
},
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(symtable_cache)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).symtable_cache_limit as *const _
as usize
},
288usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(symtable_cache_limit)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).symtable_cache_ptr as *const _
as usize
},
296usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(symtable_cache_ptr)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).symbol_table as *const _ as usize
},
304usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(symbol_table)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).included_files as *const _ as usize
},
360usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(included_files)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_executor_globals>())).bailout as *const _ as usize },
416usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(bailout)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).error_reporting as *const _ as usize
},
424usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(error_reporting)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).exit_status as *const _ as usize
},
428usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(exit_status)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).function_table as *const _ as usize
},
432usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(function_table)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).class_table as *const _ as usize
},
440usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(class_table)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).zend_constants as *const _ as usize
},
448usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(zend_constants)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).vm_stack_top as *const _ as usize
},
456usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(vm_stack_top)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).vm_stack_end as *const _ as usize
},
464usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(vm_stack_end)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_executor_globals>())).vm_stack as *const _ as usize },
472usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(vm_stack)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).vm_stack_page_size as *const _
as usize
},
480usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(vm_stack_page_size)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).current_execute_data as *const _
as usize
},
488usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(current_execute_data)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).fake_scope as *const _ as usize
},
496usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(fake_scope)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).precision as *const _ as usize
},
504usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(precision)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).ticks_count as *const _ as usize
},
512usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(ticks_count)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).persistent_constants_count
as *const _ as usize
},
516usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(persistent_constants_count)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).persistent_functions_count
as *const _ as usize
},
520usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(persistent_functions_count)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).persistent_classes_count as *const _
as usize
},
524usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(persistent_classes_count)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).in_autoload as *const _ as usize
},
528usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(in_autoload)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).autoload_func as *const _ as usize
},
536usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(autoload_func)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).full_tables_cleanup as *const _
as usize
},
544usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(full_tables_cleanup)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).no_extensions as *const _ as usize
},
545usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(no_extensions)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).vm_interrupt as *const _ as usize
},
546usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(vm_interrupt)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).timed_out as *const _ as usize
},
547usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(timed_out)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).hard_timeout as *const _ as usize
},
552usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(hard_timeout)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).regular_list as *const _ as usize
},
560usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(regular_list)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).persistent_list as *const _ as usize
},
616usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(persistent_list)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).user_error_handler_error_reporting
as *const _ as usize
},
672usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(user_error_handler_error_reporting)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).user_error_handler as *const _
as usize
},
680usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(user_error_handler)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).user_exception_handler as *const _
as usize
},
696usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(user_exception_handler)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).user_error_handlers_error_reporting
as *const _ as usize
},
712usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(user_error_handlers_error_reporting)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).user_error_handlers as *const _
as usize
},
736usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(user_error_handlers)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).user_exception_handlers as *const _
as usize
},
760usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(user_exception_handlers)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).error_handling as *const _ as usize
},
784usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(error_handling)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).exception_class as *const _ as usize
},
792usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(exception_class)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).timeout_seconds as *const _ as usize
},
800usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(timeout_seconds)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).lambda_count as *const _ as usize
},
808usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(lambda_count)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).ini_directives as *const _ as usize
},
816usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(ini_directives)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).modified_ini_directives as *const _
as usize
},
824usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(modified_ini_directives)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).error_reporting_ini_entry as *const _
as usize
},
832usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(error_reporting_ini_entry)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).objects_store as *const _ as usize
},
840usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(objects_store)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).exception as *const _ as usize
},
864usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(exception)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).prev_exception as *const _ as usize
},
872usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(prev_exception)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).opline_before_exception as *const _
as usize
},
880usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(opline_before_exception)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).exception_op as *const _ as usize
},
888usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(exception_op)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).current_module as *const _ as usize
},
984usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(current_module)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_executor_globals>())).active as *const _ as usize },
992usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(active)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_executor_globals>())).flags as *const _ as usize },
993usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(flags)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).assertions as *const _ as usize
},
1000usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(assertions)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).ht_iterators_count as *const _
as usize
},
1008usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(ht_iterators_count)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).ht_iterators_used as *const _
as usize
},
1012usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(ht_iterators_used)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).ht_iterators as *const _ as usize
},
1016usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(ht_iterators)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).ht_iterators_slots as *const _
as usize
},
1024usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(ht_iterators_slots)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).saved_fpu_cw_ptr as *const _ as usize
},
1280usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(saved_fpu_cw_ptr)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).saved_fpu_cw as *const _ as usize
},
1288usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(saved_fpu_cw)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).trampoline as *const _ as usize
},
1296usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(trampoline)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).call_trampoline_op as *const _
as usize
},
1520usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(call_trampoline_op)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).each_deprecation_thrown as *const _
as usize
},
1552usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(each_deprecation_thrown)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_executor_globals>())).weakrefs as *const _ as usize },
1560usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(weakrefs)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_executor_globals>())).exception_ignore_args as *const _
as usize
},
1616usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(exception_ignore_args)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_executor_globals>())).reserved as *const _ as usize },
1624usize,
concat!(
"Offset of field: ",
stringify!(_zend_executor_globals),
"::",
stringify!(reserved)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_ini_scanner_globals {
pub yy_in: *mut zend_file_handle,
pub yy_out: *mut zend_file_handle,
pub yy_leng: ::std::os::raw::c_uint,
pub yy_start: *mut ::std::os::raw::c_uchar,
pub yy_text: *mut ::std::os::raw::c_uchar,
pub yy_cursor: *mut ::std::os::raw::c_uchar,
pub yy_marker: *mut ::std::os::raw::c_uchar,
pub yy_limit: *mut ::std::os::raw::c_uchar,
pub yy_state: ::std::os::raw::c_int,
pub state_stack: zend_stack,
pub filename: *mut ::std::os::raw::c_char,
pub lineno: ::std::os::raw::c_int,
pub scanner_mode: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout__zend_ini_scanner_globals() {
assert_eq!(
::std::mem::size_of::<_zend_ini_scanner_globals>(),
112usize,
concat!("Size of: ", stringify!(_zend_ini_scanner_globals))
);
assert_eq!(
::std::mem::align_of::<_zend_ini_scanner_globals>(),
8usize,
concat!("Alignment of ", stringify!(_zend_ini_scanner_globals))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_in as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_scanner_globals),
"::",
stringify!(yy_in)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_out as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_scanner_globals),
"::",
stringify!(yy_out)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_leng as *const _ as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_scanner_globals),
"::",
stringify!(yy_leng)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_start as *const _ as usize
},
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_scanner_globals),
"::",
stringify!(yy_start)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_text as *const _ as usize
},
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_scanner_globals),
"::",
stringify!(yy_text)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_cursor as *const _ as usize
},
40usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_scanner_globals),
"::",
stringify!(yy_cursor)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_marker as *const _ as usize
},
48usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_scanner_globals),
"::",
stringify!(yy_marker)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_limit as *const _ as usize
},
56usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_scanner_globals),
"::",
stringify!(yy_limit)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_ini_scanner_globals>())).yy_state as *const _ as usize
},
64usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_scanner_globals),
"::",
stringify!(yy_state)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_ini_scanner_globals>())).state_stack as *const _ as usize
},
72usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_scanner_globals),
"::",
stringify!(state_stack)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_ini_scanner_globals>())).filename as *const _ as usize
},
96usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_scanner_globals),
"::",
stringify!(filename)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_ini_scanner_globals>())).lineno as *const _ as usize
},
104usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_scanner_globals),
"::",
stringify!(lineno)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_ini_scanner_globals>())).scanner_mode as *const _ as usize
},
108usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_scanner_globals),
"::",
stringify!(scanner_mode)
)
);
}
pub const zend_php_scanner_event_ON_TOKEN: zend_php_scanner_event = 0;
pub const zend_php_scanner_event_ON_FEEDBACK: zend_php_scanner_event = 1;
pub const zend_php_scanner_event_ON_STOP: zend_php_scanner_event = 2;
pub type zend_php_scanner_event = u32;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_php_scanner_globals {
pub yy_in: *mut zend_file_handle,
pub yy_out: *mut zend_file_handle,
pub yy_leng: ::std::os::raw::c_uint,
pub yy_start: *mut ::std::os::raw::c_uchar,
pub yy_text: *mut ::std::os::raw::c_uchar,
pub yy_cursor: *mut ::std::os::raw::c_uchar,
pub yy_marker: *mut ::std::os::raw::c_uchar,
pub yy_limit: *mut ::std::os::raw::c_uchar,
pub yy_state: ::std::os::raw::c_int,
pub state_stack: zend_stack,
pub heredoc_label_stack: zend_ptr_stack,
pub heredoc_scan_ahead: zend_bool,
pub heredoc_indentation: ::std::os::raw::c_int,
pub heredoc_indentation_uses_spaces: zend_bool,
pub script_org: *mut ::std::os::raw::c_uchar,
pub script_org_size: usize,
pub script_filtered: *mut ::std::os::raw::c_uchar,
pub script_filtered_size: usize,
pub input_filter: zend_encoding_filter,
pub output_filter: zend_encoding_filter,
pub script_encoding: *const zend_encoding,
pub scanned_string_len: ::std::os::raw::c_int,
pub on_event: ::std::option::Option<
unsafe extern "C" fn(
event: zend_php_scanner_event,
token: ::std::os::raw::c_int,
line: ::std::os::raw::c_int,
context: *mut ::std::os::raw::c_void,
),
>,
pub on_event_context: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout__zend_php_scanner_globals() {
assert_eq!(
::std::mem::size_of::<_zend_php_scanner_globals>(),
224usize,
concat!("Size of: ", stringify!(_zend_php_scanner_globals))
);
assert_eq!(
::std::mem::align_of::<_zend_php_scanner_globals>(),
8usize,
concat!("Alignment of ", stringify!(_zend_php_scanner_globals))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_in as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_php_scanner_globals),
"::",
stringify!(yy_in)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_out as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_php_scanner_globals),
"::",
stringify!(yy_out)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_leng as *const _ as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_php_scanner_globals),
"::",
stringify!(yy_leng)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_start as *const _ as usize
},
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_php_scanner_globals),
"::",
stringify!(yy_start)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_text as *const _ as usize
},
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_php_scanner_globals),
"::",
stringify!(yy_text)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_cursor as *const _ as usize
},
40usize,
concat!(
"Offset of field: ",
stringify!(_zend_php_scanner_globals),
"::",
stringify!(yy_cursor)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_marker as *const _ as usize
},
48usize,
concat!(
"Offset of field: ",
stringify!(_zend_php_scanner_globals),
"::",
stringify!(yy_marker)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_limit as *const _ as usize
},
56usize,
concat!(
"Offset of field: ",
stringify!(_zend_php_scanner_globals),
"::",
stringify!(yy_limit)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_php_scanner_globals>())).yy_state as *const _ as usize
},
64usize,
concat!(
"Offset of field: ",
stringify!(_zend_php_scanner_globals),
"::",
stringify!(yy_state)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_php_scanner_globals>())).state_stack as *const _ as usize
},
72usize,
concat!(
"Offset of field: ",
stringify!(_zend_php_scanner_globals),
"::",
stringify!(state_stack)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_php_scanner_globals>())).heredoc_label_stack as *const _
as usize
},
96usize,
concat!(
"Offset of field: ",
stringify!(_zend_php_scanner_globals),
"::",
stringify!(heredoc_label_stack)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_php_scanner_globals>())).heredoc_scan_ahead as *const _
as usize
},
128usize,
concat!(
"Offset of field: ",
stringify!(_zend_php_scanner_globals),
"::",
stringify!(heredoc_scan_ahead)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_php_scanner_globals>())).heredoc_indentation as *const _
as usize
},
132usize,
concat!(
"Offset of field: ",
stringify!(_zend_php_scanner_globals),
"::",
stringify!(heredoc_indentation)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_php_scanner_globals>())).heredoc_indentation_uses_spaces
as *const _ as usize
},
136usize,
concat!(
"Offset of field: ",
stringify!(_zend_php_scanner_globals),
"::",
stringify!(heredoc_indentation_uses_spaces)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_php_scanner_globals>())).script_org as *const _ as usize
},
144usize,
concat!(
"Offset of field: ",
stringify!(_zend_php_scanner_globals),
"::",
stringify!(script_org)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_php_scanner_globals>())).script_org_size as *const _
as usize
},
152usize,
concat!(
"Offset of field: ",
stringify!(_zend_php_scanner_globals),
"::",
stringify!(script_org_size)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_php_scanner_globals>())).script_filtered as *const _
as usize
},
160usize,
concat!(
"Offset of field: ",
stringify!(_zend_php_scanner_globals),
"::",
stringify!(script_filtered)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_php_scanner_globals>())).script_filtered_size as *const _
as usize
},
168usize,
concat!(
"Offset of field: ",
stringify!(_zend_php_scanner_globals),
"::",
stringify!(script_filtered_size)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_php_scanner_globals>())).input_filter as *const _ as usize
},
176usize,
concat!(
"Offset of field: ",
stringify!(_zend_php_scanner_globals),
"::",
stringify!(input_filter)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_php_scanner_globals>())).output_filter as *const _ as usize
},
184usize,
concat!(
"Offset of field: ",
stringify!(_zend_php_scanner_globals),
"::",
stringify!(output_filter)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_php_scanner_globals>())).script_encoding as *const _
as usize
},
192usize,
concat!(
"Offset of field: ",
stringify!(_zend_php_scanner_globals),
"::",
stringify!(script_encoding)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_php_scanner_globals>())).scanned_string_len as *const _
as usize
},
200usize,
concat!(
"Offset of field: ",
stringify!(_zend_php_scanner_globals),
"::",
stringify!(scanned_string_len)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_php_scanner_globals>())).on_event as *const _ as usize
},
208usize,
concat!(
"Offset of field: ",
stringify!(_zend_php_scanner_globals),
"::",
stringify!(on_event)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_php_scanner_globals>())).on_event_context as *const _
as usize
},
216usize,
concat!(
"Offset of field: ",
stringify!(_zend_php_scanner_globals),
"::",
stringify!(on_event_context)
)
);
}
extern "C" {
pub fn init_compiler();
}
extern "C" {
pub fn shutdown_compiler();
}
extern "C" {
pub fn zend_init_compiler_data_structures();
}
extern "C" {
pub fn zend_oparray_context_begin(prev_context: *mut zend_oparray_context);
}
extern "C" {
pub fn zend_oparray_context_end(prev_context: *mut zend_oparray_context);
}
extern "C" {
pub fn zend_file_context_begin(prev_context: *mut zend_file_context);
}
extern "C" {
pub fn zend_file_context_end(prev_context: *mut zend_file_context);
}
extern "C" {
pub static mut zend_compile_file: ::std::option::Option<
unsafe extern "C" fn(
file_handle: *mut zend_file_handle,
type_: ::std::os::raw::c_int,
) -> *mut zend_op_array,
>;
}
extern "C" {
pub static mut zend_compile_string: ::std::option::Option<
unsafe extern "C" fn(
source_string: *mut zval,
filename: *mut ::std::os::raw::c_char,
) -> *mut zend_op_array,
>;
}
extern "C" {
pub fn lex_scan(
zendlval: *mut zval,
elem: *mut zend_parser_stack_elem,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn startup_scanner();
}
extern "C" {
pub fn shutdown_scanner();
}
extern "C" {
pub fn zend_set_compiled_filename(new_compiled_filename: *mut zend_string) -> *mut zend_string;
}
extern "C" {
pub fn zend_restore_compiled_filename(original_compiled_filename: *mut zend_string);
}
extern "C" {
pub fn zend_get_compiled_filename() -> *mut zend_string;
}
extern "C" {
pub fn zend_get_compiled_lineno() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_get_scanned_file_offset() -> usize;
}
extern "C" {
pub fn zend_get_compiled_variable_name(
op_array: *const zend_op_array,
var: u32,
) -> *mut zend_string;
}
pub type unary_op_type = ::std::option::Option<
unsafe extern "C" fn(arg1: *mut zval, arg2: *mut zval) -> ::std::os::raw::c_int,
>;
pub type binary_op_type = ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut zval,
arg2: *mut zval,
arg3: *mut zval,
) -> ::std::os::raw::c_int,
>;
extern "C" {
pub fn get_unary_op(opcode: ::std::os::raw::c_int) -> unary_op_type;
}
extern "C" {
pub fn get_binary_op(opcode: ::std::os::raw::c_int) -> binary_op_type;
}
extern "C" {
pub fn zend_stop_lexing();
}
extern "C" {
pub fn zend_emit_final_return(return_one: ::std::os::raw::c_int);
}
extern "C" {
pub fn zend_ast_append_str(left: *mut zend_ast, right: *mut zend_ast) -> *mut zend_ast;
}
extern "C" {
pub fn zend_negate_num_string(ast: *mut zend_ast) -> *mut zend_ast;
}
extern "C" {
pub fn zend_add_class_modifier(flags: u32, new_flag: u32) -> u32;
}
extern "C" {
pub fn zend_add_member_modifier(flags: u32, new_flag: u32) -> u32;
}
extern "C" {
pub fn zend_handle_encoding_declaration(ast: *mut zend_ast) -> zend_bool;
}
extern "C" {
pub fn zend_do_free(op1: *mut znode);
}
extern "C" {
pub fn do_bind_function(lcname: *mut zval) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn do_bind_class(
lcname: *mut zval,
lc_parent_name: *mut zend_string,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_build_delayed_early_binding_list(op_array: *const zend_op_array) -> u32;
}
extern "C" {
pub fn zend_do_delayed_early_binding(
op_array: *mut zend_op_array,
first_early_binding_opline: u32,
);
}
extern "C" {
pub fn zend_do_extended_info();
}
extern "C" {
pub fn zend_do_extended_fcall_begin();
}
extern "C" {
pub fn zend_do_extended_fcall_end();
}
extern "C" {
pub fn zend_verify_namespace();
}
extern "C" {
pub fn zend_resolve_goto_label(op_array: *mut zend_op_array, opline: *mut zend_op);
}
extern "C" {
pub fn function_add_ref(function: *mut zend_function);
}
extern "C" {
pub fn compile_file(
file_handle: *mut zend_file_handle,
type_: ::std::os::raw::c_int,
) -> *mut zend_op_array;
}
extern "C" {
pub fn compile_string(
source_string: *mut zval,
filename: *mut ::std::os::raw::c_char,
) -> *mut zend_op_array;
}
extern "C" {
pub fn compile_filename(
type_: ::std::os::raw::c_int,
filename: *mut zval,
) -> *mut zend_op_array;
}
extern "C" {
pub fn zend_execute_scripts(
type_: ::std::os::raw::c_int,
retval: *mut zval,
file_count: ::std::os::raw::c_int,
...
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn open_file_for_scanning(file_handle: *mut zend_file_handle) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn init_op_array(
op_array: *mut zend_op_array,
type_: zend_uchar,
initial_ops_size: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn destroy_op_array(op_array: *mut zend_op_array);
}
extern "C" {
pub fn zend_destroy_file_handle(file_handle: *mut zend_file_handle);
}
extern "C" {
pub fn zend_cleanup_internal_class_data(ce: *mut zend_class_entry);
}
extern "C" {
pub fn zend_cleanup_internal_classes();
}
extern "C" {
pub fn zend_user_exception_handler();
}
extern "C" {
pub fn zend_free_internal_arg_info(function: *mut zend_internal_function);
}
extern "C" {
pub fn destroy_zend_function(function: *mut zend_function);
}
extern "C" {
pub fn zend_function_dtor(zv: *mut zval);
}
extern "C" {
pub fn destroy_zend_class(zv: *mut zval);
}
extern "C" {
pub fn zend_class_add_ref(zv: *mut zval);
}
extern "C" {
pub fn zend_mangle_property_name(
src1: *const ::std::os::raw::c_char,
src1_length: usize,
src2: *const ::std::os::raw::c_char,
src2_length: usize,
internal: ::std::os::raw::c_int,
) -> *mut zend_string;
}
extern "C" {
pub fn zend_unmangle_property_name_ex(
name: *const zend_string,
class_name: *mut *const ::std::os::raw::c_char,
prop_name: *mut *const ::std::os::raw::c_char,
prop_len: *mut usize,
) -> ::std::os::raw::c_int;
}
pub type zend_needs_live_range_cb = ::std::option::Option<
unsafe extern "C" fn(op_array: *mut zend_op_array, opline: *mut zend_op) -> zend_bool,
>;
extern "C" {
pub fn zend_recalc_live_ranges(
op_array: *mut zend_op_array,
needs_live_range: zend_needs_live_range_cb,
);
}
extern "C" {
pub fn pass_two(op_array: *mut zend_op_array) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_is_compiling() -> zend_bool;
}
extern "C" {
pub fn zend_make_compiled_string_description(
name: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_initialize_class_data(ce: *mut zend_class_entry, nullify_handlers: zend_bool);
}
extern "C" {
pub fn zend_get_class_fetch_type(name: *mut zend_string) -> u32;
}
extern "C" {
pub fn zend_get_call_op(init_op: *const zend_op, fbc: *mut zend_function) -> zend_uchar;
}
extern "C" {
pub fn zend_is_smart_branch(opline: *mut zend_op) -> ::std::os::raw::c_int;
}
pub type zend_auto_global_callback =
::std::option::Option<unsafe extern "C" fn(name: *mut zend_string) -> zend_bool>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_auto_global {
pub name: *mut zend_string,
pub auto_global_callback: zend_auto_global_callback,
pub jit: zend_bool,
pub armed: zend_bool,
}
#[test]
fn bindgen_test_layout__zend_auto_global() {
assert_eq!(
::std::mem::size_of::<_zend_auto_global>(),
24usize,
concat!("Size of: ", stringify!(_zend_auto_global))
);
assert_eq!(
::std::mem::align_of::<_zend_auto_global>(),
8usize,
concat!("Alignment of ", stringify!(_zend_auto_global))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_auto_global>())).name as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_auto_global),
"::",
stringify!(name)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_auto_global>())).auto_global_callback as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_auto_global),
"::",
stringify!(auto_global_callback)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_auto_global>())).jit as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_auto_global),
"::",
stringify!(jit)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_auto_global>())).armed as *const _ as usize },
17usize,
concat!(
"Offset of field: ",
stringify!(_zend_auto_global),
"::",
stringify!(armed)
)
);
}
pub type zend_auto_global = _zend_auto_global;
extern "C" {
pub fn zend_register_auto_global(
name: *mut zend_string,
jit: zend_bool,
auto_global_callback: zend_auto_global_callback,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_activate_auto_globals();
}
extern "C" {
pub fn zend_is_auto_global(name: *mut zend_string) -> zend_bool;
}
extern "C" {
pub fn zend_is_auto_global_str(name: *mut ::std::os::raw::c_char, len: usize) -> zend_bool;
}
extern "C" {
pub fn zend_dirname(path: *mut ::std::os::raw::c_char, len: usize) -> usize;
}
extern "C" {
pub fn zend_set_function_arg_flags(func: *mut zend_function);
}
extern "C" {
pub fn zendlex(elem: *mut zend_parser_stack_elem) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_assert_valid_class_name(const_name: *const zend_string);
}
extern "C" {
pub fn zend_get_opcode_name(opcode: zend_uchar) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_get_opcode_flags(opcode: zend_uchar) -> u32;
}
extern "C" {
pub fn zend_binary_op_produces_numeric_string_error(
opcode: u32,
op1: *mut zval,
op2: *mut zval,
) -> zend_bool;
}
pub type zend_module_entry = _zend_module_entry;
pub type zend_module_dep = _zend_module_dep;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_module_entry {
pub size: ::std::os::raw::c_ushort,
pub zend_api: ::std::os::raw::c_uint,
pub zend_debug: ::std::os::raw::c_uchar,
pub zts: ::std::os::raw::c_uchar,
pub ini_entry: *const _zend_ini_entry,
pub deps: *const _zend_module_dep,
pub name: *const ::std::os::raw::c_char,
pub functions: *const _zend_function_entry,
pub module_startup_func: ::std::option::Option<
unsafe extern "C" fn(
type_: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int,
>,
pub module_shutdown_func: ::std::option::Option<
unsafe extern "C" fn(
type_: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int,
>,
pub request_startup_func: ::std::option::Option<
unsafe extern "C" fn(
type_: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int,
>,
pub request_shutdown_func: ::std::option::Option<
unsafe extern "C" fn(
type_: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int,
>,
pub info_func: ::std::option::Option<unsafe extern "C" fn(zend_module: *mut zend_module_entry)>,
pub version: *const ::std::os::raw::c_char,
pub globals_size: usize,
pub globals_ptr: *mut ::std::os::raw::c_void,
pub globals_ctor:
::std::option::Option<unsafe extern "C" fn(global: *mut ::std::os::raw::c_void)>,
pub globals_dtor:
::std::option::Option<unsafe extern "C" fn(global: *mut ::std::os::raw::c_void)>,
pub post_deactivate_func:
::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>,
pub module_started: ::std::os::raw::c_int,
pub type_: ::std::os::raw::c_uchar,
pub handle: *mut ::std::os::raw::c_void,
pub module_number: ::std::os::raw::c_int,
pub build_id: *const ::std::os::raw::c_char,
}
#[test]
fn bindgen_test_layout__zend_module_entry() {
assert_eq!(
::std::mem::size_of::<_zend_module_entry>(),
168usize,
concat!("Size of: ", stringify!(_zend_module_entry))
);
assert_eq!(
::std::mem::align_of::<_zend_module_entry>(),
8usize,
concat!("Alignment of ", stringify!(_zend_module_entry))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).size as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_entry),
"::",
stringify!(size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).zend_api as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_entry),
"::",
stringify!(zend_api)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).zend_debug as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_entry),
"::",
stringify!(zend_debug)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).zts as *const _ as usize },
9usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_entry),
"::",
stringify!(zts)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).ini_entry as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_entry),
"::",
stringify!(ini_entry)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).deps as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_entry),
"::",
stringify!(deps)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).name as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_entry),
"::",
stringify!(name)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).functions as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_entry),
"::",
stringify!(functions)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_module_entry>())).module_startup_func as *const _ as usize
},
48usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_entry),
"::",
stringify!(module_startup_func)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_module_entry>())).module_shutdown_func as *const _ as usize
},
56usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_entry),
"::",
stringify!(module_shutdown_func)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_module_entry>())).request_startup_func as *const _ as usize
},
64usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_entry),
"::",
stringify!(request_startup_func)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_module_entry>())).request_shutdown_func as *const _
as usize
},
72usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_entry),
"::",
stringify!(request_shutdown_func)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).info_func as *const _ as usize },
80usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_entry),
"::",
stringify!(info_func)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).version as *const _ as usize },
88usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_entry),
"::",
stringify!(version)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).globals_size as *const _ as usize },
96usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_entry),
"::",
stringify!(globals_size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).globals_ptr as *const _ as usize },
104usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_entry),
"::",
stringify!(globals_ptr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).globals_ctor as *const _ as usize },
112usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_entry),
"::",
stringify!(globals_ctor)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).globals_dtor as *const _ as usize },
120usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_entry),
"::",
stringify!(globals_dtor)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_module_entry>())).post_deactivate_func as *const _ as usize
},
128usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_entry),
"::",
stringify!(post_deactivate_func)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_module_entry>())).module_started as *const _ as usize
},
136usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_entry),
"::",
stringify!(module_started)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).type_ as *const _ as usize },
140usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_entry),
"::",
stringify!(type_)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).handle as *const _ as usize },
144usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_entry),
"::",
stringify!(handle)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_module_entry>())).module_number as *const _ as usize
},
152usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_entry),
"::",
stringify!(module_number)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_module_entry>())).build_id as *const _ as usize },
160usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_entry),
"::",
stringify!(build_id)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_module_dep {
pub name: *const ::std::os::raw::c_char,
pub rel: *const ::std::os::raw::c_char,
pub version: *const ::std::os::raw::c_char,
pub type_: ::std::os::raw::c_uchar,
}
#[test]
fn bindgen_test_layout__zend_module_dep() {
assert_eq!(
::std::mem::size_of::<_zend_module_dep>(),
32usize,
concat!("Size of: ", stringify!(_zend_module_dep))
);
assert_eq!(
::std::mem::align_of::<_zend_module_dep>(),
8usize,
concat!("Alignment of ", stringify!(_zend_module_dep))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_module_dep>())).name as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_dep),
"::",
stringify!(name)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_module_dep>())).rel as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_dep),
"::",
stringify!(rel)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_module_dep>())).version as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_dep),
"::",
stringify!(version)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_module_dep>())).type_ as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_module_dep),
"::",
stringify!(type_)
)
);
}
extern "C" {
pub static mut module_registry: HashTable;
}
extern "C" {
pub fn module_destructor(module: *mut zend_module_entry);
}
extern "C" {
pub fn module_registry_request_startup(module: *mut zend_module_entry)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn module_registry_unload_temp(module: *const zend_module_entry) -> ::std::os::raw::c_int;
}
pub type rsrc_dtor_func_t = ::std::option::Option<unsafe extern "C" fn(res: *mut zend_resource)>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_rsrc_list_dtors_entry {
pub list_dtor_ex: rsrc_dtor_func_t,
pub plist_dtor_ex: rsrc_dtor_func_t,
pub type_name: *const ::std::os::raw::c_char,
pub module_number: ::std::os::raw::c_int,
pub resource_id: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout__zend_rsrc_list_dtors_entry() {
assert_eq!(
::std::mem::size_of::<_zend_rsrc_list_dtors_entry>(),
32usize,
concat!("Size of: ", stringify!(_zend_rsrc_list_dtors_entry))
);
assert_eq!(
::std::mem::align_of::<_zend_rsrc_list_dtors_entry>(),
8usize,
concat!("Alignment of ", stringify!(_zend_rsrc_list_dtors_entry))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_rsrc_list_dtors_entry>())).list_dtor_ex as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_rsrc_list_dtors_entry),
"::",
stringify!(list_dtor_ex)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_rsrc_list_dtors_entry>())).plist_dtor_ex as *const _
as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_rsrc_list_dtors_entry),
"::",
stringify!(plist_dtor_ex)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_rsrc_list_dtors_entry>())).type_name as *const _ as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_rsrc_list_dtors_entry),
"::",
stringify!(type_name)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_rsrc_list_dtors_entry>())).module_number as *const _
as usize
},
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_rsrc_list_dtors_entry),
"::",
stringify!(module_number)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_rsrc_list_dtors_entry>())).resource_id as *const _ as usize
},
28usize,
concat!(
"Offset of field: ",
stringify!(_zend_rsrc_list_dtors_entry),
"::",
stringify!(resource_id)
)
);
}
pub type zend_rsrc_list_dtors_entry = _zend_rsrc_list_dtors_entry;
extern "C" {
pub fn zend_register_list_destructors_ex(
ld: rsrc_dtor_func_t,
pld: rsrc_dtor_func_t,
type_name: *const ::std::os::raw::c_char,
module_number: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn list_entry_destructor(ptr: *mut zval);
}
extern "C" {
pub fn plist_entry_destructor(ptr: *mut zval);
}
extern "C" {
pub fn zend_clean_module_rsrc_dtors(module_number: ::std::os::raw::c_int);
}
extern "C" {
pub fn zend_init_rsrc_list() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_init_rsrc_plist() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_close_rsrc_list(ht: *mut HashTable);
}
extern "C" {
pub fn zend_destroy_rsrc_list(ht: *mut HashTable);
}
extern "C" {
pub fn zend_init_rsrc_list_dtors() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_destroy_rsrc_list_dtors();
}
extern "C" {
pub fn zend_list_insert(
ptr: *mut ::std::os::raw::c_void,
type_: ::std::os::raw::c_int,
) -> *mut zval;
}
extern "C" {
pub fn zend_list_free(res: *mut zend_resource) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_list_delete(res: *mut zend_resource) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_list_close(res: *mut zend_resource) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_register_resource(
rsrc_pointer: *mut ::std::os::raw::c_void,
rsrc_type: ::std::os::raw::c_int,
) -> *mut zend_resource;
}
extern "C" {
pub fn zend_fetch_resource(
res: *mut zend_resource,
resource_type_name: *const ::std::os::raw::c_char,
resource_type: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn zend_fetch_resource2(
res: *mut zend_resource,
resource_type_name: *const ::std::os::raw::c_char,
resource_type: ::std::os::raw::c_int,
resource_type2: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn zend_fetch_resource_ex(
res: *mut zval,
resource_type_name: *const ::std::os::raw::c_char,
resource_type: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn zend_fetch_resource2_ex(
res: *mut zval,
resource_type_name: *const ::std::os::raw::c_char,
resource_type: ::std::os::raw::c_int,
resource_type2: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn zend_rsrc_list_get_rsrc_type(res: *mut zend_resource) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_fetch_list_dtor_id(
type_name: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_register_persistent_resource(
key: *const ::std::os::raw::c_char,
key_len: usize,
rsrc_pointer: *mut ::std::os::raw::c_void,
rsrc_type: ::std::os::raw::c_int,
) -> *mut zend_resource;
}
extern "C" {
pub fn zend_register_persistent_resource_ex(
key: *mut zend_string,
rsrc_pointer: *mut ::std::os::raw::c_void,
rsrc_type: ::std::os::raw::c_int,
) -> *mut zend_resource;
}
extern "C" {
pub static mut le_index_ptr: ::std::os::raw::c_int;
}
extern "C" {
pub static mut zend_execute_ex:
::std::option::Option<unsafe extern "C" fn(execute_data: *mut zend_execute_data)>;
}
extern "C" {
pub static mut zend_execute_internal: ::std::option::Option<
unsafe extern "C" fn(execute_data: *mut zend_execute_data, return_value: *mut zval),
>;
}
extern "C" {
pub fn init_executor();
}
extern "C" {
pub fn shutdown_executor();
}
extern "C" {
pub fn shutdown_destructors();
}
extern "C" {
pub fn zend_init_execute_data(
execute_data: *mut zend_execute_data,
op_array: *mut zend_op_array,
return_value: *mut zval,
);
}
extern "C" {
pub fn zend_init_func_execute_data(
execute_data: *mut zend_execute_data,
op_array: *mut zend_op_array,
return_value: *mut zval,
);
}
extern "C" {
pub fn zend_init_code_execute_data(
execute_data: *mut zend_execute_data,
op_array: *mut zend_op_array,
return_value: *mut zval,
);
}
extern "C" {
pub fn zend_execute(op_array: *mut zend_op_array, return_value: *mut zval);
}
extern "C" {
pub fn execute_ex(execute_data: *mut zend_execute_data);
}
extern "C" {
pub fn execute_internal(execute_data: *mut zend_execute_data, return_value: *mut zval);
}
extern "C" {
pub fn zend_lookup_class(name: *mut zend_string) -> *mut zend_class_entry;
}
extern "C" {
pub fn zend_lookup_class_ex(
name: *mut zend_string,
lcname: *mut zend_string,
flags: u32,
) -> *mut zend_class_entry;
}
extern "C" {
pub fn zend_get_called_scope(ex: *mut zend_execute_data) -> *mut zend_class_entry;
}
extern "C" {
pub fn zend_get_this_object(ex: *mut zend_execute_data) -> *mut zend_object;
}
extern "C" {
pub fn zend_eval_string(
str: *mut ::std::os::raw::c_char,
retval_ptr: *mut zval,
string_name: *mut ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_eval_stringl(
str: *mut ::std::os::raw::c_char,
str_len: usize,
retval_ptr: *mut zval,
string_name: *mut ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_eval_string_ex(
str: *mut ::std::os::raw::c_char,
retval_ptr: *mut zval,
string_name: *mut ::std::os::raw::c_char,
handle_exceptions: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_eval_stringl_ex(
str: *mut ::std::os::raw::c_char,
str_len: usize,
retval_ptr: *mut zval,
string_name: *mut ::std::os::raw::c_char,
handle_exceptions: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub static zend_pass_function: zend_internal_function;
}
extern "C" {
pub fn zend_missing_arg_error(execute_data: *mut zend_execute_data);
}
extern "C" {
pub fn zend_verify_ref_assignable_zval(
ref_: *mut zend_reference,
zv: *mut zval,
strict: zend_bool,
) -> zend_bool;
}
extern "C" {
pub fn zend_verify_prop_assignable_by_ref(
prop_info: *mut zend_property_info,
orig_val: *mut zval,
strict: zend_bool,
) -> zend_bool;
}
extern "C" {
pub fn zend_throw_ref_type_error_zval(prop: *mut zend_property_info, zv: *mut zval);
}
extern "C" {
pub fn zend_throw_ref_type_error_type(
prop1: *mut zend_property_info,
prop2: *mut zend_property_info,
zv: *mut zval,
);
}
extern "C" {
pub fn zend_ref_add_type_source(
source_list: *mut zend_property_info_source_list,
prop: *mut zend_property_info,
);
}
extern "C" {
pub fn zend_ref_del_type_source(
source_list: *mut zend_property_info_source_list,
prop: *mut zend_property_info,
);
}
extern "C" {
pub fn zend_assign_to_typed_ref(
variable_ptr: *mut zval,
value: *mut zval,
value_type: zend_uchar,
strict: zend_bool,
ref_: *mut zend_refcounted,
) -> *mut zval;
}
extern "C" {
pub fn zval_update_constant(pp: *mut zval) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zval_update_constant_ex(
pp: *mut zval,
scope: *mut zend_class_entry,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_use_undefined_constant(
name: *mut zend_string,
attr: zend_ast_attr,
result: *mut zval,
) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_vm_stack {
pub top: *mut zval,
pub end: *mut zval,
pub prev: zend_vm_stack,
}
#[test]
fn bindgen_test_layout__zend_vm_stack() {
assert_eq!(
::std::mem::size_of::<_zend_vm_stack>(),
24usize,
concat!("Size of: ", stringify!(_zend_vm_stack))
);
assert_eq!(
::std::mem::align_of::<_zend_vm_stack>(),
8usize,
concat!("Alignment of ", stringify!(_zend_vm_stack))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_vm_stack>())).top as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_vm_stack),
"::",
stringify!(top)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_vm_stack>())).end as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_vm_stack),
"::",
stringify!(end)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_vm_stack>())).prev as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_vm_stack),
"::",
stringify!(prev)
)
);
}
extern "C" {
pub fn zend_vm_stack_init();
}
extern "C" {
pub fn zend_vm_stack_init_ex(page_size: usize);
}
extern "C" {
pub fn zend_vm_stack_destroy();
}
extern "C" {
pub fn zend_vm_stack_extend(size: usize) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn get_active_class_name(
space: *mut *const ::std::os::raw::c_char,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn get_active_function_name() -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_get_executed_filename() -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_get_executed_filename_ex() -> *mut zend_string;
}
extern "C" {
pub fn zend_get_executed_lineno() -> u32;
}
extern "C" {
pub fn zend_get_executed_scope() -> *mut zend_class_entry;
}
extern "C" {
pub fn zend_is_executing() -> zend_bool;
}
extern "C" {
pub fn zend_set_timeout(seconds: zend_long, reset_signals: ::std::os::raw::c_int);
}
extern "C" {
pub fn zend_unset_timeout();
}
extern "C" {
pub fn zend_timeout(dummy: ::std::os::raw::c_int);
}
extern "C" {
pub fn zend_fetch_class(
class_name: *mut zend_string,
fetch_type: ::std::os::raw::c_int,
) -> *mut zend_class_entry;
}
extern "C" {
pub fn zend_fetch_class_by_name(
class_name: *mut zend_string,
lcname: *mut zend_string,
fetch_type: ::std::os::raw::c_int,
) -> *mut zend_class_entry;
}
extern "C" {
pub fn zend_fetch_function(name: *mut zend_string) -> *mut zend_function;
}
extern "C" {
pub fn zend_fetch_function_str(
name: *const ::std::os::raw::c_char,
len: usize,
) -> *mut zend_function;
}
extern "C" {
pub fn zend_init_func_run_time_cache(op_array: *mut zend_op_array);
}
extern "C" {
pub fn zend_fetch_dimension_const(
result: *mut zval,
container: *mut zval,
dim: *mut zval,
type_: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn zend_get_compiled_variable_value(
execute_data_ptr: *const zend_execute_data,
var: u32,
) -> *mut zval;
}
extern "C" {
pub fn zend_set_user_opcode_handler(
opcode: zend_uchar,
handler: user_opcode_handler_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_get_user_opcode_handler(opcode: zend_uchar) -> user_opcode_handler_t;
}
pub type zend_free_op = *mut zval;
extern "C" {
pub fn zend_get_zval_ptr(
opline: *const zend_op,
op_type: ::std::os::raw::c_int,
node: *const znode_op,
execute_data: *const zend_execute_data,
should_free: *mut zend_free_op,
type_: ::std::os::raw::c_int,
) -> *mut zval;
}
extern "C" {
pub fn zend_clean_and_cache_symbol_table(symbol_table: *mut zend_array);
}
extern "C" {
pub fn zend_free_compiled_variables(execute_data: *mut zend_execute_data);
}
extern "C" {
pub fn zend_cleanup_unfinished_execution(
execute_data: *mut zend_execute_data,
op_num: u32,
catch_op_num: u32,
);
}
extern "C" {
pub fn zend_verify_property_type(
info: *mut zend_property_info,
property: *mut zval,
strict: zend_bool,
) -> zend_bool;
}
extern "C" {
pub fn zend_verify_property_type_error(info: *mut zend_property_info, property: *mut zval);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_function_entry {
pub fname: *const ::std::os::raw::c_char,
pub handler: zif_handler,
pub arg_info: *const _zend_internal_arg_info,
pub num_args: u32,
pub flags: u32,
}
#[test]
fn bindgen_test_layout__zend_function_entry() {
assert_eq!(
::std::mem::size_of::<_zend_function_entry>(),
32usize,
concat!("Size of: ", stringify!(_zend_function_entry))
);
assert_eq!(
::std::mem::align_of::<_zend_function_entry>(),
8usize,
concat!("Alignment of ", stringify!(_zend_function_entry))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_function_entry>())).fname as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_function_entry),
"::",
stringify!(fname)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_function_entry>())).handler as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_function_entry),
"::",
stringify!(handler)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_function_entry>())).arg_info as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_function_entry),
"::",
stringify!(arg_info)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_function_entry>())).num_args as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_function_entry),
"::",
stringify!(num_args)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_function_entry>())).flags as *const _ as usize },
28usize,
concat!(
"Offset of field: ",
stringify!(_zend_function_entry),
"::",
stringify!(flags)
)
);
}
pub type zend_function_entry = _zend_function_entry;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_fcall_info {
pub size: usize,
pub function_name: zval,
pub retval: *mut zval,
pub params: *mut zval,
pub object: *mut zend_object,
pub no_separation: zend_bool,
pub param_count: u32,
}
#[test]
fn bindgen_test_layout__zend_fcall_info() {
assert_eq!(
::std::mem::size_of::<_zend_fcall_info>(),
56usize,
concat!("Size of: ", stringify!(_zend_fcall_info))
);
assert_eq!(
::std::mem::align_of::<_zend_fcall_info>(),
8usize,
concat!("Alignment of ", stringify!(_zend_fcall_info))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).size as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_fcall_info),
"::",
stringify!(size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).function_name as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_fcall_info),
"::",
stringify!(function_name)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).retval as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_fcall_info),
"::",
stringify!(retval)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).params as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_fcall_info),
"::",
stringify!(params)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).object as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(_zend_fcall_info),
"::",
stringify!(object)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).no_separation as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(_zend_fcall_info),
"::",
stringify!(no_separation)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_fcall_info>())).param_count as *const _ as usize },
52usize,
concat!(
"Offset of field: ",
stringify!(_zend_fcall_info),
"::",
stringify!(param_count)
)
);
}
pub type zend_fcall_info = _zend_fcall_info;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_fcall_info_cache {
pub function_handler: *mut zend_function,
pub calling_scope: *mut zend_class_entry,
pub called_scope: *mut zend_class_entry,
pub object: *mut zend_object,
}
#[test]
fn bindgen_test_layout__zend_fcall_info_cache() {
assert_eq!(
::std::mem::size_of::<_zend_fcall_info_cache>(),
32usize,
concat!("Size of: ", stringify!(_zend_fcall_info_cache))
);
assert_eq!(
::std::mem::align_of::<_zend_fcall_info_cache>(),
8usize,
concat!("Alignment of ", stringify!(_zend_fcall_info_cache))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_fcall_info_cache>())).function_handler as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_fcall_info_cache),
"::",
stringify!(function_handler)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_fcall_info_cache>())).calling_scope as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_fcall_info_cache),
"::",
stringify!(calling_scope)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_fcall_info_cache>())).called_scope as *const _ as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_fcall_info_cache),
"::",
stringify!(called_scope)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_fcall_info_cache>())).object as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_fcall_info_cache),
"::",
stringify!(object)
)
);
}
pub type zend_fcall_info_cache = _zend_fcall_info_cache;
extern "C" {
pub fn zend_next_free_module() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _zend_get_parameters_array_ex(
param_count: ::std::os::raw::c_int,
argument_array: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_copy_parameters_array(
param_count: ::std::os::raw::c_int,
argument_array: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_parse_parameters(
num_args: ::std::os::raw::c_int,
type_spec: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_parse_parameters_ex(
flags: ::std::os::raw::c_int,
num_args: ::std::os::raw::c_int,
type_spec: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_parse_parameters_throw(
num_args: ::std::os::raw::c_int,
type_spec: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_zval_type_name(arg: *const zval) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_zval_get_type(arg: *const zval) -> *mut zend_string;
}
extern "C" {
pub fn zend_parse_method_parameters(
num_args: ::std::os::raw::c_int,
this_ptr: *mut zval,
type_spec: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_parse_method_parameters_ex(
flags: ::std::os::raw::c_int,
num_args: ::std::os::raw::c_int,
this_ptr: *mut zval,
type_spec: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_parse_parameter(
flags: ::std::os::raw::c_int,
arg_num: ::std::os::raw::c_int,
arg: *mut zval,
spec: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_register_functions(
scope: *mut zend_class_entry,
functions: *const zend_function_entry,
function_table: *mut HashTable,
type_: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_unregister_functions(
functions: *const zend_function_entry,
count: ::std::os::raw::c_int,
function_table: *mut HashTable,
);
}
extern "C" {
pub fn zend_startup_module(module_entry: *mut zend_module_entry) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_register_internal_module(
module_entry: *mut zend_module_entry,
) -> *mut zend_module_entry;
}
extern "C" {
pub fn zend_register_module_ex(module: *mut zend_module_entry) -> *mut zend_module_entry;
}
extern "C" {
pub fn zend_startup_module_ex(module: *mut zend_module_entry) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_startup_modules() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_collect_module_handlers();
}
extern "C" {
pub fn zend_destroy_modules();
}
extern "C" {
pub fn zend_check_magic_method_implementation(
ce: *const zend_class_entry,
fptr: *const zend_function,
error_type: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn zend_register_internal_class(
class_entry: *mut zend_class_entry,
) -> *mut zend_class_entry;
}
extern "C" {
pub fn zend_register_internal_class_ex(
class_entry: *mut zend_class_entry,
parent_ce: *mut zend_class_entry,
) -> *mut zend_class_entry;
}
extern "C" {
pub fn zend_register_internal_interface(
orig_class_entry: *mut zend_class_entry,
) -> *mut zend_class_entry;
}
extern "C" {
pub fn zend_class_implements(
class_entry: *mut zend_class_entry,
num_interfaces: ::std::os::raw::c_int,
...
);
}
extern "C" {
pub fn zend_register_class_alias_ex(
name: *const ::std::os::raw::c_char,
name_len: usize,
ce: *mut zend_class_entry,
persistent: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_disable_function(
function_name: *mut ::std::os::raw::c_char,
function_name_length: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_disable_class(
class_name: *mut ::std::os::raw::c_char,
class_name_length: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_wrong_param_count();
}
extern "C" {
pub fn zend_release_fcall_info_cache(fcc: *mut zend_fcall_info_cache);
}
extern "C" {
pub fn zend_get_callable_name_ex(
callable: *mut zval,
object: *mut zend_object,
) -> *mut zend_string;
}
extern "C" {
pub fn zend_get_callable_name(callable: *mut zval) -> *mut zend_string;
}
extern "C" {
pub fn zend_is_callable_ex(
callable: *mut zval,
object: *mut zend_object,
check_flags: u32,
callable_name: *mut *mut zend_string,
fcc: *mut zend_fcall_info_cache,
error: *mut *mut ::std::os::raw::c_char,
) -> zend_bool;
}
extern "C" {
pub fn zend_is_callable(
callable: *mut zval,
check_flags: u32,
callable_name: *mut *mut zend_string,
) -> zend_bool;
}
extern "C" {
pub fn zend_make_callable(
callable: *mut zval,
callable_name: *mut *mut zend_string,
) -> zend_bool;
}
extern "C" {
pub fn zend_get_module_version(
module_name: *const ::std::os::raw::c_char,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_get_module_started(
module_name: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_declare_typed_property(
ce: *mut zend_class_entry,
name: *mut zend_string,
property: *mut zval,
access_type: ::std::os::raw::c_int,
doc_comment: *mut zend_string,
type_: zend_type,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_declare_property_ex(
ce: *mut zend_class_entry,
name: *mut zend_string,
property: *mut zval,
access_type: ::std::os::raw::c_int,
doc_comment: *mut zend_string,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_declare_property(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
property: *mut zval,
access_type: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_declare_property_null(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
access_type: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_declare_property_bool(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: zend_long,
access_type: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_declare_property_long(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: zend_long,
access_type: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_declare_property_double(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: f64,
access_type: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_declare_property_string(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: *const ::std::os::raw::c_char,
access_type: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_declare_property_stringl(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: *const ::std::os::raw::c_char,
value_len: usize,
access_type: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_declare_class_constant_ex(
ce: *mut zend_class_entry,
name: *mut zend_string,
value: *mut zval,
access_type: ::std::os::raw::c_int,
doc_comment: *mut zend_string,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_declare_class_constant(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_declare_class_constant_null(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_declare_class_constant_long(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: zend_long,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_declare_class_constant_bool(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: zend_bool,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_declare_class_constant_double(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: f64,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_declare_class_constant_stringl(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: *const ::std::os::raw::c_char,
value_length: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_declare_class_constant_string(
ce: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_update_class_constants(class_type: *mut zend_class_entry) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_update_property_ex(
scope: *mut zend_class_entry,
object: *mut zval,
name: *mut zend_string,
value: *mut zval,
);
}
extern "C" {
pub fn zend_update_property(
scope: *mut zend_class_entry,
object: *mut zval,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: *mut zval,
);
}
extern "C" {
pub fn zend_update_property_null(
scope: *mut zend_class_entry,
object: *mut zval,
name: *const ::std::os::raw::c_char,
name_length: usize,
);
}
extern "C" {
pub fn zend_update_property_bool(
scope: *mut zend_class_entry,
object: *mut zval,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: zend_long,
);
}
extern "C" {
pub fn zend_update_property_long(
scope: *mut zend_class_entry,
object: *mut zval,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: zend_long,
);
}
extern "C" {
pub fn zend_update_property_double(
scope: *mut zend_class_entry,
object: *mut zval,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: f64,
);
}
extern "C" {
pub fn zend_update_property_str(
scope: *mut zend_class_entry,
object: *mut zval,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: *mut zend_string,
);
}
extern "C" {
pub fn zend_update_property_string(
scope: *mut zend_class_entry,
object: *mut zval,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: *const ::std::os::raw::c_char,
);
}
extern "C" {
pub fn zend_update_property_stringl(
scope: *mut zend_class_entry,
object: *mut zval,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: *const ::std::os::raw::c_char,
value_length: usize,
);
}
extern "C" {
pub fn zend_unset_property(
scope: *mut zend_class_entry,
object: *mut zval,
name: *const ::std::os::raw::c_char,
name_length: usize,
);
}
extern "C" {
pub fn zend_update_static_property_ex(
scope: *mut zend_class_entry,
name: *mut zend_string,
value: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_update_static_property(
scope: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_update_static_property_null(
scope: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_update_static_property_bool(
scope: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: zend_long,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_update_static_property_long(
scope: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: zend_long,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_update_static_property_double(
scope: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: f64,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_update_static_property_string(
scope: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_update_static_property_stringl(
scope: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
value: *const ::std::os::raw::c_char,
value_length: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_read_property_ex(
scope: *mut zend_class_entry,
object: *mut zval,
name: *mut zend_string,
silent: zend_bool,
rv: *mut zval,
) -> *mut zval;
}
extern "C" {
pub fn zend_read_property(
scope: *mut zend_class_entry,
object: *mut zval,
name: *const ::std::os::raw::c_char,
name_length: usize,
silent: zend_bool,
rv: *mut zval,
) -> *mut zval;
}
extern "C" {
pub fn zend_read_static_property_ex(
scope: *mut zend_class_entry,
name: *mut zend_string,
silent: zend_bool,
) -> *mut zval;
}
extern "C" {
pub fn zend_read_static_property(
scope: *mut zend_class_entry,
name: *const ::std::os::raw::c_char,
name_length: usize,
silent: zend_bool,
) -> *mut zval;
}
extern "C" {
pub fn zend_get_type_by_const(type_: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn object_init(arg: *mut zval) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn object_init_ex(arg: *mut zval, ce: *mut zend_class_entry) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn object_and_properties_init(
arg: *mut zval,
ce: *mut zend_class_entry,
properties: *mut HashTable,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn object_properties_init(object: *mut zend_object, class_type: *mut zend_class_entry);
}
extern "C" {
pub fn object_properties_init_ex(object: *mut zend_object, properties: *mut HashTable);
}
extern "C" {
pub fn object_properties_load(object: *mut zend_object, properties: *mut HashTable);
}
extern "C" {
pub fn zend_merge_properties(obj: *mut zval, properties: *mut HashTable);
}
extern "C" {
pub fn add_assoc_long_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
n: zend_long,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_assoc_null_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_assoc_bool_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
b: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_assoc_resource_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
r: *mut zend_resource,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_assoc_double_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
d: f64,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_assoc_str_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
str: *mut zend_string,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_assoc_string_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
str: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_assoc_stringl_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
str: *const ::std::os::raw::c_char,
length: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_assoc_zval_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
value: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_index_long(arg: *mut zval, index: zend_ulong, n: zend_long)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_index_null(arg: *mut zval, index: zend_ulong) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_index_bool(
arg: *mut zval,
index: zend_ulong,
b: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_index_resource(
arg: *mut zval,
index: zend_ulong,
r: *mut zend_resource,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_index_double(arg: *mut zval, index: zend_ulong, d: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_index_str(
arg: *mut zval,
index: zend_ulong,
str: *mut zend_string,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_index_string(
arg: *mut zval,
index: zend_ulong,
str: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_index_stringl(
arg: *mut zval,
index: zend_ulong,
str: *const ::std::os::raw::c_char,
length: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_next_index_long(arg: *mut zval, n: zend_long) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_next_index_null(arg: *mut zval) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_next_index_bool(arg: *mut zval, b: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_next_index_resource(arg: *mut zval, r: *mut zend_resource) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_next_index_double(arg: *mut zval, d: f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_next_index_str(arg: *mut zval, str: *mut zend_string) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_next_index_string(
arg: *mut zval,
str: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_next_index_stringl(
arg: *mut zval,
str: *const ::std::os::raw::c_char,
length: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn array_set_zval_key(
ht: *mut HashTable,
key: *mut zval,
value: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_property_long_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
l: zend_long,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_property_null_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_property_bool_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
b: zend_long,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_property_resource_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
r: *mut zend_resource,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_property_double_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
d: f64,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_property_str_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
str: *mut zend_string,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_property_string_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
str: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_property_stringl_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
str: *const ::std::os::raw::c_char,
length: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn add_property_zval_ex(
arg: *mut zval,
key: *const ::std::os::raw::c_char,
key_len: usize,
value: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _call_user_function_ex(
object: *mut zval,
function_name: *mut zval,
retval_ptr: *mut zval,
param_count: u32,
params: *mut zval,
no_separation: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub static empty_fcall_info: zend_fcall_info;
}
extern "C" {
pub static empty_fcall_info_cache: zend_fcall_info_cache;
}
extern "C" {
#[doc = " Build zend_call_info/cache from a zval*"]
#[doc = ""]
#[doc = " Caller is responsible to provide a return value (fci->retval), otherwise the we will crash."]
#[doc = " In order to pass parameters the following members need to be set:"]
#[doc = " fci->param_count = 0;"]
#[doc = " fci->params = NULL;"]
#[doc = " The callable_name argument may be NULL."]
#[doc = " Set check_flags to IS_CALLABLE_STRICT for every new usage!"]
pub fn zend_fcall_info_init(
callable: *mut zval,
check_flags: u32,
fci: *mut zend_fcall_info,
fcc: *mut zend_fcall_info_cache,
callable_name: *mut *mut zend_string,
error: *mut *mut ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[doc = " Clear arguments connected with zend_fcall_info *fci"]
#[doc = " If free_mem is not zero then the params array gets free'd as well"]
pub fn zend_fcall_info_args_clear(fci: *mut zend_fcall_info, free_mem: ::std::os::raw::c_int);
}
extern "C" {
#[doc = " Save current arguments from zend_fcall_info *fci"]
#[doc = " params array will be set to NULL"]
pub fn zend_fcall_info_args_save(
fci: *mut zend_fcall_info,
param_count: *mut ::std::os::raw::c_int,
params: *mut *mut zval,
);
}
extern "C" {
#[doc = " Free arguments connected with zend_fcall_info *fci andset back saved ones."]
pub fn zend_fcall_info_args_restore(
fci: *mut zend_fcall_info,
param_count: ::std::os::raw::c_int,
params: *mut zval,
);
}
extern "C" {
#[doc = " Set or clear the arguments in the zend_call_info struct taking care of"]
#[doc = " refcount. If args is NULL and arguments are set then those are cleared."]
pub fn zend_fcall_info_args(
fci: *mut zend_fcall_info,
args: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_fcall_info_args_ex(
fci: *mut zend_fcall_info,
func: *mut zend_function,
args: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[doc = " Set arguments in the zend_fcall_info struct taking care of refcount."]
#[doc = " If argc is 0 the arguments which are set will be cleared, else pass"]
#[doc = " a variable amount of zval** arguments."]
pub fn zend_fcall_info_argp(
fci: *mut zend_fcall_info,
argc: ::std::os::raw::c_int,
argv: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[doc = " Set arguments in the zend_fcall_info struct taking care of refcount."]
#[doc = " If argc is 0 the arguments which are set will be cleared, else pass"]
#[doc = " a variable amount of zval** arguments."]
pub fn zend_fcall_info_argv(
fci: *mut zend_fcall_info,
argc: ::std::os::raw::c_int,
argv: *mut va_list,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[doc = " Set arguments in the zend_fcall_info struct taking care of refcount."]
#[doc = " If argc is 0 the arguments which are set will be cleared, else pass"]
#[doc = " a variable amount of zval** arguments."]
pub fn zend_fcall_info_argn(
fci: *mut zend_fcall_info,
argc: ::std::os::raw::c_int,
...
) -> ::std::os::raw::c_int;
}
extern "C" {
#[doc = " Call a function using information created by zend_fcall_info_init()/args()."]
#[doc = " If args is given then those replace the argument info in fci is temporarily."]
pub fn zend_fcall_info_call(
fci: *mut zend_fcall_info,
fcc: *mut zend_fcall_info_cache,
retval: *mut zval,
args: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_call_function(
fci: *mut zend_fcall_info,
fci_cache: *mut zend_fcall_info_cache,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_set_hash_symbol(
symbol: *mut zval,
name: *const ::std::os::raw::c_char,
name_length: ::std::os::raw::c_int,
is_ref: zend_bool,
num_symbol_tables: ::std::os::raw::c_int,
...
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_delete_global_variable(name: *mut zend_string) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_rebuild_symbol_table() -> *mut zend_array;
}
extern "C" {
pub fn zend_attach_symbol_table(execute_data: *mut zend_execute_data);
}
extern "C" {
pub fn zend_detach_symbol_table(execute_data: *mut zend_execute_data);
}
extern "C" {
pub fn zend_set_local_var(
name: *mut zend_string,
value: *mut zval,
force: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_set_local_var_str(
name: *const ::std::os::raw::c_char,
len: usize,
value: *mut zval,
force: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_find_alias_name(
ce: *mut zend_class_entry,
name: *mut zend_string,
) -> *mut zend_string;
}
extern "C" {
pub fn zend_resolve_method_name(
ce: *mut zend_class_entry,
f: *mut zend_function,
) -> *mut zend_string;
}
extern "C" {
pub fn zend_get_object_type(ce: *const zend_class_entry) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_is_iterable(iterable: *mut zval) -> zend_bool;
}
extern "C" {
pub fn zend_is_countable(countable: *mut zval) -> zend_bool;
}
extern "C" {
pub fn zif_display_disabled_function(
execute_data: *mut zend_execute_data,
return_value: *mut zval,
);
}
extern "C" {
pub fn zend_try_assign_typed_ref_ex(
ref_: *mut zend_reference,
zv: *mut zval,
strict: zend_bool,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_try_assign_typed_ref(
ref_: *mut zend_reference,
zv: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_try_assign_typed_ref_null(ref_: *mut zend_reference) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_try_assign_typed_ref_bool(
ref_: *mut zend_reference,
val: zend_bool,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_try_assign_typed_ref_long(
ref_: *mut zend_reference,
lval: zend_long,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_try_assign_typed_ref_double(
ref_: *mut zend_reference,
dval: f64,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_try_assign_typed_ref_empty_string(
ref_: *mut zend_reference,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_try_assign_typed_ref_str(
ref_: *mut zend_reference,
str: *mut zend_string,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_try_assign_typed_ref_string(
ref_: *mut zend_reference,
string: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_try_assign_typed_ref_stringl(
ref_: *mut zend_reference,
string: *const ::std::os::raw::c_char,
len: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_try_assign_typed_ref_arr(
ref_: *mut zend_reference,
arr: *mut zend_array,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_try_assign_typed_ref_res(
ref_: *mut zend_reference,
res: *mut zend_resource,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_try_assign_typed_ref_zval(
ref_: *mut zend_reference,
zv: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_try_assign_typed_ref_zval_ex(
ref_: *mut zend_reference,
zv: *mut zval,
strict: zend_bool,
) -> ::std::os::raw::c_int;
}
pub const _zend_expected_type_Z_EXPECTED_LONG: _zend_expected_type = 0;
pub const _zend_expected_type_Z_EXPECTED_BOOL: _zend_expected_type = 1;
pub const _zend_expected_type_Z_EXPECTED_STRING: _zend_expected_type = 2;
pub const _zend_expected_type_Z_EXPECTED_ARRAY: _zend_expected_type = 3;
pub const _zend_expected_type_Z_EXPECTED_FUNC: _zend_expected_type = 4;
pub const _zend_expected_type_Z_EXPECTED_RESOURCE: _zend_expected_type = 5;
pub const _zend_expected_type_Z_EXPECTED_PATH: _zend_expected_type = 6;
pub const _zend_expected_type_Z_EXPECTED_OBJECT: _zend_expected_type = 7;
pub const _zend_expected_type_Z_EXPECTED_DOUBLE: _zend_expected_type = 8;
pub const _zend_expected_type_Z_EXPECTED_LAST: _zend_expected_type = 9;
pub type _zend_expected_type = u32;
pub use self::_zend_expected_type as zend_expected_type;
extern "C" {
pub fn zend_wrong_parameters_none_error() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_wrong_parameters_none_exception() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_wrong_parameters_count_error(
min_num_args: ::std::os::raw::c_int,
max_num_args: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn zend_wrong_parameters_count_exception(
min_num_args: ::std::os::raw::c_int,
max_num_args: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn zend_wrong_parameter_type_error(
num: ::std::os::raw::c_int,
expected_type: zend_expected_type,
arg: *mut zval,
);
}
extern "C" {
pub fn zend_wrong_parameter_type_exception(
num: ::std::os::raw::c_int,
expected_type: zend_expected_type,
arg: *mut zval,
);
}
extern "C" {
pub fn zend_wrong_parameter_class_error(
num: ::std::os::raw::c_int,
name: *mut ::std::os::raw::c_char,
arg: *mut zval,
);
}
extern "C" {
pub fn zend_wrong_parameter_class_exception(
num: ::std::os::raw::c_int,
name: *mut ::std::os::raw::c_char,
arg: *mut zval,
);
}
extern "C" {
pub fn zend_wrong_callback_error(
num: ::std::os::raw::c_int,
error: *mut ::std::os::raw::c_char,
);
}
extern "C" {
pub fn zend_wrong_callback_deprecated(
num: ::std::os::raw::c_int,
error: *mut ::std::os::raw::c_char,
);
}
extern "C" {
pub fn zend_wrong_callback_exception(
num: ::std::os::raw::c_int,
error: *mut ::std::os::raw::c_char,
);
}
extern "C" {
pub fn zend_parse_arg_class(
arg: *mut zval,
pce: *mut *mut zend_class_entry,
num: ::std::os::raw::c_int,
check_null: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_parse_arg_bool_slow(arg: *mut zval, dest: *mut zend_bool) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_parse_arg_bool_weak(arg: *mut zval, dest: *mut zend_bool) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_parse_arg_long_slow(arg: *mut zval, dest: *mut zend_long) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_parse_arg_long_weak(arg: *mut zval, dest: *mut zend_long) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_parse_arg_long_cap_slow(
arg: *mut zval,
dest: *mut zend_long,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_parse_arg_long_cap_weak(
arg: *mut zval,
dest: *mut zend_long,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_parse_arg_double_slow(arg: *mut zval, dest: *mut f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_parse_arg_double_weak(arg: *mut zval, dest: *mut f64) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_parse_arg_str_slow(
arg: *mut zval,
dest: *mut *mut zend_string,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_parse_arg_str_weak(
arg: *mut zval,
dest: *mut *mut zend_string,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_strlcpy(
dst: *mut ::std::os::raw::c_char,
src: *const ::std::os::raw::c_char,
siz: usize,
) -> usize;
}
extern "C" {
pub fn php_strlcat(
dst: *mut ::std::os::raw::c_char,
src: *const ::std::os::raw::c_char,
siz: usize,
) -> usize;
}
pub const _ISupper: _bindgen_ty_16 = 256;
pub const _ISlower: _bindgen_ty_16 = 512;
pub const _ISalpha: _bindgen_ty_16 = 1024;
pub const _ISdigit: _bindgen_ty_16 = 2048;
pub const _ISxdigit: _bindgen_ty_16 = 4096;
pub const _ISspace: _bindgen_ty_16 = 8192;
pub const _ISprint: _bindgen_ty_16 = 16384;
pub const _ISgraph: _bindgen_ty_16 = 32768;
pub const _ISblank: _bindgen_ty_16 = 1;
pub const _IScntrl: _bindgen_ty_16 = 2;
pub const _ISpunct: _bindgen_ty_16 = 4;
pub const _ISalnum: _bindgen_ty_16 = 8;
pub type _bindgen_ty_16 = u32;
extern "C" {
pub fn __ctype_b_loc() -> *mut *const ::std::os::raw::c_ushort;
}
extern "C" {
pub fn __ctype_tolower_loc() -> *mut *const __int32_t;
}
extern "C" {
pub fn __ctype_toupper_loc() -> *mut *const __int32_t;
}
extern "C" {
pub fn isalnum(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isalpha(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn iscntrl(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isdigit(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn islower(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isgraph(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isprint(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ispunct(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isspace(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isupper(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isxdigit(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn tolower(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn toupper(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isblank(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isctype(
__c: ::std::os::raw::c_int,
__mask: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isascii(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn toascii(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _toupper(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _tolower(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isalnum_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isalpha_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn iscntrl_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isdigit_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn islower_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isgraph_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isprint_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ispunct_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isspace_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isupper_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isxdigit_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn isblank_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __tolower_l(__c: ::std::os::raw::c_int, __l: locale_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn tolower_l(__c: ::std::os::raw::c_int, __l: locale_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn __toupper_l(__c: ::std::os::raw::c_int, __l: locale_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn toupper_l(__c: ::std::os::raw::c_int, __l: locale_t) -> ::std::os::raw::c_int;
}
pub type socklen_t = __socklen_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 euidaccess(
__name: *const ::std::os::raw::c_char,
__type: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn eaccess(
__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 lseek64(
__fd: ::std::os::raw::c_int,
__offset: __off64_t,
__whence: ::std::os::raw::c_int,
) -> __off64_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 pread64(
__fd: ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_void,
__nbytes: usize,
__offset: __off64_t,
) -> isize;
}
extern "C" {
pub fn pwrite64(
__fd: ::std::os::raw::c_int,
__buf: *const ::std::os::raw::c_void,
__n: usize,
__offset: __off64_t,
) -> isize;
}
extern "C" {
pub fn pipe(__pipedes: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn pipe2(
__pipedes: *mut ::std::os::raw::c_int,
__flags: ::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 get_current_dir_name() -> *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" {
pub fn dup3(
__fd: ::std::os::raw::c_int,
__fd2: ::std::os::raw::c_int,
__flags: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub static mut __environ: *mut *mut ::std::os::raw::c_char;
}
extern "C" {
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 *mut ::std::os::raw::c_char,
__envp: *const *mut ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fexecve(
__fd: ::std::os::raw::c_int,
__argv: *const *mut ::std::os::raw::c_char,
__envp: *const *mut ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn execv(
__path: *const ::std::os::raw::c_char,
__argv: *const *mut ::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 *mut ::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 execvpe(
__file: *const ::std::os::raw::c_char,
__argv: *const *mut ::std::os::raw::c_char,
__envp: *const *mut ::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_17 = 0;
pub const _PC_MAX_CANON: _bindgen_ty_17 = 1;
pub const _PC_MAX_INPUT: _bindgen_ty_17 = 2;
pub const _PC_NAME_MAX: _bindgen_ty_17 = 3;
pub const _PC_PATH_MAX: _bindgen_ty_17 = 4;
pub const _PC_PIPE_BUF: _bindgen_ty_17 = 5;
pub const _PC_CHOWN_RESTRICTED: _bindgen_ty_17 = 6;
pub const _PC_NO_TRUNC: _bindgen_ty_17 = 7;
pub const _PC_VDISABLE: _bindgen_ty_17 = 8;
pub const _PC_SYNC_IO: _bindgen_ty_17 = 9;
pub const _PC_ASYNC_IO: _bindgen_ty_17 = 10;
pub const _PC_PRIO_IO: _bindgen_ty_17 = 11;
pub const _PC_SOCK_MAXBUF: _bindgen_ty_17 = 12;
pub const _PC_FILESIZEBITS: _bindgen_ty_17 = 13;
pub const _PC_REC_INCR_XFER_SIZE: _bindgen_ty_17 = 14;
pub const _PC_REC_MAX_XFER_SIZE: _bindgen_ty_17 = 15;
pub const _PC_REC_MIN_XFER_SIZE: _bindgen_ty_17 = 16;
pub const _PC_REC_XFER_ALIGN: _bindgen_ty_17 = 17;
pub const _PC_ALLOC_SIZE_MIN: _bindgen_ty_17 = 18;
pub const _PC_SYMLINK_MAX: _bindgen_ty_17 = 19;
pub const _PC_2_SYMLINKS: _bindgen_ty_17 = 20;
pub type _bindgen_ty_17 = u32;
pub const _SC_ARG_MAX: _bindgen_ty_18 = 0;
pub const _SC_CHILD_MAX: _bindgen_ty_18 = 1;
pub const _SC_CLK_TCK: _bindgen_ty_18 = 2;
pub const _SC_NGROUPS_MAX: _bindgen_ty_18 = 3;
pub const _SC_OPEN_MAX: _bindgen_ty_18 = 4;
pub const _SC_STREAM_MAX: _bindgen_ty_18 = 5;
pub const _SC_TZNAME_MAX: _bindgen_ty_18 = 6;
pub const _SC_JOB_CONTROL: _bindgen_ty_18 = 7;
pub const _SC_SAVED_IDS: _bindgen_ty_18 = 8;
pub const _SC_REALTIME_SIGNALS: _bindgen_ty_18 = 9;
pub const _SC_PRIORITY_SCHEDULING: _bindgen_ty_18 = 10;
pub const _SC_TIMERS: _bindgen_ty_18 = 11;
pub const _SC_ASYNCHRONOUS_IO: _bindgen_ty_18 = 12;
pub const _SC_PRIORITIZED_IO: _bindgen_ty_18 = 13;
pub const _SC_SYNCHRONIZED_IO: _bindgen_ty_18 = 14;
pub const _SC_FSYNC: _bindgen_ty_18 = 15;
pub const _SC_MAPPED_FILES: _bindgen_ty_18 = 16;
pub const _SC_MEMLOCK: _bindgen_ty_18 = 17;
pub const _SC_MEMLOCK_RANGE: _bindgen_ty_18 = 18;
pub const _SC_MEMORY_PROTECTION: _bindgen_ty_18 = 19;
pub const _SC_MESSAGE_PASSING: _bindgen_ty_18 = 20;
pub const _SC_SEMAPHORES: _bindgen_ty_18 = 21;
pub const _SC_SHARED_MEMORY_OBJECTS: _bindgen_ty_18 = 22;
pub const _SC_AIO_LISTIO_MAX: _bindgen_ty_18 = 23;
pub const _SC_AIO_MAX: _bindgen_ty_18 = 24;
pub const _SC_AIO_PRIO_DELTA_MAX: _bindgen_ty_18 = 25;
pub const _SC_DELAYTIMER_MAX: _bindgen_ty_18 = 26;
pub const _SC_MQ_OPEN_MAX: _bindgen_ty_18 = 27;
pub const _SC_MQ_PRIO_MAX: _bindgen_ty_18 = 28;
pub const _SC_VERSION: _bindgen_ty_18 = 29;
pub const _SC_PAGESIZE: _bindgen_ty_18 = 30;
pub const _SC_RTSIG_MAX: _bindgen_ty_18 = 31;
pub const _SC_SEM_NSEMS_MAX: _bindgen_ty_18 = 32;
pub const _SC_SEM_VALUE_MAX: _bindgen_ty_18 = 33;
pub const _SC_SIGQUEUE_MAX: _bindgen_ty_18 = 34;
pub const _SC_TIMER_MAX: _bindgen_ty_18 = 35;
pub const _SC_BC_BASE_MAX: _bindgen_ty_18 = 36;
pub const _SC_BC_DIM_MAX: _bindgen_ty_18 = 37;
pub const _SC_BC_SCALE_MAX: _bindgen_ty_18 = 38;
pub const _SC_BC_STRING_MAX: _bindgen_ty_18 = 39;
pub const _SC_COLL_WEIGHTS_MAX: _bindgen_ty_18 = 40;
pub const _SC_EQUIV_CLASS_MAX: _bindgen_ty_18 = 41;
pub const _SC_EXPR_NEST_MAX: _bindgen_ty_18 = 42;
pub const _SC_LINE_MAX: _bindgen_ty_18 = 43;
pub const _SC_RE_DUP_MAX: _bindgen_ty_18 = 44;
pub const _SC_CHARCLASS_NAME_MAX: _bindgen_ty_18 = 45;
pub const _SC_2_VERSION: _bindgen_ty_18 = 46;
pub const _SC_2_C_BIND: _bindgen_ty_18 = 47;
pub const _SC_2_C_DEV: _bindgen_ty_18 = 48;
pub const _SC_2_FORT_DEV: _bindgen_ty_18 = 49;
pub const _SC_2_FORT_RUN: _bindgen_ty_18 = 50;
pub const _SC_2_SW_DEV: _bindgen_ty_18 = 51;
pub const _SC_2_LOCALEDEF: _bindgen_ty_18 = 52;
pub const _SC_PII: _bindgen_ty_18 = 53;
pub const _SC_PII_XTI: _bindgen_ty_18 = 54;
pub const _SC_PII_SOCKET: _bindgen_ty_18 = 55;
pub const _SC_PII_INTERNET: _bindgen_ty_18 = 56;
pub const _SC_PII_OSI: _bindgen_ty_18 = 57;
pub const _SC_POLL: _bindgen_ty_18 = 58;
pub const _SC_SELECT: _bindgen_ty_18 = 59;
pub const _SC_UIO_MAXIOV: _bindgen_ty_18 = 60;
pub const _SC_IOV_MAX: _bindgen_ty_18 = 60;
pub const _SC_PII_INTERNET_STREAM: _bindgen_ty_18 = 61;
pub const _SC_PII_INTERNET_DGRAM: _bindgen_ty_18 = 62;
pub const _SC_PII_OSI_COTS: _bindgen_ty_18 = 63;
pub const _SC_PII_OSI_CLTS: _bindgen_ty_18 = 64;
pub const _SC_PII_OSI_M: _bindgen_ty_18 = 65;
pub const _SC_T_IOV_MAX: _bindgen_ty_18 = 66;
pub const _SC_THREADS: _bindgen_ty_18 = 67;
pub const _SC_THREAD_SAFE_FUNCTIONS: _bindgen_ty_18 = 68;
pub const _SC_GETGR_R_SIZE_MAX: _bindgen_ty_18 = 69;
pub const _SC_GETPW_R_SIZE_MAX: _bindgen_ty_18 = 70;
pub const _SC_LOGIN_NAME_MAX: _bindgen_ty_18 = 71;
pub const _SC_TTY_NAME_MAX: _bindgen_ty_18 = 72;
pub const _SC_THREAD_DESTRUCTOR_ITERATIONS: _bindgen_ty_18 = 73;
pub const _SC_THREAD_KEYS_MAX: _bindgen_ty_18 = 74;
pub const _SC_THREAD_STACK_MIN: _bindgen_ty_18 = 75;
pub const _SC_THREAD_THREADS_MAX: _bindgen_ty_18 = 76;
pub const _SC_THREAD_ATTR_STACKADDR: _bindgen_ty_18 = 77;
pub const _SC_THREAD_ATTR_STACKSIZE: _bindgen_ty_18 = 78;
pub const _SC_THREAD_PRIORITY_SCHEDULING: _bindgen_ty_18 = 79;
pub const _SC_THREAD_PRIO_INHERIT: _bindgen_ty_18 = 80;
pub const _SC_THREAD_PRIO_PROTECT: _bindgen_ty_18 = 81;
pub const _SC_THREAD_PROCESS_SHARED: _bindgen_ty_18 = 82;
pub const _SC_NPROCESSORS_CONF: _bindgen_ty_18 = 83;
pub const _SC_NPROCESSORS_ONLN: _bindgen_ty_18 = 84;
pub const _SC_PHYS_PAGES: _bindgen_ty_18 = 85;
pub const _SC_AVPHYS_PAGES: _bindgen_ty_18 = 86;
pub const _SC_ATEXIT_MAX: _bindgen_ty_18 = 87;
pub const _SC_PASS_MAX: _bindgen_ty_18 = 88;
pub const _SC_XOPEN_VERSION: _bindgen_ty_18 = 89;
pub const _SC_XOPEN_XCU_VERSION: _bindgen_ty_18 = 90;
pub const _SC_XOPEN_UNIX: _bindgen_ty_18 = 91;
pub const _SC_XOPEN_CRYPT: _bindgen_ty_18 = 92;
pub const _SC_XOPEN_ENH_I18N: _bindgen_ty_18 = 93;
pub const _SC_XOPEN_SHM: _bindgen_ty_18 = 94;
pub const _SC_2_CHAR_TERM: _bindgen_ty_18 = 95;
pub const _SC_2_C_VERSION: _bindgen_ty_18 = 96;
pub const _SC_2_UPE: _bindgen_ty_18 = 97;
pub const _SC_XOPEN_XPG2: _bindgen_ty_18 = 98;
pub const _SC_XOPEN_XPG3: _bindgen_ty_18 = 99;
pub const _SC_XOPEN_XPG4: _bindgen_ty_18 = 100;
pub const _SC_CHAR_BIT: _bindgen_ty_18 = 101;
pub const _SC_CHAR_MAX: _bindgen_ty_18 = 102;
pub const _SC_CHAR_MIN: _bindgen_ty_18 = 103;
pub const _SC_INT_MAX: _bindgen_ty_18 = 104;
pub const _SC_INT_MIN: _bindgen_ty_18 = 105;
pub const _SC_LONG_BIT: _bindgen_ty_18 = 106;
pub const _SC_WORD_BIT: _bindgen_ty_18 = 107;
pub const _SC_MB_LEN_MAX: _bindgen_ty_18 = 108;
pub const _SC_NZERO: _bindgen_ty_18 = 109;
pub const _SC_SSIZE_MAX: _bindgen_ty_18 = 110;
pub const _SC_SCHAR_MAX: _bindgen_ty_18 = 111;
pub const _SC_SCHAR_MIN: _bindgen_ty_18 = 112;
pub const _SC_SHRT_MAX: _bindgen_ty_18 = 113;
pub const _SC_SHRT_MIN: _bindgen_ty_18 = 114;
pub const _SC_UCHAR_MAX: _bindgen_ty_18 = 115;
pub const _SC_UINT_MAX: _bindgen_ty_18 = 116;
pub const _SC_ULONG_MAX: _bindgen_ty_18 = 117;
pub const _SC_USHRT_MAX: _bindgen_ty_18 = 118;
pub const _SC_NL_ARGMAX: _bindgen_ty_18 = 119;
pub const _SC_NL_LANGMAX: _bindgen_ty_18 = 120;
pub const _SC_NL_MSGMAX: _bindgen_ty_18 = 121;
pub const _SC_NL_NMAX: _bindgen_ty_18 = 122;
pub const _SC_NL_SETMAX: _bindgen_ty_18 = 123;
pub const _SC_NL_TEXTMAX: _bindgen_ty_18 = 124;
pub const _SC_XBS5_ILP32_OFF32: _bindgen_ty_18 = 125;
pub const _SC_XBS5_ILP32_OFFBIG: _bindgen_ty_18 = 126;
pub const _SC_XBS5_LP64_OFF64: _bindgen_ty_18 = 127;
pub const _SC_XBS5_LPBIG_OFFBIG: _bindgen_ty_18 = 128;
pub const _SC_XOPEN_LEGACY: _bindgen_ty_18 = 129;
pub const _SC_XOPEN_REALTIME: _bindgen_ty_18 = 130;
pub const _SC_XOPEN_REALTIME_THREADS: _bindgen_ty_18 = 131;
pub const _SC_ADVISORY_INFO: _bindgen_ty_18 = 132;
pub const _SC_BARRIERS: _bindgen_ty_18 = 133;
pub const _SC_BASE: _bindgen_ty_18 = 134;
pub const _SC_C_LANG_SUPPORT: _bindgen_ty_18 = 135;
pub const _SC_C_LANG_SUPPORT_R: _bindgen_ty_18 = 136;
pub const _SC_CLOCK_SELECTION: _bindgen_ty_18 = 137;
pub const _SC_CPUTIME: _bindgen_ty_18 = 138;
pub const _SC_THREAD_CPUTIME: _bindgen_ty_18 = 139;
pub const _SC_DEVICE_IO: _bindgen_ty_18 = 140;
pub const _SC_DEVICE_SPECIFIC: _bindgen_ty_18 = 141;
pub const _SC_DEVICE_SPECIFIC_R: _bindgen_ty_18 = 142;
pub const _SC_FD_MGMT: _bindgen_ty_18 = 143;
pub const _SC_FIFO: _bindgen_ty_18 = 144;
pub const _SC_PIPE: _bindgen_ty_18 = 145;
pub const _SC_FILE_ATTRIBUTES: _bindgen_ty_18 = 146;
pub const _SC_FILE_LOCKING: _bindgen_ty_18 = 147;
pub const _SC_FILE_SYSTEM: _bindgen_ty_18 = 148;
pub const _SC_MONOTONIC_CLOCK: _bindgen_ty_18 = 149;
pub const _SC_MULTI_PROCESS: _bindgen_ty_18 = 150;
pub const _SC_SINGLE_PROCESS: _bindgen_ty_18 = 151;
pub const _SC_NETWORKING: _bindgen_ty_18 = 152;
pub const _SC_READER_WRITER_LOCKS: _bindgen_ty_18 = 153;
pub const _SC_SPIN_LOCKS: _bindgen_ty_18 = 154;
pub const _SC_REGEXP: _bindgen_ty_18 = 155;
pub const _SC_REGEX_VERSION: _bindgen_ty_18 = 156;
pub const _SC_SHELL: _bindgen_ty_18 = 157;
pub const _SC_SIGNALS: _bindgen_ty_18 = 158;
pub const _SC_SPAWN: _bindgen_ty_18 = 159;
pub const _SC_SPORADIC_SERVER: _bindgen_ty_18 = 160;
pub const _SC_THREAD_SPORADIC_SERVER: _bindgen_ty_18 = 161;
pub const _SC_SYSTEM_DATABASE: _bindgen_ty_18 = 162;
pub const _SC_SYSTEM_DATABASE_R: _bindgen_ty_18 = 163;
pub const _SC_TIMEOUTS: _bindgen_ty_18 = 164;
pub const _SC_TYPED_MEMORY_OBJECTS: _bindgen_ty_18 = 165;
pub const _SC_USER_GROUPS: _bindgen_ty_18 = 166;
pub const _SC_USER_GROUPS_R: _bindgen_ty_18 = 167;
pub const _SC_2_PBS: _bindgen_ty_18 = 168;
pub const _SC_2_PBS_ACCOUNTING: _bindgen_ty_18 = 169;
pub const _SC_2_PBS_LOCATE: _bindgen_ty_18 = 170;
pub const _SC_2_PBS_MESSAGE: _bindgen_ty_18 = 171;
pub const _SC_2_PBS_TRACK: _bindgen_ty_18 = 172;
pub const _SC_SYMLOOP_MAX: _bindgen_ty_18 = 173;
pub const _SC_STREAMS: _bindgen_ty_18 = 174;
pub const _SC_2_PBS_CHECKPOINT: _bindgen_ty_18 = 175;
pub const _SC_V6_ILP32_OFF32: _bindgen_ty_18 = 176;
pub const _SC_V6_ILP32_OFFBIG: _bindgen_ty_18 = 177;
pub const _SC_V6_LP64_OFF64: _bindgen_ty_18 = 178;
pub const _SC_V6_LPBIG_OFFBIG: _bindgen_ty_18 = 179;
pub const _SC_HOST_NAME_MAX: _bindgen_ty_18 = 180;
pub const _SC_TRACE: _bindgen_ty_18 = 181;
pub const _SC_TRACE_EVENT_FILTER: _bindgen_ty_18 = 182;
pub const _SC_TRACE_INHERIT: _bindgen_ty_18 = 183;
pub const _SC_TRACE_LOG: _bindgen_ty_18 = 184;
pub const _SC_LEVEL1_ICACHE_SIZE: _bindgen_ty_18 = 185;
pub const _SC_LEVEL1_ICACHE_ASSOC: _bindgen_ty_18 = 186;
pub const _SC_LEVEL1_ICACHE_LINESIZE: _bindgen_ty_18 = 187;
pub const _SC_LEVEL1_DCACHE_SIZE: _bindgen_ty_18 = 188;
pub const _SC_LEVEL1_DCACHE_ASSOC: _bindgen_ty_18 = 189;
pub const _SC_LEVEL1_DCACHE_LINESIZE: _bindgen_ty_18 = 190;
pub const _SC_LEVEL2_CACHE_SIZE: _bindgen_ty_18 = 191;
pub const _SC_LEVEL2_CACHE_ASSOC: _bindgen_ty_18 = 192;
pub const _SC_LEVEL2_CACHE_LINESIZE: _bindgen_ty_18 = 193;
pub const _SC_LEVEL3_CACHE_SIZE: _bindgen_ty_18 = 194;
pub const _SC_LEVEL3_CACHE_ASSOC: _bindgen_ty_18 = 195;
pub const _SC_LEVEL3_CACHE_LINESIZE: _bindgen_ty_18 = 196;
pub const _SC_LEVEL4_CACHE_SIZE: _bindgen_ty_18 = 197;
pub const _SC_LEVEL4_CACHE_ASSOC: _bindgen_ty_18 = 198;
pub const _SC_LEVEL4_CACHE_LINESIZE: _bindgen_ty_18 = 199;
pub const _SC_IPV6: _bindgen_ty_18 = 235;
pub const _SC_RAW_SOCKETS: _bindgen_ty_18 = 236;
pub const _SC_V7_ILP32_OFF32: _bindgen_ty_18 = 237;
pub const _SC_V7_ILP32_OFFBIG: _bindgen_ty_18 = 238;
pub const _SC_V7_LP64_OFF64: _bindgen_ty_18 = 239;
pub const _SC_V7_LPBIG_OFFBIG: _bindgen_ty_18 = 240;
pub const _SC_SS_REPL_MAX: _bindgen_ty_18 = 241;
pub const _SC_TRACE_EVENT_NAME_MAX: _bindgen_ty_18 = 242;
pub const _SC_TRACE_NAME_MAX: _bindgen_ty_18 = 243;
pub const _SC_TRACE_SYS_MAX: _bindgen_ty_18 = 244;
pub const _SC_TRACE_USER_EVENT_MAX: _bindgen_ty_18 = 245;
pub const _SC_XOPEN_STREAMS: _bindgen_ty_18 = 246;
pub const _SC_THREAD_ROBUST_PRIO_INHERIT: _bindgen_ty_18 = 247;
pub const _SC_THREAD_ROBUST_PRIO_PROTECT: _bindgen_ty_18 = 248;
pub type _bindgen_ty_18 = u32;
pub const _CS_PATH: _bindgen_ty_19 = 0;
pub const _CS_V6_WIDTH_RESTRICTED_ENVS: _bindgen_ty_19 = 1;
pub const _CS_GNU_LIBC_VERSION: _bindgen_ty_19 = 2;
pub const _CS_GNU_LIBPTHREAD_VERSION: _bindgen_ty_19 = 3;
pub const _CS_V5_WIDTH_RESTRICTED_ENVS: _bindgen_ty_19 = 4;
pub const _CS_V7_WIDTH_RESTRICTED_ENVS: _bindgen_ty_19 = 5;
pub const _CS_LFS_CFLAGS: _bindgen_ty_19 = 1000;
pub const _CS_LFS_LDFLAGS: _bindgen_ty_19 = 1001;
pub const _CS_LFS_LIBS: _bindgen_ty_19 = 1002;
pub const _CS_LFS_LINTFLAGS: _bindgen_ty_19 = 1003;
pub const _CS_LFS64_CFLAGS: _bindgen_ty_19 = 1004;
pub const _CS_LFS64_LDFLAGS: _bindgen_ty_19 = 1005;
pub const _CS_LFS64_LIBS: _bindgen_ty_19 = 1006;
pub const _CS_LFS64_LINTFLAGS: _bindgen_ty_19 = 1007;
pub const _CS_XBS5_ILP32_OFF32_CFLAGS: _bindgen_ty_19 = 1100;
pub const _CS_XBS5_ILP32_OFF32_LDFLAGS: _bindgen_ty_19 = 1101;
pub const _CS_XBS5_ILP32_OFF32_LIBS: _bindgen_ty_19 = 1102;
pub const _CS_XBS5_ILP32_OFF32_LINTFLAGS: _bindgen_ty_19 = 1103;
pub const _CS_XBS5_ILP32_OFFBIG_CFLAGS: _bindgen_ty_19 = 1104;
pub const _CS_XBS5_ILP32_OFFBIG_LDFLAGS: _bindgen_ty_19 = 1105;
pub const _CS_XBS5_ILP32_OFFBIG_LIBS: _bindgen_ty_19 = 1106;
pub const _CS_XBS5_ILP32_OFFBIG_LINTFLAGS: _bindgen_ty_19 = 1107;
pub const _CS_XBS5_LP64_OFF64_CFLAGS: _bindgen_ty_19 = 1108;
pub const _CS_XBS5_LP64_OFF64_LDFLAGS: _bindgen_ty_19 = 1109;
pub const _CS_XBS5_LP64_OFF64_LIBS: _bindgen_ty_19 = 1110;
pub const _CS_XBS5_LP64_OFF64_LINTFLAGS: _bindgen_ty_19 = 1111;
pub const _CS_XBS5_LPBIG_OFFBIG_CFLAGS: _bindgen_ty_19 = 1112;
pub const _CS_XBS5_LPBIG_OFFBIG_LDFLAGS: _bindgen_ty_19 = 1113;
pub const _CS_XBS5_LPBIG_OFFBIG_LIBS: _bindgen_ty_19 = 1114;
pub const _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS: _bindgen_ty_19 = 1115;
pub const _CS_POSIX_V6_ILP32_OFF32_CFLAGS: _bindgen_ty_19 = 1116;
pub const _CS_POSIX_V6_ILP32_OFF32_LDFLAGS: _bindgen_ty_19 = 1117;
pub const _CS_POSIX_V6_ILP32_OFF32_LIBS: _bindgen_ty_19 = 1118;
pub const _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS: _bindgen_ty_19 = 1119;
pub const _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS: _bindgen_ty_19 = 1120;
pub const _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS: _bindgen_ty_19 = 1121;
pub const _CS_POSIX_V6_ILP32_OFFBIG_LIBS: _bindgen_ty_19 = 1122;
pub const _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS: _bindgen_ty_19 = 1123;
pub const _CS_POSIX_V6_LP64_OFF64_CFLAGS: _bindgen_ty_19 = 1124;
pub const _CS_POSIX_V6_LP64_OFF64_LDFLAGS: _bindgen_ty_19 = 1125;
pub const _CS_POSIX_V6_LP64_OFF64_LIBS: _bindgen_ty_19 = 1126;
pub const _CS_POSIX_V6_LP64_OFF64_LINTFLAGS: _bindgen_ty_19 = 1127;
pub const _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS: _bindgen_ty_19 = 1128;
pub const _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS: _bindgen_ty_19 = 1129;
pub const _CS_POSIX_V6_LPBIG_OFFBIG_LIBS: _bindgen_ty_19 = 1130;
pub const _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS: _bindgen_ty_19 = 1131;
pub const _CS_POSIX_V7_ILP32_OFF32_CFLAGS: _bindgen_ty_19 = 1132;
pub const _CS_POSIX_V7_ILP32_OFF32_LDFLAGS: _bindgen_ty_19 = 1133;
pub const _CS_POSIX_V7_ILP32_OFF32_LIBS: _bindgen_ty_19 = 1134;
pub const _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS: _bindgen_ty_19 = 1135;
pub const _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS: _bindgen_ty_19 = 1136;
pub const _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS: _bindgen_ty_19 = 1137;
pub const _CS_POSIX_V7_ILP32_OFFBIG_LIBS: _bindgen_ty_19 = 1138;
pub const _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS: _bindgen_ty_19 = 1139;
pub const _CS_POSIX_V7_LP64_OFF64_CFLAGS: _bindgen_ty_19 = 1140;
pub const _CS_POSIX_V7_LP64_OFF64_LDFLAGS: _bindgen_ty_19 = 1141;
pub const _CS_POSIX_V7_LP64_OFF64_LIBS: _bindgen_ty_19 = 1142;
pub const _CS_POSIX_V7_LP64_OFF64_LINTFLAGS: _bindgen_ty_19 = 1143;
pub const _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS: _bindgen_ty_19 = 1144;
pub const _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS: _bindgen_ty_19 = 1145;
pub const _CS_POSIX_V7_LPBIG_OFFBIG_LIBS: _bindgen_ty_19 = 1146;
pub const _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS: _bindgen_ty_19 = 1147;
pub const _CS_V6_ENV: _bindgen_ty_19 = 1148;
pub const _CS_V7_ENV: _bindgen_ty_19 = 1149;
pub type _bindgen_ty_19 = 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 group_member(__gid: __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 getresuid(
__ruid: *mut __uid_t,
__euid: *mut __uid_t,
__suid: *mut __uid_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getresgid(
__rgid: *mut __gid_t,
__egid: *mut __gid_t,
__sgid: *mut __gid_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn setresuid(__ruid: __uid_t, __euid: __uid_t, __suid: __uid_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn setresgid(__rgid: __gid_t, __egid: __gid_t, __sgid: __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" {
pub static mut optarg: *mut ::std::os::raw::c_char;
}
extern "C" {
pub static mut optind: ::std::os::raw::c_int;
}
extern "C" {
pub static mut opterr: ::std::os::raw::c_int;
}
extern "C" {
pub static mut optopt: ::std::os::raw::c_int;
}
extern "C" {
pub fn getopt(
___argc: ::std::os::raw::c_int,
___argv: *const *mut ::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 syncfs(__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 truncate64(
__file: *const ::std::os::raw::c_char,
__length: __off64_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 ftruncate64(__fd: ::std::os::raw::c_int, __length: __off64_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 lockf64(
__fd: ::std::os::raw::c_int,
__cmd: ::std::os::raw::c_int,
__len: __off64_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn copy_file_range(
__infd: ::std::os::raw::c_int,
__pinoff: *mut __off64_t,
__outfd: ::std::os::raw::c_int,
__poutoff: *mut __off64_t,
__length: usize,
__flags: ::std::os::raw::c_uint,
) -> isize;
}
extern "C" {
pub fn fdatasync(__fildes: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn crypt(
__key: *const ::std::os::raw::c_char,
__salt: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn swab(
__from: *const ::std::os::raw::c_void,
__to: *mut ::std::os::raw::c_void,
__n: isize,
);
}
extern "C" {
pub fn getentropy(
__buffer: *mut ::std::os::raw::c_void,
__length: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn gettid() -> __pid_t;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct passwd {
pub pw_name: *mut ::std::os::raw::c_char,
pub pw_passwd: *mut ::std::os::raw::c_char,
pub pw_uid: __uid_t,
pub pw_gid: __gid_t,
pub pw_gecos: *mut ::std::os::raw::c_char,
pub pw_dir: *mut ::std::os::raw::c_char,
pub pw_shell: *mut ::std::os::raw::c_char,
}
#[test]
fn bindgen_test_layout_passwd() {
assert_eq!(
::std::mem::size_of::<passwd>(),
48usize,
concat!("Size of: ", stringify!(passwd))
);
assert_eq!(
::std::mem::align_of::<passwd>(),
8usize,
concat!("Alignment of ", stringify!(passwd))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<passwd>())).pw_name as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(passwd),
"::",
stringify!(pw_name)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<passwd>())).pw_passwd as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(passwd),
"::",
stringify!(pw_passwd)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<passwd>())).pw_uid as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(passwd),
"::",
stringify!(pw_uid)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<passwd>())).pw_gid as *const _ as usize },
20usize,
concat!(
"Offset of field: ",
stringify!(passwd),
"::",
stringify!(pw_gid)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<passwd>())).pw_gecos as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(passwd),
"::",
stringify!(pw_gecos)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<passwd>())).pw_dir as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(passwd),
"::",
stringify!(pw_dir)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<passwd>())).pw_shell as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(passwd),
"::",
stringify!(pw_shell)
)
);
}
extern "C" {
pub fn setpwent();
}
extern "C" {
pub fn endpwent();
}
extern "C" {
pub fn getpwent() -> *mut passwd;
}
extern "C" {
pub fn fgetpwent(__stream: *mut FILE) -> *mut passwd;
}
extern "C" {
pub fn putpwent(__p: *const passwd, __f: *mut FILE) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getpwuid(__uid: __uid_t) -> *mut passwd;
}
extern "C" {
pub fn getpwnam(__name: *const ::std::os::raw::c_char) -> *mut passwd;
}
extern "C" {
pub fn getpwent_r(
__resultbuf: *mut passwd,
__buffer: *mut ::std::os::raw::c_char,
__buflen: usize,
__result: *mut *mut passwd,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getpwuid_r(
__uid: __uid_t,
__resultbuf: *mut passwd,
__buffer: *mut ::std::os::raw::c_char,
__buflen: usize,
__result: *mut *mut passwd,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getpwnam_r(
__name: *const ::std::os::raw::c_char,
__resultbuf: *mut passwd,
__buffer: *mut ::std::os::raw::c_char,
__buflen: usize,
__result: *mut *mut passwd,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn fgetpwent_r(
__stream: *mut FILE,
__resultbuf: *mut passwd,
__buffer: *mut ::std::os::raw::c_char,
__buflen: usize,
__result: *mut *mut passwd,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getpw(__uid: __uid_t, __buffer: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
pub type bool_int = ::std::os::raw::c_int;
pub const boolean_e_NO: boolean_e = 0;
pub const boolean_e_YES: boolean_e = 1;
pub type boolean_e = u32;
extern "C" {
pub fn ap_php_slprintf(
buf: *mut ::std::os::raw::c_char,
len: usize,
format: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ap_php_vslprintf(
buf: *mut ::std::os::raw::c_char,
len: usize,
format: *const ::std::os::raw::c_char,
ap: *mut __va_list_tag,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ap_php_snprintf(
arg1: *mut ::std::os::raw::c_char,
arg2: usize,
arg3: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ap_php_vsnprintf(
arg1: *mut ::std::os::raw::c_char,
arg2: usize,
arg3: *const ::std::os::raw::c_char,
ap: *mut __va_list_tag,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ap_php_vasprintf(
buf: *mut *mut ::std::os::raw::c_char,
format: *const ::std::os::raw::c_char,
ap: *mut __va_list_tag,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn ap_php_asprintf(
buf: *mut *mut ::std::os::raw::c_char,
format: *const ::std::os::raw::c_char,
...
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_gcvt(
value: f64,
ndigit: ::std::os::raw::c_int,
dec_point: ::std::os::raw::c_char,
exponent: ::std::os::raw::c_char,
buf: *mut ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn php_0cvt(
value: f64,
ndigit: ::std::os::raw::c_int,
dec_point: ::std::os::raw::c_char,
exponent: ::std::os::raw::c_char,
buf: *mut ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn php_conv_fp(
format: ::std::os::raw::c_char,
num: f64,
add_dp: boolean_e,
precision: ::std::os::raw::c_int,
dec_point: ::std::os::raw::c_char,
is_negative: *mut bool_int,
buf: *mut ::std::os::raw::c_char,
len: *mut usize,
) -> *mut ::std::os::raw::c_char;
}
pub const length_modifier_e_LM_STD: length_modifier_e = 0;
pub const length_modifier_e_LM_INTMAX_T: length_modifier_e = 1;
pub const length_modifier_e_LM_PTRDIFF_T: length_modifier_e = 2;
pub const length_modifier_e_LM_LONG_LONG: length_modifier_e = 3;
pub const length_modifier_e_LM_SIZE_T: length_modifier_e = 4;
pub const length_modifier_e_LM_LONG: length_modifier_e = 5;
pub const length_modifier_e_LM_LONG_DOUBLE: length_modifier_e = 6;
pub const length_modifier_e_LM_PHP_INT_T: length_modifier_e = 7;
pub type length_modifier_e = u32;
pub type wide_int = ::std::os::raw::c_longlong;
pub type u_wide_int = ::std::os::raw::c_ulonglong;
extern "C" {
pub fn ap_php_conv_10(
num: wide_int,
is_unsigned: bool_int,
is_negative: *mut bool_int,
buf_end: *mut ::std::os::raw::c_char,
len: *mut usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn ap_php_conv_p2(
num: u_wide_int,
nbits: ::std::os::raw::c_int,
format: ::std::os::raw::c_char,
buf_end: *mut ::std::os::raw::c_char,
len: *mut usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn php_printf_to_smart_string(
buf: *mut smart_string,
format: *const ::std::os::raw::c_char,
ap: *mut __va_list_tag,
);
}
extern "C" {
pub fn php_printf_to_smart_str(
buf: *mut smart_str,
format: *const ::std::os::raw::c_char,
ap: *mut __va_list_tag,
);
}
extern "C" {
pub fn phperror(error: *mut ::std::os::raw::c_char);
}
extern "C" {
pub fn php_write(buf: *mut ::std::os::raw::c_void, size: usize) -> usize;
}
extern "C" {
pub fn php_printf(format: *const ::std::os::raw::c_char, ...) -> usize;
}
extern "C" {
pub fn php_get_module_initialized() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn closelog();
}
extern "C" {
pub fn openlog(
__ident: *const ::std::os::raw::c_char,
__option: ::std::os::raw::c_int,
__facility: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn setlogmask(__mask: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn syslog(__pri: ::std::os::raw::c_int, __fmt: *const ::std::os::raw::c_char, ...);
}
extern "C" {
pub fn vsyslog(
__pri: ::std::os::raw::c_int,
__fmt: *const ::std::os::raw::c_char,
__ap: *mut __va_list_tag,
);
}
extern "C" {
pub fn php_syslog(arg1: ::std::os::raw::c_int, format: *const ::std::os::raw::c_char, ...);
}
extern "C" {
pub fn php_openlog(
arg1: *const ::std::os::raw::c_char,
arg2: ::std::os::raw::c_int,
arg3: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn php_log_err_with_severity(
log_message: *mut ::std::os::raw::c_char,
syslog_type_int: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn Debug(format: *mut ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn cfgparse() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_verror(
docref: *const ::std::os::raw::c_char,
params: *const ::std::os::raw::c_char,
type_: ::std::os::raw::c_int,
format: *const ::std::os::raw::c_char,
args: *mut __va_list_tag,
);
}
extern "C" {
pub fn php_error_docref(
docref: *const ::std::os::raw::c_char,
type_: ::std::os::raw::c_int,
format: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn php_error_docref1(
docref: *const ::std::os::raw::c_char,
param1: *const ::std::os::raw::c_char,
type_: ::std::os::raw::c_int,
format: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn php_error_docref2(
docref: *const ::std::os::raw::c_char,
param1: *const ::std::os::raw::c_char,
param2: *const ::std::os::raw::c_char,
type_: ::std::os::raw::c_int,
format: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub static mut php_register_internal_extensions_func:
::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
}
extern "C" {
pub fn php_register_internal_extensions() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_mergesort(
base: *mut ::std::os::raw::c_void,
nmemb: usize,
size: usize,
cmp: ::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,
>,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_register_pre_request_shutdown(
func: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
userdata: *mut ::std::os::raw::c_void,
);
}
extern "C" {
pub fn php_com_initialize();
}
extern "C" {
pub fn php_get_current_user() -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn php_get_internal_encoding() -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn php_get_input_encoding() -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn php_get_output_encoding() -> *const ::std::os::raw::c_char;
}
extern "C" {
pub static mut php_internal_encoding_changed: ::std::option::Option<unsafe extern "C" fn()>;
}
pub const _php_output_handler_status_t_PHP_OUTPUT_HANDLER_FAILURE: _php_output_handler_status_t = 0;
pub const _php_output_handler_status_t_PHP_OUTPUT_HANDLER_SUCCESS: _php_output_handler_status_t = 1;
pub const _php_output_handler_status_t_PHP_OUTPUT_HANDLER_NO_DATA: _php_output_handler_status_t = 2;
pub type _php_output_handler_status_t = u32;
pub use self::_php_output_handler_status_t as php_output_handler_status_t;
pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_OPAQ: _php_output_handler_hook_t =
0;
pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_FLAGS: _php_output_handler_hook_t =
1;
pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_GET_LEVEL: _php_output_handler_hook_t =
2;
pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE: _php_output_handler_hook_t =
3;
pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_DISABLE: _php_output_handler_hook_t =
4;
pub const _php_output_handler_hook_t_PHP_OUTPUT_HANDLER_HOOK_LAST: _php_output_handler_hook_t = 5;
pub type _php_output_handler_hook_t = u32;
pub use self::_php_output_handler_hook_t as php_output_handler_hook_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_output_buffer {
pub data: *mut ::std::os::raw::c_char,
pub size: usize,
pub used: usize,
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize], u32>,
pub __bindgen_padding_0: u32,
}
#[test]
fn bindgen_test_layout__php_output_buffer() {
assert_eq!(
::std::mem::size_of::<_php_output_buffer>(),
32usize,
concat!("Size of: ", stringify!(_php_output_buffer))
);
assert_eq!(
::std::mem::align_of::<_php_output_buffer>(),
8usize,
concat!("Alignment of ", stringify!(_php_output_buffer))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_output_buffer>())).data as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_php_output_buffer),
"::",
stringify!(data)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_output_buffer>())).size as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_php_output_buffer),
"::",
stringify!(size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_output_buffer>())).used as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_php_output_buffer),
"::",
stringify!(used)
)
);
}
impl _php_output_buffer {
#[inline]
pub fn free(&self) -> u32 {
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
}
#[inline]
pub fn set_free(&mut self, val: u32) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(0usize, 1u8, val as u64)
}
}
#[inline]
pub fn _reserved(&self) -> u32 {
unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 31u8) as u32) }
}
#[inline]
pub fn set__reserved(&mut self, val: u32) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(1usize, 31u8, val as u64)
}
}
#[inline]
pub fn new_bitfield_1(free: u32, _reserved: u32) -> __BindgenBitfieldUnit<[u8; 4usize], u32> {
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize], u32> =
Default::default();
__bindgen_bitfield_unit.set(0usize, 1u8, {
let free: u32 = unsafe { ::std::mem::transmute(free) };
free as u64
});
__bindgen_bitfield_unit.set(1usize, 31u8, {
let _reserved: u32 = unsafe { ::std::mem::transmute(_reserved) };
_reserved as u64
});
__bindgen_bitfield_unit
}
}
pub type php_output_buffer = _php_output_buffer;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_output_context {
pub op: ::std::os::raw::c_int,
pub in_: php_output_buffer,
pub out: php_output_buffer,
}
#[test]
fn bindgen_test_layout__php_output_context() {
assert_eq!(
::std::mem::size_of::<_php_output_context>(),
72usize,
concat!("Size of: ", stringify!(_php_output_context))
);
assert_eq!(
::std::mem::align_of::<_php_output_context>(),
8usize,
concat!("Alignment of ", stringify!(_php_output_context))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_output_context>())).op as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_php_output_context),
"::",
stringify!(op)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_output_context>())).in_ as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_php_output_context),
"::",
stringify!(in_)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_output_context>())).out as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(_php_output_context),
"::",
stringify!(out)
)
);
}
pub type php_output_context = _php_output_context;
pub type php_output_handler_func_t = ::std::option::Option<
unsafe extern "C" fn(
output: *mut ::std::os::raw::c_char,
output_len: usize,
handled_output: *mut *mut ::std::os::raw::c_char,
handled_output_len: *mut usize,
mode: ::std::os::raw::c_int,
),
>;
pub type php_output_handler_context_func_t = ::std::option::Option<
unsafe extern "C" fn(
handler_context: *mut *mut ::std::os::raw::c_void,
output_context: *mut php_output_context,
) -> ::std::os::raw::c_int,
>;
pub type php_output_handler_context_dtor_t =
::std::option::Option<unsafe extern "C" fn(opaq: *mut ::std::os::raw::c_void)>;
pub type php_output_handler_conflict_check_t = ::std::option::Option<
unsafe extern "C" fn(
handler_name: *const ::std::os::raw::c_char,
handler_name_len: usize,
) -> ::std::os::raw::c_int,
>;
pub type php_output_handler_alias_ctor_t = ::std::option::Option<
unsafe extern "C" fn(
handler_name: *const ::std::os::raw::c_char,
handler_name_len: usize,
chunk_size: usize,
flags: ::std::os::raw::c_int,
) -> *mut _php_output_handler,
>;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _php_output_handler_user_func_t {
pub fci: zend_fcall_info,
pub fcc: zend_fcall_info_cache,
pub zoh: zval,
}
#[test]
fn bindgen_test_layout__php_output_handler_user_func_t() {
assert_eq!(
::std::mem::size_of::<_php_output_handler_user_func_t>(),
104usize,
concat!("Size of: ", stringify!(_php_output_handler_user_func_t))
);
assert_eq!(
::std::mem::align_of::<_php_output_handler_user_func_t>(),
8usize,
concat!("Alignment of ", stringify!(_php_output_handler_user_func_t))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_output_handler_user_func_t>())).fci as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_php_output_handler_user_func_t),
"::",
stringify!(fci)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_output_handler_user_func_t>())).fcc as *const _ as usize
},
56usize,
concat!(
"Offset of field: ",
stringify!(_php_output_handler_user_func_t),
"::",
stringify!(fcc)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_output_handler_user_func_t>())).zoh as *const _ as usize
},
88usize,
concat!(
"Offset of field: ",
stringify!(_php_output_handler_user_func_t),
"::",
stringify!(zoh)
)
);
}
pub type php_output_handler_user_func_t = _php_output_handler_user_func_t;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _php_output_handler {
pub name: *mut zend_string,
pub flags: ::std::os::raw::c_int,
pub level: ::std::os::raw::c_int,
pub size: usize,
pub buffer: php_output_buffer,
pub opaq: *mut ::std::os::raw::c_void,
pub dtor: ::std::option::Option<unsafe extern "C" fn(opaq: *mut ::std::os::raw::c_void)>,
pub func: _php_output_handler__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _php_output_handler__bindgen_ty_1 {
pub user: *mut php_output_handler_user_func_t,
pub internal: php_output_handler_context_func_t,
_bindgen_union_align: u64,
}
#[test]
fn bindgen_test_layout__php_output_handler__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<_php_output_handler__bindgen_ty_1>(),
8usize,
concat!("Size of: ", stringify!(_php_output_handler__bindgen_ty_1))
);
assert_eq!(
::std::mem::align_of::<_php_output_handler__bindgen_ty_1>(),
8usize,
concat!(
"Alignment of ",
stringify!(_php_output_handler__bindgen_ty_1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_output_handler__bindgen_ty_1>())).user as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_php_output_handler__bindgen_ty_1),
"::",
stringify!(user)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_output_handler__bindgen_ty_1>())).internal as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_php_output_handler__bindgen_ty_1),
"::",
stringify!(internal)
)
);
}
#[test]
fn bindgen_test_layout__php_output_handler() {
assert_eq!(
::std::mem::size_of::<_php_output_handler>(),
80usize,
concat!("Size of: ", stringify!(_php_output_handler))
);
assert_eq!(
::std::mem::align_of::<_php_output_handler>(),
8usize,
concat!("Alignment of ", stringify!(_php_output_handler))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_output_handler>())).name as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_php_output_handler),
"::",
stringify!(name)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_output_handler>())).flags as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_php_output_handler),
"::",
stringify!(flags)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_output_handler>())).level as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(_php_output_handler),
"::",
stringify!(level)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_output_handler>())).size as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_php_output_handler),
"::",
stringify!(size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_output_handler>())).buffer as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_php_output_handler),
"::",
stringify!(buffer)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_output_handler>())).opaq as *const _ as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(_php_output_handler),
"::",
stringify!(opaq)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_output_handler>())).dtor as *const _ as usize },
64usize,
concat!(
"Offset of field: ",
stringify!(_php_output_handler),
"::",
stringify!(dtor)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_output_handler>())).func as *const _ as usize },
72usize,
concat!(
"Offset of field: ",
stringify!(_php_output_handler),
"::",
stringify!(func)
)
);
}
pub type php_output_handler = _php_output_handler;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_output_globals {
pub handlers: zend_stack,
pub active: *mut php_output_handler,
pub running: *mut php_output_handler,
pub output_start_filename: *const ::std::os::raw::c_char,
pub output_start_lineno: ::std::os::raw::c_int,
pub flags: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout__zend_output_globals() {
assert_eq!(
::std::mem::size_of::<_zend_output_globals>(),
56usize,
concat!("Size of: ", stringify!(_zend_output_globals))
);
assert_eq!(
::std::mem::align_of::<_zend_output_globals>(),
8usize,
concat!("Alignment of ", stringify!(_zend_output_globals))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_output_globals>())).handlers as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_output_globals),
"::",
stringify!(handlers)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_output_globals>())).active as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_output_globals),
"::",
stringify!(active)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_output_globals>())).running as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_output_globals),
"::",
stringify!(running)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_output_globals>())).output_start_filename as *const _
as usize
},
40usize,
concat!(
"Offset of field: ",
stringify!(_zend_output_globals),
"::",
stringify!(output_start_filename)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_output_globals>())).output_start_lineno as *const _
as usize
},
48usize,
concat!(
"Offset of field: ",
stringify!(_zend_output_globals),
"::",
stringify!(output_start_lineno)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_output_globals>())).flags as *const _ as usize },
52usize,
concat!(
"Offset of field: ",
stringify!(_zend_output_globals),
"::",
stringify!(flags)
)
);
}
pub type zend_output_globals = _zend_output_globals;
extern "C" {
pub static mut output_globals: zend_output_globals;
}
extern "C" {
pub static mut php_output_default_handler_name: [::std::os::raw::c_char; 23usize];
}
extern "C" {
pub static mut php_output_devnull_handler_name: [::std::os::raw::c_char; 20usize];
}
extern "C" {
pub fn php_output_startup();
}
extern "C" {
pub fn php_output_shutdown();
}
extern "C" {
pub fn php_output_register_constants();
}
extern "C" {
pub fn php_output_activate() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_output_deactivate();
}
extern "C" {
pub fn php_output_set_status(status: ::std::os::raw::c_int);
}
extern "C" {
pub fn php_output_get_status() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_output_set_implicit_flush(flush: ::std::os::raw::c_int);
}
extern "C" {
pub fn php_output_get_start_filename() -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn php_output_get_start_lineno() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_output_write_unbuffered(str: *const ::std::os::raw::c_char, len: usize) -> usize;
}
extern "C" {
pub fn php_output_write(str: *const ::std::os::raw::c_char, len: usize) -> usize;
}
extern "C" {
pub fn php_output_flush() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_output_flush_all();
}
extern "C" {
pub fn php_output_clean() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_output_clean_all();
}
extern "C" {
pub fn php_output_end() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_output_end_all();
}
extern "C" {
pub fn php_output_discard() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_output_discard_all();
}
extern "C" {
pub fn php_output_get_contents(p: *mut zval) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_output_get_length(p: *mut zval) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_output_get_level() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_output_get_active_handler() -> *mut php_output_handler;
}
extern "C" {
pub fn php_output_start_default() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_output_start_devnull() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_output_start_user(
output_handler: *mut zval,
chunk_size: usize,
flags: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_output_start_internal(
name: *const ::std::os::raw::c_char,
name_len: usize,
output_handler: php_output_handler_func_t,
chunk_size: usize,
flags: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_output_handler_create_user(
handler: *mut zval,
chunk_size: usize,
flags: ::std::os::raw::c_int,
) -> *mut php_output_handler;
}
extern "C" {
pub fn php_output_handler_create_internal(
name: *const ::std::os::raw::c_char,
name_len: usize,
handler: php_output_handler_context_func_t,
chunk_size: usize,
flags: ::std::os::raw::c_int,
) -> *mut php_output_handler;
}
extern "C" {
pub fn php_output_handler_set_context(
handler: *mut php_output_handler,
opaq: *mut ::std::os::raw::c_void,
dtor: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
);
}
extern "C" {
pub fn php_output_handler_start(handler: *mut php_output_handler) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_output_handler_started(
name: *const ::std::os::raw::c_char,
name_len: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_output_handler_hook(
type_: php_output_handler_hook_t,
arg: *mut ::std::os::raw::c_void,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_output_handler_dtor(handler: *mut php_output_handler);
}
extern "C" {
pub fn php_output_handler_free(handler: *mut *mut php_output_handler);
}
extern "C" {
pub fn php_output_handler_conflict(
handler_new: *const ::std::os::raw::c_char,
handler_new_len: usize,
handler_set: *const ::std::os::raw::c_char,
handler_set_len: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_output_handler_conflict_register(
handler_name: *const ::std::os::raw::c_char,
handler_name_len: usize,
check_func: php_output_handler_conflict_check_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_output_handler_reverse_conflict_register(
handler_name: *const ::std::os::raw::c_char,
handler_name_len: usize,
check_func: php_output_handler_conflict_check_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_output_handler_alias(
handler_name: *const ::std::os::raw::c_char,
handler_name_len: usize,
) -> php_output_handler_alias_ctor_t;
}
extern "C" {
pub fn php_output_handler_alias_register(
handler_name: *const ::std::os::raw::c_char,
handler_name_len: usize,
func: php_output_handler_alias_ctor_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zif_ob_start(execute_data: *mut zend_execute_data, return_value: *mut zval);
}
extern "C" {
pub fn zif_ob_flush(execute_data: *mut zend_execute_data, return_value: *mut zval);
}
extern "C" {
pub fn zif_ob_clean(execute_data: *mut zend_execute_data, return_value: *mut zval);
}
extern "C" {
pub fn zif_ob_end_flush(execute_data: *mut zend_execute_data, return_value: *mut zval);
}
extern "C" {
pub fn zif_ob_end_clean(execute_data: *mut zend_execute_data, return_value: *mut zval);
}
extern "C" {
pub fn zif_ob_get_flush(execute_data: *mut zend_execute_data, return_value: *mut zval);
}
extern "C" {
pub fn zif_ob_get_clean(execute_data: *mut zend_execute_data, return_value: *mut zval);
}
extern "C" {
pub fn zif_ob_get_contents(execute_data: *mut zend_execute_data, return_value: *mut zval);
}
extern "C" {
pub fn zif_ob_get_length(execute_data: *mut zend_execute_data, return_value: *mut zval);
}
extern "C" {
pub fn zif_ob_get_level(execute_data: *mut zend_execute_data, return_value: *mut zval);
}
extern "C" {
pub fn zif_ob_get_status(execute_data: *mut zend_execute_data, return_value: *mut zval);
}
extern "C" {
pub fn zif_ob_implicit_flush(execute_data: *mut zend_execute_data, return_value: *mut zval);
}
extern "C" {
pub fn zif_ob_list_handlers(execute_data: *mut zend_execute_data, return_value: *mut zval);
}
extern "C" {
pub fn zif_output_add_rewrite_var(
execute_data: *mut zend_execute_data,
return_value: *mut zval,
);
}
extern "C" {
pub fn zif_output_reset_rewrite_vars(
execute_data: *mut zend_execute_data,
return_value: *mut zval,
);
}
#[repr(C)]
#[derive(Debug, 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)
)
);
}
extern "C" {
pub fn gettimeofday(
__tv: *mut timeval,
__tz: *mut ::std::os::raw::c_void,
) -> ::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(Debug, 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 use self::__itimer_which as __itimer_which_t;
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;
}
extern "C" {
pub fn futimesat(
__fd: ::std::os::raw::c_int,
__file: *const ::std::os::raw::c_char,
__tvp: *const timeval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_file_le_stream() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_file_le_pstream() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_file_le_stream_filter() -> ::std::os::raw::c_int;
}
pub type php_stream = _php_stream;
pub type php_stream_wrapper = _php_stream_wrapper;
pub type php_stream_context = _php_stream_context;
pub type php_stream_filter = _php_stream_filter;
pub type php_stream_notification_func = ::std::option::Option<
unsafe extern "C" fn(
context: *mut php_stream_context,
notifycode: ::std::os::raw::c_int,
severity: ::std::os::raw::c_int,
xmsg: *mut ::std::os::raw::c_char,
xcode: ::std::os::raw::c_int,
bytes_sofar: usize,
bytes_max: usize,
ptr: *mut ::std::os::raw::c_void,
),
>;
pub type php_stream_notifier = _php_stream_notifier;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _php_stream_notifier {
pub func: php_stream_notification_func,
pub dtor: ::std::option::Option<unsafe extern "C" fn(notifier: *mut php_stream_notifier)>,
pub ptr: zval,
pub mask: ::std::os::raw::c_int,
pub progress: usize,
pub progress_max: usize,
}
#[test]
fn bindgen_test_layout__php_stream_notifier() {
assert_eq!(
::std::mem::size_of::<_php_stream_notifier>(),
56usize,
concat!("Size of: ", stringify!(_php_stream_notifier))
);
assert_eq!(
::std::mem::align_of::<_php_stream_notifier>(),
8usize,
concat!("Alignment of ", stringify!(_php_stream_notifier))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_notifier>())).func as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_notifier),
"::",
stringify!(func)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_notifier>())).dtor as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_notifier),
"::",
stringify!(dtor)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_notifier>())).ptr as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_notifier),
"::",
stringify!(ptr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_notifier>())).mask as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_notifier),
"::",
stringify!(mask)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_notifier>())).progress as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_notifier),
"::",
stringify!(progress)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_notifier>())).progress_max as *const _ as usize
},
48usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_notifier),
"::",
stringify!(progress_max)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _php_stream_context {
pub notifier: *mut php_stream_notifier,
pub options: zval,
pub res: *mut zend_resource,
}
#[test]
fn bindgen_test_layout__php_stream_context() {
assert_eq!(
::std::mem::size_of::<_php_stream_context>(),
32usize,
concat!("Size of: ", stringify!(_php_stream_context))
);
assert_eq!(
::std::mem::align_of::<_php_stream_context>(),
8usize,
concat!("Alignment of ", stringify!(_php_stream_context))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_context>())).notifier as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_context),
"::",
stringify!(notifier)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_context>())).options as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_context),
"::",
stringify!(options)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_context>())).res as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_context),
"::",
stringify!(res)
)
);
}
extern "C" {
pub fn php_stream_context_free(context: *mut php_stream_context);
}
extern "C" {
pub fn php_stream_context_alloc() -> *mut php_stream_context;
}
extern "C" {
pub fn php_stream_context_get_option(
context: *mut php_stream_context,
wrappername: *const ::std::os::raw::c_char,
optionname: *const ::std::os::raw::c_char,
) -> *mut zval;
}
extern "C" {
pub fn php_stream_context_set_option(
context: *mut php_stream_context,
wrappername: *const ::std::os::raw::c_char,
optionname: *const ::std::os::raw::c_char,
optionvalue: *mut zval,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_notification_alloc() -> *mut php_stream_notifier;
}
extern "C" {
pub fn php_stream_notification_free(notifier: *mut php_stream_notifier);
}
extern "C" {
pub fn php_stream_notification_notify(
context: *mut php_stream_context,
notifycode: ::std::os::raw::c_int,
severity: ::std::os::raw::c_int,
xmsg: *mut ::std::os::raw::c_char,
xcode: ::std::os::raw::c_int,
bytes_sofar: usize,
bytes_max: usize,
ptr: *mut ::std::os::raw::c_void,
);
}
extern "C" {
pub fn php_stream_context_set(
stream: *mut php_stream,
context: *mut php_stream_context,
) -> *mut php_stream_context;
}
pub type php_stream_bucket = _php_stream_bucket;
pub type php_stream_bucket_brigade = _php_stream_bucket_brigade;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_bucket {
pub next: *mut php_stream_bucket,
pub prev: *mut php_stream_bucket,
pub brigade: *mut php_stream_bucket_brigade,
pub buf: *mut ::std::os::raw::c_char,
pub buflen: usize,
pub own_buf: u8,
pub is_persistent: u8,
pub refcount: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout__php_stream_bucket() {
assert_eq!(
::std::mem::size_of::<_php_stream_bucket>(),
48usize,
concat!("Size of: ", stringify!(_php_stream_bucket))
);
assert_eq!(
::std::mem::align_of::<_php_stream_bucket>(),
8usize,
concat!("Alignment of ", stringify!(_php_stream_bucket))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).next as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_bucket),
"::",
stringify!(next)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).prev as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_bucket),
"::",
stringify!(prev)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).brigade as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_bucket),
"::",
stringify!(brigade)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).buf as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_bucket),
"::",
stringify!(buf)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).buflen as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_bucket),
"::",
stringify!(buflen)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).own_buf as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_bucket),
"::",
stringify!(own_buf)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_bucket>())).is_persistent as *const _ as usize
},
41usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_bucket),
"::",
stringify!(is_persistent)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_bucket>())).refcount as *const _ as usize },
44usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_bucket),
"::",
stringify!(refcount)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_bucket_brigade {
pub head: *mut php_stream_bucket,
pub tail: *mut php_stream_bucket,
}
#[test]
fn bindgen_test_layout__php_stream_bucket_brigade() {
assert_eq!(
::std::mem::size_of::<_php_stream_bucket_brigade>(),
16usize,
concat!("Size of: ", stringify!(_php_stream_bucket_brigade))
);
assert_eq!(
::std::mem::align_of::<_php_stream_bucket_brigade>(),
8usize,
concat!("Alignment of ", stringify!(_php_stream_bucket_brigade))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_bucket_brigade>())).head as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_bucket_brigade),
"::",
stringify!(head)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_bucket_brigade>())).tail as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_bucket_brigade),
"::",
stringify!(tail)
)
);
}
pub const php_stream_filter_status_t_PSFS_ERR_FATAL: php_stream_filter_status_t = 0;
pub const php_stream_filter_status_t_PSFS_FEED_ME: php_stream_filter_status_t = 1;
pub const php_stream_filter_status_t_PSFS_PASS_ON: php_stream_filter_status_t = 2;
pub type php_stream_filter_status_t = u32;
extern "C" {
pub fn php_stream_bucket_new(
stream: *mut php_stream,
buf: *mut ::std::os::raw::c_char,
buflen: usize,
own_buf: u8,
buf_persistent: u8,
) -> *mut php_stream_bucket;
}
extern "C" {
pub fn php_stream_bucket_split(
in_: *mut php_stream_bucket,
left: *mut *mut php_stream_bucket,
right: *mut *mut php_stream_bucket,
length: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_bucket_delref(bucket: *mut php_stream_bucket);
}
extern "C" {
pub fn php_stream_bucket_prepend(
brigade: *mut php_stream_bucket_brigade,
bucket: *mut php_stream_bucket,
);
}
extern "C" {
pub fn php_stream_bucket_append(
brigade: *mut php_stream_bucket_brigade,
bucket: *mut php_stream_bucket,
);
}
extern "C" {
pub fn php_stream_bucket_unlink(bucket: *mut php_stream_bucket);
}
extern "C" {
pub fn php_stream_bucket_make_writeable(
bucket: *mut php_stream_bucket,
) -> *mut php_stream_bucket;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_filter_ops {
pub filter: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut php_stream,
thisfilter: *mut php_stream_filter,
buckets_in: *mut php_stream_bucket_brigade,
buckets_out: *mut php_stream_bucket_brigade,
bytes_consumed: *mut usize,
flags: ::std::os::raw::c_int,
) -> php_stream_filter_status_t,
>,
pub dtor: ::std::option::Option<unsafe extern "C" fn(thisfilter: *mut php_stream_filter)>,
pub label: *const ::std::os::raw::c_char,
}
#[test]
fn bindgen_test_layout__php_stream_filter_ops() {
assert_eq!(
::std::mem::size_of::<_php_stream_filter_ops>(),
24usize,
concat!("Size of: ", stringify!(_php_stream_filter_ops))
);
assert_eq!(
::std::mem::align_of::<_php_stream_filter_ops>(),
8usize,
concat!("Alignment of ", stringify!(_php_stream_filter_ops))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_filter_ops>())).filter as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_filter_ops),
"::",
stringify!(filter)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_filter_ops>())).dtor as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_filter_ops),
"::",
stringify!(dtor)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_filter_ops>())).label as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_filter_ops),
"::",
stringify!(label)
)
);
}
pub type php_stream_filter_ops = _php_stream_filter_ops;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_filter_chain {
pub head: *mut php_stream_filter,
pub tail: *mut php_stream_filter,
pub stream: *mut php_stream,
}
#[test]
fn bindgen_test_layout__php_stream_filter_chain() {
assert_eq!(
::std::mem::size_of::<_php_stream_filter_chain>(),
24usize,
concat!("Size of: ", stringify!(_php_stream_filter_chain))
);
assert_eq!(
::std::mem::align_of::<_php_stream_filter_chain>(),
8usize,
concat!("Alignment of ", stringify!(_php_stream_filter_chain))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_filter_chain>())).head as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_filter_chain),
"::",
stringify!(head)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_filter_chain>())).tail as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_filter_chain),
"::",
stringify!(tail)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_filter_chain>())).stream as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_filter_chain),
"::",
stringify!(stream)
)
);
}
pub type php_stream_filter_chain = _php_stream_filter_chain;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _php_stream_filter {
pub fops: *const php_stream_filter_ops,
pub abstract_: zval,
pub next: *mut php_stream_filter,
pub prev: *mut php_stream_filter,
pub is_persistent: ::std::os::raw::c_int,
pub chain: *mut php_stream_filter_chain,
pub buffer: php_stream_bucket_brigade,
pub res: *mut zend_resource,
}
#[test]
fn bindgen_test_layout__php_stream_filter() {
assert_eq!(
::std::mem::size_of::<_php_stream_filter>(),
80usize,
concat!("Size of: ", stringify!(_php_stream_filter))
);
assert_eq!(
::std::mem::align_of::<_php_stream_filter>(),
8usize,
concat!("Alignment of ", stringify!(_php_stream_filter))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).fops as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_filter),
"::",
stringify!(fops)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).abstract_ as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_filter),
"::",
stringify!(abstract_)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).next as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_filter),
"::",
stringify!(next)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).prev as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_filter),
"::",
stringify!(prev)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_filter>())).is_persistent as *const _ as usize
},
40usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_filter),
"::",
stringify!(is_persistent)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).chain as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_filter),
"::",
stringify!(chain)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).buffer as *const _ as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_filter),
"::",
stringify!(buffer)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_filter>())).res as *const _ as usize },
72usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_filter),
"::",
stringify!(res)
)
);
}
extern "C" {
pub fn _php_stream_filter_prepend(
chain: *mut php_stream_filter_chain,
filter: *mut php_stream_filter,
);
}
extern "C" {
pub fn php_stream_filter_prepend_ex(
chain: *mut php_stream_filter_chain,
filter: *mut php_stream_filter,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _php_stream_filter_append(
chain: *mut php_stream_filter_chain,
filter: *mut php_stream_filter,
);
}
extern "C" {
pub fn php_stream_filter_append_ex(
chain: *mut php_stream_filter_chain,
filter: *mut php_stream_filter,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _php_stream_filter_flush(
filter: *mut php_stream_filter,
finish: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_filter_remove(
filter: *mut php_stream_filter,
call_dtor: ::std::os::raw::c_int,
) -> *mut php_stream_filter;
}
extern "C" {
pub fn php_stream_filter_free(filter: *mut php_stream_filter);
}
extern "C" {
pub fn _php_stream_filter_alloc(
fops: *const php_stream_filter_ops,
abstract_: *mut ::std::os::raw::c_void,
persistent: u8,
) -> *mut php_stream_filter;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_filter_factory {
pub create_filter: ::std::option::Option<
unsafe extern "C" fn(
filtername: *const ::std::os::raw::c_char,
filterparams: *mut zval,
persistent: u8,
) -> *mut php_stream_filter,
>,
}
#[test]
fn bindgen_test_layout__php_stream_filter_factory() {
assert_eq!(
::std::mem::size_of::<_php_stream_filter_factory>(),
8usize,
concat!("Size of: ", stringify!(_php_stream_filter_factory))
);
assert_eq!(
::std::mem::align_of::<_php_stream_filter_factory>(),
8usize,
concat!("Alignment of ", stringify!(_php_stream_filter_factory))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_filter_factory>())).create_filter as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_filter_factory),
"::",
stringify!(create_filter)
)
);
}
pub type php_stream_filter_factory = _php_stream_filter_factory;
extern "C" {
pub fn php_stream_filter_register_factory(
filterpattern: *const ::std::os::raw::c_char,
factory: *const php_stream_filter_factory,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_filter_unregister_factory(
filterpattern: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_filter_register_factory_volatile(
filterpattern: *mut zend_string,
factory: *const php_stream_filter_factory,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_filter_create(
filtername: *const ::std::os::raw::c_char,
filterparams: *mut zval,
persistent: u8,
) -> *mut php_stream_filter;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_statbuf {
pub sb: zend_stat_t,
}
#[test]
fn bindgen_test_layout__php_stream_statbuf() {
assert_eq!(
::std::mem::size_of::<_php_stream_statbuf>(),
144usize,
concat!("Size of: ", stringify!(_php_stream_statbuf))
);
assert_eq!(
::std::mem::align_of::<_php_stream_statbuf>(),
8usize,
concat!("Alignment of ", stringify!(_php_stream_statbuf))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_statbuf>())).sb as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_statbuf),
"::",
stringify!(sb)
)
);
}
pub type php_stream_statbuf = _php_stream_statbuf;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _php_stream_dirent {
pub d_name: [::std::os::raw::c_char; 4096usize],
}
#[test]
fn bindgen_test_layout__php_stream_dirent() {
assert_eq!(
::std::mem::size_of::<_php_stream_dirent>(),
4096usize,
concat!("Size of: ", stringify!(_php_stream_dirent))
);
assert_eq!(
::std::mem::align_of::<_php_stream_dirent>(),
1usize,
concat!("Alignment of ", stringify!(_php_stream_dirent))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_dirent>())).d_name as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_dirent),
"::",
stringify!(d_name)
)
);
}
pub type php_stream_dirent = _php_stream_dirent;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_ops {
pub write: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut php_stream,
buf: *const ::std::os::raw::c_char,
count: usize,
) -> isize,
>,
pub read: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut php_stream,
buf: *mut ::std::os::raw::c_char,
count: usize,
) -> isize,
>,
pub close: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut php_stream,
close_handle: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int,
>,
pub flush: ::std::option::Option<
unsafe extern "C" fn(stream: *mut php_stream) -> ::std::os::raw::c_int,
>,
pub label: *const ::std::os::raw::c_char,
pub seek: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut php_stream,
offset: zend_off_t,
whence: ::std::os::raw::c_int,
newoffset: *mut zend_off_t,
) -> ::std::os::raw::c_int,
>,
pub cast: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut php_stream,
castas: ::std::os::raw::c_int,
ret: *mut *mut ::std::os::raw::c_void,
) -> ::std::os::raw::c_int,
>,
pub stat: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut php_stream,
ssb: *mut php_stream_statbuf,
) -> ::std::os::raw::c_int,
>,
pub set_option: ::std::option::Option<
unsafe extern "C" fn(
stream: *mut php_stream,
option: ::std::os::raw::c_int,
value: ::std::os::raw::c_int,
ptrparam: *mut ::std::os::raw::c_void,
) -> ::std::os::raw::c_int,
>,
}
#[test]
fn bindgen_test_layout__php_stream_ops() {
assert_eq!(
::std::mem::size_of::<_php_stream_ops>(),
72usize,
concat!("Size of: ", stringify!(_php_stream_ops))
);
assert_eq!(
::std::mem::align_of::<_php_stream_ops>(),
8usize,
concat!("Alignment of ", stringify!(_php_stream_ops))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).write as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_ops),
"::",
stringify!(write)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).read as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_ops),
"::",
stringify!(read)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).close as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_ops),
"::",
stringify!(close)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).flush as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_ops),
"::",
stringify!(flush)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).label as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_ops),
"::",
stringify!(label)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).seek as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_ops),
"::",
stringify!(seek)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).cast as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_ops),
"::",
stringify!(cast)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).stat as *const _ as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_ops),
"::",
stringify!(stat)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_ops>())).set_option as *const _ as usize },
64usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_ops),
"::",
stringify!(set_option)
)
);
}
pub type php_stream_ops = _php_stream_ops;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_wrapper_ops {
pub stream_opener: ::std::option::Option<
unsafe extern "C" fn(
wrapper: *mut php_stream_wrapper,
filename: *const ::std::os::raw::c_char,
mode: *const ::std::os::raw::c_char,
options: ::std::os::raw::c_int,
opened_path: *mut *mut zend_string,
context: *mut php_stream_context,
) -> *mut php_stream,
>,
pub stream_closer: ::std::option::Option<
unsafe extern "C" fn(
wrapper: *mut php_stream_wrapper,
stream: *mut php_stream,
) -> ::std::os::raw::c_int,
>,
pub stream_stat: ::std::option::Option<
unsafe extern "C" fn(
wrapper: *mut php_stream_wrapper,
stream: *mut php_stream,
ssb: *mut php_stream_statbuf,
) -> ::std::os::raw::c_int,
>,
pub url_stat: ::std::option::Option<
unsafe extern "C" fn(
wrapper: *mut php_stream_wrapper,
url: *const ::std::os::raw::c_char,
flags: ::std::os::raw::c_int,
ssb: *mut php_stream_statbuf,
context: *mut php_stream_context,
) -> ::std::os::raw::c_int,
>,
pub dir_opener: ::std::option::Option<
unsafe extern "C" fn(
wrapper: *mut php_stream_wrapper,
filename: *const ::std::os::raw::c_char,
mode: *const ::std::os::raw::c_char,
options: ::std::os::raw::c_int,
opened_path: *mut *mut zend_string,
context: *mut php_stream_context,
) -> *mut php_stream,
>,
pub label: *const ::std::os::raw::c_char,
pub unlink: ::std::option::Option<
unsafe extern "C" fn(
wrapper: *mut php_stream_wrapper,
url: *const ::std::os::raw::c_char,
options: ::std::os::raw::c_int,
context: *mut php_stream_context,
) -> ::std::os::raw::c_int,
>,
pub rename: ::std::option::Option<
unsafe extern "C" fn(
wrapper: *mut php_stream_wrapper,
url_from: *const ::std::os::raw::c_char,
url_to: *const ::std::os::raw::c_char,
options: ::std::os::raw::c_int,
context: *mut php_stream_context,
) -> ::std::os::raw::c_int,
>,
pub stream_mkdir: ::std::option::Option<
unsafe extern "C" fn(
wrapper: *mut php_stream_wrapper,
url: *const ::std::os::raw::c_char,
mode: ::std::os::raw::c_int,
options: ::std::os::raw::c_int,
context: *mut php_stream_context,
) -> ::std::os::raw::c_int,
>,
pub stream_rmdir: ::std::option::Option<
unsafe extern "C" fn(
wrapper: *mut php_stream_wrapper,
url: *const ::std::os::raw::c_char,
options: ::std::os::raw::c_int,
context: *mut php_stream_context,
) -> ::std::os::raw::c_int,
>,
pub stream_metadata: ::std::option::Option<
unsafe extern "C" fn(
wrapper: *mut php_stream_wrapper,
url: *const ::std::os::raw::c_char,
options: ::std::os::raw::c_int,
value: *mut ::std::os::raw::c_void,
context: *mut php_stream_context,
) -> ::std::os::raw::c_int,
>,
}
#[test]
fn bindgen_test_layout__php_stream_wrapper_ops() {
assert_eq!(
::std::mem::size_of::<_php_stream_wrapper_ops>(),
88usize,
concat!("Size of: ", stringify!(_php_stream_wrapper_ops))
);
assert_eq!(
::std::mem::align_of::<_php_stream_wrapper_ops>(),
8usize,
concat!("Alignment of ", stringify!(_php_stream_wrapper_ops))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_wrapper_ops>())).stream_opener as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_wrapper_ops),
"::",
stringify!(stream_opener)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_wrapper_ops>())).stream_closer as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_wrapper_ops),
"::",
stringify!(stream_closer)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_wrapper_ops>())).stream_stat as *const _ as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_wrapper_ops),
"::",
stringify!(stream_stat)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_wrapper_ops>())).url_stat as *const _ as usize
},
24usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_wrapper_ops),
"::",
stringify!(url_stat)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_wrapper_ops>())).dir_opener as *const _ as usize
},
32usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_wrapper_ops),
"::",
stringify!(dir_opener)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).label as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_wrapper_ops),
"::",
stringify!(label)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).unlink as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_wrapper_ops),
"::",
stringify!(unlink)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_wrapper_ops>())).rename as *const _ as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_wrapper_ops),
"::",
stringify!(rename)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_wrapper_ops>())).stream_mkdir as *const _ as usize
},
64usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_wrapper_ops),
"::",
stringify!(stream_mkdir)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_wrapper_ops>())).stream_rmdir as *const _ as usize
},
72usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_wrapper_ops),
"::",
stringify!(stream_rmdir)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_wrapper_ops>())).stream_metadata as *const _ as usize
},
80usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_wrapper_ops),
"::",
stringify!(stream_metadata)
)
);
}
pub type php_stream_wrapper_ops = _php_stream_wrapper_ops;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_wrapper {
pub wops: *const php_stream_wrapper_ops,
pub abstract_: *mut ::std::os::raw::c_void,
pub is_url: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout__php_stream_wrapper() {
assert_eq!(
::std::mem::size_of::<_php_stream_wrapper>(),
24usize,
concat!("Size of: ", stringify!(_php_stream_wrapper))
);
assert_eq!(
::std::mem::align_of::<_php_stream_wrapper>(),
8usize,
concat!("Alignment of ", stringify!(_php_stream_wrapper))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_wrapper>())).wops as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_wrapper),
"::",
stringify!(wops)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_wrapper>())).abstract_ as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_wrapper),
"::",
stringify!(abstract_)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_wrapper>())).is_url as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_wrapper),
"::",
stringify!(is_url)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _php_stream {
pub ops: *const php_stream_ops,
pub abstract_: *mut ::std::os::raw::c_void,
pub readfilters: php_stream_filter_chain,
pub writefilters: php_stream_filter_chain,
pub wrapper: *mut php_stream_wrapper,
pub wrapperthis: *mut ::std::os::raw::c_void,
pub wrapperdata: zval,
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
pub fgetss_state: u8,
pub mode: [::std::os::raw::c_char; 16usize],
pub flags: u32,
pub res: *mut zend_resource,
pub stdiocast: *mut FILE,
pub orig_path: *mut ::std::os::raw::c_char,
pub ctx: *mut zend_resource,
pub position: zend_off_t,
pub readbuf: *mut ::std::os::raw::c_uchar,
pub readbuflen: usize,
pub readpos: zend_off_t,
pub writepos: zend_off_t,
pub chunk_size: usize,
pub enclosing_stream: *mut _php_stream,
}
#[test]
fn bindgen_test_layout__php_stream() {
assert_eq!(
::std::mem::size_of::<_php_stream>(),
208usize,
concat!("Size of: ", stringify!(_php_stream))
);
assert_eq!(
::std::mem::align_of::<_php_stream>(),
8usize,
concat!("Alignment of ", stringify!(_php_stream))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream>())).ops as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_php_stream),
"::",
stringify!(ops)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream>())).abstract_ as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_php_stream),
"::",
stringify!(abstract_)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream>())).readfilters as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_php_stream),
"::",
stringify!(readfilters)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream>())).writefilters as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(_php_stream),
"::",
stringify!(writefilters)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream>())).wrapper as *const _ as usize },
64usize,
concat!(
"Offset of field: ",
stringify!(_php_stream),
"::",
stringify!(wrapper)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream>())).wrapperthis as *const _ as usize },
72usize,
concat!(
"Offset of field: ",
stringify!(_php_stream),
"::",
stringify!(wrapperthis)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream>())).wrapperdata as *const _ as usize },
80usize,
concat!(
"Offset of field: ",
stringify!(_php_stream),
"::",
stringify!(wrapperdata)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream>())).fgetss_state as *const _ as usize },
97usize,
concat!(
"Offset of field: ",
stringify!(_php_stream),
"::",
stringify!(fgetss_state)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream>())).mode as *const _ as usize },
98usize,
concat!(
"Offset of field: ",
stringify!(_php_stream),
"::",
stringify!(mode)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream>())).flags as *const _ as usize },
116usize,
concat!(
"Offset of field: ",
stringify!(_php_stream),
"::",
stringify!(flags)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream>())).res as *const _ as usize },
120usize,
concat!(
"Offset of field: ",
stringify!(_php_stream),
"::",
stringify!(res)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream>())).stdiocast as *const _ as usize },
128usize,
concat!(
"Offset of field: ",
stringify!(_php_stream),
"::",
stringify!(stdiocast)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream>())).orig_path as *const _ as usize },
136usize,
concat!(
"Offset of field: ",
stringify!(_php_stream),
"::",
stringify!(orig_path)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream>())).ctx as *const _ as usize },
144usize,
concat!(
"Offset of field: ",
stringify!(_php_stream),
"::",
stringify!(ctx)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream>())).position as *const _ as usize },
152usize,
concat!(
"Offset of field: ",
stringify!(_php_stream),
"::",
stringify!(position)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream>())).readbuf as *const _ as usize },
160usize,
concat!(
"Offset of field: ",
stringify!(_php_stream),
"::",
stringify!(readbuf)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream>())).readbuflen as *const _ as usize },
168usize,
concat!(
"Offset of field: ",
stringify!(_php_stream),
"::",
stringify!(readbuflen)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream>())).readpos as *const _ as usize },
176usize,
concat!(
"Offset of field: ",
stringify!(_php_stream),
"::",
stringify!(readpos)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream>())).writepos as *const _ as usize },
184usize,
concat!(
"Offset of field: ",
stringify!(_php_stream),
"::",
stringify!(writepos)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream>())).chunk_size as *const _ as usize },
192usize,
concat!(
"Offset of field: ",
stringify!(_php_stream),
"::",
stringify!(chunk_size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream>())).enclosing_stream as *const _ as usize },
200usize,
concat!(
"Offset of field: ",
stringify!(_php_stream),
"::",
stringify!(enclosing_stream)
)
);
}
impl _php_stream {
#[inline]
pub fn is_persistent(&self) -> u8 {
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
}
#[inline]
pub fn set_is_persistent(&mut self, val: u8) {
unsafe {
let val: u8 = ::std::mem::transmute(val);
self._bitfield_1.set(0usize, 1u8, val as u64)
}
}
#[inline]
pub fn in_free(&self) -> u8 {
unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 2u8) as u8) }
}
#[inline]
pub fn set_in_free(&mut self, val: u8) {
unsafe {
let val: u8 = ::std::mem::transmute(val);
self._bitfield_1.set(1usize, 2u8, val as u64)
}
}
#[inline]
pub fn eof(&self) -> u8 {
unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u8) }
}
#[inline]
pub fn set_eof(&mut self, val: u8) {
unsafe {
let val: u8 = ::std::mem::transmute(val);
self._bitfield_1.set(3usize, 1u8, val as u64)
}
}
#[inline]
pub fn __exposed(&self) -> u8 {
unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u8) }
}
#[inline]
pub fn set___exposed(&mut self, val: u8) {
unsafe {
let val: u8 = ::std::mem::transmute(val);
self._bitfield_1.set(4usize, 1u8, val as u64)
}
}
#[inline]
pub fn fclose_stdiocast(&self) -> u8 {
unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 2u8) as u8) }
}
#[inline]
pub fn set_fclose_stdiocast(&mut self, val: u8) {
unsafe {
let val: u8 = ::std::mem::transmute(val);
self._bitfield_1.set(5usize, 2u8, val as u64)
}
}
#[inline]
pub fn new_bitfield_1(
is_persistent: u8,
in_free: u8,
eof: u8,
__exposed: u8,
fclose_stdiocast: u8,
) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
Default::default();
__bindgen_bitfield_unit.set(0usize, 1u8, {
let is_persistent: u8 = unsafe { ::std::mem::transmute(is_persistent) };
is_persistent as u64
});
__bindgen_bitfield_unit.set(1usize, 2u8, {
let in_free: u8 = unsafe { ::std::mem::transmute(in_free) };
in_free as u64
});
__bindgen_bitfield_unit.set(3usize, 1u8, {
let eof: u8 = unsafe { ::std::mem::transmute(eof) };
eof as u64
});
__bindgen_bitfield_unit.set(4usize, 1u8, {
let __exposed: u8 = unsafe { ::std::mem::transmute(__exposed) };
__exposed as u64
});
__bindgen_bitfield_unit.set(5usize, 2u8, {
let fclose_stdiocast: u8 = unsafe { ::std::mem::transmute(fclose_stdiocast) };
fclose_stdiocast as u64
});
__bindgen_bitfield_unit
}
}
extern "C" {
pub fn _php_stream_alloc(
ops: *const php_stream_ops,
abstract_: *mut ::std::os::raw::c_void,
persistent_id: *const ::std::os::raw::c_char,
mode: *const ::std::os::raw::c_char,
) -> *mut php_stream;
}
extern "C" {
pub fn php_stream_encloses(
enclosing: *mut php_stream,
enclosed: *mut php_stream,
) -> *mut php_stream;
}
extern "C" {
pub fn _php_stream_free_enclosed(
stream_enclosed: *mut php_stream,
close_options: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_from_persistent_id(
persistent_id: *const ::std::os::raw::c_char,
stream: *mut *mut php_stream,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _php_stream_free(
stream: *mut php_stream,
close_options: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _php_stream_seek(
stream: *mut php_stream,
offset: zend_off_t,
whence: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _php_stream_tell(stream: *mut php_stream) -> zend_off_t;
}
extern "C" {
pub fn _php_stream_read(
stream: *mut php_stream,
buf: *mut ::std::os::raw::c_char,
count: usize,
) -> isize;
}
extern "C" {
pub fn php_stream_read_to_str(stream: *mut php_stream, len: usize) -> *mut zend_string;
}
extern "C" {
pub fn _php_stream_write(
stream: *mut php_stream,
buf: *const ::std::os::raw::c_char,
count: usize,
) -> isize;
}
extern "C" {
pub fn _php_stream_fill_read_buffer(
stream: *mut php_stream,
size: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _php_stream_printf(
stream: *mut php_stream,
fmt: *const ::std::os::raw::c_char,
...
) -> isize;
}
extern "C" {
pub fn _php_stream_eof(stream: *mut php_stream) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _php_stream_getc(stream: *mut php_stream) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _php_stream_putc(
stream: *mut php_stream,
c: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _php_stream_flush(
stream: *mut php_stream,
closing: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _php_stream_get_line(
stream: *mut php_stream,
buf: *mut ::std::os::raw::c_char,
maxlen: usize,
returned_len: *mut usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn php_stream_get_record(
stream: *mut php_stream,
maxlen: usize,
delim: *const ::std::os::raw::c_char,
delim_len: usize,
) -> *mut zend_string;
}
extern "C" {
pub fn _php_stream_puts(
stream: *mut php_stream,
buf: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _php_stream_stat(
stream: *mut php_stream,
ssb: *mut php_stream_statbuf,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _php_stream_stat_path(
path: *const ::std::os::raw::c_char,
flags: ::std::os::raw::c_int,
ssb: *mut php_stream_statbuf,
context: *mut php_stream_context,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _php_stream_mkdir(
path: *const ::std::os::raw::c_char,
mode: ::std::os::raw::c_int,
options: ::std::os::raw::c_int,
context: *mut php_stream_context,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _php_stream_rmdir(
path: *const ::std::os::raw::c_char,
options: ::std::os::raw::c_int,
context: *mut php_stream_context,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _php_stream_opendir(
path: *const ::std::os::raw::c_char,
options: ::std::os::raw::c_int,
context: *mut php_stream_context,
) -> *mut php_stream;
}
extern "C" {
pub fn _php_stream_readdir(
dirstream: *mut php_stream,
ent: *mut php_stream_dirent,
) -> *mut php_stream_dirent;
}
extern "C" {
pub fn php_stream_dirent_alphasort(
a: *mut *const zend_string,
b: *mut *const zend_string,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_dirent_alphasortr(
a: *mut *const zend_string,
b: *mut *const zend_string,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _php_stream_scandir(
dirname: *const ::std::os::raw::c_char,
namelist: *mut *mut *mut zend_string,
flags: ::std::os::raw::c_int,
context: *mut php_stream_context,
compare: ::std::option::Option<
unsafe extern "C" fn(
a: *mut *const zend_string,
b: *mut *const zend_string,
) -> ::std::os::raw::c_int,
>,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _php_stream_set_option(
stream: *mut php_stream,
option: ::std::os::raw::c_int,
value: ::std::os::raw::c_int,
ptrparam: *mut ::std::os::raw::c_void,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _php_stream_truncate_set_size(
stream: *mut php_stream,
newsize: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _php_stream_copy_to_stream(
src: *mut php_stream,
dest: *mut php_stream,
maxlen: usize,
) -> usize;
}
extern "C" {
pub fn _php_stream_copy_to_stream_ex(
src: *mut php_stream,
dest: *mut php_stream,
maxlen: usize,
len: *mut usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _php_stream_copy_to_mem(
src: *mut php_stream,
maxlen: usize,
persistent: ::std::os::raw::c_int,
) -> *mut zend_string;
}
extern "C" {
pub fn _php_stream_passthru(src: *mut php_stream) -> isize;
}
#[repr(C)]
#[derive(Debug, 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 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(Debug, 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_20 = 1;
pub const MSG_PEEK: _bindgen_ty_20 = 2;
pub const MSG_DONTROUTE: _bindgen_ty_20 = 4;
pub const MSG_TRYHARD: _bindgen_ty_20 = 4;
pub const MSG_CTRUNC: _bindgen_ty_20 = 8;
pub const MSG_PROXY: _bindgen_ty_20 = 16;
pub const MSG_TRUNC: _bindgen_ty_20 = 32;
pub const MSG_DONTWAIT: _bindgen_ty_20 = 64;
pub const MSG_EOR: _bindgen_ty_20 = 128;
pub const MSG_WAITALL: _bindgen_ty_20 = 256;
pub const MSG_FIN: _bindgen_ty_20 = 512;
pub const MSG_SYN: _bindgen_ty_20 = 1024;
pub const MSG_CONFIRM: _bindgen_ty_20 = 2048;
pub const MSG_RST: _bindgen_ty_20 = 4096;
pub const MSG_ERRQUEUE: _bindgen_ty_20 = 8192;
pub const MSG_NOSIGNAL: _bindgen_ty_20 = 16384;
pub const MSG_MORE: _bindgen_ty_20 = 32768;
pub const MSG_WAITFORONE: _bindgen_ty_20 = 65536;
pub const MSG_BATCH: _bindgen_ty_20 = 262144;
pub const MSG_ZEROCOPY: _bindgen_ty_20 = 67108864;
pub const MSG_FASTOPEN: _bindgen_ty_20 = 536870912;
pub const MSG_CMSG_CLOEXEC: _bindgen_ty_20 = 1073741824;
pub type _bindgen_ty_20 = u32;
#[repr(C)]
#[derive(Debug, 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)]
#[derive(Debug)]
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))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<cmsghdr>())).cmsg_len as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(cmsghdr),
"::",
stringify!(cmsg_len)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<cmsghdr>())).cmsg_level as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(cmsghdr),
"::",
stringify!(cmsg_level)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<cmsghdr>())).cmsg_type as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(cmsghdr),
"::",
stringify!(cmsg_type)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<cmsghdr>())).__cmsg_data as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(cmsghdr),
"::",
stringify!(__cmsg_data)
)
);
}
extern "C" {
pub fn __cmsg_nxthdr(__mhdr: *mut msghdr, __cmsg: *mut cmsghdr) -> *mut cmsghdr;
}
pub const SCM_RIGHTS: _bindgen_ty_21 = 1;
pub const SCM_CREDENTIALS: _bindgen_ty_21 = 2;
pub type _bindgen_ty_21 = u32;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ucred {
pub pid: pid_t,
pub uid: uid_t,
pub gid: gid_t,
}
#[test]
fn bindgen_test_layout_ucred() {
assert_eq!(
::std::mem::size_of::<ucred>(),
12usize,
concat!("Size of: ", stringify!(ucred))
);
assert_eq!(
::std::mem::align_of::<ucred>(),
4usize,
concat!("Alignment of ", stringify!(ucred))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<ucred>())).pid as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(ucred),
"::",
stringify!(pid)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<ucred>())).uid as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(ucred),
"::",
stringify!(uid)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<ucred>())).gid as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(ucred),
"::",
stringify!(gid)
)
);
}
#[repr(C)]
#[derive(Debug, 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(Debug, 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_22 = 0;
pub const SHUT_WR: _bindgen_ty_22 = 1;
pub const SHUT_RDWR: _bindgen_ty_22 = 2;
pub type _bindgen_ty_22 = u32;
#[repr(C)]
#[derive(Copy, Clone)]
pub union __SOCKADDR_ARG {
pub __sockaddr__: *mut sockaddr,
pub __sockaddr_at__: *mut sockaddr_at,
pub __sockaddr_ax25__: *mut sockaddr_ax25,
pub __sockaddr_dl__: *mut sockaddr_dl,
pub __sockaddr_eon__: *mut sockaddr_eon,
pub __sockaddr_in__: *mut sockaddr_in,
pub __sockaddr_in6__: *mut sockaddr_in6,
pub __sockaddr_inarp__: *mut sockaddr_inarp,
pub __sockaddr_ipx__: *mut sockaddr_ipx,
pub __sockaddr_iso__: *mut sockaddr_iso,
pub __sockaddr_ns__: *mut sockaddr_ns,
pub __sockaddr_un__: *mut sockaddr_un,
pub __sockaddr_x25__: *mut sockaddr_x25,
_bindgen_union_align: u64,
}
#[test]
fn bindgen_test_layout___SOCKADDR_ARG() {
assert_eq!(
::std::mem::size_of::<__SOCKADDR_ARG>(),
8usize,
concat!("Size of: ", stringify!(__SOCKADDR_ARG))
);
assert_eq!(
::std::mem::align_of::<__SOCKADDR_ARG>(),
8usize,
concat!("Alignment of ", stringify!(__SOCKADDR_ARG))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__SOCKADDR_ARG>())).__sockaddr__ as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(__SOCKADDR_ARG),
"::",
stringify!(__sockaddr__)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__SOCKADDR_ARG>())).__sockaddr_at__ as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(__SOCKADDR_ARG),
"::",
stringify!(__sockaddr_at__)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__SOCKADDR_ARG>())).__sockaddr_ax25__ as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(__SOCKADDR_ARG),
"::",
stringify!(__sockaddr_ax25__)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__SOCKADDR_ARG>())).__sockaddr_dl__ as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(__SOCKADDR_ARG),
"::",
stringify!(__sockaddr_dl__)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__SOCKADDR_ARG>())).__sockaddr_eon__ as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(__SOCKADDR_ARG),
"::",
stringify!(__sockaddr_eon__)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__SOCKADDR_ARG>())).__sockaddr_in__ as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(__SOCKADDR_ARG),
"::",
stringify!(__sockaddr_in__)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__SOCKADDR_ARG>())).__sockaddr_in6__ as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(__SOCKADDR_ARG),
"::",
stringify!(__sockaddr_in6__)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__SOCKADDR_ARG>())).__sockaddr_inarp__ as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(__SOCKADDR_ARG),
"::",
stringify!(__sockaddr_inarp__)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__SOCKADDR_ARG>())).__sockaddr_ipx__ as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(__SOCKADDR_ARG),
"::",
stringify!(__sockaddr_ipx__)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__SOCKADDR_ARG>())).__sockaddr_iso__ as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(__SOCKADDR_ARG),
"::",
stringify!(__sockaddr_iso__)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__SOCKADDR_ARG>())).__sockaddr_ns__ as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(__SOCKADDR_ARG),
"::",
stringify!(__sockaddr_ns__)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__SOCKADDR_ARG>())).__sockaddr_un__ as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(__SOCKADDR_ARG),
"::",
stringify!(__sockaddr_un__)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__SOCKADDR_ARG>())).__sockaddr_x25__ as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(__SOCKADDR_ARG),
"::",
stringify!(__sockaddr_x25__)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union __CONST_SOCKADDR_ARG {
pub __sockaddr__: *const sockaddr,
pub __sockaddr_at__: *const sockaddr_at,
pub __sockaddr_ax25__: *const sockaddr_ax25,
pub __sockaddr_dl__: *const sockaddr_dl,
pub __sockaddr_eon__: *const sockaddr_eon,
pub __sockaddr_in__: *const sockaddr_in,
pub __sockaddr_in6__: *const sockaddr_in6,
pub __sockaddr_inarp__: *const sockaddr_inarp,
pub __sockaddr_ipx__: *const sockaddr_ipx,
pub __sockaddr_iso__: *const sockaddr_iso,
pub __sockaddr_ns__: *const sockaddr_ns,
pub __sockaddr_un__: *const sockaddr_un,
pub __sockaddr_x25__: *const sockaddr_x25,
_bindgen_union_align: u64,
}
#[test]
fn bindgen_test_layout___CONST_SOCKADDR_ARG() {
assert_eq!(
::std::mem::size_of::<__CONST_SOCKADDR_ARG>(),
8usize,
concat!("Size of: ", stringify!(__CONST_SOCKADDR_ARG))
);
assert_eq!(
::std::mem::align_of::<__CONST_SOCKADDR_ARG>(),
8usize,
concat!("Alignment of ", stringify!(__CONST_SOCKADDR_ARG))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__CONST_SOCKADDR_ARG>())).__sockaddr__ as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(__CONST_SOCKADDR_ARG),
"::",
stringify!(__sockaddr__)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__CONST_SOCKADDR_ARG>())).__sockaddr_at__ as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(__CONST_SOCKADDR_ARG),
"::",
stringify!(__sockaddr_at__)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__CONST_SOCKADDR_ARG>())).__sockaddr_ax25__ as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(__CONST_SOCKADDR_ARG),
"::",
stringify!(__sockaddr_ax25__)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__CONST_SOCKADDR_ARG>())).__sockaddr_dl__ as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(__CONST_SOCKADDR_ARG),
"::",
stringify!(__sockaddr_dl__)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__CONST_SOCKADDR_ARG>())).__sockaddr_eon__ as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(__CONST_SOCKADDR_ARG),
"::",
stringify!(__sockaddr_eon__)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__CONST_SOCKADDR_ARG>())).__sockaddr_in__ as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(__CONST_SOCKADDR_ARG),
"::",
stringify!(__sockaddr_in__)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__CONST_SOCKADDR_ARG>())).__sockaddr_in6__ as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(__CONST_SOCKADDR_ARG),
"::",
stringify!(__sockaddr_in6__)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__CONST_SOCKADDR_ARG>())).__sockaddr_inarp__ as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(__CONST_SOCKADDR_ARG),
"::",
stringify!(__sockaddr_inarp__)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__CONST_SOCKADDR_ARG>())).__sockaddr_ipx__ as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(__CONST_SOCKADDR_ARG),
"::",
stringify!(__sockaddr_ipx__)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__CONST_SOCKADDR_ARG>())).__sockaddr_iso__ as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(__CONST_SOCKADDR_ARG),
"::",
stringify!(__sockaddr_iso__)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__CONST_SOCKADDR_ARG>())).__sockaddr_ns__ as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(__CONST_SOCKADDR_ARG),
"::",
stringify!(__sockaddr_ns__)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__CONST_SOCKADDR_ARG>())).__sockaddr_un__ as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(__CONST_SOCKADDR_ARG),
"::",
stringify!(__sockaddr_un__)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<__CONST_SOCKADDR_ARG>())).__sockaddr_x25__ as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(__CONST_SOCKADDR_ARG),
"::",
stringify!(__sockaddr_x25__)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct mmsghdr {
pub msg_hdr: msghdr,
pub msg_len: ::std::os::raw::c_uint,
}
#[test]
fn bindgen_test_layout_mmsghdr() {
assert_eq!(
::std::mem::size_of::<mmsghdr>(),
64usize,
concat!("Size of: ", stringify!(mmsghdr))
);
assert_eq!(
::std::mem::align_of::<mmsghdr>(),
8usize,
concat!("Alignment of ", stringify!(mmsghdr))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<mmsghdr>())).msg_hdr as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(mmsghdr),
"::",
stringify!(msg_hdr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<mmsghdr>())).msg_len as *const _ as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(mmsghdr),
"::",
stringify!(msg_len)
)
);
}
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_ARG,
__len: socklen_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getsockname(
__fd: ::std::os::raw::c_int,
__addr: __SOCKADDR_ARG,
__len: *mut socklen_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn connect(
__fd: ::std::os::raw::c_int,
__addr: __CONST_SOCKADDR_ARG,
__len: socklen_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getpeername(
__fd: ::std::os::raw::c_int,
__addr: __SOCKADDR_ARG,
__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_ARG,
__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: __SOCKADDR_ARG,
__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 sendmmsg(
__fd: ::std::os::raw::c_int,
__vmessages: *mut mmsghdr,
__vlen: ::std::os::raw::c_uint,
__flags: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
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 recvmmsg(
__fd: ::std::os::raw::c_int,
__vmessages: *mut mmsghdr,
__vlen: ::std::os::raw::c_uint,
__flags: ::std::os::raw::c_int,
__tmo: *mut timespec,
) -> ::std::os::raw::c_int;
}
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: __SOCKADDR_ARG,
__addr_len: *mut socklen_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn accept4(
__fd: ::std::os::raw::c_int,
__addr: __SOCKADDR_ARG,
__addr_len: *mut socklen_t,
__flags: ::std::os::raw::c_int,
) -> ::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 php_stream_transport_factory_func = ::std::option::Option<
unsafe extern "C" fn(
proto: *const ::std::os::raw::c_char,
protolen: usize,
resourcename: *const ::std::os::raw::c_char,
resourcenamelen: usize,
persistent_id: *const ::std::os::raw::c_char,
options: ::std::os::raw::c_int,
flags: ::std::os::raw::c_int,
timeout: *mut timeval,
context: *mut php_stream_context,
) -> *mut php_stream,
>;
pub type php_stream_transport_factory = php_stream_transport_factory_func;
extern "C" {
pub fn php_stream_xport_register(
protocol: *const ::std::os::raw::c_char,
factory: php_stream_transport_factory,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_xport_unregister(
protocol: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _php_stream_xport_create(
name: *const ::std::os::raw::c_char,
namelen: usize,
options: ::std::os::raw::c_int,
flags: ::std::os::raw::c_int,
persistent_id: *const ::std::os::raw::c_char,
timeout: *mut timeval,
context: *mut php_stream_context,
error_string: *mut *mut zend_string,
error_code: *mut ::std::os::raw::c_int,
) -> *mut php_stream;
}
extern "C" {
pub fn php_stream_xport_bind(
stream: *mut php_stream,
name: *const ::std::os::raw::c_char,
namelen: usize,
error_text: *mut *mut zend_string,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_xport_connect(
stream: *mut php_stream,
name: *const ::std::os::raw::c_char,
namelen: usize,
asynchronous: ::std::os::raw::c_int,
timeout: *mut timeval,
error_text: *mut *mut zend_string,
error_code: *mut ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_xport_listen(
stream: *mut php_stream,
backlog: ::std::os::raw::c_int,
error_text: *mut *mut zend_string,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_xport_accept(
stream: *mut php_stream,
client: *mut *mut php_stream,
textaddr: *mut *mut zend_string,
addr: *mut *mut ::std::os::raw::c_void,
addrlen: *mut socklen_t,
timeout: *mut timeval,
error_text: *mut *mut zend_string,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_xport_get_name(
stream: *mut php_stream,
want_peer: ::std::os::raw::c_int,
textaddr: *mut *mut zend_string,
addr: *mut *mut ::std::os::raw::c_void,
addrlen: *mut socklen_t,
) -> ::std::os::raw::c_int;
}
pub const php_stream_xport_send_recv_flags_STREAM_OOB: php_stream_xport_send_recv_flags = 1;
pub const php_stream_xport_send_recv_flags_STREAM_PEEK: php_stream_xport_send_recv_flags = 2;
pub type php_stream_xport_send_recv_flags = u32;
extern "C" {
pub fn php_stream_xport_recvfrom(
stream: *mut php_stream,
buf: *mut ::std::os::raw::c_char,
buflen: usize,
flags: ::std::os::raw::c_int,
addr: *mut *mut ::std::os::raw::c_void,
addrlen: *mut socklen_t,
textaddr: *mut *mut zend_string,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_xport_sendto(
stream: *mut php_stream,
buf: *const ::std::os::raw::c_char,
buflen: usize,
flags: ::std::os::raw::c_int,
addr: *mut ::std::os::raw::c_void,
addrlen: socklen_t,
) -> ::std::os::raw::c_int;
}
pub const stream_shutdown_t_STREAM_SHUT_RD: stream_shutdown_t = 0;
pub const stream_shutdown_t_STREAM_SHUT_WR: stream_shutdown_t = 1;
pub const stream_shutdown_t_STREAM_SHUT_RDWR: stream_shutdown_t = 2;
pub type stream_shutdown_t = u32;
extern "C" {
pub fn php_stream_xport_shutdown(
stream: *mut php_stream,
how: stream_shutdown_t,
) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_xport_param {
pub op: _php_stream_xport_param__bindgen_ty_1,
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
pub inputs: _php_stream_xport_param__bindgen_ty_2,
pub outputs: _php_stream_xport_param__bindgen_ty_3,
}
pub const _php_stream_xport_param_STREAM_XPORT_OP_BIND: _php_stream_xport_param__bindgen_ty_1 = 0;
pub const _php_stream_xport_param_STREAM_XPORT_OP_CONNECT: _php_stream_xport_param__bindgen_ty_1 =
1;
pub const _php_stream_xport_param_STREAM_XPORT_OP_LISTEN: _php_stream_xport_param__bindgen_ty_1 = 2;
pub const _php_stream_xport_param_STREAM_XPORT_OP_ACCEPT: _php_stream_xport_param__bindgen_ty_1 = 3;
pub const _php_stream_xport_param_STREAM_XPORT_OP_CONNECT_ASYNC:
_php_stream_xport_param__bindgen_ty_1 = 4;
pub const _php_stream_xport_param_STREAM_XPORT_OP_GET_NAME: _php_stream_xport_param__bindgen_ty_1 =
5;
pub const _php_stream_xport_param_STREAM_XPORT_OP_GET_PEER_NAME:
_php_stream_xport_param__bindgen_ty_1 = 6;
pub const _php_stream_xport_param_STREAM_XPORT_OP_RECV: _php_stream_xport_param__bindgen_ty_1 = 7;
pub const _php_stream_xport_param_STREAM_XPORT_OP_SEND: _php_stream_xport_param__bindgen_ty_1 = 8;
pub const _php_stream_xport_param_STREAM_XPORT_OP_SHUTDOWN: _php_stream_xport_param__bindgen_ty_1 =
9;
pub type _php_stream_xport_param__bindgen_ty_1 = u32;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_xport_param__bindgen_ty_2 {
pub name: *mut ::std::os::raw::c_char,
pub namelen: usize,
pub timeout: *mut timeval,
pub addr: *mut sockaddr,
pub buf: *mut ::std::os::raw::c_char,
pub buflen: usize,
pub addrlen: socklen_t,
pub backlog: ::std::os::raw::c_int,
pub flags: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout__php_stream_xport_param__bindgen_ty_2() {
assert_eq!(
::std::mem::size_of::<_php_stream_xport_param__bindgen_ty_2>(),
64usize,
concat!(
"Size of: ",
stringify!(_php_stream_xport_param__bindgen_ty_2)
)
);
assert_eq!(
::std::mem::align_of::<_php_stream_xport_param__bindgen_ty_2>(),
8usize,
concat!(
"Alignment of ",
stringify!(_php_stream_xport_param__bindgen_ty_2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_xport_param__bindgen_ty_2>())).name as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_xport_param__bindgen_ty_2),
"::",
stringify!(name)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_xport_param__bindgen_ty_2>())).namelen as *const _
as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_xport_param__bindgen_ty_2),
"::",
stringify!(namelen)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_xport_param__bindgen_ty_2>())).timeout as *const _
as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_xport_param__bindgen_ty_2),
"::",
stringify!(timeout)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_xport_param__bindgen_ty_2>())).addr as *const _
as usize
},
24usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_xport_param__bindgen_ty_2),
"::",
stringify!(addr)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_xport_param__bindgen_ty_2>())).buf as *const _
as usize
},
32usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_xport_param__bindgen_ty_2),
"::",
stringify!(buf)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_xport_param__bindgen_ty_2>())).buflen as *const _
as usize
},
40usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_xport_param__bindgen_ty_2),
"::",
stringify!(buflen)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_xport_param__bindgen_ty_2>())).addrlen as *const _
as usize
},
48usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_xport_param__bindgen_ty_2),
"::",
stringify!(addrlen)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_xport_param__bindgen_ty_2>())).backlog as *const _
as usize
},
52usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_xport_param__bindgen_ty_2),
"::",
stringify!(backlog)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_xport_param__bindgen_ty_2>())).flags as *const _
as usize
},
56usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_xport_param__bindgen_ty_2),
"::",
stringify!(flags)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_xport_param__bindgen_ty_3 {
pub client: *mut php_stream,
pub addr: *mut sockaddr,
pub addrlen: socklen_t,
pub textaddr: *mut zend_string,
pub error_text: *mut zend_string,
pub returncode: ::std::os::raw::c_int,
pub error_code: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout__php_stream_xport_param__bindgen_ty_3() {
assert_eq!(
::std::mem::size_of::<_php_stream_xport_param__bindgen_ty_3>(),
48usize,
concat!(
"Size of: ",
stringify!(_php_stream_xport_param__bindgen_ty_3)
)
);
assert_eq!(
::std::mem::align_of::<_php_stream_xport_param__bindgen_ty_3>(),
8usize,
concat!(
"Alignment of ",
stringify!(_php_stream_xport_param__bindgen_ty_3)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_xport_param__bindgen_ty_3>())).client as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_xport_param__bindgen_ty_3),
"::",
stringify!(client)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_xport_param__bindgen_ty_3>())).addr as *const _
as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_xport_param__bindgen_ty_3),
"::",
stringify!(addr)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_xport_param__bindgen_ty_3>())).addrlen as *const _
as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_xport_param__bindgen_ty_3),
"::",
stringify!(addrlen)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_xport_param__bindgen_ty_3>())).textaddr as *const _
as usize
},
24usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_xport_param__bindgen_ty_3),
"::",
stringify!(textaddr)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_xport_param__bindgen_ty_3>())).error_text as *const _
as usize
},
32usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_xport_param__bindgen_ty_3),
"::",
stringify!(error_text)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_xport_param__bindgen_ty_3>())).returncode as *const _
as usize
},
40usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_xport_param__bindgen_ty_3),
"::",
stringify!(returncode)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_xport_param__bindgen_ty_3>())).error_code as *const _
as usize
},
44usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_xport_param__bindgen_ty_3),
"::",
stringify!(error_code)
)
);
}
#[test]
fn bindgen_test_layout__php_stream_xport_param() {
assert_eq!(
::std::mem::size_of::<_php_stream_xport_param>(),
120usize,
concat!("Size of: ", stringify!(_php_stream_xport_param))
);
assert_eq!(
::std::mem::align_of::<_php_stream_xport_param>(),
8usize,
concat!("Alignment of ", stringify!(_php_stream_xport_param))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_xport_param>())).op as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_xport_param),
"::",
stringify!(op)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_xport_param>())).inputs as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_xport_param),
"::",
stringify!(inputs)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_stream_xport_param>())).outputs as *const _ as usize },
72usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_xport_param),
"::",
stringify!(outputs)
)
);
}
impl _php_stream_xport_param {
#[inline]
pub fn want_addr(&self) -> ::std::os::raw::c_uint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
}
#[inline]
pub fn set_want_addr(&mut self, val: ::std::os::raw::c_uint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(0usize, 1u8, val as u64)
}
}
#[inline]
pub fn want_textaddr(&self) -> ::std::os::raw::c_uint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) }
}
#[inline]
pub fn set_want_textaddr(&mut self, val: ::std::os::raw::c_uint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(1usize, 1u8, val as u64)
}
}
#[inline]
pub fn want_errortext(&self) -> ::std::os::raw::c_uint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u32) }
}
#[inline]
pub fn set_want_errortext(&mut self, val: ::std::os::raw::c_uint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(2usize, 1u8, val as u64)
}
}
#[inline]
pub fn how(&self) -> ::std::os::raw::c_uint {
unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 2u8) as u32) }
}
#[inline]
pub fn set_how(&mut self, val: ::std::os::raw::c_uint) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(3usize, 2u8, val as u64)
}
}
#[inline]
pub fn new_bitfield_1(
want_addr: ::std::os::raw::c_uint,
want_textaddr: ::std::os::raw::c_uint,
want_errortext: ::std::os::raw::c_uint,
how: ::std::os::raw::c_uint,
) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
Default::default();
__bindgen_bitfield_unit.set(0usize, 1u8, {
let want_addr: u32 = unsafe { ::std::mem::transmute(want_addr) };
want_addr as u64
});
__bindgen_bitfield_unit.set(1usize, 1u8, {
let want_textaddr: u32 = unsafe { ::std::mem::transmute(want_textaddr) };
want_textaddr as u64
});
__bindgen_bitfield_unit.set(2usize, 1u8, {
let want_errortext: u32 = unsafe { ::std::mem::transmute(want_errortext) };
want_errortext as u64
});
__bindgen_bitfield_unit.set(3usize, 2u8, {
let how: u32 = unsafe { ::std::mem::transmute(how) };
how as u64
});
__bindgen_bitfield_unit
}
}
pub type php_stream_xport_param = _php_stream_xport_param;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv2_CLIENT:
php_stream_xport_crypt_method_t = 3;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv3_CLIENT:
php_stream_xport_crypt_method_t = 5;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv23_CLIENT:
php_stream_xport_crypt_method_t = 57;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT:
php_stream_xport_crypt_method_t = 9;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT:
php_stream_xport_crypt_method_t = 17;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT:
php_stream_xport_crypt_method_t = 33;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT:
php_stream_xport_crypt_method_t = 65;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_CLIENT:
php_stream_xport_crypt_method_t = 121;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_ANY_CLIENT:
php_stream_xport_crypt_method_t = 121;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_ANY_CLIENT:
php_stream_xport_crypt_method_t = 127;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv2_SERVER:
php_stream_xport_crypt_method_t = 2;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv3_SERVER:
php_stream_xport_crypt_method_t = 4;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_SSLv23_SERVER:
php_stream_xport_crypt_method_t = 120;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_0_SERVER:
php_stream_xport_crypt_method_t = 8;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_1_SERVER:
php_stream_xport_crypt_method_t = 16;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_2_SERVER:
php_stream_xport_crypt_method_t = 32;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLSv1_3_SERVER:
php_stream_xport_crypt_method_t = 64;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_SERVER:
php_stream_xport_crypt_method_t = 120;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_TLS_ANY_SERVER:
php_stream_xport_crypt_method_t = 120;
pub const php_stream_xport_crypt_method_t_STREAM_CRYPTO_METHOD_ANY_SERVER:
php_stream_xport_crypt_method_t = 126;
pub type php_stream_xport_crypt_method_t = u32;
extern "C" {
pub fn php_stream_xport_crypto_setup(
stream: *mut php_stream,
crypto_method: php_stream_xport_crypt_method_t,
session_stream: *mut php_stream,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_stream_xport_crypto_enable(
stream: *mut php_stream,
activate: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_xport_crypto_param {
pub inputs: _php_stream_xport_crypto_param__bindgen_ty_1,
pub outputs: _php_stream_xport_crypto_param__bindgen_ty_2,
pub op: _php_stream_xport_crypto_param__bindgen_ty_3,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_xport_crypto_param__bindgen_ty_1 {
pub session: *mut php_stream,
pub activate: ::std::os::raw::c_int,
pub method: php_stream_xport_crypt_method_t,
}
#[test]
fn bindgen_test_layout__php_stream_xport_crypto_param__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<_php_stream_xport_crypto_param__bindgen_ty_1>(),
16usize,
concat!(
"Size of: ",
stringify!(_php_stream_xport_crypto_param__bindgen_ty_1)
)
);
assert_eq!(
::std::mem::align_of::<_php_stream_xport_crypto_param__bindgen_ty_1>(),
8usize,
concat!(
"Alignment of ",
stringify!(_php_stream_xport_crypto_param__bindgen_ty_1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_xport_crypto_param__bindgen_ty_1>())).session
as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_xport_crypto_param__bindgen_ty_1),
"::",
stringify!(session)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_xport_crypto_param__bindgen_ty_1>())).activate
as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_xport_crypto_param__bindgen_ty_1),
"::",
stringify!(activate)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_xport_crypto_param__bindgen_ty_1>())).method
as *const _ as usize
},
12usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_xport_crypto_param__bindgen_ty_1),
"::",
stringify!(method)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_stream_xport_crypto_param__bindgen_ty_2 {
pub returncode: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout__php_stream_xport_crypto_param__bindgen_ty_2() {
assert_eq!(
::std::mem::size_of::<_php_stream_xport_crypto_param__bindgen_ty_2>(),
4usize,
concat!(
"Size of: ",
stringify!(_php_stream_xport_crypto_param__bindgen_ty_2)
)
);
assert_eq!(
::std::mem::align_of::<_php_stream_xport_crypto_param__bindgen_ty_2>(),
4usize,
concat!(
"Alignment of ",
stringify!(_php_stream_xport_crypto_param__bindgen_ty_2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_xport_crypto_param__bindgen_ty_2>())).returncode
as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_xport_crypto_param__bindgen_ty_2),
"::",
stringify!(returncode)
)
);
}
pub const _php_stream_xport_crypto_param_STREAM_XPORT_CRYPTO_OP_SETUP:
_php_stream_xport_crypto_param__bindgen_ty_3 = 0;
pub const _php_stream_xport_crypto_param_STREAM_XPORT_CRYPTO_OP_ENABLE:
_php_stream_xport_crypto_param__bindgen_ty_3 = 1;
pub type _php_stream_xport_crypto_param__bindgen_ty_3 = u32;
#[test]
fn bindgen_test_layout__php_stream_xport_crypto_param() {
assert_eq!(
::std::mem::size_of::<_php_stream_xport_crypto_param>(),
24usize,
concat!("Size of: ", stringify!(_php_stream_xport_crypto_param))
);
assert_eq!(
::std::mem::align_of::<_php_stream_xport_crypto_param>(),
8usize,
concat!("Alignment of ", stringify!(_php_stream_xport_crypto_param))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_xport_crypto_param>())).inputs as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_xport_crypto_param),
"::",
stringify!(inputs)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_xport_crypto_param>())).outputs as *const _ as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_xport_crypto_param),
"::",
stringify!(outputs)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_stream_xport_crypto_param>())).op as *const _ as usize
},
20usize,
concat!(
"Offset of field: ",
stringify!(_php_stream_xport_crypto_param),
"::",
stringify!(op)
)
);
}
pub type php_stream_xport_crypto_param = _php_stream_xport_crypto_param;
extern "C" {
pub fn php_stream_xport_get_hash() -> *mut HashTable;
}
extern "C" {
pub fn php_stream_generic_socket_factory(
proto: *const ::std::os::raw::c_char,
protolen: usize,
resourcename: *const ::std::os::raw::c_char,
resourcenamelen: usize,
persistent_id: *const ::std::os::raw::c_char,
options: ::std::os::raw::c_int,
flags: ::std::os::raw::c_int,
timeout: *mut timeval,
context: *mut php_stream_context,
) -> *mut php_stream;
}
extern "C" {
pub static mut php_stream_stdio_ops: php_stream_ops;
}
extern "C" {
pub static mut php_plain_files_wrapper: php_stream_wrapper;
}
extern "C" {
pub fn _php_stream_fopen(
filename: *const ::std::os::raw::c_char,
mode: *const ::std::os::raw::c_char,
opened_path: *mut *mut zend_string,
options: ::std::os::raw::c_int,
) -> *mut php_stream;
}
extern "C" {
pub fn _php_stream_fopen_with_path(
filename: *const ::std::os::raw::c_char,
mode: *const ::std::os::raw::c_char,
path: *const ::std::os::raw::c_char,
opened_path: *mut *mut zend_string,
options: ::std::os::raw::c_int,
) -> *mut php_stream;
}
extern "C" {
pub fn _php_stream_fopen_from_file(
file: *mut FILE,
mode: *const ::std::os::raw::c_char,
) -> *mut php_stream;
}
extern "C" {
pub fn _php_stream_fopen_from_fd(
fd: ::std::os::raw::c_int,
mode: *const ::std::os::raw::c_char,
persistent_id: *const ::std::os::raw::c_char,
) -> *mut php_stream;
}
extern "C" {
pub fn _php_stream_fopen_from_pipe(
file: *mut FILE,
mode: *const ::std::os::raw::c_char,
) -> *mut php_stream;
}
extern "C" {
pub fn _php_stream_fopen_tmpfile(dummy: ::std::os::raw::c_int) -> *mut php_stream;
}
extern "C" {
pub fn _php_stream_fopen_temporary_file(
dir: *const ::std::os::raw::c_char,
pfx: *const ::std::os::raw::c_char,
opened_path: *mut *mut zend_string,
) -> *mut php_stream;
}
extern "C" {
pub fn _php_stream_open_wrapper_as_file(
path: *mut ::std::os::raw::c_char,
mode: *mut ::std::os::raw::c_char,
options: ::std::os::raw::c_int,
opened_path: *mut *mut zend_string,
) -> *mut FILE;
}
extern "C" {
pub fn php_stream_parse_fopen_modes(
mode: *const ::std::os::raw::c_char,
open_flags: *mut ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub static php_glob_stream_wrapper: php_stream_wrapper;
}
extern "C" {
pub static php_glob_stream_ops: php_stream_ops;
}
extern "C" {
pub fn _php_glob_stream_get_path(
stream: *mut php_stream,
plen: *mut usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _php_glob_stream_get_pattern(
stream: *mut php_stream,
plen: *mut usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _php_glob_stream_get_count(
stream: *mut php_stream,
pflags: *mut ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub static php_stream_userspace_ops: php_stream_ops;
}
extern "C" {
pub static php_stream_userspace_dir_ops: php_stream_ops;
}
pub const php_stream_mmap_operation_t_PHP_STREAM_MMAP_SUPPORTED: php_stream_mmap_operation_t = 0;
pub const php_stream_mmap_operation_t_PHP_STREAM_MMAP_MAP_RANGE: php_stream_mmap_operation_t = 1;
pub const php_stream_mmap_operation_t_PHP_STREAM_MMAP_UNMAP: php_stream_mmap_operation_t = 2;
pub type php_stream_mmap_operation_t = u32;
pub const php_stream_mmap_access_t_PHP_STREAM_MAP_MODE_READONLY: php_stream_mmap_access_t = 0;
pub const php_stream_mmap_access_t_PHP_STREAM_MAP_MODE_READWRITE: php_stream_mmap_access_t = 1;
pub const php_stream_mmap_access_t_PHP_STREAM_MAP_MODE_SHARED_READONLY: php_stream_mmap_access_t =
2;
pub const php_stream_mmap_access_t_PHP_STREAM_MAP_MODE_SHARED_READWRITE: php_stream_mmap_access_t =
3;
pub type php_stream_mmap_access_t = u32;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct php_stream_mmap_range {
pub offset: usize,
pub length: usize,
pub mode: php_stream_mmap_access_t,
pub mapped: *mut ::std::os::raw::c_char,
}
#[test]
fn bindgen_test_layout_php_stream_mmap_range() {
assert_eq!(
::std::mem::size_of::<php_stream_mmap_range>(),
32usize,
concat!("Size of: ", stringify!(php_stream_mmap_range))
);
assert_eq!(
::std::mem::align_of::<php_stream_mmap_range>(),
8usize,
concat!("Alignment of ", stringify!(php_stream_mmap_range))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<php_stream_mmap_range>())).offset as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(php_stream_mmap_range),
"::",
stringify!(offset)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<php_stream_mmap_range>())).length as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(php_stream_mmap_range),
"::",
stringify!(length)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<php_stream_mmap_range>())).mode as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(php_stream_mmap_range),
"::",
stringify!(mode)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<php_stream_mmap_range>())).mapped as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(php_stream_mmap_range),
"::",
stringify!(mapped)
)
);
}
extern "C" {
pub fn _php_stream_mmap_range(
stream: *mut php_stream,
offset: usize,
length: usize,
mode: php_stream_mmap_access_t,
mapped_len: *mut usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _php_stream_mmap_unmap(stream: *mut php_stream) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _php_stream_mmap_unmap_ex(
stream: *mut php_stream,
readden: zend_off_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _php_stream_cast(
stream: *mut php_stream,
castas: ::std::os::raw::c_int,
ret: *mut *mut ::std::os::raw::c_void,
show_err: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_init_stream_wrappers(module_number: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_shutdown_stream_wrappers(
module_number: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_shutdown_stream_hashes();
}
extern "C" {
pub fn zm_deactivate_streams(
type_: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_register_url_stream_wrapper(
protocol: *const ::std::os::raw::c_char,
wrapper: *const php_stream_wrapper,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_unregister_url_stream_wrapper(
protocol: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_register_url_stream_wrapper_volatile(
protocol: *mut zend_string,
wrapper: *mut php_stream_wrapper,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_unregister_url_stream_wrapper_volatile(
protocol: *mut zend_string,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _php_stream_open_wrapper_ex(
path: *const ::std::os::raw::c_char,
mode: *const ::std::os::raw::c_char,
options: ::std::os::raw::c_int,
opened_path: *mut *mut zend_string,
context: *mut php_stream_context,
) -> *mut php_stream;
}
extern "C" {
pub fn php_stream_locate_url_wrapper(
path: *const ::std::os::raw::c_char,
path_for_open: *mut *const ::std::os::raw::c_char,
options: ::std::os::raw::c_int,
) -> *mut php_stream_wrapper;
}
extern "C" {
pub fn php_stream_locate_eol(
stream: *mut php_stream,
buf: *mut zend_string,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn php_stream_wrapper_log_error(
wrapper: *const php_stream_wrapper,
options: ::std::os::raw::c_int,
fmt: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn _php_stream_make_seekable(
origstream: *mut php_stream,
newstream: *mut *mut php_stream,
flags: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _php_stream_get_url_stream_wrappers_hash() -> *mut HashTable;
}
extern "C" {
pub fn php_stream_get_url_stream_wrappers_hash_global() -> *mut HashTable;
}
extern "C" {
pub fn _php_get_stream_filters_hash() -> *mut HashTable;
}
extern "C" {
pub fn php_get_stream_filters_hash_global() -> *mut HashTable;
}
extern "C" {
pub static mut php_stream_user_wrapper_ops: *const php_stream_wrapper_ops;
}
extern "C" {
pub fn _php_stream_memory_create(mode: ::std::os::raw::c_int) -> *mut php_stream;
}
extern "C" {
pub fn _php_stream_memory_open(
mode: ::std::os::raw::c_int,
buf: *mut ::std::os::raw::c_char,
length: usize,
) -> *mut php_stream;
}
extern "C" {
pub fn _php_stream_memory_get_buffer(
stream: *mut php_stream,
length: *mut usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn _php_stream_temp_create(
mode: ::std::os::raw::c_int,
max_memory_usage: usize,
) -> *mut php_stream;
}
extern "C" {
pub fn _php_stream_temp_create_ex(
mode: ::std::os::raw::c_int,
max_memory_usage: usize,
tmpdir: *const ::std::os::raw::c_char,
) -> *mut php_stream;
}
extern "C" {
pub fn _php_stream_temp_open(
mode: ::std::os::raw::c_int,
max_memory_usage: usize,
buf: *mut ::std::os::raw::c_char,
length: usize,
) -> *mut php_stream;
}
extern "C" {
pub fn php_stream_mode_from_str(mode: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn _php_stream_mode_to_str(mode: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub static php_stream_memory_ops: php_stream_ops;
}
extern "C" {
pub static php_stream_temp_ops: php_stream_ops;
}
extern "C" {
pub static php_stream_rfc2397_ops: php_stream_ops;
}
extern "C" {
pub static php_stream_rfc2397_wrapper: php_stream_wrapper;
}
pub type php_core_globals = _php_core_globals;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _php_core_globals {
pub implicit_flush: zend_bool,
pub output_buffering: zend_long,
pub enable_dl: zend_bool,
pub output_handler: *mut ::std::os::raw::c_char,
pub unserialize_callback_func: *mut ::std::os::raw::c_char,
pub serialize_precision: zend_long,
pub memory_limit: zend_long,
pub max_input_time: zend_long,
pub track_errors: zend_bool,
pub display_errors: zend_bool,
pub display_startup_errors: zend_bool,
pub log_errors: zend_bool,
pub log_errors_max_len: zend_long,
pub ignore_repeated_errors: zend_bool,
pub ignore_repeated_source: zend_bool,
pub report_memleaks: zend_bool,
pub error_log: *mut ::std::os::raw::c_char,
pub doc_root: *mut ::std::os::raw::c_char,
pub user_dir: *mut ::std::os::raw::c_char,
pub include_path: *mut ::std::os::raw::c_char,
pub open_basedir: *mut ::std::os::raw::c_char,
pub extension_dir: *mut ::std::os::raw::c_char,
pub php_binary: *mut ::std::os::raw::c_char,
pub sys_temp_dir: *mut ::std::os::raw::c_char,
pub upload_tmp_dir: *mut ::std::os::raw::c_char,
pub upload_max_filesize: zend_long,
pub error_append_string: *mut ::std::os::raw::c_char,
pub error_prepend_string: *mut ::std::os::raw::c_char,
pub auto_prepend_file: *mut ::std::os::raw::c_char,
pub auto_append_file: *mut ::std::os::raw::c_char,
pub input_encoding: *mut ::std::os::raw::c_char,
pub internal_encoding: *mut ::std::os::raw::c_char,
pub output_encoding: *mut ::std::os::raw::c_char,
pub arg_separator: arg_separators,
pub variables_order: *mut ::std::os::raw::c_char,
pub rfc1867_protected_variables: HashTable,
pub connection_status: ::std::os::raw::c_short,
pub ignore_user_abort: zend_bool,
pub header_is_being_sent: ::std::os::raw::c_uchar,
pub tick_functions: zend_llist,
pub http_globals: [zval; 6usize],
pub expose_php: zend_bool,
pub register_argc_argv: zend_bool,
pub auto_globals_jit: zend_bool,
pub docref_root: *mut ::std::os::raw::c_char,
pub docref_ext: *mut ::std::os::raw::c_char,
pub html_errors: zend_bool,
pub xmlrpc_errors: zend_bool,
pub xmlrpc_error_number: zend_long,
pub activated_auto_globals: [zend_bool; 8usize],
pub modules_activated: zend_bool,
pub file_uploads: zend_bool,
pub during_request_startup: zend_bool,
pub allow_url_fopen: zend_bool,
pub enable_post_data_reading: zend_bool,
pub report_zend_debug: zend_bool,
pub last_error_type: ::std::os::raw::c_int,
pub last_error_message: *mut ::std::os::raw::c_char,
pub last_error_file: *mut ::std::os::raw::c_char,
pub last_error_lineno: ::std::os::raw::c_int,
pub php_sys_temp_dir: *mut ::std::os::raw::c_char,
pub disable_functions: *mut ::std::os::raw::c_char,
pub disable_classes: *mut ::std::os::raw::c_char,
pub allow_url_include: zend_bool,
pub max_input_nesting_level: zend_long,
pub max_input_vars: zend_long,
pub in_user_include: zend_bool,
pub user_ini_filename: *mut ::std::os::raw::c_char,
pub user_ini_cache_ttl: zend_long,
pub request_order: *mut ::std::os::raw::c_char,
pub mail_x_header: zend_bool,
pub mail_log: *mut ::std::os::raw::c_char,
pub in_error_log: zend_bool,
pub syslog_facility: zend_long,
pub syslog_ident: *mut ::std::os::raw::c_char,
pub have_called_openlog: zend_bool,
pub syslog_filter: zend_long,
}
#[test]
fn bindgen_test_layout__php_core_globals() {
assert_eq!(
::std::mem::size_of::<_php_core_globals>(),
688usize,
concat!("Size of: ", stringify!(_php_core_globals))
);
assert_eq!(
::std::mem::align_of::<_php_core_globals>(),
8usize,
concat!("Alignment of ", stringify!(_php_core_globals))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).implicit_flush as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(implicit_flush)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).output_buffering as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(output_buffering)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_core_globals>())).enable_dl as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(enable_dl)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).output_handler as *const _ as usize
},
24usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(output_handler)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).unserialize_callback_func as *const _
as usize
},
32usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(unserialize_callback_func)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).serialize_precision as *const _ as usize
},
40usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(serialize_precision)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_core_globals>())).memory_limit as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(memory_limit)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).max_input_time as *const _ as usize
},
56usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(max_input_time)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_core_globals>())).track_errors as *const _ as usize },
64usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(track_errors)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).display_errors as *const _ as usize
},
65usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(display_errors)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).display_startup_errors as *const _
as usize
},
66usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(display_startup_errors)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_core_globals>())).log_errors as *const _ as usize },
67usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(log_errors)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).log_errors_max_len as *const _ as usize
},
72usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(log_errors_max_len)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).ignore_repeated_errors as *const _
as usize
},
80usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(ignore_repeated_errors)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).ignore_repeated_source as *const _
as usize
},
81usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(ignore_repeated_source)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).report_memleaks as *const _ as usize
},
82usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(report_memleaks)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_core_globals>())).error_log as *const _ as usize },
88usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(error_log)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_core_globals>())).doc_root as *const _ as usize },
96usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(doc_root)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_core_globals>())).user_dir as *const _ as usize },
104usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(user_dir)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_core_globals>())).include_path as *const _ as usize },
112usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(include_path)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_core_globals>())).open_basedir as *const _ as usize },
120usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(open_basedir)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_core_globals>())).extension_dir as *const _ as usize },
128usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(extension_dir)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_core_globals>())).php_binary as *const _ as usize },
136usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(php_binary)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_core_globals>())).sys_temp_dir as *const _ as usize },
144usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(sys_temp_dir)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).upload_tmp_dir as *const _ as usize
},
152usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(upload_tmp_dir)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).upload_max_filesize as *const _ as usize
},
160usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(upload_max_filesize)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).error_append_string as *const _ as usize
},
168usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(error_append_string)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).error_prepend_string as *const _ as usize
},
176usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(error_prepend_string)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).auto_prepend_file as *const _ as usize
},
184usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(auto_prepend_file)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).auto_append_file as *const _ as usize
},
192usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(auto_append_file)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).input_encoding as *const _ as usize
},
200usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(input_encoding)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).internal_encoding as *const _ as usize
},
208usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(internal_encoding)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).output_encoding as *const _ as usize
},
216usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(output_encoding)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_core_globals>())).arg_separator as *const _ as usize },
224usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(arg_separator)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).variables_order as *const _ as usize
},
240usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(variables_order)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).rfc1867_protected_variables as *const _
as usize
},
248usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(rfc1867_protected_variables)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).connection_status as *const _ as usize
},
304usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(connection_status)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).ignore_user_abort as *const _ as usize
},
306usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(ignore_user_abort)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).header_is_being_sent as *const _ as usize
},
307usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(header_is_being_sent)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).tick_functions as *const _ as usize
},
312usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(tick_functions)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_core_globals>())).http_globals as *const _ as usize },
368usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(http_globals)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_core_globals>())).expose_php as *const _ as usize },
464usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(expose_php)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).register_argc_argv as *const _ as usize
},
465usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(register_argc_argv)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).auto_globals_jit as *const _ as usize
},
466usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(auto_globals_jit)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_core_globals>())).docref_root as *const _ as usize },
472usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(docref_root)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_core_globals>())).docref_ext as *const _ as usize },
480usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(docref_ext)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_core_globals>())).html_errors as *const _ as usize },
488usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(html_errors)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_core_globals>())).xmlrpc_errors as *const _ as usize },
489usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(xmlrpc_errors)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).xmlrpc_error_number as *const _ as usize
},
496usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(xmlrpc_error_number)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).activated_auto_globals as *const _
as usize
},
504usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(activated_auto_globals)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).modules_activated as *const _ as usize
},
512usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(modules_activated)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_core_globals>())).file_uploads as *const _ as usize },
513usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(file_uploads)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).during_request_startup as *const _
as usize
},
514usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(during_request_startup)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).allow_url_fopen as *const _ as usize
},
515usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(allow_url_fopen)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).enable_post_data_reading as *const _
as usize
},
516usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(enable_post_data_reading)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).report_zend_debug as *const _ as usize
},
517usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(report_zend_debug)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).last_error_type as *const _ as usize
},
520usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(last_error_type)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).last_error_message as *const _ as usize
},
528usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(last_error_message)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).last_error_file as *const _ as usize
},
536usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(last_error_file)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).last_error_lineno as *const _ as usize
},
544usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(last_error_lineno)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).php_sys_temp_dir as *const _ as usize
},
552usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(php_sys_temp_dir)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).disable_functions as *const _ as usize
},
560usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(disable_functions)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).disable_classes as *const _ as usize
},
568usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(disable_classes)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).allow_url_include as *const _ as usize
},
576usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(allow_url_include)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).max_input_nesting_level as *const _
as usize
},
584usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(max_input_nesting_level)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).max_input_vars as *const _ as usize
},
592usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(max_input_vars)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).in_user_include as *const _ as usize
},
600usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(in_user_include)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).user_ini_filename as *const _ as usize
},
608usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(user_ini_filename)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).user_ini_cache_ttl as *const _ as usize
},
616usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(user_ini_cache_ttl)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_core_globals>())).request_order as *const _ as usize },
624usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(request_order)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_core_globals>())).mail_x_header as *const _ as usize },
632usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(mail_x_header)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_core_globals>())).mail_log as *const _ as usize },
640usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(mail_log)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_core_globals>())).in_error_log as *const _ as usize },
648usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(in_error_log)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).syslog_facility as *const _ as usize
},
656usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(syslog_facility)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_core_globals>())).syslog_ident as *const _ as usize },
664usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(syslog_ident)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_php_core_globals>())).have_called_openlog as *const _ as usize
},
672usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(have_called_openlog)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_php_core_globals>())).syslog_filter as *const _ as usize },
680usize,
concat!(
"Offset of field: ",
stringify!(_php_core_globals),
"::",
stringify!(syslog_filter)
)
);
}
extern "C" {
pub static mut core_globals: _php_core_globals;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _php_tick_function_entry {
_unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _arg_separators {
pub output: *mut ::std::os::raw::c_char,
pub input: *mut ::std::os::raw::c_char,
}
#[test]
fn bindgen_test_layout__arg_separators() {
assert_eq!(
::std::mem::size_of::<_arg_separators>(),
16usize,
concat!("Size of: ", stringify!(_arg_separators))
);
assert_eq!(
::std::mem::align_of::<_arg_separators>(),
8usize,
concat!("Alignment of ", stringify!(_arg_separators))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_arg_separators>())).output as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_arg_separators),
"::",
stringify!(output)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_arg_separators>())).input as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_arg_separators),
"::",
stringify!(input)
)
);
}
pub type arg_separators = _arg_separators;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_ini_entry_def {
pub name: *const ::std::os::raw::c_char,
pub on_modify: ::std::option::Option<
unsafe extern "C" fn(
entry: *mut zend_ini_entry,
new_value: *mut zend_string,
mh_arg1: *mut ::std::os::raw::c_void,
mh_arg2: *mut ::std::os::raw::c_void,
mh_arg3: *mut ::std::os::raw::c_void,
stage: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int,
>,
pub mh_arg1: *mut ::std::os::raw::c_void,
pub mh_arg2: *mut ::std::os::raw::c_void,
pub mh_arg3: *mut ::std::os::raw::c_void,
pub value: *const ::std::os::raw::c_char,
pub displayer: ::std::option::Option<
unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
>,
pub value_length: u32,
pub name_length: u16,
pub modifiable: u8,
}
#[test]
fn bindgen_test_layout__zend_ini_entry_def() {
assert_eq!(
::std::mem::size_of::<_zend_ini_entry_def>(),
64usize,
concat!("Size of: ", stringify!(_zend_ini_entry_def))
);
assert_eq!(
::std::mem::align_of::<_zend_ini_entry_def>(),
8usize,
concat!("Alignment of ", stringify!(_zend_ini_entry_def))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ini_entry_def>())).name as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_entry_def),
"::",
stringify!(name)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ini_entry_def>())).on_modify as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_entry_def),
"::",
stringify!(on_modify)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ini_entry_def>())).mh_arg1 as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_entry_def),
"::",
stringify!(mh_arg1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ini_entry_def>())).mh_arg2 as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_entry_def),
"::",
stringify!(mh_arg2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ini_entry_def>())).mh_arg3 as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_entry_def),
"::",
stringify!(mh_arg3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ini_entry_def>())).value as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_entry_def),
"::",
stringify!(value)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ini_entry_def>())).displayer as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_entry_def),
"::",
stringify!(displayer)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_ini_entry_def>())).value_length as *const _ as usize
},
56usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_entry_def),
"::",
stringify!(value_length)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ini_entry_def>())).name_length as *const _ as usize },
60usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_entry_def),
"::",
stringify!(name_length)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ini_entry_def>())).modifiable as *const _ as usize },
62usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_entry_def),
"::",
stringify!(modifiable)
)
);
}
pub type zend_ini_entry_def = _zend_ini_entry_def;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_ini_entry {
pub name: *mut zend_string,
pub on_modify: ::std::option::Option<
unsafe extern "C" fn(
entry: *mut zend_ini_entry,
new_value: *mut zend_string,
mh_arg1: *mut ::std::os::raw::c_void,
mh_arg2: *mut ::std::os::raw::c_void,
mh_arg3: *mut ::std::os::raw::c_void,
stage: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int,
>,
pub mh_arg1: *mut ::std::os::raw::c_void,
pub mh_arg2: *mut ::std::os::raw::c_void,
pub mh_arg3: *mut ::std::os::raw::c_void,
pub value: *mut zend_string,
pub orig_value: *mut zend_string,
pub displayer: ::std::option::Option<
unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
>,
pub module_number: ::std::os::raw::c_int,
pub modifiable: u8,
pub orig_modifiable: u8,
pub modified: u8,
}
#[test]
fn bindgen_test_layout__zend_ini_entry() {
assert_eq!(
::std::mem::size_of::<_zend_ini_entry>(),
72usize,
concat!("Size of: ", stringify!(_zend_ini_entry))
);
assert_eq!(
::std::mem::align_of::<_zend_ini_entry>(),
8usize,
concat!("Alignment of ", stringify!(_zend_ini_entry))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).name as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_entry),
"::",
stringify!(name)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).on_modify as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_entry),
"::",
stringify!(on_modify)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).mh_arg1 as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_entry),
"::",
stringify!(mh_arg1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).mh_arg2 as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_entry),
"::",
stringify!(mh_arg2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).mh_arg3 as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_entry),
"::",
stringify!(mh_arg3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).value as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_entry),
"::",
stringify!(value)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).orig_value as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_entry),
"::",
stringify!(orig_value)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).displayer as *const _ as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_entry),
"::",
stringify!(displayer)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).module_number as *const _ as usize },
64usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_entry),
"::",
stringify!(module_number)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).modifiable as *const _ as usize },
68usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_entry),
"::",
stringify!(modifiable)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).orig_modifiable as *const _ as usize },
69usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_entry),
"::",
stringify!(orig_modifiable)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ini_entry>())).modified as *const _ as usize },
70usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_entry),
"::",
stringify!(modified)
)
);
}
extern "C" {
pub fn zend_ini_startup() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_ini_shutdown() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_ini_global_shutdown() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_ini_deactivate() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_ini_dtor(ini_directives: *mut HashTable);
}
extern "C" {
pub fn zend_copy_ini_directives() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_ini_sort_entries();
}
extern "C" {
pub fn zend_register_ini_entries(
ini_entry: *const zend_ini_entry_def,
module_number: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_unregister_ini_entries(module_number: ::std::os::raw::c_int);
}
extern "C" {
pub fn zend_ini_refresh_caches(stage: ::std::os::raw::c_int);
}
extern "C" {
pub fn zend_alter_ini_entry(
name: *mut zend_string,
new_value: *mut zend_string,
modify_type: ::std::os::raw::c_int,
stage: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_alter_ini_entry_ex(
name: *mut zend_string,
new_value: *mut zend_string,
modify_type: ::std::os::raw::c_int,
stage: ::std::os::raw::c_int,
force_change: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_alter_ini_entry_chars(
name: *mut zend_string,
value: *const ::std::os::raw::c_char,
value_length: usize,
modify_type: ::std::os::raw::c_int,
stage: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_alter_ini_entry_chars_ex(
name: *mut zend_string,
value: *const ::std::os::raw::c_char,
value_length: usize,
modify_type: ::std::os::raw::c_int,
stage: ::std::os::raw::c_int,
force_change: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_restore_ini_entry(
name: *mut zend_string,
stage: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn display_ini_entries(module: *mut zend_module_entry);
}
extern "C" {
pub fn zend_ini_long(
name: *mut ::std::os::raw::c_char,
name_length: usize,
orig: ::std::os::raw::c_int,
) -> zend_long;
}
extern "C" {
pub fn zend_ini_double(
name: *mut ::std::os::raw::c_char,
name_length: usize,
orig: ::std::os::raw::c_int,
) -> f64;
}
extern "C" {
pub fn zend_ini_string(
name: *mut ::std::os::raw::c_char,
name_length: usize,
orig: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_ini_string_ex(
name: *mut ::std::os::raw::c_char,
name_length: usize,
orig: ::std::os::raw::c_int,
exists: *mut zend_bool,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn zend_ini_get_value(name: *mut zend_string) -> *mut zend_string;
}
extern "C" {
pub fn zend_ini_parse_bool(str: *mut zend_string) -> zend_bool;
}
extern "C" {
pub fn zend_ini_register_displayer(
name: *mut ::std::os::raw::c_char,
name_length: u32,
displayer: ::std::option::Option<
unsafe extern "C" fn(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int),
>,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_ini_boolean_displayer_cb(
ini_entry: *mut zend_ini_entry,
type_: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn zend_ini_color_displayer_cb(
ini_entry: *mut zend_ini_entry,
type_: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn display_link_numbers(ini_entry: *mut zend_ini_entry, type_: ::std::os::raw::c_int);
}
extern "C" {
pub fn OnUpdateBool(
entry: *mut zend_ini_entry,
new_value: *mut zend_string,
mh_arg1: *mut ::std::os::raw::c_void,
mh_arg2: *mut ::std::os::raw::c_void,
mh_arg3: *mut ::std::os::raw::c_void,
stage: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn OnUpdateLong(
entry: *mut zend_ini_entry,
new_value: *mut zend_string,
mh_arg1: *mut ::std::os::raw::c_void,
mh_arg2: *mut ::std::os::raw::c_void,
mh_arg3: *mut ::std::os::raw::c_void,
stage: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn OnUpdateLongGEZero(
entry: *mut zend_ini_entry,
new_value: *mut zend_string,
mh_arg1: *mut ::std::os::raw::c_void,
mh_arg2: *mut ::std::os::raw::c_void,
mh_arg3: *mut ::std::os::raw::c_void,
stage: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn OnUpdateReal(
entry: *mut zend_ini_entry,
new_value: *mut zend_string,
mh_arg1: *mut ::std::os::raw::c_void,
mh_arg2: *mut ::std::os::raw::c_void,
mh_arg3: *mut ::std::os::raw::c_void,
stage: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn OnUpdateString(
entry: *mut zend_ini_entry,
new_value: *mut zend_string,
mh_arg1: *mut ::std::os::raw::c_void,
mh_arg2: *mut ::std::os::raw::c_void,
mh_arg3: *mut ::std::os::raw::c_void,
stage: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn OnUpdateStringUnempty(
entry: *mut zend_ini_entry,
new_value: *mut zend_string,
mh_arg1: *mut ::std::os::raw::c_void,
mh_arg2: *mut ::std::os::raw::c_void,
mh_arg3: *mut ::std::os::raw::c_void,
stage: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
pub type zend_ini_parser_cb_t = ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut zval,
arg2: *mut zval,
arg3: *mut zval,
callback_type: ::std::os::raw::c_int,
arg: *mut ::std::os::raw::c_void,
),
>;
extern "C" {
pub fn zend_parse_ini_file(
fh: *mut zend_file_handle,
unbuffered_errors: zend_bool,
scanner_mode: ::std::os::raw::c_int,
ini_parser_cb: zend_ini_parser_cb_t,
arg: *mut ::std::os::raw::c_void,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_parse_ini_string(
str: *mut ::std::os::raw::c_char,
unbuffered_errors: zend_bool,
scanner_mode: ::std::os::raw::c_int,
ini_parser_cb: zend_ini_parser_cb_t,
arg: *mut ::std::os::raw::c_void,
) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _zend_ini_parser_param {
pub ini_parser_cb: zend_ini_parser_cb_t,
pub arg: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout__zend_ini_parser_param() {
assert_eq!(
::std::mem::size_of::<_zend_ini_parser_param>(),
16usize,
concat!("Size of: ", stringify!(_zend_ini_parser_param))
);
assert_eq!(
::std::mem::align_of::<_zend_ini_parser_param>(),
8usize,
concat!("Alignment of ", stringify!(_zend_ini_parser_param))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_zend_ini_parser_param>())).ini_parser_cb as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_parser_param),
"::",
stringify!(ini_parser_cb)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_ini_parser_param>())).arg as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_zend_ini_parser_param),
"::",
stringify!(arg)
)
);
}
pub type zend_ini_parser_param = _zend_ini_parser_param;
extern "C" {
pub fn config_zval_dtor(zvalue: *mut zval);
}
extern "C" {
pub fn php_init_config() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_shutdown_config() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_ini_register_extensions();
}
extern "C" {
pub fn cfg_get_entry_ex(name: *mut zend_string) -> *mut zval;
}
extern "C" {
pub fn cfg_get_entry(name: *const ::std::os::raw::c_char, name_length: usize) -> *mut zval;
}
extern "C" {
pub fn cfg_get_long(
varname: *const ::std::os::raw::c_char,
result: *mut zend_long,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn cfg_get_double(
varname: *const ::std::os::raw::c_char,
result: *mut f64,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn cfg_get_string(
varname: *const ::std::os::raw::c_char,
result: *mut *mut ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_parse_user_ini_file(
dirname: *const ::std::os::raw::c_char,
ini_filename: *mut ::std::os::raw::c_char,
target_hash: *mut HashTable,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_ini_activate_config(
source_hash: *mut HashTable,
modify_type: ::std::os::raw::c_int,
stage: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn php_ini_has_per_dir_config() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_ini_has_per_host_config() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_ini_activate_per_dir_config(path: *mut ::std::os::raw::c_char, path_len: usize);
}
extern "C" {
pub fn php_ini_activate_per_host_config(host: *const ::std::os::raw::c_char, host_len: usize);
}
extern "C" {
pub fn php_ini_get_configuration_hash() -> *mut HashTable;
}
extern "C" {
pub fn php_fopen_primary_script(file_handle: *mut zend_file_handle) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn expand_filepath(
filepath: *const ::std::os::raw::c_char,
real_path: *mut ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn expand_filepath_ex(
filepath: *const ::std::os::raw::c_char,
real_path: *mut ::std::os::raw::c_char,
relative_to: *const ::std::os::raw::c_char,
relative_to_len: usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn expand_filepath_with_mode(
filepath: *const ::std::os::raw::c_char,
real_path: *mut ::std::os::raw::c_char,
relative_to: *const ::std::os::raw::c_char,
relative_to_len: usize,
use_realpath: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn php_check_open_basedir(path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_check_open_basedir_ex(
path: *const ::std::os::raw::c_char,
warn: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_check_specific_open_basedir(
basedir: *const ::std::os::raw::c_char,
path: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_check_safe_mode_include_dir(
path: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn php_resolve_path(
filename: *const ::std::os::raw::c_char,
filename_len: usize,
path: *const ::std::os::raw::c_char,
) -> *mut zend_string;
}
extern "C" {
pub fn php_fopen_with_path(
filename: *const ::std::os::raw::c_char,
mode: *const ::std::os::raw::c_char,
path: *const ::std::os::raw::c_char,
opened_path: *mut *mut zend_string,
) -> *mut FILE;
}
extern "C" {
pub fn php_strip_url_passwd(path: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn OnUpdateBaseDir(
entry: *mut zend_ini_entry,
new_value: *mut zend_string,
mh_arg1: *mut ::std::os::raw::c_void,
mh_arg2: *mut ::std::os::raw::c_void,
mh_arg3: *mut ::std::os::raw::c_void,
stage: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct utimbuf {
pub actime: __time_t,
pub modtime: __time_t,
}
#[test]
fn bindgen_test_layout_utimbuf() {
assert_eq!(
::std::mem::size_of::<utimbuf>(),
16usize,
concat!("Size of: ", stringify!(utimbuf))
);
assert_eq!(
::std::mem::align_of::<utimbuf>(),
8usize,
concat!("Alignment of ", stringify!(utimbuf))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<utimbuf>())).actime as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(utimbuf),
"::",
stringify!(actime)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<utimbuf>())).modtime as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(utimbuf),
"::",
stringify!(modtime)
)
);
}
extern "C" {
pub fn utime(
__file: *const ::std::os::raw::c_char,
__file_times: *const utimbuf,
) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct dirent {
pub d_ino: __ino_t,
pub d_off: __off_t,
pub d_reclen: ::std::os::raw::c_ushort,
pub d_type: ::std::os::raw::c_uchar,
pub d_name: [::std::os::raw::c_char; 256usize],
}
#[test]
fn bindgen_test_layout_dirent() {
assert_eq!(
::std::mem::size_of::<dirent>(),
280usize,
concat!("Size of: ", stringify!(dirent))
);
assert_eq!(
::std::mem::align_of::<dirent>(),
8usize,
concat!("Alignment of ", stringify!(dirent))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<dirent>())).d_ino as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(dirent),
"::",
stringify!(d_ino)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<dirent>())).d_off as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(dirent),
"::",
stringify!(d_off)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<dirent>())).d_reclen as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(dirent),
"::",
stringify!(d_reclen)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<dirent>())).d_type as *const _ as usize },
18usize,
concat!(
"Offset of field: ",
stringify!(dirent),
"::",
stringify!(d_type)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<dirent>())).d_name as *const _ as usize },
19usize,
concat!(
"Offset of field: ",
stringify!(dirent),
"::",
stringify!(d_name)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct dirent64 {
pub d_ino: __ino64_t,
pub d_off: __off64_t,
pub d_reclen: ::std::os::raw::c_ushort,
pub d_type: ::std::os::raw::c_uchar,
pub d_name: [::std::os::raw::c_char; 256usize],
}
#[test]
fn bindgen_test_layout_dirent64() {
assert_eq!(
::std::mem::size_of::<dirent64>(),
280usize,
concat!("Size of: ", stringify!(dirent64))
);
assert_eq!(
::std::mem::align_of::<dirent64>(),
8usize,
concat!("Alignment of ", stringify!(dirent64))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<dirent64>())).d_ino as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(dirent64),
"::",
stringify!(d_ino)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<dirent64>())).d_off as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(dirent64),
"::",
stringify!(d_off)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<dirent64>())).d_reclen as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(dirent64),
"::",
stringify!(d_reclen)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<dirent64>())).d_type as *const _ as usize },
18usize,
concat!(
"Offset of field: ",
stringify!(dirent64),
"::",
stringify!(d_type)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<dirent64>())).d_name as *const _ as usize },
19usize,
concat!(
"Offset of field: ",
stringify!(dirent64),
"::",
stringify!(d_name)
)
);
}
pub const DT_UNKNOWN: _bindgen_ty_23 = 0;
pub const DT_FIFO: _bindgen_ty_23 = 1;
pub const DT_CHR: _bindgen_ty_23 = 2;
pub const DT_DIR: _bindgen_ty_23 = 4;
pub const DT_BLK: _bindgen_ty_23 = 6;
pub const DT_REG: _bindgen_ty_23 = 8;
pub const DT_LNK: _bindgen_ty_23 = 10;
pub const DT_SOCK: _bindgen_ty_23 = 12;
pub const DT_WHT: _bindgen_ty_23 = 14;
pub type _bindgen_ty_23 = u32;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __dirstream {
_unused: [u8; 0],
}
pub type DIR = __dirstream;
extern "C" {
pub fn opendir(__name: *const ::std::os::raw::c_char) -> *mut DIR;
}
extern "C" {
pub fn fdopendir(__fd: ::std::os::raw::c_int) -> *mut DIR;
}
extern "C" {
pub fn closedir(__dirp: *mut DIR) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn readdir(__dirp: *mut DIR) -> *mut dirent;
}
extern "C" {
pub fn readdir64(__dirp: *mut DIR) -> *mut dirent64;
}
extern "C" {
pub fn readdir_r(
__dirp: *mut DIR,
__entry: *mut dirent,
__result: *mut *mut dirent,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn readdir64_r(
__dirp: *mut DIR,
__entry: *mut dirent64,
__result: *mut *mut dirent64,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn rewinddir(__dirp: *mut DIR);
}
extern "C" {
pub fn seekdir(__dirp: *mut DIR, __pos: ::std::os::raw::c_long);
}
extern "C" {
pub fn telldir(__dirp: *mut DIR) -> ::std::os::raw::c_long;
}
extern "C" {
pub fn dirfd(__dirp: *mut DIR) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn scandir(
__dir: *const ::std::os::raw::c_char,
__namelist: *mut *mut *mut dirent,
__selector: ::std::option::Option<
unsafe extern "C" fn(arg1: *const dirent) -> ::std::os::raw::c_int,
>,
__cmp: ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut *const dirent,
arg2: *mut *const dirent,
) -> ::std::os::raw::c_int,
>,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn scandir64(
__dir: *const ::std::os::raw::c_char,
__namelist: *mut *mut *mut dirent64,
__selector: ::std::option::Option<
unsafe extern "C" fn(arg1: *const dirent64) -> ::std::os::raw::c_int,
>,
__cmp: ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut *const dirent64,
arg2: *mut *const dirent64,
) -> ::std::os::raw::c_int,
>,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn scandirat(
__dfd: ::std::os::raw::c_int,
__dir: *const ::std::os::raw::c_char,
__namelist: *mut *mut *mut dirent,
__selector: ::std::option::Option<
unsafe extern "C" fn(arg1: *const dirent) -> ::std::os::raw::c_int,
>,
__cmp: ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut *const dirent,
arg2: *mut *const dirent,
) -> ::std::os::raw::c_int,
>,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn scandirat64(
__dfd: ::std::os::raw::c_int,
__dir: *const ::std::os::raw::c_char,
__namelist: *mut *mut *mut dirent64,
__selector: ::std::option::Option<
unsafe extern "C" fn(arg1: *const dirent64) -> ::std::os::raw::c_int,
>,
__cmp: ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut *const dirent64,
arg2: *mut *const dirent64,
) -> ::std::os::raw::c_int,
>,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn alphasort(__e1: *mut *const dirent, __e2: *mut *const dirent) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn alphasort64(
__e1: *mut *const dirent64,
__e2: *mut *const dirent64,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getdirentries(
__fd: ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_char,
__nbytes: usize,
__basep: *mut __off_t,
) -> __ssize_t;
}
extern "C" {
pub fn getdirentries64(
__fd: ::std::os::raw::c_int,
__buf: *mut ::std::os::raw::c_char,
__nbytes: usize,
__basep: *mut __off64_t,
) -> __ssize_t;
}
extern "C" {
pub fn versionsort(__e1: *mut *const dirent, __e2: *mut *const dirent)
-> ::std::os::raw::c_int;
}
extern "C" {
pub fn versionsort64(
__e1: *mut *const dirent64,
__e2: *mut *const dirent64,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn getdents64(
__fd: ::std::os::raw::c_int,
__buffer: *mut ::std::os::raw::c_void,
__length: usize,
) -> __ssize_t;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _cwd_state {
pub cwd: *mut ::std::os::raw::c_char,
pub cwd_length: usize,
}
#[test]
fn bindgen_test_layout__cwd_state() {
assert_eq!(
::std::mem::size_of::<_cwd_state>(),
16usize,
concat!("Size of: ", stringify!(_cwd_state))
);
assert_eq!(
::std::mem::align_of::<_cwd_state>(),
8usize,
concat!("Alignment of ", stringify!(_cwd_state))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_cwd_state>())).cwd as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_cwd_state),
"::",
stringify!(cwd)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_cwd_state>())).cwd_length as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_cwd_state),
"::",
stringify!(cwd_length)
)
);
}
pub type cwd_state = _cwd_state;
pub type verify_path_func =
::std::option::Option<unsafe extern "C" fn(arg1: *const cwd_state) -> ::std::os::raw::c_int>;
extern "C" {
pub fn virtual_cwd_startup();
}
extern "C" {
pub fn virtual_cwd_shutdown();
}
extern "C" {
pub fn virtual_cwd_activate() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn virtual_cwd_deactivate() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn virtual_getcwd_ex(length: *mut usize) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn virtual_getcwd(
buf: *mut ::std::os::raw::c_char,
size: usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn virtual_chdir(path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn virtual_chdir_file(
path: *const ::std::os::raw::c_char,
p_chdir: ::std::option::Option<
unsafe extern "C" fn(path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int,
>,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn virtual_filepath(
path: *const ::std::os::raw::c_char,
filepath: *mut *mut ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn virtual_filepath_ex(
path: *const ::std::os::raw::c_char,
filepath: *mut *mut ::std::os::raw::c_char,
verify_path: verify_path_func,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn virtual_realpath(
path: *const ::std::os::raw::c_char,
real_path: *mut ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn virtual_fopen(
path: *const ::std::os::raw::c_char,
mode: *const ::std::os::raw::c_char,
) -> *mut FILE;
}
extern "C" {
pub fn virtual_open(
path: *const ::std::os::raw::c_char,
flags: ::std::os::raw::c_int,
...
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn virtual_creat(
path: *const ::std::os::raw::c_char,
mode: mode_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn virtual_rename(
oldname: *const ::std::os::raw::c_char,
newname: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn virtual_stat(
path: *const ::std::os::raw::c_char,
buf: *mut zend_stat_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn virtual_lstat(
path: *const ::std::os::raw::c_char,
buf: *mut zend_stat_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn virtual_unlink(path: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn virtual_mkdir(
pathname: *const ::std::os::raw::c_char,
mode: mode_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn virtual_rmdir(pathname: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn virtual_opendir(pathname: *const ::std::os::raw::c_char) -> *mut DIR;
}
extern "C" {
pub fn virtual_popen(
command: *const ::std::os::raw::c_char,
type_: *const ::std::os::raw::c_char,
) -> *mut FILE;
}
extern "C" {
pub fn virtual_access(
pathname: *const ::std::os::raw::c_char,
mode: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn virtual_utime(
filename: *const ::std::os::raw::c_char,
buf: *mut utimbuf,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn virtual_chmod(
filename: *const ::std::os::raw::c_char,
mode: mode_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn virtual_chown(
filename: *const ::std::os::raw::c_char,
owner: uid_t,
group: gid_t,
link: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn virtual_file_ex(
state: *mut cwd_state,
path: *const ::std::os::raw::c_char,
verify_path: verify_path_func,
use_realpath: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn tsrm_realpath(
path: *const ::std::os::raw::c_char,
real_path: *mut ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _realpath_cache_bucket {
pub key: zend_ulong,
pub path: *mut ::std::os::raw::c_char,
pub realpath: *mut ::std::os::raw::c_char,
pub next: *mut _realpath_cache_bucket,
pub expires: time_t,
pub path_len: u16,
pub realpath_len: u16,
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
pub __bindgen_padding_0: [u8; 3usize],
}
#[test]
fn bindgen_test_layout__realpath_cache_bucket() {
assert_eq!(
::std::mem::size_of::<_realpath_cache_bucket>(),
48usize,
concat!("Size of: ", stringify!(_realpath_cache_bucket))
);
assert_eq!(
::std::mem::align_of::<_realpath_cache_bucket>(),
8usize,
concat!("Alignment of ", stringify!(_realpath_cache_bucket))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_realpath_cache_bucket>())).key as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_realpath_cache_bucket),
"::",
stringify!(key)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_realpath_cache_bucket>())).path as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_realpath_cache_bucket),
"::",
stringify!(path)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_realpath_cache_bucket>())).realpath as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_realpath_cache_bucket),
"::",
stringify!(realpath)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_realpath_cache_bucket>())).next as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_realpath_cache_bucket),
"::",
stringify!(next)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_realpath_cache_bucket>())).expires as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(_realpath_cache_bucket),
"::",
stringify!(expires)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_realpath_cache_bucket>())).path_len as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(_realpath_cache_bucket),
"::",
stringify!(path_len)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_realpath_cache_bucket>())).realpath_len as *const _ as usize
},
42usize,
concat!(
"Offset of field: ",
stringify!(_realpath_cache_bucket),
"::",
stringify!(realpath_len)
)
);
}
impl _realpath_cache_bucket {
#[inline]
pub fn is_dir(&self) -> u8 {
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
}
#[inline]
pub fn set_is_dir(&mut self, val: u8) {
unsafe {
let val: u8 = ::std::mem::transmute(val);
self._bitfield_1.set(0usize, 1u8, val as u64)
}
}
#[inline]
pub fn new_bitfield_1(is_dir: u8) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
Default::default();
__bindgen_bitfield_unit.set(0usize, 1u8, {
let is_dir: u8 = unsafe { ::std::mem::transmute(is_dir) };
is_dir as u64
});
__bindgen_bitfield_unit
}
}
pub type realpath_cache_bucket = _realpath_cache_bucket;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _virtual_cwd_globals {
pub cwd: cwd_state,
pub realpath_cache_size: zend_long,
pub realpath_cache_size_limit: zend_long,
pub realpath_cache_ttl: zend_long,
pub realpath_cache: [*mut realpath_cache_bucket; 1024usize],
}
#[test]
fn bindgen_test_layout__virtual_cwd_globals() {
assert_eq!(
::std::mem::size_of::<_virtual_cwd_globals>(),
8232usize,
concat!("Size of: ", stringify!(_virtual_cwd_globals))
);
assert_eq!(
::std::mem::align_of::<_virtual_cwd_globals>(),
8usize,
concat!("Alignment of ", stringify!(_virtual_cwd_globals))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_virtual_cwd_globals>())).cwd as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_virtual_cwd_globals),
"::",
stringify!(cwd)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_virtual_cwd_globals>())).realpath_cache_size as *const _
as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_virtual_cwd_globals),
"::",
stringify!(realpath_cache_size)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_virtual_cwd_globals>())).realpath_cache_size_limit as *const _
as usize
},
24usize,
concat!(
"Offset of field: ",
stringify!(_virtual_cwd_globals),
"::",
stringify!(realpath_cache_size_limit)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_virtual_cwd_globals>())).realpath_cache_ttl as *const _ as usize
},
32usize,
concat!(
"Offset of field: ",
stringify!(_virtual_cwd_globals),
"::",
stringify!(realpath_cache_ttl)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_virtual_cwd_globals>())).realpath_cache as *const _ as usize
},
40usize,
concat!(
"Offset of field: ",
stringify!(_virtual_cwd_globals),
"::",
stringify!(realpath_cache)
)
);
}
pub type virtual_cwd_globals = _virtual_cwd_globals;
extern "C" {
pub static mut cwd_globals: virtual_cwd_globals;
}
extern "C" {
pub fn realpath_cache_clean();
}
extern "C" {
pub fn realpath_cache_del(path: *const ::std::os::raw::c_char, path_len: usize);
}
extern "C" {
pub fn realpath_cache_lookup(
path: *const ::std::os::raw::c_char,
path_len: usize,
t: time_t,
) -> *mut realpath_cache_bucket;
}
extern "C" {
pub fn realpath_cache_size() -> zend_long;
}
extern "C" {
pub fn realpath_cache_max_buckets() -> zend_long;
}
extern "C" {
pub fn realpath_cache_get_buckets() -> *mut *mut realpath_cache_bucket;
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _zend_constant {
pub value: zval,
pub name: *mut zend_string,
}
#[test]
fn bindgen_test_layout__zend_constant() {
assert_eq!(
::std::mem::size_of::<_zend_constant>(),
24usize,
concat!("Size of: ", stringify!(_zend_constant))
);
assert_eq!(
::std::mem::align_of::<_zend_constant>(),
8usize,
concat!("Alignment of ", stringify!(_zend_constant))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_constant>())).value as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_zend_constant),
"::",
stringify!(value)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_zend_constant>())).name as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_zend_constant),
"::",
stringify!(name)
)
);
}
pub type zend_constant = _zend_constant;
extern "C" {
pub fn clean_module_constants(module_number: ::std::os::raw::c_int);
}
extern "C" {
pub fn free_zend_constant(zv: *mut zval);
}
extern "C" {
pub fn zend_startup_constants() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_shutdown_constants() -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_register_standard_constants();
}
extern "C" {
pub fn zend_verify_const_access(
c: *mut zend_class_constant,
ce: *mut zend_class_entry,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zend_get_constant(name: *mut zend_string) -> *mut zval;
}
extern "C" {
pub fn zend_get_constant_str(name: *const ::std::os::raw::c_char, name_len: usize)
-> *mut zval;
}
extern "C" {
pub fn zend_get_constant_ex(
name: *mut zend_string,
scope: *mut zend_class_entry,
flags: u32,
) -> *mut zval;
}
extern "C" {
pub fn zend_register_bool_constant(
name: *const ::std::os::raw::c_char,
name_len: usize,
bval: zend_bool,
flags: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn zend_register_null_constant(
name: *const ::std::os::raw::c_char,
name_len: usize,
flags: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn zend_register_long_constant(
name: *const ::std::os::raw::c_char,
name_len: usize,
lval: zend_long,
flags: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn zend_register_double_constant(
name: *const ::std::os::raw::c_char,
name_len: usize,
dval: f64,
flags: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn zend_register_string_constant(
name: *const ::std::os::raw::c_char,
name_len: usize,
strval: *mut ::std::os::raw::c_char,
flags: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn zend_register_stringl_constant(
name: *const ::std::os::raw::c_char,
name_len: usize,
strval: *mut ::std::os::raw::c_char,
strlen: usize,
flags: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn zend_register_constant(c: *mut zend_constant) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct tm {
pub tm_sec: ::std::os::raw::c_int,
pub tm_min: ::std::os::raw::c_int,
pub tm_hour: ::std::os::raw::c_int,
pub tm_mday: ::std::os::raw::c_int,
pub tm_mon: ::std::os::raw::c_int,
pub tm_year: ::std::os::raw::c_int,
pub tm_wday: ::std::os::raw::c_int,
pub tm_yday: ::std::os::raw::c_int,
pub tm_isdst: ::std::os::raw::c_int,
pub tm_gmtoff: ::std::os::raw::c_long,
pub tm_zone: *const ::std::os::raw::c_char,
}
#[test]
fn bindgen_test_layout_tm() {
assert_eq!(
::std::mem::size_of::<tm>(),
56usize,
concat!("Size of: ", stringify!(tm))
);
assert_eq!(
::std::mem::align_of::<tm>(),
8usize,
concat!("Alignment of ", stringify!(tm))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<tm>())).tm_sec as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(tm),
"::",
stringify!(tm_sec)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<tm>())).tm_min as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(tm),
"::",
stringify!(tm_min)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<tm>())).tm_hour as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(tm),
"::",
stringify!(tm_hour)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<tm>())).tm_mday as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(tm),
"::",
stringify!(tm_mday)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<tm>())).tm_mon as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(tm),
"::",
stringify!(tm_mon)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<tm>())).tm_year as *const _ as usize },
20usize,
concat!(
"Offset of field: ",
stringify!(tm),
"::",
stringify!(tm_year)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<tm>())).tm_wday as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(tm),
"::",
stringify!(tm_wday)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<tm>())).tm_yday as *const _ as usize },
28usize,
concat!(
"Offset of field: ",
stringify!(tm),
"::",
stringify!(tm_yday)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<tm>())).tm_isdst as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(tm),
"::",
stringify!(tm_isdst)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<tm>())).tm_gmtoff as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(tm),
"::",
stringify!(tm_gmtoff)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<tm>())).tm_zone as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(tm),
"::",
stringify!(tm_zone)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct itimerspec {
pub it_interval: timespec,
pub it_value: timespec,
}
#[test]
fn bindgen_test_layout_itimerspec() {
assert_eq!(
::std::mem::size_of::<itimerspec>(),
32usize,
concat!("Size of: ", stringify!(itimerspec))
);
assert_eq!(
::std::mem::align_of::<itimerspec>(),
8usize,
concat!("Alignment of ", stringify!(itimerspec))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<itimerspec>())).it_interval as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(itimerspec),
"::",
stringify!(it_interval)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<itimerspec>())).it_value as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(itimerspec),
"::",
stringify!(it_value)
)
);
}
extern "C" {
pub fn clock() -> clock_t;
}
extern "C" {
pub fn time(__timer: *mut time_t) -> time_t;
}
extern "C" {
pub fn difftime(__time1: time_t, __time0: time_t) -> f64;
}
extern "C" {
pub fn mktime(__tp: *mut tm) -> time_t;
}
extern "C" {
pub fn strftime(
__s: *mut ::std::os::raw::c_char,
__maxsize: usize,
__format: *const ::std::os::raw::c_char,
__tp: *const tm,
) -> usize;
}
extern "C" {
pub fn strptime(
__s: *const ::std::os::raw::c_char,
__fmt: *const ::std::os::raw::c_char,
__tp: *mut tm,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn strftime_l(
__s: *mut ::std::os::raw::c_char,
__maxsize: usize,
__format: *const ::std::os::raw::c_char,
__tp: *const tm,
__loc: locale_t,
) -> usize;
}
extern "C" {
pub fn strptime_l(
__s: *const ::std::os::raw::c_char,
__fmt: *const ::std::os::raw::c_char,
__tp: *mut tm,
__loc: locale_t,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn gmtime(__timer: *const time_t) -> *mut tm;
}
extern "C" {
pub fn localtime(__timer: *const time_t) -> *mut tm;
}
extern "C" {
pub fn gmtime_r(__timer: *const time_t, __tp: *mut tm) -> *mut tm;
}
extern "C" {
pub fn localtime_r(__timer: *const time_t, __tp: *mut tm) -> *mut tm;
}
extern "C" {
pub fn asctime(__tp: *const tm) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn ctime(__timer: *const time_t) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn asctime_r(
__tp: *const tm,
__buf: *mut ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn ctime_r(
__timer: *const time_t,
__buf: *mut ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub static mut __tzname: [*mut ::std::os::raw::c_char; 2usize];
}
extern "C" {
pub static mut __daylight: ::std::os::raw::c_int;
}
extern "C" {
pub static mut __timezone: ::std::os::raw::c_long;
}
extern "C" {
pub static mut tzname: [*mut ::std::os::raw::c_char; 2usize];
}
extern "C" {
pub fn tzset();
}
extern "C" {
pub static mut daylight: ::std::os::raw::c_int;
}
extern "C" {
pub static mut timezone: ::std::os::raw::c_long;
}
extern "C" {
pub fn timegm(__tp: *mut tm) -> time_t;
}
extern "C" {
pub fn timelocal(__tp: *mut tm) -> time_t;
}
extern "C" {
pub fn dysize(__year: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn nanosleep(
__requested_time: *const timespec,
__remaining: *mut timespec,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn clock_getres(__clock_id: clockid_t, __res: *mut timespec) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn clock_gettime(__clock_id: clockid_t, __tp: *mut timespec) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn clock_settime(__clock_id: clockid_t, __tp: *const timespec) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn clock_nanosleep(
__clock_id: clockid_t,
__flags: ::std::os::raw::c_int,
__req: *const timespec,
__rem: *mut timespec,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn clock_getcpuclockid(__pid: pid_t, __clock_id: *mut clockid_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn timer_create(
__clock_id: clockid_t,
__evp: *mut sigevent,
__timerid: *mut timer_t,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn timer_delete(__timerid: timer_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn timer_settime(
__timerid: timer_t,
__flags: ::std::os::raw::c_int,
__value: *const itimerspec,
__ovalue: *mut itimerspec,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn timer_gettime(__timerid: timer_t, __value: *mut itimerspec) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn timer_getoverrun(__timerid: timer_t) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn timespec_get(
__ts: *mut timespec,
__base: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub static mut getdate_err: ::std::os::raw::c_int;
}
extern "C" {
pub fn getdate(__string: *const ::std::os::raw::c_char) -> *mut tm;
}
extern "C" {
pub fn getdate_r(
__string: *const ::std::os::raw::c_char,
__resbufp: *mut tm,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn zif_phpversion(execute_data: *mut zend_execute_data, return_value: *mut zval);
}
extern "C" {
pub fn zif_phpinfo(execute_data: *mut zend_execute_data, return_value: *mut zval);
}
extern "C" {
pub fn zif_phpcredits(execute_data: *mut zend_execute_data, return_value: *mut zval);
}
extern "C" {
pub fn zif_php_sapi_name(execute_data: *mut zend_execute_data, return_value: *mut zval);
}
extern "C" {
pub fn zif_php_uname(execute_data: *mut zend_execute_data, return_value: *mut zval);
}
extern "C" {
pub fn zif_php_ini_scanned_files(execute_data: *mut zend_execute_data, return_value: *mut zval);
}
extern "C" {
pub fn zif_php_ini_loaded_file(execute_data: *mut zend_execute_data, return_value: *mut zval);
}
extern "C" {
pub fn php_info_html_esc(string: *mut ::std::os::raw::c_char) -> *mut zend_string;
}
extern "C" {
pub fn php_info_html_esc_write(
string: *mut ::std::os::raw::c_char,
str_len: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn php_print_info_htmlhead();
}
extern "C" {
pub fn php_print_info(flag: ::std::os::raw::c_int);
}
extern "C" {
pub fn php_print_style();
}
extern "C" {
pub fn php_info_print_style();
}
extern "C" {
pub fn php_info_print_table_colspan_header(
num_cols: ::std::os::raw::c_int,
header: *mut ::std::os::raw::c_char,
);
}
extern "C" {
pub fn php_info_print_table_header(num_cols: ::std::os::raw::c_int, ...);
}
extern "C" {
pub fn php_info_print_table_row(num_cols: ::std::os::raw::c_int, ...);
}
extern "C" {
pub fn php_info_print_table_row_ex(
num_cols: ::std::os::raw::c_int,
arg1: *const ::std::os::raw::c_char,
...
);
}
extern "C" {
pub fn php_info_print_table_start();
}
extern "C" {
pub fn php_info_print_table_end();
}
extern "C" {
pub fn php_info_print_box_start(bg: ::std::os::raw::c_int);
}
extern "C" {
pub fn php_info_print_box_end();
}
extern "C" {
pub fn php_info_print_hr();
}
extern "C" {
pub fn php_info_print_module(module: *mut zend_module_entry);
}
extern "C" {
pub fn php_get_uname(mode: ::std::os::raw::c_char) -> *mut zend_string;
}
extern "C" {
pub fn register_phpinfo_constants(
type_: ::std::os::raw::c_int,
module_number: ::std::os::raw::c_int,
);
}
extern "C" {
pub static mut zend_ce_throwable: *mut zend_class_entry;
}
extern "C" {
pub static mut zend_ce_exception: *mut zend_class_entry;
}
extern "C" {
pub static mut zend_ce_error_exception: *mut zend_class_entry;
}
extern "C" {
pub static mut zend_ce_error: *mut zend_class_entry;
}
extern "C" {
pub static mut zend_ce_compile_error: *mut zend_class_entry;
}
extern "C" {
pub static mut zend_ce_parse_error: *mut zend_class_entry;
}
extern "C" {
pub static mut zend_ce_type_error: *mut zend_class_entry;
}
extern "C" {
pub static mut zend_ce_argument_count_error: *mut zend_class_entry;
}
extern "C" {
pub static mut zend_ce_arithmetic_error: *mut zend_class_entry;
}
extern "C" {
pub static mut zend_ce_division_by_zero_error: *mut zend_class_entry;
}
extern "C" {
pub fn zend_exception_set_previous(exception: *mut zend_object, add_previous: *mut zend_object);
}
extern "C" {
pub fn zend_exception_save();
}
extern "C" {
pub fn zend_exception_restore();
}
extern "C" {
pub fn zend_throw_exception_internal(exception: *mut zval);
}
extern "C" {
pub fn zend_register_default_exception();
}
extern "C" {
pub fn zend_get_exception_base(object: *mut zval) -> *mut zend_class_entry;
}
extern "C" {
pub fn zend_exception_get_default() -> *mut zend_class_entry;
}
extern "C" {
pub fn zend_get_error_exception() -> *mut zend_class_entry;
}
extern "C" {
pub fn zend_register_default_classes();
}
extern "C" {
pub fn zend_throw_exception(
exception_ce: *mut zend_class_entry,
message: *const ::std::os::raw::c_char,
code: zend_long,
) -> *mut zend_object;
}
extern "C" {
pub fn zend_throw_exception_ex(
exception_ce: *mut zend_class_entry,
code: zend_long,
format: *const ::std::os::raw::c_char,
...
) -> *mut zend_object;
}
extern "C" {
pub fn zend_throw_exception_object(exception: *mut zval);
}
extern "C" {
pub fn zend_clear_exception();
}
extern "C" {
pub fn zend_throw_error_exception(
exception_ce: *mut zend_class_entry,
message: *const ::std::os::raw::c_char,
code: zend_long,
severity: ::std::os::raw::c_int,
) -> *mut zend_object;
}
extern "C" {
pub static mut zend_throw_exception_hook:
::std::option::Option<unsafe extern "C" fn(ex: *mut zval)>;
}
extern "C" {
pub fn zend_exception_error(exception: *mut zend_object, severity: ::std::os::raw::c_int);
}
pub type phper_zend_ini_mh = ::std::option::Option<
unsafe extern "C" fn(
entry: *mut zend_ini_entry,
new_value: *mut zend_string,
mh_arg1: *mut ::std::os::raw::c_void,
mh_arg2: *mut ::std::os::raw::c_void,
mh_arg3: *mut ::std::os::raw::c_void,
stage: ::std::os::raw::c_int,
) -> ::std::os::raw::c_int,
>;
extern "C" {
pub fn zend_new_interned_string_(str: *mut zend_string) -> *mut zend_string;
}
extern "C" {
pub fn phper_init_class_entry_ex(
class_name: *const ::std::os::raw::c_char,
class_name_len: usize,
functions: *const zend_function_entry,
) -> zend_class_entry;
}
extern "C" {
pub fn phper_zval_get_type(pz: *const zval) -> zend_uchar;
}
extern "C" {
pub fn phper_zval_string(return_value: *mut zval, s: *const ::std::os::raw::c_char);
}
extern "C" {
pub fn phper_zval_arr(return_value: *mut zval, arr: *mut zend_array);
}
extern "C" {
pub fn phper_zval_new_arr(return_value: *mut zval);
}
extern "C" {
pub fn phper_zval_stringl(
return_value: *mut zval,
s: *const ::std::os::raw::c_char,
len: usize,
);
}
extern "C" {
pub fn phper_z_strval_p(v: *const zval) -> *mut ::std::os::raw::c_char;
}
extern "C" {
pub fn phper_get_this(execute_data: *mut zend_execute_data) -> *mut zval;
}
extern "C" {
pub fn phper_zval_zval(
return_value: *mut zval,
zv: *mut zval,
copy: ::std::os::raw::c_int,
dtor: ::std::os::raw::c_int,
);
}
extern "C" {
pub fn phper_zval_dup(return_value: *mut zval, zv: *mut zval);
}
extern "C" {
pub fn phper_zval_copy(return_value: *mut zval, zv: *mut zval);
}
extern "C" {
pub fn phper_zval_copy_value(return_value: *mut zval, zv: *mut zval);
}
extern "C" {
pub fn phper_zval_get_string(op: *mut zval) -> *mut zend_string;
}
extern "C" {
pub fn phper_zend_string_release(s: *mut zend_string);
}
extern "C" {
pub fn phper_zval_get_long(op: *mut zval) -> zend_long;
}
extern "C" {
pub fn phper_zend_string_init(
str: *const ::std::os::raw::c_char,
len: usize,
persistent: ::std::os::raw::c_int,
) -> *mut zend_string;
}
extern "C" {
pub fn phper_zend_string_alloc(
len: usize,
persistent: ::std::os::raw::c_int,
) -> *mut zend_string;
}
extern "C" {
pub fn phper_zend_hash_str_update(
ht: *mut HashTable,
key: *const ::std::os::raw::c_char,
len: usize,
pData: *mut zval,
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __locale_data {
pub _address: u8,
}
pub type __builtin_va_list = [__va_list_tag; 1usize];
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __va_list_tag {
pub gp_offset: ::std::os::raw::c_uint,
pub fp_offset: ::std::os::raw::c_uint,
pub overflow_arg_area: *mut ::std::os::raw::c_void,
pub reg_save_area: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout___va_list_tag() {
assert_eq!(
::std::mem::size_of::<__va_list_tag>(),
24usize,
concat!("Size of: ", stringify!(__va_list_tag))
);
assert_eq!(
::std::mem::align_of::<__va_list_tag>(),
8usize,
concat!("Alignment of ", stringify!(__va_list_tag))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__va_list_tag>())).gp_offset as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(__va_list_tag),
"::",
stringify!(gp_offset)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__va_list_tag>())).fp_offset as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(__va_list_tag),
"::",
stringify!(fp_offset)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__va_list_tag>())).overflow_arg_area as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(__va_list_tag),
"::",
stringify!(overflow_arg_area)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<__va_list_tag>())).reg_save_area as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(__va_list_tag),
"::",
stringify!(reg_save_area)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sockaddr_at {
pub _address: u8,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sockaddr_ax25 {
pub _address: u8,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sockaddr_dl {
pub _address: u8,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sockaddr_eon {
pub _address: u8,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sockaddr_in {
pub _address: u8,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sockaddr_in6 {
pub _address: u8,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sockaddr_inarp {
pub _address: u8,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sockaddr_ipx {
pub _address: u8,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sockaddr_iso {
pub _address: u8,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sockaddr_ns {
pub _address: u8,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sockaddr_un {
pub _address: u8,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sockaddr_x25 {
pub _address: u8,
}