Created
February 10, 2024 14:31
-
-
Save marcpabst/2f1c7ac510daf9389d4df1f8b81e667d to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* automatically generated by rust-bindgen 0.63.0 */ | |
#[repr(C)] | |
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] | |
pub struct __BindgenBitfieldUnit<Storage> { | |
storage: Storage, | |
} | |
impl<Storage> __BindgenBitfieldUnit<Storage> { | |
#[inline] | |
pub const fn new(storage: Storage) -> Self { | |
Self { storage } | |
} | |
} | |
impl<Storage> __BindgenBitfieldUnit<Storage> | |
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); | |
} | |
} | |
} | |
use objc::{self, class, msg_send, sel, sel_impl}; | |
#[allow(non_camel_case_types)] | |
pub type id = *mut objc::runtime::Object; | |
#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)] | |
#[repr(C)] | |
pub struct __BindgenComplex<T> { | |
pub re: T, | |
pub im: T, | |
} | |
#[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") | |
} | |
} | |
pub const __DARWIN_ONLY_64_BIT_INO_T: u32 = 1; | |
pub const __DARWIN_ONLY_UNIX_CONFORMANCE: u32 = 1; | |
pub const __DARWIN_ONLY_VERS_1050: u32 = 1; | |
pub const __DARWIN_UNIX03: u32 = 1; | |
pub const __DARWIN_64_BIT_INO_T: u32 = 1; | |
pub const __DARWIN_VERS_1050: u32 = 1; | |
pub const __DARWIN_NON_CANCELABLE: u32 = 0; | |
pub const __DARWIN_SUF_EXTSN: &[u8; 14usize] = b"$DARWIN_EXTSN\0"; | |
pub const __DARWIN_C_ANSI: u32 = 4096; | |
pub const __DARWIN_C_FULL: u32 = 900000; | |
pub const __DARWIN_C_LEVEL: u32 = 900000; | |
pub const __STDC_WANT_LIB_EXT1__: u32 = 1; | |
pub const __DARWIN_NO_LONG_LONG: u32 = 0; | |
pub const _DARWIN_FEATURE_64_BIT_INODE: u32 = 1; | |
pub const _DARWIN_FEATURE_ONLY_64_BIT_INODE: u32 = 1; | |
pub const _DARWIN_FEATURE_ONLY_VERS_1050: u32 = 1; | |
pub const _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE: u32 = 1; | |
pub const _DARWIN_FEATURE_UNIX_CONFORMANCE: u32 = 3; | |
pub const __has_ptrcheck: u32 = 0; | |
pub const __WORDSIZE: u32 = 64; | |
pub const __PTHREAD_SIZE__: u32 = 8176; | |
pub const __PTHREAD_ATTR_SIZE__: u32 = 56; | |
pub const __PTHREAD_MUTEXATTR_SIZE__: u32 = 8; | |
pub const __PTHREAD_MUTEX_SIZE__: u32 = 56; | |
pub const __PTHREAD_CONDATTR_SIZE__: u32 = 8; | |
pub const __PTHREAD_COND_SIZE__: u32 = 40; | |
pub const __PTHREAD_ONCE_SIZE__: u32 = 8; | |
pub const __PTHREAD_RWLOCK_SIZE__: u32 = 192; | |
pub const __PTHREAD_RWLOCKATTR_SIZE__: u32 = 16; | |
pub const INT8_MAX: u32 = 127; | |
pub const INT16_MAX: u32 = 32767; | |
pub const INT32_MAX: u32 = 2147483647; | |
pub const INT64_MAX: u64 = 9223372036854775807; | |
pub const INT8_MIN: i32 = -128; | |
pub const INT16_MIN: i32 = -32768; | |
pub const INT32_MIN: i32 = -2147483648; | |
pub const INT64_MIN: i64 = -9223372036854775808; | |
pub const UINT8_MAX: u32 = 255; | |
pub const UINT16_MAX: u32 = 65535; | |
pub const UINT32_MAX: u32 = 4294967295; | |
pub const UINT64_MAX: i32 = -1; | |
pub const INT_LEAST8_MIN: i32 = -128; | |
pub const INT_LEAST16_MIN: i32 = -32768; | |
pub const INT_LEAST32_MIN: i32 = -2147483648; | |
pub const INT_LEAST64_MIN: i64 = -9223372036854775808; | |
pub const INT_LEAST8_MAX: u32 = 127; | |
pub const INT_LEAST16_MAX: u32 = 32767; | |
pub const INT_LEAST32_MAX: u32 = 2147483647; | |
pub const INT_LEAST64_MAX: u64 = 9223372036854775807; | |
pub const UINT_LEAST8_MAX: u32 = 255; | |
pub const UINT_LEAST16_MAX: u32 = 65535; | |
pub const UINT_LEAST32_MAX: u32 = 4294967295; | |
pub const UINT_LEAST64_MAX: i32 = -1; | |
pub const INT_FAST8_MIN: i32 = -128; | |
pub const INT_FAST16_MIN: i32 = -32768; | |
pub const INT_FAST32_MIN: i32 = -2147483648; | |
pub const INT_FAST64_MIN: i64 = -9223372036854775808; | |
pub const INT_FAST8_MAX: u32 = 127; | |
pub const INT_FAST16_MAX: u32 = 32767; | |
pub const INT_FAST32_MAX: u32 = 2147483647; | |
pub const INT_FAST64_MAX: u64 = 9223372036854775807; | |
pub const UINT_FAST8_MAX: u32 = 255; | |
pub const UINT_FAST16_MAX: u32 = 65535; | |
pub const UINT_FAST32_MAX: u32 = 4294967295; | |
pub const UINT_FAST64_MAX: i32 = -1; | |
pub const INTPTR_MAX: u64 = 9223372036854775807; | |
pub const INTPTR_MIN: i64 = -9223372036854775808; | |
pub const UINTPTR_MAX: i32 = -1; | |
pub const SIZE_MAX: i32 = -1; | |
pub const RSIZE_MAX: i32 = -1; | |
pub const WINT_MIN: i32 = -2147483648; | |
pub const WINT_MAX: u32 = 2147483647; | |
pub const SIG_ATOMIC_MIN: i32 = -2147483648; | |
pub const SIG_ATOMIC_MAX: u32 = 2147483647; | |
pub const COPYFILE_STATE_SRC_FD: u32 = 1; | |
pub const COPYFILE_STATE_SRC_FILENAME: u32 = 2; | |
pub const COPYFILE_STATE_DST_FD: u32 = 3; | |
pub const COPYFILE_STATE_DST_FILENAME: u32 = 4; | |
pub const COPYFILE_STATE_QUARANTINE: u32 = 5; | |
pub const COPYFILE_STATE_STATUS_CB: u32 = 6; | |
pub const COPYFILE_STATE_STATUS_CTX: u32 = 7; | |
pub const COPYFILE_STATE_COPIED: u32 = 8; | |
pub const COPYFILE_STATE_XATTRNAME: u32 = 9; | |
pub const COPYFILE_STATE_WAS_CLONED: u32 = 10; | |
pub const COPYFILE_STATE_SRC_BSIZE: u32 = 11; | |
pub const COPYFILE_STATE_DST_BSIZE: u32 = 12; | |
pub const COPYFILE_STATE_BSIZE: u32 = 13; | |
pub const COPYFILE_STATE_FORBID_CROSS_MOUNT: u32 = 14; | |
pub const COPYFILE_DISABLE_VAR: &[u8; 17usize] = b"COPYFILE_DISABLE\0"; | |
pub const COPYFILE_ACL: u32 = 1; | |
pub const COPYFILE_STAT: u32 = 2; | |
pub const COPYFILE_XATTR: u32 = 4; | |
pub const COPYFILE_DATA: u32 = 8; | |
pub const COPYFILE_SECURITY: u32 = 3; | |
pub const COPYFILE_METADATA: u32 = 7; | |
pub const COPYFILE_ALL: u32 = 15; | |
pub const COPYFILE_RECURSIVE: u32 = 32768; | |
pub const COPYFILE_CHECK: u32 = 65536; | |
pub const COPYFILE_EXCL: u32 = 131072; | |
pub const COPYFILE_NOFOLLOW_SRC: u32 = 262144; | |
pub const COPYFILE_NOFOLLOW_DST: u32 = 524288; | |
pub const COPYFILE_MOVE: u32 = 1048576; | |
pub const COPYFILE_UNLINK: u32 = 2097152; | |
pub const COPYFILE_NOFOLLOW: u32 = 786432; | |
pub const COPYFILE_PACK: u32 = 4194304; | |
pub const COPYFILE_UNPACK: u32 = 8388608; | |
pub const COPYFILE_CLONE: u32 = 16777216; | |
pub const COPYFILE_CLONE_FORCE: u32 = 33554432; | |
pub const COPYFILE_RUN_IN_PLACE: u32 = 67108864; | |
pub const COPYFILE_DATA_SPARSE: u32 = 134217728; | |
pub const COPYFILE_PRESERVE_DST_TRACKED: u32 = 268435456; | |
pub const COPYFILE_VERBOSE: u32 = 1073741824; | |
pub const COPYFILE_RECURSE_ERROR: u32 = 0; | |
pub const COPYFILE_RECURSE_FILE: u32 = 1; | |
pub const COPYFILE_RECURSE_DIR: u32 = 2; | |
pub const COPYFILE_RECURSE_DIR_CLEANUP: u32 = 3; | |
pub const COPYFILE_COPY_DATA: u32 = 4; | |
pub const COPYFILE_COPY_XATTR: u32 = 5; | |
pub const COPYFILE_START: u32 = 1; | |
pub const COPYFILE_FINISH: u32 = 2; | |
pub const COPYFILE_ERR: u32 = 3; | |
pub const COPYFILE_PROGRESS: u32 = 4; | |
pub const COPYFILE_CONTINUE: u32 = 0; | |
pub const COPYFILE_SKIP: u32 = 1; | |
pub const COPYFILE_QUIT: u32 = 2; | |
pub const __DARWIN_WCHAR_MIN: i32 = -2147483648; | |
pub const _FORTIFY_SOURCE: u32 = 2; | |
pub const _CACHED_RUNES: u32 = 256; | |
pub const _CRMASK: i32 = -256; | |
pub const _RUNE_MAGIC_A: &[u8; 9usize] = b"RuneMagA\0"; | |
pub const _CTYPE_A: u32 = 256; | |
pub const _CTYPE_C: u32 = 512; | |
pub const _CTYPE_D: u32 = 1024; | |
pub const _CTYPE_G: u32 = 2048; | |
pub const _CTYPE_L: u32 = 4096; | |
pub const _CTYPE_P: u32 = 8192; | |
pub const _CTYPE_S: u32 = 16384; | |
pub const _CTYPE_U: u32 = 32768; | |
pub const _CTYPE_X: u32 = 65536; | |
pub const _CTYPE_B: u32 = 131072; | |
pub const _CTYPE_R: u32 = 262144; | |
pub const _CTYPE_I: u32 = 524288; | |
pub const _CTYPE_T: u32 = 1048576; | |
pub const _CTYPE_Q: u32 = 2097152; | |
pub const _CTYPE_SW0: u32 = 536870912; | |
pub const _CTYPE_SW1: u32 = 1073741824; | |
pub const _CTYPE_SW2: u32 = 2147483648; | |
pub const _CTYPE_SW3: u32 = 3221225472; | |
pub const _CTYPE_SWM: u32 = 3758096384; | |
pub const _CTYPE_SWS: u32 = 30; | |
pub const __API_TO_BE_DEPRECATED: u32 = 100000; | |
pub const __API_TO_BE_DEPRECATED_MACOS: u32 = 100000; | |
pub const __API_TO_BE_DEPRECATED_IOS: u32 = 100000; | |
pub const __API_TO_BE_DEPRECATED_MACCATALYST: u32 = 100000; | |
pub const __API_TO_BE_DEPRECATED_WATCHOS: u32 = 100000; | |
pub const __API_TO_BE_DEPRECATED_TVOS: u32 = 100000; | |
pub const __API_TO_BE_DEPRECATED_DRIVERKIT: u32 = 100000; | |
pub const __API_TO_BE_DEPRECATED_VISIONOS: u32 = 100000; | |
pub const __MAC_10_0: u32 = 1000; | |
pub const __MAC_10_1: u32 = 1010; | |
pub const __MAC_10_2: u32 = 1020; | |
pub const __MAC_10_3: u32 = 1030; | |
pub const __MAC_10_4: u32 = 1040; | |
pub const __MAC_10_5: u32 = 1050; | |
pub const __MAC_10_6: u32 = 1060; | |
pub const __MAC_10_7: u32 = 1070; | |
pub const __MAC_10_8: u32 = 1080; | |
pub const __MAC_10_9: u32 = 1090; | |
pub const __MAC_10_10: u32 = 101000; | |
pub const __MAC_10_10_2: u32 = 101002; | |
pub const __MAC_10_10_3: u32 = 101003; | |
pub const __MAC_10_11: u32 = 101100; | |
pub const __MAC_10_11_2: u32 = 101102; | |
pub const __MAC_10_11_3: u32 = 101103; | |
pub const __MAC_10_11_4: u32 = 101104; | |
pub const __MAC_10_12: u32 = 101200; | |
pub const __MAC_10_12_1: u32 = 101201; | |
pub const __MAC_10_12_2: u32 = 101202; | |
pub const __MAC_10_12_4: u32 = 101204; | |
pub const __MAC_10_13: u32 = 101300; | |
pub const __MAC_10_13_1: u32 = 101301; | |
pub const __MAC_10_13_2: u32 = 101302; | |
pub const __MAC_10_13_4: u32 = 101304; | |
pub const __MAC_10_14: u32 = 101400; | |
pub const __MAC_10_14_1: u32 = 101401; | |
pub const __MAC_10_14_4: u32 = 101404; | |
pub const __MAC_10_14_5: u32 = 101405; | |
pub const __MAC_10_14_6: u32 = 101406; | |
pub const __MAC_10_15: u32 = 101500; | |
pub const __MAC_10_15_1: u32 = 101501; | |
pub const __MAC_10_15_4: u32 = 101504; | |
pub const __MAC_10_16: u32 = 101600; | |
pub const __MAC_11_0: u32 = 110000; | |
pub const __MAC_11_1: u32 = 110100; | |
pub const __MAC_11_3: u32 = 110300; | |
pub const __MAC_11_4: u32 = 110400; | |
pub const __MAC_11_5: u32 = 110500; | |
pub const __MAC_11_6: u32 = 110600; | |
pub const __MAC_12_0: u32 = 120000; | |
pub const __MAC_12_1: u32 = 120100; | |
pub const __MAC_12_2: u32 = 120200; | |
pub const __MAC_12_3: u32 = 120300; | |
pub const __MAC_12_4: u32 = 120400; | |
pub const __MAC_12_5: u32 = 120500; | |
pub const __MAC_12_6: u32 = 120600; | |
pub const __MAC_12_7: u32 = 120700; | |
pub const __MAC_13_0: u32 = 130000; | |
pub const __MAC_13_1: u32 = 130100; | |
pub const __MAC_13_2: u32 = 130200; | |
pub const __MAC_13_3: u32 = 130300; | |
pub const __MAC_13_4: u32 = 130400; | |
pub const __MAC_13_5: u32 = 130500; | |
pub const __MAC_13_6: u32 = 130600; | |
pub const __MAC_14_0: u32 = 140000; | |
pub const __MAC_14_1: u32 = 140100; | |
pub const __MAC_14_2: u32 = 140200; | |
pub const __IPHONE_2_0: u32 = 20000; | |
pub const __IPHONE_2_1: u32 = 20100; | |
pub const __IPHONE_2_2: u32 = 20200; | |
pub const __IPHONE_3_0: u32 = 30000; | |
pub const __IPHONE_3_1: u32 = 30100; | |
pub const __IPHONE_3_2: u32 = 30200; | |
pub const __IPHONE_4_0: u32 = 40000; | |
pub const __IPHONE_4_1: u32 = 40100; | |
pub const __IPHONE_4_2: u32 = 40200; | |
pub const __IPHONE_4_3: u32 = 40300; | |
pub const __IPHONE_5_0: u32 = 50000; | |
pub const __IPHONE_5_1: u32 = 50100; | |
pub const __IPHONE_6_0: u32 = 60000; | |
pub const __IPHONE_6_1: u32 = 60100; | |
pub const __IPHONE_7_0: u32 = 70000; | |
pub const __IPHONE_7_1: u32 = 70100; | |
pub const __IPHONE_8_0: u32 = 80000; | |
pub const __IPHONE_8_1: u32 = 80100; | |
pub const __IPHONE_8_2: u32 = 80200; | |
pub const __IPHONE_8_3: u32 = 80300; | |
pub const __IPHONE_8_4: u32 = 80400; | |
pub const __IPHONE_9_0: u32 = 90000; | |
pub const __IPHONE_9_1: u32 = 90100; | |
pub const __IPHONE_9_2: u32 = 90200; | |
pub const __IPHONE_9_3: u32 = 90300; | |
pub const __IPHONE_10_0: u32 = 100000; | |
pub const __IPHONE_10_1: u32 = 100100; | |
pub const __IPHONE_10_2: u32 = 100200; | |
pub const __IPHONE_10_3: u32 = 100300; | |
pub const __IPHONE_11_0: u32 = 110000; | |
pub const __IPHONE_11_1: u32 = 110100; | |
pub const __IPHONE_11_2: u32 = 110200; | |
pub const __IPHONE_11_3: u32 = 110300; | |
pub const __IPHONE_11_4: u32 = 110400; | |
pub const __IPHONE_12_0: u32 = 120000; | |
pub const __IPHONE_12_1: u32 = 120100; | |
pub const __IPHONE_12_2: u32 = 120200; | |
pub const __IPHONE_12_3: u32 = 120300; | |
pub const __IPHONE_12_4: u32 = 120400; | |
pub const __IPHONE_13_0: u32 = 130000; | |
pub const __IPHONE_13_1: u32 = 130100; | |
pub const __IPHONE_13_2: u32 = 130200; | |
pub const __IPHONE_13_3: u32 = 130300; | |
pub const __IPHONE_13_4: u32 = 130400; | |
pub const __IPHONE_13_5: u32 = 130500; | |
pub const __IPHONE_13_6: u32 = 130600; | |
pub const __IPHONE_13_7: u32 = 130700; | |
pub const __IPHONE_14_0: u32 = 140000; | |
pub const __IPHONE_14_1: u32 = 140100; | |
pub const __IPHONE_14_2: u32 = 140200; | |
pub const __IPHONE_14_3: u32 = 140300; | |
pub const __IPHONE_14_5: u32 = 140500; | |
pub const __IPHONE_14_4: u32 = 140400; | |
pub const __IPHONE_14_6: u32 = 140600; | |
pub const __IPHONE_14_7: u32 = 140700; | |
pub const __IPHONE_14_8: u32 = 140800; | |
pub const __IPHONE_15_0: u32 = 150000; | |
pub const __IPHONE_15_1: u32 = 150100; | |
pub const __IPHONE_15_2: u32 = 150200; | |
pub const __IPHONE_15_3: u32 = 150300; | |
pub const __IPHONE_15_4: u32 = 150400; | |
pub const __IPHONE_15_5: u32 = 150500; | |
pub const __IPHONE_15_6: u32 = 150600; | |
pub const __IPHONE_16_0: u32 = 160000; | |
pub const __IPHONE_16_1: u32 = 160100; | |
pub const __IPHONE_16_2: u32 = 160200; | |
pub const __IPHONE_16_3: u32 = 160300; | |
pub const __IPHONE_16_4: u32 = 160400; | |
pub const __IPHONE_16_5: u32 = 160500; | |
pub const __IPHONE_16_6: u32 = 160600; | |
pub const __IPHONE_16_7: u32 = 160700; | |
pub const __IPHONE_17_0: u32 = 170000; | |
pub const __IPHONE_17_1: u32 = 170100; | |
pub const __IPHONE_17_2: u32 = 170200; | |
pub const __WATCHOS_1_0: u32 = 10000; | |
pub const __WATCHOS_2_0: u32 = 20000; | |
pub const __WATCHOS_2_1: u32 = 20100; | |
pub const __WATCHOS_2_2: u32 = 20200; | |
pub const __WATCHOS_3_0: u32 = 30000; | |
pub const __WATCHOS_3_1: u32 = 30100; | |
pub const __WATCHOS_3_1_1: u32 = 30101; | |
pub const __WATCHOS_3_2: u32 = 30200; | |
pub const __WATCHOS_4_0: u32 = 40000; | |
pub const __WATCHOS_4_1: u32 = 40100; | |
pub const __WATCHOS_4_2: u32 = 40200; | |
pub const __WATCHOS_4_3: u32 = 40300; | |
pub const __WATCHOS_5_0: u32 = 50000; | |
pub const __WATCHOS_5_1: u32 = 50100; | |
pub const __WATCHOS_5_2: u32 = 50200; | |
pub const __WATCHOS_5_3: u32 = 50300; | |
pub const __WATCHOS_6_0: u32 = 60000; | |
pub const __WATCHOS_6_1: u32 = 60100; | |
pub const __WATCHOS_6_2: u32 = 60200; | |
pub const __WATCHOS_7_0: u32 = 70000; | |
pub const __WATCHOS_7_1: u32 = 70100; | |
pub const __WATCHOS_7_2: u32 = 70200; | |
pub const __WATCHOS_7_3: u32 = 70300; | |
pub const __WATCHOS_7_4: u32 = 70400; | |
pub const __WATCHOS_7_5: u32 = 70500; | |
pub const __WATCHOS_7_6: u32 = 70600; | |
pub const __WATCHOS_8_0: u32 = 80000; | |
pub const __WATCHOS_8_1: u32 = 80100; | |
pub const __WATCHOS_8_3: u32 = 80300; | |
pub const __WATCHOS_8_4: u32 = 80400; | |
pub const __WATCHOS_8_5: u32 = 80500; | |
pub const __WATCHOS_8_6: u32 = 80600; | |
pub const __WATCHOS_8_7: u32 = 80700; | |
pub const __WATCHOS_9_0: u32 = 90000; | |
pub const __WATCHOS_9_1: u32 = 90100; | |
pub const __WATCHOS_9_2: u32 = 90200; | |
pub const __WATCHOS_9_3: u32 = 90300; | |
pub const __WATCHOS_9_4: u32 = 90400; | |
pub const __WATCHOS_9_5: u32 = 90500; | |
pub const __WATCHOS_9_6: u32 = 90600; | |
pub const __WATCHOS_10_0: u32 = 100000; | |
pub const __WATCHOS_10_1: u32 = 100100; | |
pub const __WATCHOS_10_2: u32 = 100200; | |
pub const __TVOS_9_0: u32 = 90000; | |
pub const __TVOS_9_1: u32 = 90100; | |
pub const __TVOS_9_2: u32 = 90200; | |
pub const __TVOS_10_0: u32 = 100000; | |
pub const __TVOS_10_0_1: u32 = 100001; | |
pub const __TVOS_10_1: u32 = 100100; | |
pub const __TVOS_10_2: u32 = 100200; | |
pub const __TVOS_11_0: u32 = 110000; | |
pub const __TVOS_11_1: u32 = 110100; | |
pub const __TVOS_11_2: u32 = 110200; | |
pub const __TVOS_11_3: u32 = 110300; | |
pub const __TVOS_11_4: u32 = 110400; | |
pub const __TVOS_12_0: u32 = 120000; | |
pub const __TVOS_12_1: u32 = 120100; | |
pub const __TVOS_12_2: u32 = 120200; | |
pub const __TVOS_12_3: u32 = 120300; | |
pub const __TVOS_12_4: u32 = 120400; | |
pub const __TVOS_13_0: u32 = 130000; | |
pub const __TVOS_13_2: u32 = 130200; | |
pub const __TVOS_13_3: u32 = 130300; | |
pub const __TVOS_13_4: u32 = 130400; | |
pub const __TVOS_14_0: u32 = 140000; | |
pub const __TVOS_14_1: u32 = 140100; | |
pub const __TVOS_14_2: u32 = 140200; | |
pub const __TVOS_14_3: u32 = 140300; | |
pub const __TVOS_14_5: u32 = 140500; | |
pub const __TVOS_14_6: u32 = 140600; | |
pub const __TVOS_14_7: u32 = 140700; | |
pub const __TVOS_15_0: u32 = 150000; | |
pub const __TVOS_15_1: u32 = 150100; | |
pub const __TVOS_15_2: u32 = 150200; | |
pub const __TVOS_15_3: u32 = 150300; | |
pub const __TVOS_15_4: u32 = 150400; | |
pub const __TVOS_15_5: u32 = 150500; | |
pub const __TVOS_15_6: u32 = 150600; | |
pub const __TVOS_16_0: u32 = 160000; | |
pub const __TVOS_16_1: u32 = 160100; | |
pub const __TVOS_16_2: u32 = 160200; | |
pub const __TVOS_16_3: u32 = 160300; | |
pub const __TVOS_16_4: u32 = 160400; | |
pub const __TVOS_16_5: u32 = 160500; | |
pub const __TVOS_16_6: u32 = 160600; | |
pub const __TVOS_17_0: u32 = 170000; | |
pub const __TVOS_17_1: u32 = 170100; | |
pub const __TVOS_17_2: u32 = 170200; | |
pub const __BRIDGEOS_2_0: u32 = 20000; | |
pub const __BRIDGEOS_3_0: u32 = 30000; | |
pub const __BRIDGEOS_3_1: u32 = 30100; | |
pub const __BRIDGEOS_3_4: u32 = 30400; | |
pub const __BRIDGEOS_4_0: u32 = 40000; | |
pub const __BRIDGEOS_4_1: u32 = 40100; | |
pub const __BRIDGEOS_5_0: u32 = 50000; | |
pub const __BRIDGEOS_5_1: u32 = 50100; | |
pub const __BRIDGEOS_5_3: u32 = 50300; | |
pub const __BRIDGEOS_6_0: u32 = 60000; | |
pub const __BRIDGEOS_6_2: u32 = 60200; | |
pub const __BRIDGEOS_6_4: u32 = 60400; | |
pub const __BRIDGEOS_6_5: u32 = 60500; | |
pub const __BRIDGEOS_6_6: u32 = 60600; | |
pub const __BRIDGEOS_7_0: u32 = 70000; | |
pub const __BRIDGEOS_7_1: u32 = 70100; | |
pub const __BRIDGEOS_7_2: u32 = 70200; | |
pub const __BRIDGEOS_7_3: u32 = 70300; | |
pub const __BRIDGEOS_7_4: u32 = 70400; | |
pub const __BRIDGEOS_7_6: u32 = 70600; | |
pub const __BRIDGEOS_8_0: u32 = 80000; | |
pub const __BRIDGEOS_8_1: u32 = 80100; | |
pub const __BRIDGEOS_8_2: u32 = 80200; | |
pub const __DRIVERKIT_19_0: u32 = 190000; | |
pub const __DRIVERKIT_20_0: u32 = 200000; | |
pub const __DRIVERKIT_21_0: u32 = 210000; | |
pub const __DRIVERKIT_22_0: u32 = 220000; | |
pub const __DRIVERKIT_22_4: u32 = 220400; | |
pub const __DRIVERKIT_22_5: u32 = 220500; | |
pub const __DRIVERKIT_22_6: u32 = 220600; | |
pub const __DRIVERKIT_23_0: u32 = 230000; | |
pub const __DRIVERKIT_23_1: u32 = 230100; | |
pub const __DRIVERKIT_23_2: u32 = 230200; | |
pub const __VISIONOS_1_0: u32 = 10000; | |
pub const MAC_OS_X_VERSION_10_0: u32 = 1000; | |
pub const MAC_OS_X_VERSION_10_1: u32 = 1010; | |
pub const MAC_OS_X_VERSION_10_2: u32 = 1020; | |
pub const MAC_OS_X_VERSION_10_3: u32 = 1030; | |
pub const MAC_OS_X_VERSION_10_4: u32 = 1040; | |
pub const MAC_OS_X_VERSION_10_5: u32 = 1050; | |
pub const MAC_OS_X_VERSION_10_6: u32 = 1060; | |
pub const MAC_OS_X_VERSION_10_7: u32 = 1070; | |
pub const MAC_OS_X_VERSION_10_8: u32 = 1080; | |
pub const MAC_OS_X_VERSION_10_9: u32 = 1090; | |
pub const MAC_OS_X_VERSION_10_10: u32 = 101000; | |
pub const MAC_OS_X_VERSION_10_10_2: u32 = 101002; | |
pub const MAC_OS_X_VERSION_10_10_3: u32 = 101003; | |
pub const MAC_OS_X_VERSION_10_11: u32 = 101100; | |
pub const MAC_OS_X_VERSION_10_11_2: u32 = 101102; | |
pub const MAC_OS_X_VERSION_10_11_3: u32 = 101103; | |
pub const MAC_OS_X_VERSION_10_11_4: u32 = 101104; | |
pub const MAC_OS_X_VERSION_10_12: u32 = 101200; | |
pub const MAC_OS_X_VERSION_10_12_1: u32 = 101201; | |
pub const MAC_OS_X_VERSION_10_12_2: u32 = 101202; | |
pub const MAC_OS_X_VERSION_10_12_4: u32 = 101204; | |
pub const MAC_OS_X_VERSION_10_13: u32 = 101300; | |
pub const MAC_OS_X_VERSION_10_13_1: u32 = 101301; | |
pub const MAC_OS_X_VERSION_10_13_2: u32 = 101302; | |
pub const MAC_OS_X_VERSION_10_13_4: u32 = 101304; | |
pub const MAC_OS_X_VERSION_10_14: u32 = 101400; | |
pub const MAC_OS_X_VERSION_10_14_1: u32 = 101401; | |
pub const MAC_OS_X_VERSION_10_14_4: u32 = 101404; | |
pub const MAC_OS_X_VERSION_10_14_5: u32 = 101405; | |
pub const MAC_OS_X_VERSION_10_14_6: u32 = 101406; | |
pub const MAC_OS_X_VERSION_10_15: u32 = 101500; | |
pub const MAC_OS_X_VERSION_10_15_1: u32 = 101501; | |
pub const MAC_OS_X_VERSION_10_15_4: u32 = 101504; | |
pub const MAC_OS_X_VERSION_10_16: u32 = 101600; | |
pub const MAC_OS_VERSION_11_0: u32 = 110000; | |
pub const MAC_OS_VERSION_11_1: u32 = 110100; | |
pub const MAC_OS_VERSION_11_3: u32 = 110300; | |
pub const MAC_OS_VERSION_11_4: u32 = 110400; | |
pub const MAC_OS_VERSION_11_5: u32 = 110500; | |
pub const MAC_OS_VERSION_11_6: u32 = 110600; | |
pub const MAC_OS_VERSION_12_0: u32 = 120000; | |
pub const MAC_OS_VERSION_12_1: u32 = 120100; | |
pub const MAC_OS_VERSION_12_2: u32 = 120200; | |
pub const MAC_OS_VERSION_12_3: u32 = 120300; | |
pub const MAC_OS_VERSION_12_4: u32 = 120400; | |
pub const MAC_OS_VERSION_12_5: u32 = 120500; | |
pub const MAC_OS_VERSION_12_6: u32 = 120600; | |
pub const MAC_OS_VERSION_12_7: u32 = 120700; | |
pub const MAC_OS_VERSION_13_0: u32 = 130000; | |
pub const MAC_OS_VERSION_13_1: u32 = 130100; | |
pub const MAC_OS_VERSION_13_2: u32 = 130200; | |
pub const MAC_OS_VERSION_13_3: u32 = 130300; | |
pub const MAC_OS_VERSION_13_4: u32 = 130400; | |
pub const MAC_OS_VERSION_13_5: u32 = 130500; | |
pub const MAC_OS_VERSION_13_6: u32 = 130600; | |
pub const MAC_OS_VERSION_14_0: u32 = 140000; | |
pub const MAC_OS_VERSION_14_1: u32 = 140100; | |
pub const MAC_OS_VERSION_14_2: u32 = 140200; | |
pub const __IPHONE_OS_VERSION_MAX_ALLOWED: u32 = 170200; | |
pub const __ENABLE_LEGACY_IPHONE_AVAILABILITY: 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 EDEADLK: 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 EAGAIN: u32 = 35; | |
pub const EWOULDBLOCK: u32 = 35; | |
pub const EINPROGRESS: u32 = 36; | |
pub const EALREADY: u32 = 37; | |
pub const ENOTSOCK: u32 = 38; | |
pub const EDESTADDRREQ: u32 = 39; | |
pub const EMSGSIZE: u32 = 40; | |
pub const EPROTOTYPE: u32 = 41; | |
pub const ENOPROTOOPT: u32 = 42; | |
pub const EPROTONOSUPPORT: u32 = 43; | |
pub const ESOCKTNOSUPPORT: u32 = 44; | |
pub const ENOTSUP: u32 = 45; | |
pub const EPFNOSUPPORT: u32 = 46; | |
pub const EAFNOSUPPORT: u32 = 47; | |
pub const EADDRINUSE: u32 = 48; | |
pub const EADDRNOTAVAIL: u32 = 49; | |
pub const ENETDOWN: u32 = 50; | |
pub const ENETUNREACH: u32 = 51; | |
pub const ENETRESET: u32 = 52; | |
pub const ECONNABORTED: u32 = 53; | |
pub const ECONNRESET: u32 = 54; | |
pub const ENOBUFS: u32 = 55; | |
pub const EISCONN: u32 = 56; | |
pub const ENOTCONN: u32 = 57; | |
pub const ESHUTDOWN: u32 = 58; | |
pub const ETOOMANYREFS: u32 = 59; | |
pub const ETIMEDOUT: u32 = 60; | |
pub const ECONNREFUSED: u32 = 61; | |
pub const ELOOP: u32 = 62; | |
pub const ENAMETOOLONG: u32 = 63; | |
pub const EHOSTDOWN: u32 = 64; | |
pub const EHOSTUNREACH: u32 = 65; | |
pub const ENOTEMPTY: u32 = 66; | |
pub const EPROCLIM: u32 = 67; | |
pub const EUSERS: u32 = 68; | |
pub const EDQUOT: u32 = 69; | |
pub const ESTALE: u32 = 70; | |
pub const EREMOTE: u32 = 71; | |
pub const EBADRPC: u32 = 72; | |
pub const ERPCMISMATCH: u32 = 73; | |
pub const EPROGUNAVAIL: u32 = 74; | |
pub const EPROGMISMATCH: u32 = 75; | |
pub const EPROCUNAVAIL: u32 = 76; | |
pub const ENOLCK: u32 = 77; | |
pub const ENOSYS: u32 = 78; | |
pub const EFTYPE: u32 = 79; | |
pub const EAUTH: u32 = 80; | |
pub const ENEEDAUTH: u32 = 81; | |
pub const EPWROFF: u32 = 82; | |
pub const EDEVERR: u32 = 83; | |
pub const EOVERFLOW: u32 = 84; | |
pub const EBADEXEC: u32 = 85; | |
pub const EBADARCH: u32 = 86; | |
pub const ESHLIBVERS: u32 = 87; | |
pub const EBADMACHO: u32 = 88; | |
pub const ECANCELED: u32 = 89; | |
pub const EIDRM: u32 = 90; | |
pub const ENOMSG: u32 = 91; | |
pub const EILSEQ: u32 = 92; | |
pub const ENOATTR: u32 = 93; | |
pub const EBADMSG: u32 = 94; | |
pub const EMULTIHOP: u32 = 95; | |
pub const ENODATA: u32 = 96; | |
pub const ENOLINK: u32 = 97; | |
pub const ENOSR: u32 = 98; | |
pub const ENOSTR: u32 = 99; | |
pub const EPROTO: u32 = 100; | |
pub const ETIME: u32 = 101; | |
pub const EOPNOTSUPP: u32 = 102; | |
pub const ENOPOLICY: u32 = 103; | |
pub const ENOTRECOVERABLE: u32 = 104; | |
pub const EOWNERDEAD: u32 = 105; | |
pub const EQFULL: u32 = 106; | |
pub const ELAST: u32 = 106; | |
pub const FE_INEXACT: u32 = 16; | |
pub const FE_UNDERFLOW: u32 = 8; | |
pub const FE_OVERFLOW: u32 = 4; | |
pub const FE_DIVBYZERO: u32 = 2; | |
pub const FE_INVALID: u32 = 1; | |
pub const FE_FLUSHTOZERO: u32 = 128; | |
pub const FE_ALL_EXCEPT: u32 = 159; | |
pub const FE_TONEAREST: u32 = 0; | |
pub const FE_UPWARD: u32 = 4194304; | |
pub const FE_DOWNWARD: u32 = 8388608; | |
pub const FE_TOWARDZERO: u32 = 12582912; | |
pub const FLT_HAS_SUBNORM: u32 = 1; | |
pub const DBL_HAS_SUBNORM: u32 = 1; | |
pub const LDBL_HAS_SUBNORM: u32 = 1; | |
pub const __PRI_8_LENGTH_MODIFIER__: &[u8; 3usize] = b"hh\0"; | |
pub const __PRI_64_LENGTH_MODIFIER__: &[u8; 3usize] = b"ll\0"; | |
pub const __SCN_64_LENGTH_MODIFIER__: &[u8; 3usize] = b"ll\0"; | |
pub const __PRI_MAX_LENGTH_MODIFIER__: &[u8; 2usize] = b"j\0"; | |
pub const __SCN_MAX_LENGTH_MODIFIER__: &[u8; 2usize] = b"j\0"; | |
pub const PRId8: &[u8; 4usize] = b"hhd\0"; | |
pub const PRIi8: &[u8; 4usize] = b"hhi\0"; | |
pub const PRIo8: &[u8; 4usize] = b"hho\0"; | |
pub const PRIu8: &[u8; 4usize] = b"hhu\0"; | |
pub const PRIx8: &[u8; 4usize] = b"hhx\0"; | |
pub const PRIX8: &[u8; 4usize] = b"hhX\0"; | |
pub const PRId16: &[u8; 3usize] = b"hd\0"; | |
pub const PRIi16: &[u8; 3usize] = b"hi\0"; | |
pub const PRIo16: &[u8; 3usize] = b"ho\0"; | |
pub const PRIu16: &[u8; 3usize] = b"hu\0"; | |
pub const PRIx16: &[u8; 3usize] = b"hx\0"; | |
pub const PRIX16: &[u8; 3usize] = b"hX\0"; | |
pub const PRId32: &[u8; 2usize] = b"d\0"; | |
pub const PRIi32: &[u8; 2usize] = b"i\0"; | |
pub const PRIo32: &[u8; 2usize] = b"o\0"; | |
pub const PRIu32: &[u8; 2usize] = b"u\0"; | |
pub const PRIx32: &[u8; 2usize] = b"x\0"; | |
pub const PRIX32: &[u8; 2usize] = b"X\0"; | |
pub const PRId64: &[u8; 4usize] = b"lld\0"; | |
pub const PRIi64: &[u8; 4usize] = b"lli\0"; | |
pub const PRIo64: &[u8; 4usize] = b"llo\0"; | |
pub const PRIu64: &[u8; 4usize] = b"llu\0"; | |
pub const PRIx64: &[u8; 4usize] = b"llx\0"; | |
pub const PRIX64: &[u8; 4usize] = b"llX\0"; | |
pub const PRIdLEAST8: &[u8; 4usize] = b"hhd\0"; | |
pub const PRIiLEAST8: &[u8; 4usize] = b"hhi\0"; | |
pub const PRIoLEAST8: &[u8; 4usize] = b"hho\0"; | |
pub const PRIuLEAST8: &[u8; 4usize] = b"hhu\0"; | |
pub const PRIxLEAST8: &[u8; 4usize] = b"hhx\0"; | |
pub const PRIXLEAST8: &[u8; 4usize] = b"hhX\0"; | |
pub const PRIdLEAST16: &[u8; 3usize] = b"hd\0"; | |
pub const PRIiLEAST16: &[u8; 3usize] = b"hi\0"; | |
pub const PRIoLEAST16: &[u8; 3usize] = b"ho\0"; | |
pub const PRIuLEAST16: &[u8; 3usize] = b"hu\0"; | |
pub const PRIxLEAST16: &[u8; 3usize] = b"hx\0"; | |
pub const PRIXLEAST16: &[u8; 3usize] = b"hX\0"; | |
pub const PRIdLEAST32: &[u8; 2usize] = b"d\0"; | |
pub const PRIiLEAST32: &[u8; 2usize] = b"i\0"; | |
pub const PRIoLEAST32: &[u8; 2usize] = b"o\0"; | |
pub const PRIuLEAST32: &[u8; 2usize] = b"u\0"; | |
pub const PRIxLEAST32: &[u8; 2usize] = b"x\0"; | |
pub const PRIXLEAST32: &[u8; 2usize] = b"X\0"; | |
pub const PRIdLEAST64: &[u8; 4usize] = b"lld\0"; | |
pub const PRIiLEAST64: &[u8; 4usize] = b"lli\0"; | |
pub const PRIoLEAST64: &[u8; 4usize] = b"llo\0"; | |
pub const PRIuLEAST64: &[u8; 4usize] = b"llu\0"; | |
pub const PRIxLEAST64: &[u8; 4usize] = b"llx\0"; | |
pub const PRIXLEAST64: &[u8; 4usize] = b"llX\0"; | |
pub const PRIdFAST8: &[u8; 4usize] = b"hhd\0"; | |
pub const PRIiFAST8: &[u8; 4usize] = b"hhi\0"; | |
pub const PRIoFAST8: &[u8; 4usize] = b"hho\0"; | |
pub const PRIuFAST8: &[u8; 4usize] = b"hhu\0"; | |
pub const PRIxFAST8: &[u8; 4usize] = b"hhx\0"; | |
pub const PRIXFAST8: &[u8; 4usize] = b"hhX\0"; | |
pub const PRIdFAST16: &[u8; 3usize] = b"hd\0"; | |
pub const PRIiFAST16: &[u8; 3usize] = b"hi\0"; | |
pub const PRIoFAST16: &[u8; 3usize] = b"ho\0"; | |
pub const PRIuFAST16: &[u8; 3usize] = b"hu\0"; | |
pub const PRIxFAST16: &[u8; 3usize] = b"hx\0"; | |
pub const PRIXFAST16: &[u8; 3usize] = b"hX\0"; | |
pub const PRIdFAST32: &[u8; 2usize] = b"d\0"; | |
pub const PRIiFAST32: &[u8; 2usize] = b"i\0"; | |
pub const PRIoFAST32: &[u8; 2usize] = b"o\0"; | |
pub const PRIuFAST32: &[u8; 2usize] = b"u\0"; | |
pub const PRIxFAST32: &[u8; 2usize] = b"x\0"; | |
pub const PRIXFAST32: &[u8; 2usize] = b"X\0"; | |
pub const PRIdFAST64: &[u8; 4usize] = b"lld\0"; | |
pub const PRIiFAST64: &[u8; 4usize] = b"lli\0"; | |
pub const PRIoFAST64: &[u8; 4usize] = b"llo\0"; | |
pub const PRIuFAST64: &[u8; 4usize] = b"llu\0"; | |
pub const PRIxFAST64: &[u8; 4usize] = b"llx\0"; | |
pub const PRIXFAST64: &[u8; 4usize] = b"llX\0"; | |
pub const PRIdPTR: &[u8; 3usize] = b"ld\0"; | |
pub const PRIiPTR: &[u8; 3usize] = b"li\0"; | |
pub const PRIoPTR: &[u8; 3usize] = b"lo\0"; | |
pub const PRIuPTR: &[u8; 3usize] = b"lu\0"; | |
pub const PRIxPTR: &[u8; 3usize] = b"lx\0"; | |
pub const PRIXPTR: &[u8; 3usize] = b"lX\0"; | |
pub const PRIdMAX: &[u8; 3usize] = b"jd\0"; | |
pub const PRIiMAX: &[u8; 3usize] = b"ji\0"; | |
pub const PRIoMAX: &[u8; 3usize] = b"jo\0"; | |
pub const PRIuMAX: &[u8; 3usize] = b"ju\0"; | |
pub const PRIxMAX: &[u8; 3usize] = b"jx\0"; | |
pub const PRIXMAX: &[u8; 3usize] = b"jX\0"; | |
pub const SCNd8: &[u8; 4usize] = b"hhd\0"; | |
pub const SCNi8: &[u8; 4usize] = b"hhi\0"; | |
pub const SCNo8: &[u8; 4usize] = b"hho\0"; | |
pub const SCNu8: &[u8; 4usize] = b"hhu\0"; | |
pub const SCNx8: &[u8; 4usize] = b"hhx\0"; | |
pub const SCNd16: &[u8; 3usize] = b"hd\0"; | |
pub const SCNi16: &[u8; 3usize] = b"hi\0"; | |
pub const SCNo16: &[u8; 3usize] = b"ho\0"; | |
pub const SCNu16: &[u8; 3usize] = b"hu\0"; | |
pub const SCNx16: &[u8; 3usize] = b"hx\0"; | |
pub const SCNd32: &[u8; 2usize] = b"d\0"; | |
pub const SCNi32: &[u8; 2usize] = b"i\0"; | |
pub const SCNo32: &[u8; 2usize] = b"o\0"; | |
pub const SCNu32: &[u8; 2usize] = b"u\0"; | |
pub const SCNx32: &[u8; 2usize] = b"x\0"; | |
pub const SCNd64: &[u8; 4usize] = b"lld\0"; | |
pub const SCNi64: &[u8; 4usize] = b"lli\0"; | |
pub const SCNo64: &[u8; 4usize] = b"llo\0"; | |
pub const SCNu64: &[u8; 4usize] = b"llu\0"; | |
pub const SCNx64: &[u8; 4usize] = b"llx\0"; | |
pub const SCNdLEAST8: &[u8; 4usize] = b"hhd\0"; | |
pub const SCNiLEAST8: &[u8; 4usize] = b"hhi\0"; | |
pub const SCNoLEAST8: &[u8; 4usize] = b"hho\0"; | |
pub const SCNuLEAST8: &[u8; 4usize] = b"hhu\0"; | |
pub const SCNxLEAST8: &[u8; 4usize] = b"hhx\0"; | |
pub const SCNdLEAST16: &[u8; 3usize] = b"hd\0"; | |
pub const SCNiLEAST16: &[u8; 3usize] = b"hi\0"; | |
pub const SCNoLEAST16: &[u8; 3usize] = b"ho\0"; | |
pub const SCNuLEAST16: &[u8; 3usize] = b"hu\0"; | |
pub const SCNxLEAST16: &[u8; 3usize] = b"hx\0"; | |
pub const SCNdLEAST32: &[u8; 2usize] = b"d\0"; | |
pub const SCNiLEAST32: &[u8; 2usize] = b"i\0"; | |
pub const SCNoLEAST32: &[u8; 2usize] = b"o\0"; | |
pub const SCNuLEAST32: &[u8; 2usize] = b"u\0"; | |
pub const SCNxLEAST32: &[u8; 2usize] = b"x\0"; | |
pub const SCNdLEAST64: &[u8; 4usize] = b"lld\0"; | |
pub const SCNiLEAST64: &[u8; 4usize] = b"lli\0"; | |
pub const SCNoLEAST64: &[u8; 4usize] = b"llo\0"; | |
pub const SCNuLEAST64: &[u8; 4usize] = b"llu\0"; | |
pub const SCNxLEAST64: &[u8; 4usize] = b"llx\0"; | |
pub const SCNdFAST8: &[u8; 4usize] = b"hhd\0"; | |
pub const SCNiFAST8: &[u8; 4usize] = b"hhi\0"; | |
pub const SCNoFAST8: &[u8; 4usize] = b"hho\0"; | |
pub const SCNuFAST8: &[u8; 4usize] = b"hhu\0"; | |
pub const SCNxFAST8: &[u8; 4usize] = b"hhx\0"; | |
pub const SCNdFAST16: &[u8; 3usize] = b"hd\0"; | |
pub const SCNiFAST16: &[u8; 3usize] = b"hi\0"; | |
pub const SCNoFAST16: &[u8; 3usize] = b"ho\0"; | |
pub const SCNuFAST16: &[u8; 3usize] = b"hu\0"; | |
pub const SCNxFAST16: &[u8; 3usize] = b"hx\0"; | |
pub const SCNdFAST32: &[u8; 2usize] = b"d\0"; | |
pub const SCNiFAST32: &[u8; 2usize] = b"i\0"; | |
pub const SCNoFAST32: &[u8; 2usize] = b"o\0"; | |
pub const SCNuFAST32: &[u8; 2usize] = b"u\0"; | |
pub const SCNxFAST32: &[u8; 2usize] = b"x\0"; | |
pub const SCNdFAST64: &[u8; 4usize] = b"lld\0"; | |
pub const SCNiFAST64: &[u8; 4usize] = b"lli\0"; | |
pub const SCNoFAST64: &[u8; 4usize] = b"llo\0"; | |
pub const SCNuFAST64: &[u8; 4usize] = b"llu\0"; | |
pub const SCNxFAST64: &[u8; 4usize] = b"llx\0"; | |
pub const SCNdPTR: &[u8; 3usize] = b"ld\0"; | |
pub const SCNiPTR: &[u8; 3usize] = b"li\0"; | |
pub const SCNoPTR: &[u8; 3usize] = b"lo\0"; | |
pub const SCNuPTR: &[u8; 3usize] = b"lu\0"; | |
pub const SCNxPTR: &[u8; 3usize] = b"lx\0"; | |
pub const SCNdMAX: &[u8; 3usize] = b"jd\0"; | |
pub const SCNiMAX: &[u8; 3usize] = b"ji\0"; | |
pub const SCNoMAX: &[u8; 3usize] = b"jo\0"; | |
pub const SCNuMAX: &[u8; 3usize] = b"ju\0"; | |
pub const SCNxMAX: &[u8; 3usize] = b"jx\0"; | |
pub const __DARWIN_CLK_TCK: u32 = 100; | |
pub const MB_LEN_MAX: u32 = 6; | |
pub const CLK_TCK: u32 = 100; | |
pub const CHAR_BIT: u32 = 8; | |
pub const SCHAR_MAX: u32 = 127; | |
pub const SCHAR_MIN: i32 = -128; | |
pub const UCHAR_MAX: u32 = 255; | |
pub const CHAR_MAX: u32 = 127; | |
pub const CHAR_MIN: i32 = -128; | |
pub const USHRT_MAX: u32 = 65535; | |
pub const SHRT_MAX: u32 = 32767; | |
pub const SHRT_MIN: i32 = -32768; | |
pub const UINT_MAX: u32 = 4294967295; | |
pub const INT_MAX: u32 = 2147483647; | |
pub const INT_MIN: i32 = -2147483648; | |
pub const ULONG_MAX: i32 = -1; | |
pub const LONG_MAX: u64 = 9223372036854775807; | |
pub const LONG_MIN: i64 = -9223372036854775808; | |
pub const ULLONG_MAX: i32 = -1; | |
pub const LLONG_MAX: u64 = 9223372036854775807; | |
pub const LLONG_MIN: i64 = -9223372036854775808; | |
pub const LONG_BIT: u32 = 64; | |
pub const SSIZE_MAX: u64 = 9223372036854775807; | |
pub const WORD_BIT: u32 = 32; | |
pub const SIZE_T_MAX: i32 = -1; | |
pub const UQUAD_MAX: i32 = -1; | |
pub const QUAD_MAX: u64 = 9223372036854775807; | |
pub const QUAD_MIN: i64 = -9223372036854775808; | |
pub const ARG_MAX: u32 = 262144; | |
pub const CHILD_MAX: u32 = 266; | |
pub const GID_MAX: u32 = 2147483647; | |
pub const LINK_MAX: u32 = 32767; | |
pub const MAX_CANON: u32 = 1024; | |
pub const MAX_INPUT: u32 = 1024; | |
pub const NAME_MAX: u32 = 255; | |
pub const NGROUPS_MAX: u32 = 16; | |
pub const UID_MAX: u32 = 2147483647; | |
pub const OPEN_MAX: u32 = 10240; | |
pub const PATH_MAX: u32 = 1024; | |
pub const PIPE_BUF: u32 = 512; | |
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 CHARCLASS_NAME_MAX: u32 = 14; | |
pub const COLL_WEIGHTS_MAX: u32 = 2; | |
pub const EQUIV_CLASS_MAX: u32 = 2; | |
pub const EXPR_NEST_MAX: u32 = 32; | |
pub const LINE_MAX: u32 = 2048; | |
pub const RE_DUP_MAX: u32 = 255; | |
pub const NZERO: u32 = 20; | |
pub const _POSIX_ARG_MAX: u32 = 4096; | |
pub const _POSIX_CHILD_MAX: u32 = 25; | |
pub const _POSIX_LINK_MAX: u32 = 8; | |
pub const _POSIX_MAX_CANON: u32 = 255; | |
pub const _POSIX_MAX_INPUT: u32 = 255; | |
pub const _POSIX_NAME_MAX: u32 = 14; | |
pub const _POSIX_NGROUPS_MAX: u32 = 8; | |
pub const _POSIX_OPEN_MAX: u32 = 20; | |
pub const _POSIX_PATH_MAX: u32 = 256; | |
pub const _POSIX_PIPE_BUF: u32 = 512; | |
pub const _POSIX_SSIZE_MAX: u32 = 32767; | |
pub const _POSIX_STREAM_MAX: u32 = 8; | |
pub const _POSIX_TZNAME_MAX: u32 = 6; | |
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_EQUIV_CLASS_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 _POSIX_AIO_LISTIO_MAX: u32 = 2; | |
pub const _POSIX_AIO_MAX: u32 = 1; | |
pub const _POSIX_DELAYTIMER_MAX: u32 = 32; | |
pub const _POSIX_MQ_OPEN_MAX: u32 = 8; | |
pub const _POSIX_MQ_PRIO_MAX: u32 = 32; | |
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_TIMER_MAX: u32 = 32; | |
pub const _POSIX_CLOCKRES_MIN: u32 = 20000000; | |
pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS: u32 = 4; | |
pub const _POSIX_THREAD_KEYS_MAX: u32 = 128; | |
pub const _POSIX_THREAD_THREADS_MAX: u32 = 64; | |
pub const PTHREAD_DESTRUCTOR_ITERATIONS: u32 = 4; | |
pub const PTHREAD_KEYS_MAX: u32 = 512; | |
pub const PTHREAD_STACK_MIN: u32 = 16384; | |
pub const _POSIX_HOST_NAME_MAX: u32 = 255; | |
pub const _POSIX_LOGIN_NAME_MAX: u32 = 9; | |
pub const _POSIX_SS_REPL_MAX: u32 = 4; | |
pub const _POSIX_SYMLINK_MAX: u32 = 255; | |
pub const _POSIX_SYMLOOP_MAX: u32 = 8; | |
pub const _POSIX_TRACE_EVENT_NAME_MAX: u32 = 30; | |
pub const _POSIX_TRACE_NAME_MAX: u32 = 8; | |
pub const _POSIX_TRACE_SYS_MAX: u32 = 8; | |
pub const _POSIX_TRACE_USER_EVENT_MAX: u32 = 32; | |
pub const _POSIX_TTY_NAME_MAX: u32 = 9; | |
pub const _POSIX2_CHARCLASS_NAME_MAX: u32 = 14; | |
pub const _POSIX2_COLL_WEIGHTS_MAX: u32 = 2; | |
pub const _POSIX_RE_DUP_MAX: u32 = 255; | |
pub const OFF_MIN: i64 = -9223372036854775808; | |
pub const OFF_MAX: u64 = 9223372036854775807; | |
pub const PASS_MAX: u32 = 128; | |
pub const NL_ARGMAX: u32 = 9; | |
pub const NL_LANGMAX: u32 = 14; | |
pub const NL_MSGMAX: u32 = 32767; | |
pub const NL_NMAX: u32 = 1; | |
pub const NL_SETMAX: u32 = 255; | |
pub const NL_TEXTMAX: u32 = 2048; | |
pub const _XOPEN_IOV_MAX: u32 = 16; | |
pub const IOV_MAX: u32 = 1024; | |
pub const _XOPEN_NAME_MAX: u32 = 255; | |
pub const _XOPEN_PATH_MAX: u32 = 1024; | |
pub const LC_ALL: u32 = 0; | |
pub const LC_COLLATE: u32 = 1; | |
pub const LC_CTYPE: u32 = 2; | |
pub const LC_MONETARY: u32 = 3; | |
pub const LC_NUMERIC: u32 = 4; | |
pub const LC_TIME: u32 = 5; | |
pub const LC_MESSAGES: u32 = 6; | |
pub const _LC_LAST: u32 = 7; | |
pub const FP_NAN: u32 = 1; | |
pub const FP_INFINITE: u32 = 2; | |
pub const FP_ZERO: u32 = 3; | |
pub const FP_NORMAL: u32 = 4; | |
pub const FP_SUBNORMAL: u32 = 5; | |
pub const FP_SUPERNORMAL: u32 = 6; | |
pub const FP_FAST_FMA: u32 = 1; | |
pub const FP_FAST_FMAF: u32 = 1; | |
pub const FP_FAST_FMAL: u32 = 1; | |
pub const FP_ILOGB0: i32 = -2147483648; | |
pub const FP_ILOGBNAN: i32 = -2147483648; | |
pub const MATH_ERRNO: u32 = 1; | |
pub const MATH_ERREXCEPT: u32 = 2; | |
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 FP_SNAN: u32 = 1; | |
pub const FP_QNAN: u32 = 1; | |
pub const DOMAIN: u32 = 1; | |
pub const SING: u32 = 2; | |
pub const OVERFLOW: u32 = 3; | |
pub const UNDERFLOW: u32 = 4; | |
pub const TLOSS: u32 = 5; | |
pub const PLOSS: u32 = 6; | |
pub const RPP_ECHO_OFF: u32 = 0; | |
pub const RPP_ECHO_ON: u32 = 1; | |
pub const RPP_REQUIRE_TTY: u32 = 2; | |
pub const RPP_FORCELOWER: u32 = 4; | |
pub const RPP_FORCEUPPER: u32 = 8; | |
pub const RPP_SEVENBIT: u32 = 16; | |
pub const RPP_STDIN: u32 = 32; | |
pub const _JBLEN: u32 = 48; | |
pub const __DARWIN_NSIG: u32 = 32; | |
pub const NSIG: u32 = 32; | |
pub const _ARM_SIGNAL_: u32 = 1; | |
pub const SIGHUP: u32 = 1; | |
pub const SIGINT: u32 = 2; | |
pub const SIGQUIT: u32 = 3; | |
pub const SIGILL: u32 = 4; | |
pub const SIGTRAP: u32 = 5; | |
pub const SIGABRT: u32 = 6; | |
pub const SIGIOT: u32 = 6; | |
pub const SIGEMT: u32 = 7; | |
pub const SIGFPE: u32 = 8; | |
pub const SIGKILL: u32 = 9; | |
pub const SIGBUS: u32 = 10; | |
pub const SIGSEGV: u32 = 11; | |
pub const SIGSYS: u32 = 12; | |
pub const SIGPIPE: u32 = 13; | |
pub const SIGALRM: u32 = 14; | |
pub const SIGTERM: u32 = 15; | |
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 SIGIO: u32 = 23; | |
pub const SIGXCPU: u32 = 24; | |
pub const SIGXFSZ: u32 = 25; | |
pub const SIGVTALRM: u32 = 26; | |
pub const SIGPROF: u32 = 27; | |
pub const SIGWINCH: u32 = 28; | |
pub const SIGINFO: u32 = 29; | |
pub const SIGUSR1: u32 = 30; | |
pub const SIGUSR2: u32 = 31; | |
pub const __DARWIN_OPAQUE_ARM_THREAD_STATE64: u32 = 0; | |
pub const SIGEV_NONE: u32 = 0; | |
pub const SIGEV_SIGNAL: u32 = 1; | |
pub const SIGEV_THREAD: u32 = 3; | |
pub const ILL_NOOP: u32 = 0; | |
pub const ILL_ILLOPC: u32 = 1; | |
pub const ILL_ILLTRP: u32 = 2; | |
pub const ILL_PRVOPC: u32 = 3; | |
pub const ILL_ILLOPN: u32 = 4; | |
pub const ILL_ILLADR: u32 = 5; | |
pub const ILL_PRVREG: u32 = 6; | |
pub const ILL_COPROC: u32 = 7; | |
pub const ILL_BADSTK: u32 = 8; | |
pub const FPE_NOOP: u32 = 0; | |
pub const FPE_FLTDIV: u32 = 1; | |
pub const FPE_FLTOVF: u32 = 2; | |
pub const FPE_FLTUND: u32 = 3; | |
pub const FPE_FLTRES: u32 = 4; | |
pub const FPE_FLTINV: u32 = 5; | |
pub const FPE_FLTSUB: u32 = 6; | |
pub const FPE_INTDIV: u32 = 7; | |
pub const FPE_INTOVF: u32 = 8; | |
pub const SEGV_NOOP: u32 = 0; | |
pub const SEGV_MAPERR: u32 = 1; | |
pub const SEGV_ACCERR: u32 = 2; | |
pub const BUS_NOOP: u32 = 0; | |
pub const BUS_ADRALN: u32 = 1; | |
pub const BUS_ADRERR: u32 = 2; | |
pub const BUS_OBJERR: u32 = 3; | |
pub const TRAP_BRKPT: u32 = 1; | |
pub const TRAP_TRACE: u32 = 2; | |
pub const CLD_NOOP: u32 = 0; | |
pub const CLD_EXITED: u32 = 1; | |
pub const CLD_KILLED: u32 = 2; | |
pub const CLD_DUMPED: u32 = 3; | |
pub const CLD_TRAPPED: u32 = 4; | |
pub const CLD_STOPPED: u32 = 5; | |
pub const CLD_CONTINUED: u32 = 6; | |
pub const POLL_IN: u32 = 1; | |
pub const POLL_OUT: u32 = 2; | |
pub const POLL_MSG: u32 = 3; | |
pub const POLL_ERR: u32 = 4; | |
pub const POLL_PRI: u32 = 5; | |
pub const POLL_HUP: u32 = 6; | |
pub const SA_ONSTACK: u32 = 1; | |
pub const SA_RESTART: u32 = 2; | |
pub const SA_RESETHAND: u32 = 4; | |
pub const SA_NOCLDSTOP: u32 = 8; | |
pub const SA_NODEFER: u32 = 16; | |
pub const SA_NOCLDWAIT: u32 = 32; | |
pub const SA_SIGINFO: u32 = 64; | |
pub const SA_USERTRAMP: u32 = 256; | |
pub const SA_64REGSET: u32 = 512; | |
pub const SA_USERSPACE_MASK: u32 = 127; | |
pub const SIG_BLOCK: u32 = 1; | |
pub const SIG_UNBLOCK: u32 = 2; | |
pub const SIG_SETMASK: u32 = 3; | |
pub const SI_USER: u32 = 65537; | |
pub const SI_QUEUE: u32 = 65538; | |
pub const SI_TIMER: u32 = 65539; | |
pub const SI_ASYNCIO: u32 = 65540; | |
pub const SI_MESGQ: u32 = 65541; | |
pub const SS_ONSTACK: u32 = 1; | |
pub const SS_DISABLE: u32 = 4; | |
pub const MINSIGSTKSZ: u32 = 32768; | |
pub const SIGSTKSZ: u32 = 131072; | |
pub const SV_ONSTACK: u32 = 1; | |
pub const SV_INTERRUPT: u32 = 2; | |
pub const SV_RESETHAND: u32 = 4; | |
pub const SV_NODEFER: u32 = 16; | |
pub const SV_NOCLDSTOP: u32 = 8; | |
pub const SV_SIGINFO: u32 = 64; | |
pub const __GNUC_VA_LIST: u32 = 1; | |
pub const __bool_true_false_are_defined: u32 = 1; | |
pub const true_: u32 = 1; | |
pub const false_: u32 = 0; | |
pub const RENAME_SECLUDE: u32 = 1; | |
pub const RENAME_SWAP: u32 = 2; | |
pub const RENAME_EXCL: u32 = 4; | |
pub const RENAME_RESERVED1: u32 = 8; | |
pub const RENAME_NOFOLLOW_ANY: u32 = 16; | |
pub const SEEK_SET: u32 = 0; | |
pub const SEEK_CUR: u32 = 1; | |
pub const SEEK_END: u32 = 2; | |
pub const SEEK_HOLE: u32 = 3; | |
pub const SEEK_DATA: u32 = 4; | |
pub const __SLBF: u32 = 1; | |
pub const __SNBF: u32 = 2; | |
pub const __SRD: u32 = 4; | |
pub const __SWR: u32 = 8; | |
pub const __SRW: u32 = 16; | |
pub const __SEOF: u32 = 32; | |
pub const __SERR: u32 = 64; | |
pub const __SMBF: u32 = 128; | |
pub const __SAPP: u32 = 256; | |
pub const __SSTR: u32 = 512; | |
pub const __SOPT: u32 = 1024; | |
pub const __SNPT: u32 = 2048; | |
pub const __SOFF: u32 = 4096; | |
pub const __SMOD: u32 = 8192; | |
pub const __SALC: u32 = 16384; | |
pub const __SIGN: u32 = 32768; | |
pub const _IOFBF: u32 = 0; | |
pub const _IOLBF: u32 = 1; | |
pub const _IONBF: u32 = 2; | |
pub const BUFSIZ: u32 = 1024; | |
pub const EOF: i32 = -1; | |
pub const FOPEN_MAX: u32 = 20; | |
pub const FILENAME_MAX: u32 = 1024; | |
pub const P_tmpdir: &[u8; 10usize] = b"/var/tmp/\0"; | |
pub const L_tmpnam: u32 = 1024; | |
pub const TMP_MAX: u32 = 308915776; | |
pub const L_ctermid: u32 = 1024; | |
pub const _USE_FORTIFY_LEVEL: u32 = 2; | |
pub const PRIO_PROCESS: u32 = 0; | |
pub const PRIO_PGRP: u32 = 1; | |
pub const PRIO_USER: u32 = 2; | |
pub const PRIO_DARWIN_THREAD: u32 = 3; | |
pub const PRIO_DARWIN_PROCESS: u32 = 4; | |
pub const PRIO_MIN: i32 = -20; | |
pub const PRIO_MAX: u32 = 20; | |
pub const PRIO_DARWIN_BG: u32 = 4096; | |
pub const PRIO_DARWIN_NONUI: u32 = 4097; | |
pub const RUSAGE_SELF: u32 = 0; | |
pub const RUSAGE_CHILDREN: i32 = -1; | |
pub const RUSAGE_INFO_V0: u32 = 0; | |
pub const RUSAGE_INFO_V1: u32 = 1; | |
pub const RUSAGE_INFO_V2: u32 = 2; | |
pub const RUSAGE_INFO_V3: u32 = 3; | |
pub const RUSAGE_INFO_V4: u32 = 4; | |
pub const RUSAGE_INFO_V5: u32 = 5; | |
pub const RUSAGE_INFO_V6: u32 = 6; | |
pub const RUSAGE_INFO_CURRENT: u32 = 6; | |
pub const RU_PROC_RUNS_RESLIDE: u32 = 1; | |
pub const RLIMIT_CPU: u32 = 0; | |
pub const RLIMIT_FSIZE: u32 = 1; | |
pub const RLIMIT_DATA: u32 = 2; | |
pub const RLIMIT_STACK: u32 = 3; | |
pub const RLIMIT_CORE: u32 = 4; | |
pub const RLIMIT_AS: u32 = 5; | |
pub const RLIMIT_RSS: u32 = 5; | |
pub const RLIMIT_MEMLOCK: u32 = 6; | |
pub const RLIMIT_NPROC: u32 = 7; | |
pub const RLIMIT_NOFILE: u32 = 8; | |
pub const RLIM_NLIMITS: u32 = 9; | |
pub const _RLIMIT_POSIX_FLAG: u32 = 4096; | |
pub const RLIMIT_WAKEUPS_MONITOR: u32 = 1; | |
pub const RLIMIT_CPU_USAGE_MONITOR: u32 = 2; | |
pub const RLIMIT_THREAD_CPULIMITS: u32 = 3; | |
pub const RLIMIT_FOOTPRINT_INTERVAL: u32 = 4; | |
pub const WAKEMON_ENABLE: u32 = 1; | |
pub const WAKEMON_DISABLE: u32 = 2; | |
pub const WAKEMON_GET_PARAMS: u32 = 4; | |
pub const WAKEMON_SET_DEFAULTS: u32 = 8; | |
pub const WAKEMON_MAKE_FATAL: u32 = 16; | |
pub const CPUMON_MAKE_FATAL: u32 = 4096; | |
pub const FOOTPRINT_INTERVAL_RESET: u32 = 1; | |
pub const IOPOL_TYPE_DISK: u32 = 0; | |
pub const IOPOL_TYPE_VFS_ATIME_UPDATES: u32 = 2; | |
pub const IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES: u32 = 3; | |
pub const IOPOL_TYPE_VFS_STATFS_NO_DATA_VOLUME: u32 = 4; | |
pub const IOPOL_TYPE_VFS_TRIGGER_RESOLVE: u32 = 5; | |
pub const IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION: u32 = 6; | |
pub const IOPOL_TYPE_VFS_IGNORE_PERMISSIONS: u32 = 7; | |
pub const IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE: u32 = 8; | |
pub const IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES: u32 = 9; | |
pub const IOPOL_TYPE_VFS_DISALLOW_RW_FOR_O_EVTONLY: u32 = 10; | |
pub const IOPOL_SCOPE_PROCESS: u32 = 0; | |
pub const IOPOL_SCOPE_THREAD: u32 = 1; | |
pub const IOPOL_SCOPE_DARWIN_BG: u32 = 2; | |
pub const IOPOL_DEFAULT: u32 = 0; | |
pub const IOPOL_IMPORTANT: u32 = 1; | |
pub const IOPOL_PASSIVE: u32 = 2; | |
pub const IOPOL_THROTTLE: u32 = 3; | |
pub const IOPOL_UTILITY: u32 = 4; | |
pub const IOPOL_STANDARD: u32 = 5; | |
pub const IOPOL_APPLICATION: u32 = 5; | |
pub const IOPOL_NORMAL: u32 = 1; | |
pub const IOPOL_ATIME_UPDATES_DEFAULT: u32 = 0; | |
pub const IOPOL_ATIME_UPDATES_OFF: u32 = 1; | |
pub const IOPOL_MATERIALIZE_DATALESS_FILES_DEFAULT: u32 = 0; | |
pub const IOPOL_MATERIALIZE_DATALESS_FILES_OFF: u32 = 1; | |
pub const IOPOL_MATERIALIZE_DATALESS_FILES_ON: u32 = 2; | |
pub const IOPOL_VFS_STATFS_NO_DATA_VOLUME_DEFAULT: u32 = 0; | |
pub const IOPOL_VFS_STATFS_FORCE_NO_DATA_VOLUME: u32 = 1; | |
pub const IOPOL_VFS_TRIGGER_RESOLVE_DEFAULT: u32 = 0; | |
pub const IOPOL_VFS_TRIGGER_RESOLVE_OFF: u32 = 1; | |
pub const IOPOL_VFS_CONTENT_PROTECTION_DEFAULT: u32 = 0; | |
pub const IOPOL_VFS_CONTENT_PROTECTION_IGNORE: u32 = 1; | |
pub const IOPOL_VFS_IGNORE_PERMISSIONS_OFF: u32 = 0; | |
pub const IOPOL_VFS_IGNORE_PERMISSIONS_ON: u32 = 1; | |
pub const IOPOL_VFS_SKIP_MTIME_UPDATE_OFF: u32 = 0; | |
pub const IOPOL_VFS_SKIP_MTIME_UPDATE_ON: u32 = 1; | |
pub const IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_OFF: u32 = 0; | |
pub const IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_ON: u32 = 1; | |
pub const IOPOL_VFS_DISALLOW_RW_FOR_O_EVTONLY_DEFAULT: u32 = 0; | |
pub const IOPOL_VFS_DISALLOW_RW_FOR_O_EVTONLY_ON: u32 = 1; | |
pub const IOPOL_VFS_NOCACHE_WRITE_FS_BLKSIZE_DEFAULT: u32 = 0; | |
pub const IOPOL_VFS_NOCACHE_WRITE_FS_BLKSIZE_ON: u32 = 1; | |
pub const WNOHANG: u32 = 1; | |
pub const WUNTRACED: u32 = 2; | |
pub const WCOREFLAG: u32 = 128; | |
pub const _WSTOPPED: u32 = 127; | |
pub const WEXITED: u32 = 4; | |
pub const WSTOPPED: u32 = 8; | |
pub const WCONTINUED: u32 = 16; | |
pub const WNOWAIT: u32 = 32; | |
pub const WAIT_ANY: i32 = -1; | |
pub const WAIT_MYPGRP: u32 = 0; | |
pub const _QUAD_HIGHWORD: u32 = 1; | |
pub const _QUAD_LOWWORD: u32 = 0; | |
pub const __DARWIN_LITTLE_ENDIAN: u32 = 1234; | |
pub const __DARWIN_BIG_ENDIAN: u32 = 4321; | |
pub const __DARWIN_PDP_ENDIAN: u32 = 3412; | |
pub const __DARWIN_BYTE_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 EXIT_FAILURE: u32 = 1; | |
pub const EXIT_SUCCESS: u32 = 0; | |
pub const RAND_MAX: u32 = 2147483647; | |
pub const __HAS_FIXED_CHK_PROTOTYPES: u32 = 1; | |
pub const TIME_UTC: u32 = 1; | |
pub const IOCPARM_MASK: u32 = 8191; | |
pub const IOCPARM_MAX: u32 = 8192; | |
pub const TIOCM_LE: u32 = 1; | |
pub const TIOCM_DTR: u32 = 2; | |
pub const TIOCM_RTS: u32 = 4; | |
pub const TIOCM_ST: u32 = 8; | |
pub const TIOCM_SR: u32 = 16; | |
pub const TIOCM_CTS: u32 = 32; | |
pub const TIOCM_CAR: u32 = 64; | |
pub const TIOCM_CD: u32 = 64; | |
pub const TIOCM_RNG: u32 = 128; | |
pub const TIOCM_RI: u32 = 128; | |
pub const TIOCM_DSR: u32 = 256; | |
pub const TIOCPKT_DATA: u32 = 0; | |
pub const TIOCPKT_FLUSHREAD: u32 = 1; | |
pub const TIOCPKT_FLUSHWRITE: u32 = 2; | |
pub const TIOCPKT_STOP: u32 = 4; | |
pub const TIOCPKT_START: u32 = 8; | |
pub const TIOCPKT_NOSTOP: u32 = 16; | |
pub const TIOCPKT_DOSTOP: u32 = 32; | |
pub const TIOCPKT_IOCTL: u32 = 64; | |
pub const TTYDISC: u32 = 0; | |
pub const TABLDISC: u32 = 3; | |
pub const SLIPDISC: u32 = 4; | |
pub const PPPDISC: u32 = 5; | |
pub const __DARWIN_FD_SETSIZE: u32 = 1024; | |
pub const __DARWIN_NBBY: u32 = 8; | |
pub const NBBY: u32 = 8; | |
pub const FD_SETSIZE: u32 = 1024; | |
pub const _PATH_PWD: &[u8; 5usize] = b"/etc\0"; | |
pub const _PATH_PASSWD: &[u8; 12usize] = b"/etc/passwd\0"; | |
pub const _PASSWD: &[u8; 7usize] = b"passwd\0"; | |
pub const _PATH_MASTERPASSWD: &[u8; 19usize] = b"/etc/master.passwd\0"; | |
pub const _PATH_MASTERPASSWD_LOCK: &[u8; 10usize] = b"/etc/ptmp\0"; | |
pub const _MASTERPASSWD: &[u8; 14usize] = b"master.passwd\0"; | |
pub const _PATH_MP_DB: &[u8; 12usize] = b"/etc/pwd.db\0"; | |
pub const _MP_DB: &[u8; 7usize] = b"pwd.db\0"; | |
pub const _PATH_SMP_DB: &[u8; 13usize] = b"/etc/spwd.db\0"; | |
pub const _SMP_DB: &[u8; 8usize] = b"spwd.db\0"; | |
pub const _PATH_PWD_MKDB: &[u8; 19usize] = b"/usr/sbin/pwd_mkdb\0"; | |
pub const _PW_KEYBYNAME: u8 = 49u8; | |
pub const _PW_KEYBYNUM: u8 = 50u8; | |
pub const _PW_KEYBYUID: u8 = 51u8; | |
pub const _PASSWORD_EFMT1: u8 = 95u8; | |
pub const _PASSWORD_LEN: u32 = 128; | |
pub const _PASSWORD_NOUID: u32 = 1; | |
pub const _PASSWORD_NOGID: u32 = 2; | |
pub const _PASSWORD_NOCHG: u32 = 4; | |
pub const _PASSWORD_NOEXP: u32 = 8; | |
pub const _PASSWORD_WARNDAYS: u32 = 14; | |
pub const _PASSWORD_CHGNOW: i32 = -1; | |
pub const VEOF: u32 = 0; | |
pub const VEOL: u32 = 1; | |
pub const VEOL2: u32 = 2; | |
pub const VERASE: u32 = 3; | |
pub const VWERASE: u32 = 4; | |
pub const VKILL: u32 = 5; | |
pub const VREPRINT: u32 = 6; | |
pub const VINTR: u32 = 8; | |
pub const VQUIT: u32 = 9; | |
pub const VSUSP: u32 = 10; | |
pub const VDSUSP: u32 = 11; | |
pub const VSTART: u32 = 12; | |
pub const VSTOP: u32 = 13; | |
pub const VLNEXT: u32 = 14; | |
pub const VDISCARD: u32 = 15; | |
pub const VMIN: u32 = 16; | |
pub const VTIME: u32 = 17; | |
pub const VSTATUS: u32 = 18; | |
pub const NCCS: u32 = 20; | |
pub const IGNBRK: u32 = 1; | |
pub const BRKINT: u32 = 2; | |
pub const IGNPAR: u32 = 4; | |
pub const PARMRK: u32 = 8; | |
pub const INPCK: u32 = 16; | |
pub const ISTRIP: u32 = 32; | |
pub const INLCR: u32 = 64; | |
pub const IGNCR: u32 = 128; | |
pub const ICRNL: u32 = 256; | |
pub const IXON: u32 = 512; | |
pub const IXOFF: u32 = 1024; | |
pub const IXANY: u32 = 2048; | |
pub const IMAXBEL: u32 = 8192; | |
pub const IUTF8: u32 = 16384; | |
pub const OPOST: u32 = 1; | |
pub const ONLCR: u32 = 2; | |
pub const OXTABS: u32 = 4; | |
pub const ONOEOT: u32 = 8; | |
pub const OCRNL: u32 = 16; | |
pub const ONOCR: u32 = 32; | |
pub const ONLRET: u32 = 64; | |
pub const OFILL: u32 = 128; | |
pub const NLDLY: u32 = 768; | |
pub const TABDLY: u32 = 3076; | |
pub const CRDLY: u32 = 12288; | |
pub const FFDLY: u32 = 16384; | |
pub const BSDLY: u32 = 32768; | |
pub const VTDLY: u32 = 65536; | |
pub const OFDEL: u32 = 131072; | |
pub const NL0: u32 = 0; | |
pub const NL1: u32 = 256; | |
pub const NL2: u32 = 512; | |
pub const NL3: u32 = 768; | |
pub const TAB0: u32 = 0; | |
pub const TAB1: u32 = 1024; | |
pub const TAB2: u32 = 2048; | |
pub const TAB3: u32 = 4; | |
pub const CR0: u32 = 0; | |
pub const CR1: u32 = 4096; | |
pub const CR2: u32 = 8192; | |
pub const CR3: u32 = 12288; | |
pub const FF0: u32 = 0; | |
pub const FF1: u32 = 16384; | |
pub const BS0: u32 = 0; | |
pub const BS1: u32 = 32768; | |
pub const VT0: u32 = 0; | |
pub const VT1: u32 = 65536; | |
pub const CIGNORE: u32 = 1; | |
pub const CSIZE: u32 = 768; | |
pub const CS5: u32 = 0; | |
pub const CS6: u32 = 256; | |
pub const CS7: u32 = 512; | |
pub const CS8: u32 = 768; | |
pub const CSTOPB: u32 = 1024; | |
pub const CREAD: u32 = 2048; | |
pub const PARENB: u32 = 4096; | |
pub const PARODD: u32 = 8192; | |
pub const HUPCL: u32 = 16384; | |
pub const CLOCAL: u32 = 32768; | |
pub const CCTS_OFLOW: u32 = 65536; | |
pub const CRTS_IFLOW: u32 = 131072; | |
pub const CDTR_IFLOW: u32 = 262144; | |
pub const CDSR_OFLOW: u32 = 524288; | |
pub const CCAR_OFLOW: u32 = 1048576; | |
pub const MDMBUF: u32 = 1048576; | |
pub const ECHOKE: u32 = 1; | |
pub const ECHOE: u32 = 2; | |
pub const ECHOK: u32 = 4; | |
pub const ECHO: u32 = 8; | |
pub const ECHONL: u32 = 16; | |
pub const ECHOPRT: u32 = 32; | |
pub const ECHOCTL: u32 = 64; | |
pub const ISIG: u32 = 128; | |
pub const ICANON: u32 = 256; | |
pub const ALTWERASE: u32 = 512; | |
pub const IEXTEN: u32 = 1024; | |
pub const EXTPROC: u32 = 2048; | |
pub const TOSTOP: u32 = 4194304; | |
pub const FLUSHO: u32 = 8388608; | |
pub const NOKERNINFO: u32 = 33554432; | |
pub const PENDIN: u32 = 536870912; | |
pub const NOFLSH: u32 = 2147483648; | |
pub const TCSANOW: u32 = 0; | |
pub const TCSADRAIN: u32 = 1; | |
pub const TCSAFLUSH: u32 = 2; | |
pub const TCSASOFT: u32 = 16; | |
pub const B0: u32 = 0; | |
pub const B50: u32 = 50; | |
pub const B75: u32 = 75; | |
pub const B110: u32 = 110; | |
pub const B134: u32 = 134; | |
pub const B150: u32 = 150; | |
pub const B200: u32 = 200; | |
pub const B300: u32 = 300; | |
pub const B600: u32 = 600; | |
pub const B1200: u32 = 1200; | |
pub const B1800: u32 = 1800; | |
pub const B2400: u32 = 2400; | |
pub const B4800: u32 = 4800; | |
pub const B9600: u32 = 9600; | |
pub const B19200: u32 = 19200; | |
pub const B38400: u32 = 38400; | |
pub const B7200: u32 = 7200; | |
pub const B14400: u32 = 14400; | |
pub const B28800: u32 = 28800; | |
pub const B57600: u32 = 57600; | |
pub const B76800: u32 = 76800; | |
pub const B115200: u32 = 115200; | |
pub const B230400: u32 = 230400; | |
pub const EXTA: u32 = 19200; | |
pub const EXTB: u32 = 38400; | |
pub const TCIFLUSH: u32 = 1; | |
pub const TCOFLUSH: u32 = 2; | |
pub const TCIOFLUSH: u32 = 3; | |
pub const TCOOFF: u32 = 1; | |
pub const TCOON: u32 = 2; | |
pub const TCIOFF: u32 = 3; | |
pub const TCION: u32 = 4; | |
pub const TTYDEF_IFLAG: u32 = 11010; | |
pub const TTYDEF_OFLAG: u32 = 3; | |
pub const TTYDEF_LFLAG: u32 = 1483; | |
pub const TTYDEF_CFLAG: u32 = 19200; | |
pub const TTYDEF_SPEED: u32 = 9600; | |
pub const CEOL: u32 = 255; | |
pub const CERASE: u32 = 127; | |
pub const CMIN: u32 = 1; | |
pub const CQUIT: u32 = 28; | |
pub const CTIME: u32 = 0; | |
pub const CBRK: u32 = 255; | |
pub const PIDLOCK_NONBLOCK: u32 = 1; | |
pub const PIDLOCK_USEHOSTNAME: u32 = 2; | |
pub const FPARSELN_UNESCESC: u32 = 1; | |
pub const FPARSELN_UNESCCONT: u32 = 2; | |
pub const FPARSELN_UNESCCOMM: u32 = 4; | |
pub const FPARSELN_UNESCREST: u32 = 8; | |
pub const FPARSELN_UNESCALL: u32 = 15; | |
pub const OPENDEV_PART: u32 = 1; | |
pub const OPENDEV_BLCK: u32 = 4; | |
pub const LC_COLLATE_MASK: u32 = 1; | |
pub const LC_CTYPE_MASK: u32 = 2; | |
pub const LC_MESSAGES_MASK: u32 = 4; | |
pub const LC_MONETARY_MASK: u32 = 8; | |
pub const LC_NUMERIC_MASK: u32 = 16; | |
pub const LC_TIME_MASK: u32 = 32; | |
pub const _LC_NUM_MASK: u32 = 6; | |
pub const _LC_LAST_MASK: u32 = 32; | |
pub const XATTR_OPERATION_INTENT_COPY: u32 = 1; | |
pub const XATTR_OPERATION_INTENT_SAVE: u32 = 2; | |
pub const XATTR_OPERATION_INTENT_SHARE: u32 = 3; | |
pub const XATTR_OPERATION_INTENT_SYNC: u32 = 4; | |
pub const XATTR_OPERATION_INTENT_BACKUP: u32 = 5; | |
pub const O_SYNC: u32 = 128; | |
pub const O_DSYNC: u32 = 4194304; | |
pub const AIO_ALLDONE: u32 = 1; | |
pub const AIO_CANCELED: u32 = 2; | |
pub const AIO_NOTCANCELED: u32 = 4; | |
pub const LIO_NOP: u32 = 0; | |
pub const LIO_READ: u32 = 1; | |
pub const LIO_WRITE: u32 = 2; | |
pub const LIO_NOWAIT: u32 = 1; | |
pub const LIO_WAIT: u32 = 2; | |
pub const AIO_LISTIO_MAX: u32 = 16; | |
pub const KEV_INET_SUBCLASS: u32 = 1; | |
pub const KEV_INET_NEW_ADDR: u32 = 1; | |
pub const KEV_INET_CHANGED_ADDR: u32 = 2; | |
pub const KEV_INET_ADDR_DELETED: u32 = 3; | |
pub const KEV_INET_SIFDSTADDR: u32 = 4; | |
pub const KEV_INET_SIFBRDADDR: u32 = 5; | |
pub const KEV_INET_SIFNETMASK: u32 = 6; | |
pub const KEV_INET_ARPCOLLISION: u32 = 7; | |
pub const KEV_INET_PORTINUSE: u32 = 8; | |
pub const KEV_INET_ARPRTRFAILURE: u32 = 9; | |
pub const KEV_INET_ARPRTRALIVE: u32 = 10; | |
pub const KEV_DL_SUBCLASS: u32 = 2; | |
pub const KEV_DL_SIFFLAGS: u32 = 1; | |
pub const KEV_DL_SIFMETRICS: u32 = 2; | |
pub const KEV_DL_SIFMTU: u32 = 3; | |
pub const KEV_DL_SIFPHYS: u32 = 4; | |
pub const KEV_DL_SIFMEDIA: u32 = 5; | |
pub const KEV_DL_SIFGENERIC: u32 = 6; | |
pub const KEV_DL_ADDMULTI: u32 = 7; | |
pub const KEV_DL_DELMULTI: u32 = 8; | |
pub const KEV_DL_IF_ATTACHED: u32 = 9; | |
pub const KEV_DL_IF_DETACHING: u32 = 10; | |
pub const KEV_DL_IF_DETACHED: u32 = 11; | |
pub const KEV_DL_LINK_OFF: u32 = 12; | |
pub const KEV_DL_LINK_ON: u32 = 13; | |
pub const KEV_DL_PROTO_ATTACHED: u32 = 14; | |
pub const KEV_DL_PROTO_DETACHED: u32 = 15; | |
pub const KEV_DL_LINK_ADDRESS_CHANGED: u32 = 16; | |
pub const KEV_DL_WAKEFLAGS_CHANGED: u32 = 17; | |
pub const KEV_DL_IF_IDLE_ROUTE_REFCNT: u32 = 18; | |
pub const KEV_DL_IFCAP_CHANGED: u32 = 19; | |
pub const KEV_DL_LINK_QUALITY_METRIC_CHANGED: u32 = 20; | |
pub const KEV_DL_NODE_PRESENCE: u32 = 21; | |
pub const KEV_DL_NODE_ABSENCE: u32 = 22; | |
pub const KEV_DL_PRIMARY_ELECTED: u32 = 23; | |
pub const KEV_DL_ISSUES: u32 = 24; | |
pub const KEV_DL_IFDELEGATE_CHANGED: u32 = 25; | |
pub const KEV_DL_AWDL_RESTRICTED: u32 = 26; | |
pub const KEV_DL_AWDL_UNRESTRICTED: u32 = 27; | |
pub const KEV_DL_RRC_STATE_CHANGED: u32 = 28; | |
pub const KEV_DL_QOS_MODE_CHANGED: u32 = 29; | |
pub const KEV_DL_LOW_POWER_MODE_CHANGED: u32 = 30; | |
pub const KEV_INET6_SUBCLASS: u32 = 6; | |
pub const KEV_INET6_NEW_USER_ADDR: u32 = 1; | |
pub const KEV_INET6_CHANGED_ADDR: u32 = 2; | |
pub const KEV_INET6_ADDR_DELETED: u32 = 3; | |
pub const KEV_INET6_NEW_LL_ADDR: u32 = 4; | |
pub const KEV_INET6_NEW_RTADV_ADDR: u32 = 5; | |
pub const KEV_INET6_DEFROUTER: u32 = 6; | |
pub const KEV_INET6_REQUEST_NAT64_PREFIX: u32 = 7; | |
pub const SOCK_STREAM: u32 = 1; | |
pub const SOCK_DGRAM: u32 = 2; | |
pub const SOCK_RAW: u32 = 3; | |
pub const SOCK_RDM: u32 = 4; | |
pub const SOCK_SEQPACKET: u32 = 5; | |
pub const SO_DEBUG: u32 = 1; | |
pub const SO_ACCEPTCONN: u32 = 2; | |
pub const SO_REUSEADDR: u32 = 4; | |
pub const SO_KEEPALIVE: u32 = 8; | |
pub const SO_DONTROUTE: u32 = 16; | |
pub const SO_BROADCAST: u32 = 32; | |
pub const SO_USELOOPBACK: u32 = 64; | |
pub const SO_LINGER: u32 = 128; | |
pub const SO_LINGER_SEC: u32 = 4224; | |
pub const SO_OOBINLINE: u32 = 256; | |
pub const SO_REUSEPORT: u32 = 512; | |
pub const SO_TIMESTAMP: u32 = 1024; | |
pub const SO_TIMESTAMP_MONOTONIC: u32 = 2048; | |
pub const SO_DONTTRUNC: u32 = 8192; | |
pub const SO_WANTMORE: u32 = 16384; | |
pub const SO_WANTOOBFLAG: u32 = 32768; | |
pub const SO_SNDBUF: u32 = 4097; | |
pub const SO_RCVBUF: u32 = 4098; | |
pub const SO_SNDLOWAT: u32 = 4099; | |
pub const SO_RCVLOWAT: u32 = 4100; | |
pub const SO_SNDTIMEO: u32 = 4101; | |
pub const SO_RCVTIMEO: u32 = 4102; | |
pub const SO_ERROR: u32 = 4103; | |
pub const SO_TYPE: u32 = 4104; | |
pub const SO_LABEL: u32 = 4112; | |
pub const SO_PEERLABEL: u32 = 4113; | |
pub const SO_NREAD: u32 = 4128; | |
pub const SO_NKE: u32 = 4129; | |
pub const SO_NOSIGPIPE: u32 = 4130; | |
pub const SO_NOADDRERR: u32 = 4131; | |
pub const SO_NWRITE: u32 = 4132; | |
pub const SO_REUSESHAREUID: u32 = 4133; | |
pub const SO_NOTIFYCONFLICT: u32 = 4134; | |
pub const SO_UPCALLCLOSEWAIT: u32 = 4135; | |
pub const SO_RANDOMPORT: u32 = 4226; | |
pub const SO_NP_EXTENSIONS: u32 = 4227; | |
pub const SO_NUMRCVPKT: u32 = 4370; | |
pub const SO_NET_SERVICE_TYPE: u32 = 4374; | |
pub const SO_NETSVC_MARKING_LEVEL: u32 = 4377; | |
pub const SO_RESOLVER_SIGNATURE: u32 = 4401; | |
pub const NET_SERVICE_TYPE_BE: u32 = 0; | |
pub const NET_SERVICE_TYPE_BK: u32 = 1; | |
pub const NET_SERVICE_TYPE_SIG: u32 = 2; | |
pub const NET_SERVICE_TYPE_VI: u32 = 3; | |
pub const NET_SERVICE_TYPE_VO: u32 = 4; | |
pub const NET_SERVICE_TYPE_RV: u32 = 5; | |
pub const NET_SERVICE_TYPE_AV: u32 = 6; | |
pub const NET_SERVICE_TYPE_OAM: u32 = 7; | |
pub const NET_SERVICE_TYPE_RD: u32 = 8; | |
pub const NETSVC_MRKNG_UNKNOWN: u32 = 0; | |
pub const NETSVC_MRKNG_LVL_L2: u32 = 1; | |
pub const NETSVC_MRKNG_LVL_L3L2_ALL: u32 = 2; | |
pub const NETSVC_MRKNG_LVL_L3L2_BK: u32 = 3; | |
pub const SAE_ASSOCID_ANY: u32 = 0; | |
pub const SAE_CONNID_ANY: u32 = 0; | |
pub const CONNECT_RESUME_ON_READ_WRITE: u32 = 1; | |
pub const CONNECT_DATA_IDEMPOTENT: u32 = 2; | |
pub const CONNECT_DATA_AUTHENTICATED: u32 = 4; | |
pub const SONPX_SETOPTSHUT: u32 = 1; | |
pub const SOL_SOCKET: u32 = 65535; | |
pub const AF_UNSPEC: u32 = 0; | |
pub const AF_UNIX: u32 = 1; | |
pub const AF_LOCAL: u32 = 1; | |
pub const AF_INET: u32 = 2; | |
pub const AF_IMPLINK: u32 = 3; | |
pub const AF_PUP: u32 = 4; | |
pub const AF_CHAOS: u32 = 5; | |
pub const AF_NS: u32 = 6; | |
pub const AF_ISO: u32 = 7; | |
pub const AF_OSI: u32 = 7; | |
pub const AF_ECMA: u32 = 8; | |
pub const AF_DATAKIT: u32 = 9; | |
pub const AF_CCITT: u32 = 10; | |
pub const AF_SNA: u32 = 11; | |
pub const AF_DECnet: u32 = 12; | |
pub const AF_DLI: u32 = 13; | |
pub const AF_LAT: u32 = 14; | |
pub const AF_HYLINK: u32 = 15; | |
pub const AF_APPLETALK: u32 = 16; | |
pub const AF_ROUTE: u32 = 17; | |
pub const AF_LINK: u32 = 18; | |
pub const pseudo_AF_XTP: u32 = 19; | |
pub const AF_COIP: u32 = 20; | |
pub const AF_CNT: u32 = 21; | |
pub const pseudo_AF_RTIP: u32 = 22; | |
pub const AF_IPX: u32 = 23; | |
pub const AF_SIP: u32 = 24; | |
pub const pseudo_AF_PIP: u32 = 25; | |
pub const AF_NDRV: u32 = 27; | |
pub const AF_ISDN: u32 = 28; | |
pub const AF_E164: u32 = 28; | |
pub const pseudo_AF_KEY: u32 = 29; | |
pub const AF_INET6: u32 = 30; | |
pub const AF_NATM: u32 = 31; | |
pub const AF_SYSTEM: u32 = 32; | |
pub const AF_NETBIOS: u32 = 33; | |
pub const AF_PPP: u32 = 34; | |
pub const pseudo_AF_HDRCMPLT: u32 = 35; | |
pub const AF_RESERVED_36: u32 = 36; | |
pub const AF_IEEE80211: u32 = 37; | |
pub const AF_UTUN: u32 = 38; | |
pub const AF_VSOCK: u32 = 40; | |
pub const AF_MAX: u32 = 41; | |
pub const SOCK_MAXADDRLEN: u32 = 255; | |
pub const _SS_MAXSIZE: u32 = 128; | |
pub const PF_UNSPEC: u32 = 0; | |
pub const PF_LOCAL: u32 = 1; | |
pub const PF_UNIX: u32 = 1; | |
pub const PF_INET: u32 = 2; | |
pub const PF_IMPLINK: u32 = 3; | |
pub const PF_PUP: u32 = 4; | |
pub const PF_CHAOS: u32 = 5; | |
pub const PF_NS: u32 = 6; | |
pub const PF_ISO: u32 = 7; | |
pub const PF_OSI: u32 = 7; | |
pub const PF_ECMA: u32 = 8; | |
pub const PF_DATAKIT: u32 = 9; | |
pub const PF_CCITT: u32 = 10; | |
pub const PF_SNA: u32 = 11; | |
pub const PF_DECnet: u32 = 12; | |
pub const PF_DLI: u32 = 13; | |
pub const PF_LAT: u32 = 14; | |
pub const PF_HYLINK: u32 = 15; | |
pub const PF_APPLETALK: u32 = 16; | |
pub const PF_ROUTE: u32 = 17; | |
pub const PF_LINK: u32 = 18; | |
pub const PF_XTP: u32 = 19; | |
pub const PF_COIP: u32 = 20; | |
pub const PF_CNT: u32 = 21; | |
pub const PF_SIP: u32 = 24; | |
pub const PF_IPX: u32 = 23; | |
pub const PF_RTIP: u32 = 22; | |
pub const PF_PIP: u32 = 25; | |
pub const PF_NDRV: u32 = 27; | |
pub const PF_ISDN: u32 = 28; | |
pub const PF_KEY: u32 = 29; | |
pub const PF_INET6: u32 = 30; | |
pub const PF_NATM: u32 = 31; | |
pub const PF_SYSTEM: u32 = 32; | |
pub const PF_NETBIOS: u32 = 33; | |
pub const PF_PPP: u32 = 34; | |
pub const PF_RESERVED_36: u32 = 36; | |
pub const PF_UTUN: u32 = 38; | |
pub const PF_VSOCK: u32 = 40; | |
pub const PF_MAX: u32 = 41; | |
pub const NET_MAXID: u32 = 41; | |
pub const NET_RT_DUMP: u32 = 1; | |
pub const NET_RT_FLAGS: u32 = 2; | |
pub const NET_RT_IFLIST: u32 = 3; | |
pub const NET_RT_STAT: u32 = 4; | |
pub const NET_RT_TRASH: u32 = 5; | |
pub const NET_RT_IFLIST2: u32 = 6; | |
pub const NET_RT_DUMP2: u32 = 7; | |
pub const NET_RT_FLAGS_PRIV: u32 = 10; | |
pub const NET_RT_MAXID: u32 = 11; | |
pub const SOMAXCONN: u32 = 128; | |
pub const MSG_OOB: u32 = 1; | |
pub const MSG_PEEK: u32 = 2; | |
pub const MSG_DONTROUTE: u32 = 4; | |
pub const MSG_EOR: u32 = 8; | |
pub const MSG_TRUNC: u32 = 16; | |
pub const MSG_CTRUNC: u32 = 32; | |
pub const MSG_WAITALL: u32 = 64; | |
pub const MSG_DONTWAIT: u32 = 128; | |
pub const MSG_EOF: u32 = 256; | |
pub const MSG_WAITSTREAM: u32 = 512; | |
pub const MSG_FLUSH: u32 = 1024; | |
pub const MSG_HOLD: u32 = 2048; | |
pub const MSG_SEND: u32 = 4096; | |
pub const MSG_HAVEMORE: u32 = 8192; | |
pub const MSG_RCVMORE: u32 = 16384; | |
pub const MSG_NEEDSA: u32 = 65536; | |
pub const MSG_NOSIGNAL: u32 = 524288; | |
pub const SCM_RIGHTS: u32 = 1; | |
pub const SCM_TIMESTAMP: u32 = 2; | |
pub const SCM_CREDS: u32 = 3; | |
pub const SCM_TIMESTAMP_MONOTONIC: u32 = 4; | |
pub const SHUT_RD: u32 = 0; | |
pub const SHUT_WR: u32 = 1; | |
pub const SHUT_RDWR: u32 = 2; | |
pub const IPPROTO_IP: u32 = 0; | |
pub const IPPROTO_HOPOPTS: u32 = 0; | |
pub const IPPROTO_ICMP: u32 = 1; | |
pub const IPPROTO_IGMP: u32 = 2; | |
pub const IPPROTO_GGP: u32 = 3; | |
pub const IPPROTO_IPV4: u32 = 4; | |
pub const IPPROTO_IPIP: u32 = 4; | |
pub const IPPROTO_TCP: u32 = 6; | |
pub const IPPROTO_ST: u32 = 7; | |
pub const IPPROTO_EGP: u32 = 8; | |
pub const IPPROTO_PIGP: u32 = 9; | |
pub const IPPROTO_RCCMON: u32 = 10; | |
pub const IPPROTO_NVPII: u32 = 11; | |
pub const IPPROTO_PUP: u32 = 12; | |
pub const IPPROTO_ARGUS: u32 = 13; | |
pub const IPPROTO_EMCON: u32 = 14; | |
pub const IPPROTO_XNET: u32 = 15; | |
pub const IPPROTO_CHAOS: u32 = 16; | |
pub const IPPROTO_UDP: u32 = 17; | |
pub const IPPROTO_MUX: u32 = 18; | |
pub const IPPROTO_MEAS: u32 = 19; | |
pub const IPPROTO_HMP: u32 = 20; | |
pub const IPPROTO_PRM: u32 = 21; | |
pub const IPPROTO_IDP: u32 = 22; | |
pub const IPPROTO_TRUNK1: u32 = 23; | |
pub const IPPROTO_TRUNK2: u32 = 24; | |
pub const IPPROTO_LEAF1: u32 = 25; | |
pub const IPPROTO_LEAF2: u32 = 26; | |
pub const IPPROTO_RDP: u32 = 27; | |
pub const IPPROTO_IRTP: u32 = 28; | |
pub const IPPROTO_TP: u32 = 29; | |
pub const IPPROTO_BLT: u32 = 30; | |
pub const IPPROTO_NSP: u32 = 31; | |
pub const IPPROTO_INP: u32 = 32; | |
pub const IPPROTO_SEP: u32 = 33; | |
pub const IPPROTO_3PC: u32 = 34; | |
pub const IPPROTO_IDPR: u32 = 35; | |
pub const IPPROTO_XTP: u32 = 36; | |
pub const IPPROTO_DDP: u32 = 37; | |
pub const IPPROTO_CMTP: u32 = 38; | |
pub const IPPROTO_TPXX: u32 = 39; | |
pub const IPPROTO_IL: u32 = 40; | |
pub const IPPROTO_IPV6: u32 = 41; | |
pub const IPPROTO_SDRP: u32 = 42; | |
pub const IPPROTO_ROUTING: u32 = 43; | |
pub const IPPROTO_FRAGMENT: u32 = 44; | |
pub const IPPROTO_IDRP: u32 = 45; | |
pub const IPPROTO_RSVP: u32 = 46; | |
pub const IPPROTO_GRE: u32 = 47; | |
pub const IPPROTO_MHRP: u32 = 48; | |
pub const IPPROTO_BHA: u32 = 49; | |
pub const IPPROTO_ESP: u32 = 50; | |
pub const IPPROTO_AH: u32 = 51; | |
pub const IPPROTO_INLSP: u32 = 52; | |
pub const IPPROTO_SWIPE: u32 = 53; | |
pub const IPPROTO_NHRP: u32 = 54; | |
pub const IPPROTO_ICMPV6: u32 = 58; | |
pub const IPPROTO_NONE: u32 = 59; | |
pub const IPPROTO_DSTOPTS: u32 = 60; | |
pub const IPPROTO_AHIP: u32 = 61; | |
pub const IPPROTO_CFTP: u32 = 62; | |
pub const IPPROTO_HELLO: u32 = 63; | |
pub const IPPROTO_SATEXPAK: u32 = 64; | |
pub const IPPROTO_KRYPTOLAN: u32 = 65; | |
pub const IPPROTO_RVD: u32 = 66; | |
pub const IPPROTO_IPPC: u32 = 67; | |
pub const IPPROTO_ADFS: u32 = 68; | |
pub const IPPROTO_SATMON: u32 = 69; | |
pub const IPPROTO_VISA: u32 = 70; | |
pub const IPPROTO_IPCV: u32 = 71; | |
pub const IPPROTO_CPNX: u32 = 72; | |
pub const IPPROTO_CPHB: u32 = 73; | |
pub const IPPROTO_WSN: u32 = 74; | |
pub const IPPROTO_PVP: u32 = 75; | |
pub const IPPROTO_BRSATMON: u32 = 76; | |
pub const IPPROTO_ND: u32 = 77; | |
pub const IPPROTO_WBMON: u32 = 78; | |
pub const IPPROTO_WBEXPAK: u32 = 79; | |
pub const IPPROTO_EON: u32 = 80; | |
pub const IPPROTO_VMTP: u32 = 81; | |
pub const IPPROTO_SVMTP: u32 = 82; | |
pub const IPPROTO_VINES: u32 = 83; | |
pub const IPPROTO_TTP: u32 = 84; | |
pub const IPPROTO_IGP: u32 = 85; | |
pub const IPPROTO_DGP: u32 = 86; | |
pub const IPPROTO_TCF: u32 = 87; | |
pub const IPPROTO_IGRP: u32 = 88; | |
pub const IPPROTO_OSPFIGP: u32 = 89; | |
pub const IPPROTO_SRPC: u32 = 90; | |
pub const IPPROTO_LARP: u32 = 91; | |
pub const IPPROTO_MTP: u32 = 92; | |
pub const IPPROTO_AX25: u32 = 93; | |
pub const IPPROTO_IPEIP: u32 = 94; | |
pub const IPPROTO_MICP: u32 = 95; | |
pub const IPPROTO_SCCSP: u32 = 96; | |
pub const IPPROTO_ETHERIP: u32 = 97; | |
pub const IPPROTO_ENCAP: u32 = 98; | |
pub const IPPROTO_APES: u32 = 99; | |
pub const IPPROTO_GMTP: u32 = 100; | |
pub const IPPROTO_PIM: u32 = 103; | |
pub const IPPROTO_IPCOMP: u32 = 108; | |
pub const IPPROTO_PGM: u32 = 113; | |
pub const IPPROTO_SCTP: u32 = 132; | |
pub const IPPROTO_DIVERT: u32 = 254; | |
pub const IPPROTO_RAW: u32 = 255; | |
pub const IPPROTO_MAX: u32 = 256; | |
pub const IPPROTO_DONE: u32 = 257; | |
pub const __DARWIN_IPPORT_RESERVED: u32 = 1024; | |
pub const IPPORT_RESERVED: u32 = 1024; | |
pub const IPPORT_USERRESERVED: u32 = 5000; | |
pub const IPPORT_HIFIRSTAUTO: u32 = 49152; | |
pub const IPPORT_HILASTAUTO: u32 = 65535; | |
pub const IPPORT_RESERVEDSTART: u32 = 600; | |
pub const IN_CLASSA_NET: u32 = 4278190080; | |
pub const IN_CLASSA_NSHIFT: u32 = 24; | |
pub const IN_CLASSA_HOST: u32 = 16777215; | |
pub const IN_CLASSA_MAX: u32 = 128; | |
pub const IN_CLASSB_NET: u32 = 4294901760; | |
pub const IN_CLASSB_NSHIFT: u32 = 16; | |
pub const IN_CLASSB_HOST: u32 = 65535; | |
pub const IN_CLASSB_MAX: u32 = 65536; | |
pub const IN_CLASSC_NET: u32 = 4294967040; | |
pub const IN_CLASSC_NSHIFT: u32 = 8; | |
pub const IN_CLASSC_HOST: u32 = 255; | |
pub const IN_CLASSD_NET: u32 = 4026531840; | |
pub const IN_CLASSD_NSHIFT: u32 = 28; | |
pub const IN_CLASSD_HOST: u32 = 268435455; | |
pub const INADDR_NONE: u32 = 4294967295; | |
pub const IN_LOOPBACKNET: u32 = 127; | |
pub const INET_ADDRSTRLEN: u32 = 16; | |
pub const IP_OPTIONS: u32 = 1; | |
pub const IP_HDRINCL: u32 = 2; | |
pub const IP_TOS: u32 = 3; | |
pub const IP_TTL: u32 = 4; | |
pub const IP_RECVOPTS: u32 = 5; | |
pub const IP_RECVRETOPTS: u32 = 6; | |
pub const IP_RECVDSTADDR: u32 = 7; | |
pub const IP_RETOPTS: u32 = 8; | |
pub const IP_MULTICAST_IF: u32 = 9; | |
pub const IP_MULTICAST_TTL: u32 = 10; | |
pub const IP_MULTICAST_LOOP: u32 = 11; | |
pub const IP_ADD_MEMBERSHIP: u32 = 12; | |
pub const IP_DROP_MEMBERSHIP: u32 = 13; | |
pub const IP_MULTICAST_VIF: u32 = 14; | |
pub const IP_RSVP_ON: u32 = 15; | |
pub const IP_RSVP_OFF: u32 = 16; | |
pub const IP_RSVP_VIF_ON: u32 = 17; | |
pub const IP_RSVP_VIF_OFF: u32 = 18; | |
pub const IP_PORTRANGE: u32 = 19; | |
pub const IP_RECVIF: u32 = 20; | |
pub const IP_IPSEC_POLICY: u32 = 21; | |
pub const IP_FAITH: u32 = 22; | |
pub const IP_STRIPHDR: u32 = 23; | |
pub const IP_RECVTTL: u32 = 24; | |
pub const IP_BOUND_IF: u32 = 25; | |
pub const IP_PKTINFO: u32 = 26; | |
pub const IP_RECVPKTINFO: u32 = 26; | |
pub const IP_RECVTOS: u32 = 27; | |
pub const IP_DONTFRAG: u32 = 28; | |
pub const IP_FW_ADD: u32 = 40; | |
pub const IP_FW_DEL: u32 = 41; | |
pub const IP_FW_FLUSH: u32 = 42; | |
pub const IP_FW_ZERO: u32 = 43; | |
pub const IP_FW_GET: u32 = 44; | |
pub const IP_FW_RESETLOG: u32 = 45; | |
pub const IP_OLD_FW_ADD: u32 = 50; | |
pub const IP_OLD_FW_DEL: u32 = 51; | |
pub const IP_OLD_FW_FLUSH: u32 = 52; | |
pub const IP_OLD_FW_ZERO: u32 = 53; | |
pub const IP_OLD_FW_GET: u32 = 54; | |
pub const IP_NAT__XXX: u32 = 55; | |
pub const IP_OLD_FW_RESETLOG: u32 = 56; | |
pub const IP_DUMMYNET_CONFIGURE: u32 = 60; | |
pub const IP_DUMMYNET_DEL: u32 = 61; | |
pub const IP_DUMMYNET_FLUSH: u32 = 62; | |
pub const IP_DUMMYNET_GET: u32 = 64; | |
pub const IP_TRAFFIC_MGT_BACKGROUND: u32 = 65; | |
pub const IP_MULTICAST_IFINDEX: u32 = 66; | |
pub const IP_ADD_SOURCE_MEMBERSHIP: u32 = 70; | |
pub const IP_DROP_SOURCE_MEMBERSHIP: u32 = 71; | |
pub const IP_BLOCK_SOURCE: u32 = 72; | |
pub const IP_UNBLOCK_SOURCE: u32 = 73; | |
pub const IP_MSFILTER: u32 = 74; | |
pub const MCAST_JOIN_GROUP: u32 = 80; | |
pub const MCAST_LEAVE_GROUP: u32 = 81; | |
pub const MCAST_JOIN_SOURCE_GROUP: u32 = 82; | |
pub const MCAST_LEAVE_SOURCE_GROUP: u32 = 83; | |
pub const MCAST_BLOCK_SOURCE: u32 = 84; | |
pub const MCAST_UNBLOCK_SOURCE: u32 = 85; | |
pub const IP_DEFAULT_MULTICAST_TTL: u32 = 1; | |
pub const IP_DEFAULT_MULTICAST_LOOP: u32 = 1; | |
pub const IP_MIN_MEMBERSHIPS: u32 = 31; | |
pub const IP_MAX_MEMBERSHIPS: u32 = 4095; | |
pub const IP_MAX_GROUP_SRC_FILTER: u32 = 512; | |
pub const IP_MAX_SOCK_SRC_FILTER: u32 = 128; | |
pub const IP_MAX_SOCK_MUTE_FILTER: u32 = 128; | |
pub const MCAST_UNDEFINED: u32 = 0; | |
pub const MCAST_INCLUDE: u32 = 1; | |
pub const MCAST_EXCLUDE: u32 = 2; | |
pub const IP_PORTRANGE_DEFAULT: u32 = 0; | |
pub const IP_PORTRANGE_HIGH: u32 = 1; | |
pub const IP_PORTRANGE_LOW: u32 = 2; | |
pub const IPPROTO_MAXID: u32 = 52; | |
pub const IPCTL_FORWARDING: u32 = 1; | |
pub const IPCTL_SENDREDIRECTS: u32 = 2; | |
pub const IPCTL_DEFTTL: u32 = 3; | |
pub const IPCTL_RTEXPIRE: u32 = 5; | |
pub const IPCTL_RTMINEXPIRE: u32 = 6; | |
pub const IPCTL_RTMAXCACHE: u32 = 7; | |
pub const IPCTL_SOURCEROUTE: u32 = 8; | |
pub const IPCTL_DIRECTEDBROADCAST: u32 = 9; | |
pub const IPCTL_INTRQMAXLEN: u32 = 10; | |
pub const IPCTL_INTRQDROPS: u32 = 11; | |
pub const IPCTL_STATS: u32 = 12; | |
pub const IPCTL_ACCEPTSOURCEROUTE: u32 = 13; | |
pub const IPCTL_FASTFORWARDING: u32 = 14; | |
pub const IPCTL_KEEPFAITH: u32 = 15; | |
pub const IPCTL_GIF_TTL: u32 = 16; | |
pub const IPCTL_MAXID: u32 = 17; | |
pub const __KAME_VERSION: &[u8; 18usize] = b"2009/apple-darwin\0"; | |
pub const IPV6PORT_RESERVED: u32 = 1024; | |
pub const IPV6PORT_ANONMIN: u32 = 49152; | |
pub const IPV6PORT_ANONMAX: u32 = 65535; | |
pub const IPV6PORT_RESERVEDMIN: u32 = 600; | |
pub const IPV6PORT_RESERVEDMAX: u32 = 1023; | |
pub const INET6_ADDRSTRLEN: u32 = 46; | |
pub const __IPV6_ADDR_SCOPE_NODELOCAL: u32 = 1; | |
pub const __IPV6_ADDR_SCOPE_INTFACELOCAL: u32 = 1; | |
pub const __IPV6_ADDR_SCOPE_LINKLOCAL: u32 = 2; | |
pub const __IPV6_ADDR_SCOPE_SITELOCAL: u32 = 5; | |
pub const __IPV6_ADDR_SCOPE_ORGLOCAL: u32 = 8; | |
pub const __IPV6_ADDR_SCOPE_GLOBAL: u32 = 14; | |
pub const IPV6_ADDR_MC_FLAGS_TRANSIENT: u32 = 16; | |
pub const IPV6_ADDR_MC_FLAGS_PREFIX: u32 = 32; | |
pub const IPV6_ADDR_MC_FLAGS_UNICAST_BASED: u32 = 48; | |
pub const IPV6_SOCKOPT_RESERVED1: u32 = 3; | |
pub const IPV6_UNICAST_HOPS: u32 = 4; | |
pub const IPV6_MULTICAST_IF: u32 = 9; | |
pub const IPV6_MULTICAST_HOPS: u32 = 10; | |
pub const IPV6_MULTICAST_LOOP: u32 = 11; | |
pub const IPV6_JOIN_GROUP: u32 = 12; | |
pub const IPV6_LEAVE_GROUP: u32 = 13; | |
pub const IPV6_PORTRANGE: u32 = 14; | |
pub const ICMP6_FILTER: u32 = 18; | |
pub const IPV6_2292PKTINFO: u32 = 19; | |
pub const IPV6_2292HOPLIMIT: u32 = 20; | |
pub const IPV6_2292NEXTHOP: u32 = 21; | |
pub const IPV6_2292HOPOPTS: u32 = 22; | |
pub const IPV6_2292DSTOPTS: u32 = 23; | |
pub const IPV6_2292RTHDR: u32 = 24; | |
pub const IPV6_2292PKTOPTIONS: u32 = 25; | |
pub const IPV6_CHECKSUM: u32 = 26; | |
pub const IPV6_V6ONLY: u32 = 27; | |
pub const IPV6_BINDV6ONLY: u32 = 27; | |
pub const IPV6_IPSEC_POLICY: u32 = 28; | |
pub const IPV6_FAITH: u32 = 29; | |
pub const IPV6_FW_ADD: u32 = 30; | |
pub const IPV6_FW_DEL: u32 = 31; | |
pub const IPV6_FW_FLUSH: u32 = 32; | |
pub const IPV6_FW_ZERO: u32 = 33; | |
pub const IPV6_FW_GET: u32 = 34; | |
pub const IPV6_RECVTCLASS: u32 = 35; | |
pub const IPV6_TCLASS: u32 = 36; | |
pub const IPV6_BOUND_IF: u32 = 125; | |
pub const IPV6_RTHDR_LOOSE: u32 = 0; | |
pub const IPV6_RTHDR_STRICT: u32 = 1; | |
pub const IPV6_RTHDR_TYPE_0: u32 = 0; | |
pub const IPV6_DEFAULT_MULTICAST_HOPS: u32 = 1; | |
pub const IPV6_DEFAULT_MULTICAST_LOOP: u32 = 1; | |
pub const IPV6_MIN_MEMBERSHIPS: u32 = 31; | |
pub const IPV6_MAX_MEMBERSHIPS: u32 = 4095; | |
pub const IPV6_MAX_GROUP_SRC_FILTER: u32 = 512; | |
pub const IPV6_MAX_SOCK_SRC_FILTER: u32 = 128; | |
pub const IPV6_PORTRANGE_DEFAULT: u32 = 0; | |
pub const IPV6_PORTRANGE_HIGH: u32 = 1; | |
pub const IPV6_PORTRANGE_LOW: u32 = 2; | |
pub const IPV6PROTO_MAXID: u32 = 104; | |
pub const IPV6CTL_FORWARDING: u32 = 1; | |
pub const IPV6CTL_SENDREDIRECTS: u32 = 2; | |
pub const IPV6CTL_DEFHLIM: u32 = 3; | |
pub const IPV6CTL_FORWSRCRT: u32 = 5; | |
pub const IPV6CTL_STATS: u32 = 6; | |
pub const IPV6CTL_MRTSTATS: u32 = 7; | |
pub const IPV6CTL_MRTPROTO: u32 = 8; | |
pub const IPV6CTL_MAXFRAGPACKETS: u32 = 9; | |
pub const IPV6CTL_SOURCECHECK: u32 = 10; | |
pub const IPV6CTL_SOURCECHECK_LOGINT: u32 = 11; | |
pub const IPV6CTL_ACCEPT_RTADV: u32 = 12; | |
pub const IPV6CTL_KEEPFAITH: u32 = 13; | |
pub const IPV6CTL_LOG_INTERVAL: u32 = 14; | |
pub const IPV6CTL_HDRNESTLIMIT: u32 = 15; | |
pub const IPV6CTL_DAD_COUNT: u32 = 16; | |
pub const IPV6CTL_AUTO_FLOWLABEL: u32 = 17; | |
pub const IPV6CTL_DEFMCASTHLIM: u32 = 18; | |
pub const IPV6CTL_GIF_HLIM: u32 = 19; | |
pub const IPV6CTL_KAME_VERSION: u32 = 20; | |
pub const IPV6CTL_USE_DEPRECATED: u32 = 21; | |
pub const IPV6CTL_RR_PRUNE: u32 = 22; | |
pub const IPV6CTL_V6ONLY: u32 = 24; | |
pub const IPV6CTL_RTEXPIRE: u32 = 25; | |
pub const IPV6CTL_RTMINEXPIRE: u32 = 26; | |
pub const IPV6CTL_RTMAXCACHE: u32 = 27; | |
pub const IPV6CTL_USETEMPADDR: u32 = 32; | |
pub const IPV6CTL_TEMPPLTIME: u32 = 33; | |
pub const IPV6CTL_TEMPVLTIME: u32 = 34; | |
pub const IPV6CTL_AUTO_LINKLOCAL: u32 = 35; | |
pub const IPV6CTL_RIP6STATS: u32 = 36; | |
pub const IPV6CTL_PREFER_TEMPADDR: u32 = 37; | |
pub const IPV6CTL_ADDRCTLPOLICY: u32 = 38; | |
pub const IPV6CTL_USE_DEFAULTZONE: u32 = 39; | |
pub const IPV6CTL_MAXFRAGS: u32 = 41; | |
pub const IPV6CTL_MCAST_PMTU: u32 = 44; | |
pub const IPV6CTL_NEIGHBORGCTHRESH: u32 = 46; | |
pub const IPV6CTL_MAXIFPREFIXES: u32 = 47; | |
pub const IPV6CTL_MAXIFDEFROUTERS: u32 = 48; | |
pub const IPV6CTL_MAXDYNROUTES: u32 = 49; | |
pub const ICMPV6CTL_ND6_ONLINKNSRFC4861: u32 = 50; | |
pub const IPV6CTL_ULA_USETEMPADDR: u32 = 51; | |
pub const IPV6CTL_MAXID: u32 = 51; | |
pub const C_ISSOCK: u32 = 49152; | |
pub const C_ISLNK: u32 = 40960; | |
pub const C_ISCTG: u32 = 36864; | |
pub const C_ISREG: u32 = 32768; | |
pub const C_ISBLK: u32 = 24576; | |
pub const C_ISDIR: u32 = 16384; | |
pub const C_ISCHR: u32 = 8192; | |
pub const C_ISFIFO: u32 = 4096; | |
pub const C_ISUID: u32 = 2048; | |
pub const C_ISGID: u32 = 1024; | |
pub const C_ISVTX: u32 = 512; | |
pub const C_IRUSR: u32 = 256; | |
pub const C_IWUSR: u32 = 128; | |
pub const C_IXUSR: u32 = 64; | |
pub const C_IRGRP: u32 = 32; | |
pub const C_IWGRP: u32 = 16; | |
pub const C_IXGRP: u32 = 8; | |
pub const C_IROTH: u32 = 4; | |
pub const C_IWOTH: u32 = 2; | |
pub const C_IXOTH: u32 = 1; | |
pub const MAGIC: &[u8; 7usize] = b"070707\0"; | |
pub const __DARWIN_MAXNAMLEN: u32 = 255; | |
pub const __DARWIN_MAXPATHLEN: u32 = 1024; | |
pub const MAXNAMLEN: u32 = 255; | |
pub const DT_UNKNOWN: u32 = 0; | |
pub const DT_FIFO: u32 = 1; | |
pub const DT_CHR: u32 = 2; | |
pub const DT_DIR: u32 = 4; | |
pub const DT_BLK: u32 = 6; | |
pub const DT_REG: u32 = 8; | |
pub const DT_LNK: u32 = 10; | |
pub const DT_SOCK: u32 = 12; | |
pub const DT_WHT: u32 = 14; | |
pub const DIRBLKSIZ: u32 = 1024; | |
pub const DTF_HIDEW: u32 = 1; | |
pub const DTF_NODUP: u32 = 2; | |
pub const DTF_REWIND: u32 = 4; | |
pub const __DTF_READALL: u32 = 8; | |
pub const __DTF_SKIPREAD: u32 = 16; | |
pub const __DTF_ATEND: u32 = 32; | |
pub const RTLD_LAZY: u32 = 1; | |
pub const RTLD_NOW: u32 = 2; | |
pub const RTLD_LOCAL: u32 = 4; | |
pub const RTLD_GLOBAL: u32 = 8; | |
pub const RTLD_NOLOAD: u32 = 16; | |
pub const RTLD_NODELETE: u32 = 128; | |
pub const RTLD_FIRST: u32 = 256; | |
pub const O_RDONLY: u32 = 0; | |
pub const O_WRONLY: u32 = 1; | |
pub const O_RDWR: u32 = 2; | |
pub const O_ACCMODE: u32 = 3; | |
pub const FREAD: u32 = 1; | |
pub const FWRITE: u32 = 2; | |
pub const O_NONBLOCK: u32 = 4; | |
pub const O_APPEND: u32 = 8; | |
pub const O_SHLOCK: u32 = 16; | |
pub const O_EXLOCK: u32 = 32; | |
pub const O_ASYNC: u32 = 64; | |
pub const O_FSYNC: u32 = 128; | |
pub const O_NOFOLLOW: u32 = 256; | |
pub const O_CREAT: u32 = 512; | |
pub const O_TRUNC: u32 = 1024; | |
pub const O_EXCL: u32 = 2048; | |
pub const O_EVTONLY: u32 = 32768; | |
pub const O_NOCTTY: u32 = 131072; | |
pub const O_DIRECTORY: u32 = 1048576; | |
pub const O_SYMLINK: u32 = 2097152; | |
pub const O_CLOEXEC: u32 = 16777216; | |
pub const O_NOFOLLOW_ANY: u32 = 536870912; | |
pub const O_EXEC: u32 = 1073741824; | |
pub const O_SEARCH: u32 = 1074790400; | |
pub const AT_FDCWD: i32 = -2; | |
pub const AT_EACCESS: u32 = 16; | |
pub const AT_SYMLINK_NOFOLLOW: u32 = 32; | |
pub const AT_SYMLINK_FOLLOW: u32 = 64; | |
pub const AT_REMOVEDIR: u32 = 128; | |
pub const AT_REALDEV: u32 = 512; | |
pub const AT_FDONLY: u32 = 1024; | |
pub const AT_SYMLINK_NOFOLLOW_ANY: u32 = 2048; | |
pub const O_DP_GETRAWENCRYPTED: u32 = 1; | |
pub const O_DP_GETRAWUNENCRYPTED: u32 = 2; | |
pub const O_DP_AUTHENTICATE: u32 = 4; | |
pub const AUTH_OPEN_NOAUTHFD: i32 = -1; | |
pub const FAPPEND: u32 = 8; | |
pub const FASYNC: u32 = 64; | |
pub const FFSYNC: u32 = 128; | |
pub const FFDSYNC: u32 = 4194304; | |
pub const FNONBLOCK: u32 = 4; | |
pub const FNDELAY: u32 = 4; | |
pub const O_NDELAY: u32 = 4; | |
pub const CPF_OVERWRITE: u32 = 1; | |
pub const CPF_IGNORE_MODE: u32 = 2; | |
pub const CPF_MASK: u32 = 3; | |
pub const F_DUPFD: u32 = 0; | |
pub const F_GETFD: u32 = 1; | |
pub const F_SETFD: u32 = 2; | |
pub const F_GETFL: u32 = 3; | |
pub const F_SETFL: u32 = 4; | |
pub const F_GETOWN: u32 = 5; | |
pub const F_SETOWN: u32 = 6; | |
pub const F_GETLK: u32 = 7; | |
pub const F_SETLK: u32 = 8; | |
pub const F_SETLKW: u32 = 9; | |
pub const F_SETLKWTIMEOUT: u32 = 10; | |
pub const F_FLUSH_DATA: u32 = 40; | |
pub const F_CHKCLEAN: u32 = 41; | |
pub const F_PREALLOCATE: u32 = 42; | |
pub const F_SETSIZE: u32 = 43; | |
pub const F_RDADVISE: u32 = 44; | |
pub const F_RDAHEAD: u32 = 45; | |
pub const F_NOCACHE: u32 = 48; | |
pub const F_LOG2PHYS: u32 = 49; | |
pub const F_GETPATH: u32 = 50; | |
pub const F_FULLFSYNC: u32 = 51; | |
pub const F_PATHPKG_CHECK: u32 = 52; | |
pub const F_FREEZE_FS: u32 = 53; | |
pub const F_THAW_FS: u32 = 54; | |
pub const F_GLOBAL_NOCACHE: u32 = 55; | |
pub const F_ADDSIGS: u32 = 59; | |
pub const F_ADDFILESIGS: u32 = 61; | |
pub const F_NODIRECT: u32 = 62; | |
pub const F_GETPROTECTIONCLASS: u32 = 63; | |
pub const F_SETPROTECTIONCLASS: u32 = 64; | |
pub const F_LOG2PHYS_EXT: u32 = 65; | |
pub const F_GETLKPID: u32 = 66; | |
pub const F_SETBACKINGSTORE: u32 = 70; | |
pub const F_GETPATH_MTMINFO: u32 = 71; | |
pub const F_GETCODEDIR: u32 = 72; | |
pub const F_SETNOSIGPIPE: u32 = 73; | |
pub const F_GETNOSIGPIPE: u32 = 74; | |
pub const F_TRANSCODEKEY: u32 = 75; | |
pub const F_SINGLE_WRITER: u32 = 76; | |
pub const F_GETPROTECTIONLEVEL: u32 = 77; | |
pub const F_FINDSIGS: u32 = 78; | |
pub const F_ADDFILESIGS_FOR_DYLD_SIM: u32 = 83; | |
pub const F_BARRIERFSYNC: u32 = 85; | |
pub const F_OFD_SETLK: u32 = 90; | |
pub const F_OFD_SETLKW: u32 = 91; | |
pub const F_OFD_GETLK: u32 = 92; | |
pub const F_OFD_SETLKWTIMEOUT: u32 = 93; | |
pub const F_ADDFILESIGS_RETURN: u32 = 97; | |
pub const F_CHECK_LV: u32 = 98; | |
pub const F_PUNCHHOLE: u32 = 99; | |
pub const F_TRIM_ACTIVE_FILE: u32 = 100; | |
pub const F_SPECULATIVE_READ: u32 = 101; | |
pub const F_GETPATH_NOFIRMLINK: u32 = 102; | |
pub const F_ADDFILESIGS_INFO: u32 = 103; | |
pub const F_ADDFILESUPPL: u32 = 104; | |
pub const F_GETSIGSINFO: u32 = 105; | |
pub const F_SETLEASE: u32 = 106; | |
pub const F_GETLEASE: u32 = 107; | |
pub const F_TRANSFEREXTENTS: u32 = 110; | |
pub const F_ATTRIBUTION_TAG: u32 = 111; | |
pub const FCNTL_FS_SPECIFIC_BASE: u32 = 65536; | |
pub const F_DUPFD_CLOEXEC: u32 = 67; | |
pub const FD_CLOEXEC: u32 = 1; | |
pub const F_RDLCK: u32 = 1; | |
pub const F_UNLCK: u32 = 2; | |
pub const F_WRLCK: u32 = 3; | |
pub const S_IFMT: u32 = 61440; | |
pub const S_IFIFO: u32 = 4096; | |
pub const S_IFCHR: u32 = 8192; | |
pub const S_IFDIR: u32 = 16384; | |
pub const S_IFBLK: u32 = 24576; | |
pub const S_IFREG: u32 = 32768; | |
pub const S_IFLNK: u32 = 40960; | |
pub const S_IFSOCK: u32 = 49152; | |
pub const S_IFWHT: u32 = 57344; | |
pub const S_IRWXU: u32 = 448; | |
pub const S_IRUSR: u32 = 256; | |
pub const S_IWUSR: u32 = 128; | |
pub const S_IXUSR: u32 = 64; | |
pub const S_IRWXG: u32 = 56; | |
pub const S_IRGRP: u32 = 32; | |
pub const S_IWGRP: u32 = 16; | |
pub const S_IXGRP: u32 = 8; | |
pub const S_IRWXO: u32 = 7; | |
pub const S_IROTH: u32 = 4; | |
pub const S_IWOTH: u32 = 2; | |
pub const S_IXOTH: u32 = 1; | |
pub const S_ISUID: u32 = 2048; | |
pub const S_ISGID: u32 = 1024; | |
pub const S_ISVTX: u32 = 512; | |
pub const S_ISTXT: u32 = 512; | |
pub const S_IREAD: u32 = 256; | |
pub const S_IWRITE: u32 = 128; | |
pub const S_IEXEC: u32 = 64; | |
pub const F_ALLOCATECONTIG: u32 = 2; | |
pub const F_ALLOCATEALL: u32 = 4; | |
pub const F_ALLOCATEPERSIST: u32 = 8; | |
pub const F_PEOFPOSMODE: u32 = 3; | |
pub const F_VOLPOSMODE: u32 = 4; | |
pub const USER_FSIGNATURES_CDHASH_LEN: u32 = 20; | |
pub const GETSIGSINFO_PLATFORM_BINARY: u32 = 1; | |
pub const LOCK_SH: u32 = 1; | |
pub const LOCK_EX: u32 = 2; | |
pub const LOCK_NB: u32 = 4; | |
pub const LOCK_UN: u32 = 8; | |
pub const ATTRIBUTION_NAME_MAX: u32 = 255; | |
pub const F_CREATE_TAG: u32 = 1; | |
pub const F_DELETE_TAG: u32 = 2; | |
pub const F_QUERY_TAG: u32 = 4; | |
pub const O_POPUP: u32 = 2147483648; | |
pub const O_ALERT: u32 = 536870912; | |
pub const MM_HARD: u32 = 1; | |
pub const MM_SOFT: u32 = 2; | |
pub const MM_FIRM: u32 = 4; | |
pub const MM_APPL: u32 = 16; | |
pub const MM_UTIL: u32 = 32; | |
pub const MM_OPSYS: u32 = 64; | |
pub const MM_PRINT: u32 = 256; | |
pub const MM_CONSOLE: u32 = 512; | |
pub const MM_RECOVER: u32 = 4096; | |
pub const MM_NRECOV: u32 = 8192; | |
pub const MM_NOSEV: u32 = 0; | |
pub const MM_HALT: u32 = 1; | |
pub const MM_ERROR: u32 = 2; | |
pub const MM_WARNING: u32 = 3; | |
pub const MM_INFO: u32 = 4; | |
pub const MM_NULLSEV: u32 = 0; | |
pub const MM_NULLMC: u32 = 0; | |
pub const MM_OK: u32 = 0; | |
pub const MM_NOMSG: u32 = 1; | |
pub const MM_NOCON: u32 = 2; | |
pub const MM_NOTOK: u32 = 3; | |
pub const FNM_NOMATCH: u32 = 1; | |
pub const FNM_NOESCAPE: u32 = 1; | |
pub const FNM_PATHNAME: u32 = 2; | |
pub const FNM_PERIOD: u32 = 4; | |
pub const FNM_NOSYS: i32 = -1; | |
pub const FNM_LEADING_DIR: u32 = 8; | |
pub const FNM_CASEFOLD: u32 = 16; | |
pub const FNM_IGNORECASE: u32 = 16; | |
pub const FNM_FILE_NAME: u32 = 2; | |
pub const ACCESSPERMS: u32 = 511; | |
pub const ALLPERMS: u32 = 4095; | |
pub const DEFFILEMODE: u32 = 438; | |
pub const S_BLKSIZE: u32 = 512; | |
pub const UF_SETTABLE: u32 = 65535; | |
pub const UF_NODUMP: u32 = 1; | |
pub const UF_IMMUTABLE: u32 = 2; | |
pub const UF_APPEND: u32 = 4; | |
pub const UF_OPAQUE: u32 = 8; | |
pub const UF_COMPRESSED: u32 = 32; | |
pub const UF_TRACKED: u32 = 64; | |
pub const UF_DATAVAULT: u32 = 128; | |
pub const UF_HIDDEN: u32 = 32768; | |
pub const SF_SUPPORTED: u32 = 10420224; | |
pub const SF_SETTABLE: u32 = 1073676288; | |
pub const SF_SYNTHETIC: u32 = 3221225472; | |
pub const SF_ARCHIVED: u32 = 65536; | |
pub const SF_IMMUTABLE: u32 = 131072; | |
pub const SF_APPEND: u32 = 262144; | |
pub const SF_RESTRICTED: u32 = 524288; | |
pub const SF_NOUNLINK: u32 = 1048576; | |
pub const SF_FIRMLINK: u32 = 8388608; | |
pub const SF_DATALESS: u32 = 1073741824; | |
pub const EF_MAY_SHARE_BLOCKS: u32 = 1; | |
pub const EF_NO_XATTRS: u32 = 2; | |
pub const EF_IS_SYNC_ROOT: u32 = 4; | |
pub const EF_IS_PURGEABLE: u32 = 8; | |
pub const EF_IS_SPARSE: u32 = 16; | |
pub const EF_IS_SYNTHETIC: u32 = 32; | |
pub const EF_SHARES_ALL_BLOCKS: u32 = 64; | |
pub const UTIME_NOW: i32 = -1; | |
pub const UTIME_OMIT: i32 = -2; | |
pub const FTW_F: u32 = 0; | |
pub const FTW_D: u32 = 1; | |
pub const FTW_DNR: u32 = 2; | |
pub const FTW_DP: u32 = 3; | |
pub const FTW_NS: u32 = 4; | |
pub const FTW_SL: u32 = 5; | |
pub const FTW_SLN: u32 = 6; | |
pub const FTW_PHYS: u32 = 1; | |
pub const FTW_MOUNT: u32 = 2; | |
pub const FTW_DEPTH: u32 = 4; | |
pub const FTW_CHDIR: u32 = 8; | |
pub const GLOB_APPEND: u32 = 1; | |
pub const GLOB_DOOFFS: u32 = 2; | |
pub const GLOB_ERR: u32 = 4; | |
pub const GLOB_MARK: u32 = 8; | |
pub const GLOB_NOCHECK: u32 = 16; | |
pub const GLOB_NOSORT: u32 = 32; | |
pub const GLOB_NOESCAPE: u32 = 8192; | |
pub const GLOB_NOSPACE: i32 = -1; | |
pub const GLOB_ABORTED: i32 = -2; | |
pub const GLOB_NOMATCH: i32 = -3; | |
pub const GLOB_NOSYS: i32 = -4; | |
pub const GLOB_ALTDIRFUNC: u32 = 64; | |
pub const GLOB_BRACE: u32 = 128; | |
pub const GLOB_MAGCHAR: u32 = 256; | |
pub const GLOB_NOMAGIC: u32 = 512; | |
pub const GLOB_QUOTE: u32 = 1024; | |
pub const GLOB_TILDE: u32 = 2048; | |
pub const GLOB_LIMIT: u32 = 4096; | |
pub const _GLOB_ERR_BLOCK: u32 = 2147483648; | |
pub const GLOB_MAXPATH: u32 = 4096; | |
pub const GLOB_ABEND: i32 = -2; | |
pub const _PATH_GROUP: &[u8; 11usize] = b"/etc/group\0"; | |
pub const _LIBICONV_VERSION: u32 = 267; | |
pub const __ICONV_F_HIDE_INVALID: u32 = 1; | |
pub const ICONV_TRIVIALP: u32 = 0; | |
pub const ICONV_GET_TRANSLITERATE: u32 = 1; | |
pub const ICONV_SET_TRANSLITERATE: u32 = 2; | |
pub const ICONV_GET_DISCARD_ILSEQ: u32 = 3; | |
pub const ICONV_SET_DISCARD_ILSEQ: u32 = 4; | |
pub const ICONV_SET_HOOKS: u32 = 5; | |
pub const ICONV_SET_FALLBACKS: u32 = 6; | |
pub const ICONV_GET_ILSEQ_INVALID: u32 = 128; | |
pub const ICONV_SET_ILSEQ_INVALID: u32 = 129; | |
pub const API_TO_BE_DEPRECATED: u32 = 100000; | |
pub const API_TO_BE_DEPRECATED_MACOS: u32 = 100000; | |
pub const API_TO_BE_DEPRECATED_IOS: u32 = 100000; | |
pub const API_TO_BE_DEPRECATED_TVOS: u32 = 100000; | |
pub const API_TO_BE_DEPRECATED_WATCHOS: u32 = 100000; | |
pub const API_TO_BE_DEPRECATED_DRIVERKIT: u32 = 100000; | |
pub const API_TO_BE_DEPRECATED_VISIONOS: u32 = 100000; | |
pub const CODESET: u32 = 0; | |
pub const D_T_FMT: u32 = 1; | |
pub const D_FMT: u32 = 2; | |
pub const T_FMT: u32 = 3; | |
pub const T_FMT_AMPM: u32 = 4; | |
pub const AM_STR: u32 = 5; | |
pub const PM_STR: u32 = 6; | |
pub const DAY_1: u32 = 7; | |
pub const DAY_2: u32 = 8; | |
pub const DAY_3: u32 = 9; | |
pub const DAY_4: u32 = 10; | |
pub const DAY_5: u32 = 11; | |
pub const DAY_6: u32 = 12; | |
pub const DAY_7: u32 = 13; | |
pub const ABDAY_1: u32 = 14; | |
pub const ABDAY_2: u32 = 15; | |
pub const ABDAY_3: u32 = 16; | |
pub const ABDAY_4: u32 = 17; | |
pub const ABDAY_5: u32 = 18; | |
pub const ABDAY_6: u32 = 19; | |
pub const ABDAY_7: u32 = 20; | |
pub const MON_1: u32 = 21; | |
pub const MON_2: u32 = 22; | |
pub const MON_3: u32 = 23; | |
pub const MON_4: u32 = 24; | |
pub const MON_5: u32 = 25; | |
pub const MON_6: u32 = 26; | |
pub const MON_7: u32 = 27; | |
pub const MON_8: u32 = 28; | |
pub const MON_9: u32 = 29; | |
pub const MON_10: u32 = 30; | |
pub const MON_11: u32 = 31; | |
pub const MON_12: u32 = 32; | |
pub const ABMON_1: u32 = 33; | |
pub const ABMON_2: u32 = 34; | |
pub const ABMON_3: u32 = 35; | |
pub const ABMON_4: u32 = 36; | |
pub const ABMON_5: u32 = 37; | |
pub const ABMON_6: u32 = 38; | |
pub const ABMON_7: u32 = 39; | |
pub const ABMON_8: u32 = 40; | |
pub const ABMON_9: u32 = 41; | |
pub const ABMON_10: u32 = 42; | |
pub const ABMON_11: u32 = 43; | |
pub const ABMON_12: u32 = 44; | |
pub const ERA: u32 = 45; | |
pub const ERA_D_FMT: u32 = 46; | |
pub const ERA_D_T_FMT: u32 = 47; | |
pub const ERA_T_FMT: u32 = 48; | |
pub const ALT_DIGITS: u32 = 49; | |
pub const RADIXCHAR: u32 = 50; | |
pub const THOUSEP: u32 = 51; | |
pub const YESEXPR: u32 = 52; | |
pub const NOEXPR: u32 = 53; | |
pub const YESSTR: u32 = 54; | |
pub const NOSTR: u32 = 55; | |
pub const CRNCYSTR: u32 = 56; | |
pub const D_MD_ORDER: u32 = 57; | |
pub const DBM_RDONLY: u32 = 0; | |
pub const DBM_INSERT: u32 = 0; | |
pub const DBM_REPLACE: u32 = 1; | |
pub const DBM_SUFFIX: &[u8; 4usize] = b".db\0"; | |
pub const _PATH_HEQUIV: &[u8; 17usize] = b"/etc/hosts.equiv\0"; | |
pub const _PATH_HOSTS: &[u8; 11usize] = b"/etc/hosts\0"; | |
pub const _PATH_NETWORKS: &[u8; 14usize] = b"/etc/networks\0"; | |
pub const _PATH_PROTOCOLS: &[u8; 15usize] = b"/etc/protocols\0"; | |
pub const _PATH_SERVICES: &[u8; 14usize] = b"/etc/services\0"; | |
pub const NETDB_INTERNAL: i32 = -1; | |
pub const NETDB_SUCCESS: u32 = 0; | |
pub const HOST_NOT_FOUND: u32 = 1; | |
pub const TRY_AGAIN: u32 = 2; | |
pub const NO_RECOVERY: u32 = 3; | |
pub const NO_DATA: u32 = 4; | |
pub const NO_ADDRESS: u32 = 4; | |
pub const EAI_ADDRFAMILY: u32 = 1; | |
pub const EAI_AGAIN: u32 = 2; | |
pub const EAI_BADFLAGS: u32 = 3; | |
pub const EAI_FAIL: u32 = 4; | |
pub const EAI_FAMILY: u32 = 5; | |
pub const EAI_MEMORY: u32 = 6; | |
pub const EAI_NODATA: u32 = 7; | |
pub const EAI_NONAME: u32 = 8; | |
pub const EAI_SERVICE: u32 = 9; | |
pub const EAI_SOCKTYPE: u32 = 10; | |
pub const EAI_SYSTEM: u32 = 11; | |
pub const EAI_BADHINTS: u32 = 12; | |
pub const EAI_PROTOCOL: u32 = 13; | |
pub const EAI_OVERFLOW: u32 = 14; | |
pub const EAI_MAX: u32 = 15; | |
pub const AI_PASSIVE: u32 = 1; | |
pub const AI_CANONNAME: u32 = 2; | |
pub const AI_NUMERICHOST: u32 = 4; | |
pub const AI_NUMERICSERV: u32 = 4096; | |
pub const AI_ALL: u32 = 256; | |
pub const AI_V4MAPPED_CFG: u32 = 512; | |
pub const AI_ADDRCONFIG: u32 = 1024; | |
pub const AI_V4MAPPED: u32 = 2048; | |
pub const AI_DEFAULT: u32 = 1536; | |
pub const AI_UNUSABLE: u32 = 268435456; | |
pub const NI_MAXHOST: u32 = 1025; | |
pub const NI_MAXSERV: u32 = 32; | |
pub const NI_NOFQDN: u32 = 1; | |
pub const NI_NUMERICHOST: u32 = 2; | |
pub const NI_NAMEREQD: u32 = 4; | |
pub const NI_NUMERICSERV: u32 = 8; | |
pub const NI_NUMERICSCOPE: u32 = 256; | |
pub const NI_DGRAM: u32 = 16; | |
pub const NI_WITHSCOPEID: u32 = 32; | |
pub const SCOPE_DELIMITER: u8 = 37u8; | |
pub const DLIL_SDLDATACOUNT: u32 = 12; | |
pub const IF_NAMESIZE: u32 = 16; | |
pub const ITIMER_REAL: u32 = 0; | |
pub const ITIMER_VIRTUAL: u32 = 1; | |
pub const ITIMER_PROF: u32 = 2; | |
pub const DST_NONE: u32 = 0; | |
pub const DST_USA: u32 = 1; | |
pub const DST_AUST: u32 = 2; | |
pub const DST_WET: u32 = 3; | |
pub const DST_MET: u32 = 4; | |
pub const DST_EET: u32 = 5; | |
pub const DST_CAN: u32 = 6; | |
pub const APPLE_IF_FAM_LOOPBACK: u32 = 1; | |
pub const APPLE_IF_FAM_ETHERNET: u32 = 2; | |
pub const APPLE_IF_FAM_SLIP: u32 = 3; | |
pub const APPLE_IF_FAM_TUN: u32 = 4; | |
pub const APPLE_IF_FAM_VLAN: u32 = 5; | |
pub const APPLE_IF_FAM_PPP: u32 = 6; | |
pub const APPLE_IF_FAM_PVC: u32 = 7; | |
pub const APPLE_IF_FAM_DISC: u32 = 8; | |
pub const APPLE_IF_FAM_MDECAP: u32 = 9; | |
pub const APPLE_IF_FAM_GIF: u32 = 10; | |
pub const APPLE_IF_FAM_FAITH: u32 = 11; | |
pub const APPLE_IF_FAM_STF: u32 = 12; | |
pub const APPLE_IF_FAM_FIREWIRE: u32 = 13; | |
pub const APPLE_IF_FAM_BOND: u32 = 14; | |
pub const APPLE_IF_FAM_CELLULAR: u32 = 15; | |
pub const APPLE_IF_FAM_UNUSED_16: u32 = 16; | |
pub const APPLE_IF_FAM_UTUN: u32 = 17; | |
pub const APPLE_IF_FAM_IPSEC: u32 = 18; | |
pub const IF_MINMTU: u32 = 72; | |
pub const IF_MAXMTU: u32 = 65535; | |
pub const IFNAMSIZ: u32 = 16; | |
pub const IFF_UP: u32 = 1; | |
pub const IFF_BROADCAST: u32 = 2; | |
pub const IFF_DEBUG: u32 = 4; | |
pub const IFF_LOOPBACK: u32 = 8; | |
pub const IFF_POINTOPOINT: u32 = 16; | |
pub const IFF_NOTRAILERS: u32 = 32; | |
pub const IFF_RUNNING: u32 = 64; | |
pub const IFF_NOARP: u32 = 128; | |
pub const IFF_PROMISC: u32 = 256; | |
pub const IFF_ALLMULTI: u32 = 512; | |
pub const IFF_OACTIVE: u32 = 1024; | |
pub const IFF_SIMPLEX: u32 = 2048; | |
pub const IFF_LINK0: u32 = 4096; | |
pub const IFF_LINK1: u32 = 8192; | |
pub const IFF_LINK2: u32 = 16384; | |
pub const IFF_ALTPHYS: u32 = 16384; | |
pub const IFF_MULTICAST: u32 = 32768; | |
pub const IFCAP_RXCSUM: u32 = 1; | |
pub const IFCAP_TXCSUM: u32 = 2; | |
pub const IFCAP_VLAN_MTU: u32 = 4; | |
pub const IFCAP_VLAN_HWTAGGING: u32 = 8; | |
pub const IFCAP_JUMBO_MTU: u32 = 16; | |
pub const IFCAP_TSO4: u32 = 32; | |
pub const IFCAP_TSO6: u32 = 64; | |
pub const IFCAP_LRO: u32 = 128; | |
pub const IFCAP_AV: u32 = 256; | |
pub const IFCAP_TXSTATUS: u32 = 512; | |
pub const IFCAP_SKYWALK: u32 = 1024; | |
pub const IFCAP_HW_TIMESTAMP: u32 = 2048; | |
pub const IFCAP_SW_TIMESTAMP: u32 = 4096; | |
pub const IFCAP_CSUM_PARTIAL: u32 = 8192; | |
pub const IFCAP_CSUM_ZERO_INVERT: u32 = 16384; | |
pub const IFCAP_HWCSUM: u32 = 3; | |
pub const IFCAP_TSO: u32 = 96; | |
pub const IFCAP_VALID: u32 = 32767; | |
pub const IFQ_MAXLEN: u32 = 128; | |
pub const IFNET_SLOWHZ: u32 = 1; | |
pub const IFQ_DEF_C_TARGET_DELAY: u32 = 10000000; | |
pub const IFQ_DEF_C_UPDATE_INTERVAL: u32 = 100000000; | |
pub const IFQ_DEF_L4S_TARGET_DELAY: u32 = 2000000; | |
pub const IFQ_DEF_L4S_WIRELESS_TARGET_DELAY: u32 = 15000000; | |
pub const IFQ_DEF_L4S_UPDATE_INTERVAL: u32 = 100000000; | |
pub const IFQ_LL_C_TARGET_DELAY: u32 = 10000000; | |
pub const IFQ_LL_C_UPDATE_INTERVAL: u32 = 100000000; | |
pub const IFQ_LL_L4S_TARGET_DELAY: u32 = 2000000; | |
pub const IFQ_LL_L4S_WIRELESS_TARGET_DELAY: u32 = 15000000; | |
pub const IFQ_LL_L4S_UPDATE_INTERVAL: u32 = 100000000; | |
pub const IF_WAKE_ON_MAGIC_PACKET: u32 = 1; | |
pub const IFRTYPE_FUNCTIONAL_UNKNOWN: u32 = 0; | |
pub const IFRTYPE_FUNCTIONAL_LOOPBACK: u32 = 1; | |
pub const IFRTYPE_FUNCTIONAL_WIRED: u32 = 2; | |
pub const IFRTYPE_FUNCTIONAL_WIFI_INFRA: u32 = 3; | |
pub const IFRTYPE_FUNCTIONAL_WIFI_AWDL: u32 = 4; | |
pub const IFRTYPE_FUNCTIONAL_CELLULAR: u32 = 5; | |
pub const IFRTYPE_FUNCTIONAL_INTCOPROC: u32 = 6; | |
pub const IFRTYPE_FUNCTIONAL_COMPANIONLINK: u32 = 7; | |
pub const IFRTYPE_FUNCTIONAL_MANAGEMENT: u32 = 8; | |
pub const IFRTYPE_FUNCTIONAL_LAST: u32 = 8; | |
pub const IFSTATMAX: u32 = 800; | |
pub const IFT_OTHER: u32 = 1; | |
pub const IFT_1822: u32 = 2; | |
pub const IFT_HDH1822: u32 = 3; | |
pub const IFT_X25DDN: u32 = 4; | |
pub const IFT_X25: u32 = 5; | |
pub const IFT_ETHER: u32 = 6; | |
pub const IFT_ISO88023: u32 = 7; | |
pub const IFT_ISO88024: u32 = 8; | |
pub const IFT_ISO88025: u32 = 9; | |
pub const IFT_ISO88026: u32 = 10; | |
pub const IFT_STARLAN: u32 = 11; | |
pub const IFT_P10: u32 = 12; | |
pub const IFT_P80: u32 = 13; | |
pub const IFT_HY: u32 = 14; | |
pub const IFT_FDDI: u32 = 15; | |
pub const IFT_LAPB: u32 = 16; | |
pub const IFT_SDLC: u32 = 17; | |
pub const IFT_T1: u32 = 18; | |
pub const IFT_CEPT: u32 = 19; | |
pub const IFT_ISDNBASIC: u32 = 20; | |
pub const IFT_ISDNPRIMARY: u32 = 21; | |
pub const IFT_PTPSERIAL: u32 = 22; | |
pub const IFT_PPP: u32 = 23; | |
pub const IFT_LOOP: u32 = 24; | |
pub const IFT_EON: u32 = 25; | |
pub const IFT_XETHER: u32 = 26; | |
pub const IFT_NSIP: u32 = 27; | |
pub const IFT_SLIP: u32 = 28; | |
pub const IFT_ULTRA: u32 = 29; | |
pub const IFT_DS3: u32 = 30; | |
pub const IFT_SIP: u32 = 31; | |
pub const IFT_FRELAY: u32 = 32; | |
pub const IFT_RS232: u32 = 33; | |
pub const IFT_PARA: u32 = 34; | |
pub const IFT_ARCNET: u32 = 35; | |
pub const IFT_ARCNETPLUS: u32 = 36; | |
pub const IFT_ATM: u32 = 37; | |
pub const IFT_MIOX25: u32 = 38; | |
pub const IFT_SONET: u32 = 39; | |
pub const IFT_X25PLE: u32 = 40; | |
pub const IFT_ISO88022LLC: u32 = 41; | |
pub const IFT_LOCALTALK: u32 = 42; | |
pub const IFT_SMDSDXI: u32 = 43; | |
pub const IFT_FRELAYDCE: u32 = 44; | |
pub const IFT_V35: u32 = 45; | |
pub const IFT_HSSI: u32 = 46; | |
pub const IFT_HIPPI: u32 = 47; | |
pub const IFT_MODEM: u32 = 48; | |
pub const IFT_AAL5: u32 = 49; | |
pub const IFT_SONETPATH: u32 = 50; | |
pub const IFT_SONETVT: u32 = 51; | |
pub const IFT_SMDSICIP: u32 = 52; | |
pub const IFT_PROPVIRTUAL: u32 = 53; | |
pub const IFT_PROPMUX: u32 = 54; | |
pub const IFT_GIF: u32 = 55; | |
pub const IFT_FAITH: u32 = 56; | |
pub const IFT_STF: u32 = 57; | |
pub const IFT_6LOWPAN: u32 = 64; | |
pub const IFT_L2VLAN: u32 = 135; | |
pub const IFT_IEEE8023ADLAG: u32 = 136; | |
pub const IFT_IEEE1394: u32 = 144; | |
pub const IFT_BRIDGE: u32 = 209; | |
pub const IFT_ENC: u32 = 244; | |
pub const IFT_PFLOG: u32 = 245; | |
pub const IFT_PFSYNC: u32 = 246; | |
pub const IFT_CARP: u32 = 248; | |
pub const IFT_PKTAP: u32 = 254; | |
pub const IFT_CELLULAR: u32 = 255; | |
pub const IFT_PDP: u32 = 255; | |
pub const TH_FIN: u32 = 1; | |
pub const TH_SYN: u32 = 2; | |
pub const TH_RST: u32 = 4; | |
pub const TH_PUSH: u32 = 8; | |
pub const TH_ACK: u32 = 16; | |
pub const TH_URG: u32 = 32; | |
pub const TH_ECE: u32 = 64; | |
pub const TH_CWR: u32 = 128; | |
pub const TH_AE: u32 = 256; | |
pub const TH_FLAGS: u32 = 247; | |
pub const TH_FLAGS_ALL: u32 = 255; | |
pub const TH_ACCEPT: u32 = 23; | |
pub const TH_ACE: u32 = 448; | |
pub const TCPOPT_EOL: u32 = 0; | |
pub const TCPOPT_NOP: u32 = 1; | |
pub const TCPOPT_MAXSEG: u32 = 2; | |
pub const TCPOLEN_MAXSEG: u32 = 4; | |
pub const TCPOPT_WINDOW: u32 = 3; | |
pub const TCPOLEN_WINDOW: u32 = 3; | |
pub const TCPOPT_SACK_PERMITTED: u32 = 4; | |
pub const TCPOLEN_SACK_PERMITTED: u32 = 2; | |
pub const TCPOPT_SACK: u32 = 5; | |
pub const TCPOLEN_SACK: u32 = 8; | |
pub const TCPOPT_TIMESTAMP: u32 = 8; | |
pub const TCPOLEN_TIMESTAMP: u32 = 10; | |
pub const TCPOLEN_TSTAMP_APPA: u32 = 12; | |
pub const TCPOPT_TSTAMP_HDR: u32 = 16844810; | |
pub const MAX_TCPOPTLEN: u32 = 40; | |
pub const TCPOPT_CC: u32 = 11; | |
pub const TCPOPT_CCNEW: u32 = 12; | |
pub const TCPOPT_CCECHO: u32 = 13; | |
pub const TCPOLEN_CC: u32 = 6; | |
pub const TCPOLEN_CC_APPA: u32 = 8; | |
pub const TCPOPT_SIGNATURE: u32 = 19; | |
pub const TCPOLEN_SIGNATURE: u32 = 18; | |
pub const TCPOPT_FASTOPEN: u32 = 34; | |
pub const TCPOLEN_FASTOPEN_REQ: u32 = 2; | |
pub const TCPOPT_ACCECN0: u32 = 172; | |
pub const TCPOPT_ACCECN1: u32 = 174; | |
pub const TCPOLEN_ACCECN_EMPTY: u32 = 2; | |
pub const TCPOLEN_ACCECN_COUNTER: u32 = 3; | |
pub const TCPOPT_SACK_HDR: u32 = 16844032; | |
pub const MAX_SACK_BLKS: u32 = 6; | |
pub const TCP_MAX_SACK: u32 = 4; | |
pub const TCP_MSS: u32 = 512; | |
pub const TCP_MINMSS: u32 = 216; | |
pub const TCP6_MSS: u32 = 1024; | |
pub const TCP_MAXWIN: u32 = 65535; | |
pub const TTCP_CLIENT_SND_WND: u32 = 4096; | |
pub const TCP_MAX_WINSHIFT: u32 = 14; | |
pub const TCP_MAXHLEN: u32 = 60; | |
pub const TCP_NODELAY: u32 = 1; | |
pub const TCP_MAXSEG: u32 = 2; | |
pub const TCP_NOPUSH: u32 = 4; | |
pub const TCP_NOOPT: u32 = 8; | |
pub const TCP_KEEPALIVE: u32 = 16; | |
pub const TCP_CONNECTIONTIMEOUT: u32 = 32; | |
pub const PERSIST_TIMEOUT: u32 = 64; | |
pub const TCP_RXT_CONNDROPTIME: u32 = 128; | |
pub const TCP_RXT_FINDROP: u32 = 256; | |
pub const TCP_KEEPINTVL: u32 = 257; | |
pub const TCP_KEEPCNT: u32 = 258; | |
pub const TCP_SENDMOREACKS: u32 = 259; | |
pub const TCP_ENABLE_ECN: u32 = 260; | |
pub const TCP_FASTOPEN: u32 = 261; | |
pub const TCP_CONNECTION_INFO: u32 = 262; | |
pub const TCP_NOTSENT_LOWAT: u32 = 513; | |
pub const TCPCI_OPT_TIMESTAMPS: u32 = 1; | |
pub const TCPCI_OPT_SACK: u32 = 2; | |
pub const TCPCI_OPT_WSCALE: u32 = 4; | |
pub const TCPCI_OPT_ECN: u32 = 8; | |
pub const TCPCI_FLAG_LOSSRECOVERY: u32 = 1; | |
pub const TCPCI_FLAG_REORDERING_DETECTED: u32 = 2; | |
pub const NL_SETD: u32 = 1; | |
pub const NL_CAT_LOCALE: u32 = 1; | |
pub const POLLIN: u32 = 1; | |
pub const POLLPRI: u32 = 2; | |
pub const POLLOUT: u32 = 4; | |
pub const POLLRDNORM: u32 = 64; | |
pub const POLLWRNORM: u32 = 4; | |
pub const POLLRDBAND: u32 = 128; | |
pub const POLLWRBAND: u32 = 256; | |
pub const POLLEXTEND: u32 = 512; | |
pub const POLLATTRIB: u32 = 1024; | |
pub const POLLNLINK: u32 = 2048; | |
pub const POLLWRITE: u32 = 4096; | |
pub const POLLERR: u32 = 8; | |
pub const POLLHUP: u32 = 16; | |
pub const POLLNVAL: u32 = 32; | |
pub const POLLSTANDARD: u32 = 511; | |
pub const _PTHREAD_MUTEX_SIG_init: u32 = 850045863; | |
pub const _PTHREAD_ERRORCHECK_MUTEX_SIG_init: u32 = 850045857; | |
pub const _PTHREAD_RECURSIVE_MUTEX_SIG_init: u32 = 850045858; | |
pub const _PTHREAD_FIRSTFIT_MUTEX_SIG_init: u32 = 850045859; | |
pub const _PTHREAD_COND_SIG_init: u32 = 1018212795; | |
pub const _PTHREAD_ONCE_SIG_init: u32 = 816954554; | |
pub const _PTHREAD_RWLOCK_SIG_init: u32 = 766030772; | |
pub const SCHED_OTHER: u32 = 1; | |
pub const SCHED_FIFO: u32 = 4; | |
pub const SCHED_RR: u32 = 2; | |
pub const __SCHED_PARAM_SIZE__: u32 = 4; | |
pub const QOS_MIN_RELATIVE_PRIORITY: i32 = -15; | |
pub const PTHREAD_CREATE_JOINABLE: u32 = 1; | |
pub const PTHREAD_CREATE_DETACHED: u32 = 2; | |
pub const PTHREAD_INHERIT_SCHED: u32 = 1; | |
pub const PTHREAD_EXPLICIT_SCHED: u32 = 2; | |
pub const PTHREAD_CANCEL_ENABLE: u32 = 1; | |
pub const PTHREAD_CANCEL_DISABLE: u32 = 0; | |
pub const PTHREAD_CANCEL_DEFERRED: u32 = 2; | |
pub const PTHREAD_CANCEL_ASYNCHRONOUS: u32 = 0; | |
pub const PTHREAD_SCOPE_SYSTEM: u32 = 1; | |
pub const PTHREAD_SCOPE_PROCESS: u32 = 2; | |
pub const PTHREAD_PROCESS_SHARED: u32 = 1; | |
pub const PTHREAD_PROCESS_PRIVATE: u32 = 2; | |
pub const PTHREAD_PRIO_NONE: u32 = 0; | |
pub const PTHREAD_PRIO_INHERIT: u32 = 1; | |
pub const PTHREAD_PRIO_PROTECT: u32 = 2; | |
pub const PTHREAD_MUTEX_NORMAL: u32 = 0; | |
pub const PTHREAD_MUTEX_ERRORCHECK: u32 = 1; | |
pub const PTHREAD_MUTEX_RECURSIVE: u32 = 2; | |
pub const PTHREAD_MUTEX_DEFAULT: u32 = 0; | |
pub const PTHREAD_MUTEX_POLICY_FAIRSHARE_NP: u32 = 1; | |
pub const PTHREAD_MUTEX_POLICY_FIRSTFIT_NP: u32 = 3; | |
pub const POSIX_SPAWN_RESETIDS: u32 = 1; | |
pub const POSIX_SPAWN_SETPGROUP: u32 = 2; | |
pub const POSIX_SPAWN_SETSIGDEF: u32 = 4; | |
pub const POSIX_SPAWN_SETSIGMASK: u32 = 8; | |
pub const POSIX_SPAWN_SETEXEC: u32 = 64; | |
pub const POSIX_SPAWN_START_SUSPENDED: u32 = 128; | |
pub const POSIX_SPAWN_SETSID: u32 = 1024; | |
pub const POSIX_SPAWN_CLOEXEC_DEFAULT: u32 = 16384; | |
pub const _POSIX_SPAWN_RESLIDE: u32 = 2048; | |
pub const POSIX_SPAWN_PCONTROL_NONE: u32 = 0; | |
pub const POSIX_SPAWN_PCONTROL_THROTTLE: u32 = 1; | |
pub const POSIX_SPAWN_PCONTROL_SUSPEND: u32 = 2; | |
pub const POSIX_SPAWN_PCONTROL_KILL: u32 = 3; | |
pub const POSIX_SPAWN_PANIC_ON_CRASH: u32 = 1; | |
pub const POSIX_SPAWN_PANIC_ON_NON_ZERO_EXIT: u32 = 2; | |
pub const POSIX_SPAWN_PANIC_ON_EXIT: u32 = 4; | |
pub const POSIX_SPAWN_PANIC_ON_SPAWN_FAIL: u32 = 8; | |
pub const EXC_TYPES_COUNT: u32 = 14; | |
pub const EXC_MASK_MACHINE: u32 = 0; | |
pub const EXCEPTION_CODE_MAX: u32 = 2; | |
pub const EXC_ARM_UNDEFINED: u32 = 1; | |
pub const EXC_ARM_FP_UNDEFINED: u32 = 0; | |
pub const EXC_ARM_FP_IO: u32 = 1; | |
pub const EXC_ARM_FP_DZ: u32 = 2; | |
pub const EXC_ARM_FP_OF: u32 = 3; | |
pub const EXC_ARM_FP_UF: u32 = 4; | |
pub const EXC_ARM_FP_IX: u32 = 5; | |
pub const EXC_ARM_FP_ID: u32 = 6; | |
pub const EXC_ARM_DA_ALIGN: u32 = 257; | |
pub const EXC_ARM_DA_DEBUG: u32 = 258; | |
pub const EXC_ARM_SP_ALIGN: u32 = 259; | |
pub const EXC_ARM_SWP: u32 = 260; | |
pub const EXC_ARM_PAC_FAIL: u32 = 261; | |
pub const EXC_ARM_BREAKPOINT: u32 = 1; | |
pub const EXC_BAD_ACCESS: u32 = 1; | |
pub const EXC_BAD_INSTRUCTION: u32 = 2; | |
pub const EXC_ARITHMETIC: u32 = 3; | |
pub const EXC_EMULATION: u32 = 4; | |
pub const EXC_SOFTWARE: u32 = 5; | |
pub const EXC_BREAKPOINT: u32 = 6; | |
pub const EXC_SYSCALL: u32 = 7; | |
pub const EXC_MACH_SYSCALL: u32 = 8; | |
pub const EXC_RPC_ALERT: u32 = 9; | |
pub const EXC_CRASH: u32 = 10; | |
pub const EXC_RESOURCE: u32 = 11; | |
pub const EXC_GUARD: u32 = 12; | |
pub const EXC_CORPSE_NOTIFY: u32 = 13; | |
pub const EXCEPTION_DEFAULT: u32 = 1; | |
pub const EXCEPTION_STATE: u32 = 2; | |
pub const EXCEPTION_STATE_IDENTITY: u32 = 3; | |
pub const EXCEPTION_IDENTITY_PROTECTED: u32 = 4; | |
pub const MACH_EXCEPTION_BACKTRACE_PREFERRED: u32 = 536870912; | |
pub const MACH_EXCEPTION_ERRORS: u32 = 1073741824; | |
pub const MACH_EXCEPTION_CODES: u32 = 2147483648; | |
pub const MACH_EXCEPTION_MASK: u32 = 3758096384; | |
pub const EXC_MASK_BAD_ACCESS: u32 = 2; | |
pub const EXC_MASK_BAD_INSTRUCTION: u32 = 4; | |
pub const EXC_MASK_ARITHMETIC: u32 = 8; | |
pub const EXC_MASK_EMULATION: u32 = 16; | |
pub const EXC_MASK_SOFTWARE: u32 = 32; | |
pub const EXC_MASK_BREAKPOINT: u32 = 64; | |
pub const EXC_MASK_SYSCALL: u32 = 128; | |
pub const EXC_MASK_MACH_SYSCALL: u32 = 256; | |
pub const EXC_MASK_RPC_ALERT: u32 = 512; | |
pub const EXC_MASK_CRASH: u32 = 1024; | |
pub const EXC_MASK_RESOURCE: u32 = 2048; | |
pub const EXC_MASK_GUARD: u32 = 4096; | |
pub const EXC_MASK_CORPSE_NOTIFY: u32 = 8192; | |
pub const EXC_MASK_ALL: u32 = 7166; | |
pub const FIRST_EXCEPTION: u32 = 1; | |
pub const EXC_SOFT_SIGNAL: u32 = 65539; | |
pub const EXC_MACF_MIN: u32 = 131072; | |
pub const EXC_MACF_MAX: u32 = 196607; | |
pub const TRUE: u32 = 1; | |
pub const FALSE: u32 = 0; | |
pub const MACH_PORT_NULL: u32 = 0; | |
pub const MACH_PORT_TYPE_DNREQUEST: u32 = 2147483648; | |
pub const MACH_PORT_TYPE_SPREQUEST: u32 = 1073741824; | |
pub const MACH_PORT_TYPE_SPREQUEST_DELAYED: u32 = 536870912; | |
pub const MACH_PORT_SRIGHTS_NONE: u32 = 0; | |
pub const MACH_PORT_SRIGHTS_PRESENT: u32 = 1; | |
pub const MACH_PORT_QLIMIT_ZERO: u32 = 0; | |
pub const MACH_PORT_QLIMIT_BASIC: u32 = 5; | |
pub const MACH_PORT_QLIMIT_SMALL: u32 = 16; | |
pub const MACH_PORT_QLIMIT_LARGE: u32 = 1024; | |
pub const MACH_PORT_QLIMIT_KERNEL: u32 = 65534; | |
pub const MACH_PORT_QLIMIT_MIN: u32 = 0; | |
pub const MACH_PORT_QLIMIT_DEFAULT: u32 = 5; | |
pub const MACH_PORT_QLIMIT_MAX: u32 = 1024; | |
pub const MACH_PORT_STATUS_FLAG_TEMPOWNER: u32 = 1; | |
pub const MACH_PORT_STATUS_FLAG_GUARDED: u32 = 2; | |
pub const MACH_PORT_STATUS_FLAG_STRICT_GUARD: u32 = 4; | |
pub const MACH_PORT_STATUS_FLAG_IMP_DONATION: u32 = 8; | |
pub const MACH_PORT_STATUS_FLAG_REVIVE: u32 = 16; | |
pub const MACH_PORT_STATUS_FLAG_TASKPTR: u32 = 32; | |
pub const MACH_PORT_STATUS_FLAG_GUARD_IMMOVABLE_RECEIVE: u32 = 64; | |
pub const MACH_PORT_STATUS_FLAG_NO_GRANT: u32 = 128; | |
pub const MACH_PORT_LIMITS_INFO: u32 = 1; | |
pub const MACH_PORT_RECEIVE_STATUS: u32 = 2; | |
pub const MACH_PORT_DNREQUESTS_SIZE: u32 = 3; | |
pub const MACH_PORT_TEMPOWNER: u32 = 4; | |
pub const MACH_PORT_IMPORTANCE_RECEIVER: u32 = 5; | |
pub const MACH_PORT_DENAP_RECEIVER: u32 = 6; | |
pub const MACH_PORT_INFO_EXT: u32 = 7; | |
pub const MACH_PORT_GUARD_INFO: u32 = 8; | |
pub const MACH_PORT_SERVICE_THROTTLED: u32 = 9; | |
pub const MACH_PORT_DNREQUESTS_SIZE_COUNT: u32 = 1; | |
pub const MACH_PORT_SERVICE_THROTTLED_COUNT: u32 = 1; | |
pub const MACH_SERVICE_PORT_INFO_STRING_NAME_MAX_BUF_LEN: u32 = 255; | |
pub const MPO_CONTEXT_AS_GUARD: u32 = 1; | |
pub const MPO_QLIMIT: u32 = 2; | |
pub const MPO_TEMPOWNER: u32 = 4; | |
pub const MPO_IMPORTANCE_RECEIVER: u32 = 8; | |
pub const MPO_INSERT_SEND_RIGHT: u32 = 16; | |
pub const MPO_STRICT: u32 = 32; | |
pub const MPO_DENAP_RECEIVER: u32 = 64; | |
pub const MPO_IMMOVABLE_RECEIVE: u32 = 128; | |
pub const MPO_FILTER_MSG: u32 = 256; | |
pub const MPO_TG_BLOCK_TRACKING: u32 = 512; | |
pub const MPO_SERVICE_PORT: u32 = 1024; | |
pub const MPO_CONNECTION_PORT: u32 = 2048; | |
pub const MPO_REPLY_PORT: u32 = 4096; | |
pub const MPO_ENFORCE_REPLY_PORT_SEMANTICS: u32 = 8192; | |
pub const MPO_PROVISIONAL_REPLY_PORT: u32 = 16384; | |
pub const MPO_PROVISIONAL_ID_PROT_OPTOUT: u32 = 32768; | |
pub const GUARD_TYPE_MACH_PORT: u32 = 1; | |
pub const MAX_FATAL_kGUARD_EXC_CODE: u32 = 128; | |
pub const MPG_FLAGS_NONE: u32 = 0; | |
pub const MAX_OPTIONAL_kGUARD_EXC_CODE: u32 = 524288; | |
pub const MPG_FLAGS_STRICT_REPLY_INVALID_REPLY_DISP: u64 = 72057594037927936; | |
pub const MPG_FLAGS_STRICT_REPLY_INVALID_REPLY_PORT: u64 = 144115188075855872; | |
pub const MPG_FLAGS_STRICT_REPLY_INVALID_VOUCHER: u64 = 288230376151711744; | |
pub const MPG_FLAGS_STRICT_REPLY_NO_BANK_ATTR: u64 = 576460752303423488; | |
pub const MPG_FLAGS_STRICT_REPLY_MISMATCHED_PERSONA: u64 = 1152921504606846976; | |
pub const MPG_FLAGS_STRICT_REPLY_MASK: i64 = -72057594037927936; | |
pub const MPG_FLAGS_MOD_REFS_PINNED_DEALLOC: u64 = 72057594037927936; | |
pub const MPG_FLAGS_MOD_REFS_PINNED_DESTROY: u64 = 144115188075855872; | |
pub const MPG_FLAGS_MOD_REFS_PINNED_COPYIN: u64 = 288230376151711744; | |
pub const MPG_FLAGS_IMMOVABLE_PINNED: u64 = 72057594037927936; | |
pub const MPG_STRICT: u32 = 1; | |
pub const MPG_IMMOVABLE_RECEIVE: u32 = 2; | |
pub const ARM_THREAD_STATE_MAX: u32 = 1296; | |
pub const THREAD_STATE_MAX: u32 = 1296; | |
pub const KERN_SUCCESS: u32 = 0; | |
pub const KERN_INVALID_ADDRESS: u32 = 1; | |
pub const KERN_PROTECTION_FAILURE: u32 = 2; | |
pub const KERN_NO_SPACE: u32 = 3; | |
pub const KERN_INVALID_ARGUMENT: u32 = 4; | |
pub const KERN_FAILURE: u32 = 5; | |
pub const KERN_RESOURCE_SHORTAGE: u32 = 6; | |
pub const KERN_NOT_RECEIVER: u32 = 7; | |
pub const KERN_NO_ACCESS: u32 = 8; | |
pub const KERN_MEMORY_FAILURE: u32 = 9; | |
pub const KERN_MEMORY_ERROR: u32 = 10; | |
pub const KERN_ALREADY_IN_SET: u32 = 11; | |
pub const KERN_NOT_IN_SET: u32 = 12; | |
pub const KERN_NAME_EXISTS: u32 = 13; | |
pub const KERN_ABORTED: u32 = 14; | |
pub const KERN_INVALID_NAME: u32 = 15; | |
pub const KERN_INVALID_TASK: u32 = 16; | |
pub const KERN_INVALID_RIGHT: u32 = 17; | |
pub const KERN_INVALID_VALUE: u32 = 18; | |
pub const KERN_UREFS_OVERFLOW: u32 = 19; | |
pub const KERN_INVALID_CAPABILITY: u32 = 20; | |
pub const KERN_RIGHT_EXISTS: u32 = 21; | |
pub const KERN_INVALID_HOST: u32 = 22; | |
pub const KERN_MEMORY_PRESENT: u32 = 23; | |
pub const KERN_MEMORY_DATA_MOVED: u32 = 24; | |
pub const KERN_MEMORY_RESTART_COPY: u32 = 25; | |
pub const KERN_INVALID_PROCESSOR_SET: u32 = 26; | |
pub const KERN_POLICY_LIMIT: u32 = 27; | |
pub const KERN_INVALID_POLICY: u32 = 28; | |
pub const KERN_INVALID_OBJECT: u32 = 29; | |
pub const KERN_ALREADY_WAITING: u32 = 30; | |
pub const KERN_DEFAULT_SET: u32 = 31; | |
pub const KERN_EXCEPTION_PROTECTED: u32 = 32; | |
pub const KERN_INVALID_LEDGER: u32 = 33; | |
pub const KERN_INVALID_MEMORY_CONTROL: u32 = 34; | |
pub const KERN_INVALID_SECURITY: u32 = 35; | |
pub const KERN_NOT_DEPRESSED: u32 = 36; | |
pub const KERN_TERMINATED: u32 = 37; | |
pub const KERN_LOCK_SET_DESTROYED: u32 = 38; | |
pub const KERN_LOCK_UNSTABLE: u32 = 39; | |
pub const KERN_LOCK_OWNED: u32 = 40; | |
pub const KERN_LOCK_OWNED_SELF: u32 = 41; | |
pub const KERN_SEMAPHORE_DESTROYED: u32 = 42; | |
pub const KERN_RPC_SERVER_TERMINATED: u32 = 43; | |
pub const KERN_RPC_TERMINATE_ORPHAN: u32 = 44; | |
pub const KERN_RPC_CONTINUE_ORPHAN: u32 = 45; | |
pub const KERN_NOT_SUPPORTED: u32 = 46; | |
pub const KERN_NODE_DOWN: u32 = 47; | |
pub const KERN_NOT_WAITING: u32 = 48; | |
pub const KERN_OPERATION_TIMED_OUT: u32 = 49; | |
pub const KERN_CODESIGN_ERROR: u32 = 50; | |
pub const KERN_POLICY_STATIC: u32 = 51; | |
pub const KERN_INSUFFICIENT_BUFFER_SIZE: u32 = 52; | |
pub const KERN_DENIED: u32 = 53; | |
pub const KERN_MISSING_KC: u32 = 54; | |
pub const KERN_INVALID_KC: u32 = 55; | |
pub const KERN_NOT_FOUND: u32 = 56; | |
pub const KERN_RETURN_MAX: u32 = 256; | |
pub const MACH_MSGH_BITS_ZERO: u32 = 0; | |
pub const MACH_MSGH_BITS_REMOTE_MASK: u32 = 31; | |
pub const MACH_MSGH_BITS_LOCAL_MASK: u32 = 7936; | |
pub const MACH_MSGH_BITS_VOUCHER_MASK: u32 = 2031616; | |
pub const MACH_MSGH_BITS_PORTS_MASK: u32 = 2039583; | |
pub const MACH_MSGH_BITS_COMPLEX: u32 = 2147483648; | |
pub const MACH_MSGH_BITS_USER: u32 = 2149523231; | |
pub const MACH_MSGH_BITS_RAISEIMP: u32 = 536870912; | |
pub const MACH_MSGH_BITS_DENAP: u32 = 536870912; | |
pub const MACH_MSGH_BITS_IMPHOLDASRT: u32 = 268435456; | |
pub const MACH_MSGH_BITS_DENAPHOLDASRT: u32 = 268435456; | |
pub const MACH_MSGH_BITS_CIRCULAR: u32 = 268435456; | |
pub const MACH_MSGH_BITS_USED: u32 = 2954829599; | |
pub const MACH_MSG_TYPE_MOVE_RECEIVE: u32 = 16; | |
pub const MACH_MSG_TYPE_MOVE_SEND: u32 = 17; | |
pub const MACH_MSG_TYPE_MOVE_SEND_ONCE: u32 = 18; | |
pub const MACH_MSG_TYPE_COPY_SEND: u32 = 19; | |
pub const MACH_MSG_TYPE_MAKE_SEND: u32 = 20; | |
pub const MACH_MSG_TYPE_MAKE_SEND_ONCE: u32 = 21; | |
pub const MACH_MSG_TYPE_COPY_RECEIVE: u32 = 22; | |
pub const MACH_MSG_TYPE_DISPOSE_RECEIVE: u32 = 24; | |
pub const MACH_MSG_TYPE_DISPOSE_SEND: u32 = 25; | |
pub const MACH_MSG_TYPE_DISPOSE_SEND_ONCE: u32 = 26; | |
pub const MACH_MSG_PHYSICAL_COPY: u32 = 0; | |
pub const MACH_MSG_VIRTUAL_COPY: u32 = 1; | |
pub const MACH_MSG_ALLOCATE: u32 = 2; | |
pub const MACH_MSG_OVERWRITE: u32 = 3; | |
pub const MACH_MSG_GUARD_FLAGS_NONE: u32 = 0; | |
pub const MACH_MSG_GUARD_FLAGS_IMMOVABLE_RECEIVE: u32 = 1; | |
pub const MACH_MSG_GUARD_FLAGS_UNGUARDED_ON_SEND: u32 = 2; | |
pub const MACH_MSG_GUARD_FLAGS_MASK: u32 = 3; | |
pub const MACH_MSG_PORT_DESCRIPTOR: u32 = 0; | |
pub const MACH_MSG_OOL_DESCRIPTOR: u32 = 1; | |
pub const MACH_MSG_OOL_PORTS_DESCRIPTOR: u32 = 2; | |
pub const MACH_MSG_OOL_VOLATILE_DESCRIPTOR: u32 = 3; | |
pub const MACH_MSG_GUARDED_PORT_DESCRIPTOR: u32 = 4; | |
pub const MACH_MSG_DESCRIPTOR_MAX: u32 = 4; | |
pub const MACH_MSG_TRAILER_FORMAT_0: u32 = 0; | |
pub const MACH_MSGH_KIND_NORMAL: u32 = 0; | |
pub const MACH_MSGH_KIND_NOTIFICATION: u32 = 1; | |
pub const MACH_MSG_TYPE_PORT_NONE: u32 = 0; | |
pub const MACH_MSG_TYPE_PORT_NAME: u32 = 15; | |
pub const MACH_MSG_TYPE_PORT_RECEIVE: u32 = 16; | |
pub const MACH_MSG_TYPE_PORT_SEND: u32 = 17; | |
pub const MACH_MSG_TYPE_PORT_SEND_ONCE: u32 = 18; | |
pub const MACH_MSG_TYPE_LAST: u32 = 22; | |
pub const MACH_MSG_OPTION_NONE: u32 = 0; | |
pub const MACH_SEND_MSG: u32 = 1; | |
pub const MACH_RCV_MSG: u32 = 2; | |
pub const MACH_RCV_LARGE: u32 = 4; | |
pub const MACH_RCV_LARGE_IDENTITY: u32 = 8; | |
pub const MACH_SEND_TIMEOUT: u32 = 16; | |
pub const MACH_SEND_OVERRIDE: u32 = 32; | |
pub const MACH_SEND_INTERRUPT: u32 = 64; | |
pub const MACH_SEND_NOTIFY: u32 = 128; | |
pub const MACH_SEND_ALWAYS: u32 = 65536; | |
pub const MACH_SEND_FILTER_NONFATAL: u32 = 65536; | |
pub const MACH_SEND_TRAILER: u32 = 131072; | |
pub const MACH_SEND_NOIMPORTANCE: u32 = 262144; | |
pub const MACH_SEND_NODENAP: u32 = 262144; | |
pub const MACH_SEND_IMPORTANCE: u32 = 524288; | |
pub const MACH_SEND_SYNC_OVERRIDE: u32 = 1048576; | |
pub const MACH_SEND_PROPAGATE_QOS: u32 = 2097152; | |
pub const MACH_SEND_SYNC_USE_THRPRI: u32 = 2097152; | |
pub const MACH_SEND_KERNEL: u32 = 4194304; | |
pub const MACH_SEND_SYNC_BOOTSTRAP_CHECKIN: u32 = 8388608; | |
pub const MACH_RCV_TIMEOUT: u32 = 256; | |
pub const MACH_RCV_NOTIFY: u32 = 0; | |
pub const MACH_RCV_INTERRUPT: u32 = 1024; | |
pub const MACH_RCV_VOUCHER: u32 = 2048; | |
pub const MACH_RCV_OVERWRITE: u32 = 0; | |
pub const MACH_RCV_GUARDED_DESC: u32 = 4096; | |
pub const MACH_RCV_SYNC_WAIT: u32 = 16384; | |
pub const MACH_RCV_SYNC_PEEK: u32 = 32768; | |
pub const MACH_MSG_STRICT_REPLY: u32 = 512; | |
pub const MACH_RCV_TRAILER_NULL: u32 = 0; | |
pub const MACH_RCV_TRAILER_SEQNO: u32 = 1; | |
pub const MACH_RCV_TRAILER_SENDER: u32 = 2; | |
pub const MACH_RCV_TRAILER_AUDIT: u32 = 3; | |
pub const MACH_RCV_TRAILER_CTX: u32 = 4; | |
pub const MACH_RCV_TRAILER_AV: u32 = 7; | |
pub const MACH_RCV_TRAILER_LABELS: u32 = 8; | |
pub const MACH_RCV_TRAILER_MASK: u32 = 251658240; | |
pub const MACH_MSG_SUCCESS: u32 = 0; | |
pub const MACH_MSG_MASK: u32 = 15872; | |
pub const MACH_MSG_IPC_SPACE: u32 = 8192; | |
pub const MACH_MSG_VM_SPACE: u32 = 4096; | |
pub const MACH_MSG_IPC_KERNEL: u32 = 2048; | |
pub const MACH_MSG_VM_KERNEL: u32 = 1024; | |
pub const MACH_SEND_IN_PROGRESS: u32 = 268435457; | |
pub const MACH_SEND_INVALID_DATA: u32 = 268435458; | |
pub const MACH_SEND_INVALID_DEST: u32 = 268435459; | |
pub const MACH_SEND_TIMED_OUT: u32 = 268435460; | |
pub const MACH_SEND_INVALID_VOUCHER: u32 = 268435461; | |
pub const MACH_SEND_INTERRUPTED: u32 = 268435463; | |
pub const MACH_SEND_MSG_TOO_SMALL: u32 = 268435464; | |
pub const MACH_SEND_INVALID_REPLY: u32 = 268435465; | |
pub const MACH_SEND_INVALID_RIGHT: u32 = 268435466; | |
pub const MACH_SEND_INVALID_NOTIFY: u32 = 268435467; | |
pub const MACH_SEND_INVALID_MEMORY: u32 = 268435468; | |
pub const MACH_SEND_NO_BUFFER: u32 = 268435469; | |
pub const MACH_SEND_TOO_LARGE: u32 = 268435470; | |
pub const MACH_SEND_INVALID_TYPE: u32 = 268435471; | |
pub const MACH_SEND_INVALID_HEADER: u32 = 268435472; | |
pub const MACH_SEND_INVALID_TRAILER: u32 = 268435473; | |
pub const MACH_SEND_INVALID_CONTEXT: u32 = 268435474; | |
pub const MACH_SEND_INVALID_OPTIONS: u32 = 268435475; | |
pub const MACH_SEND_INVALID_RT_OOL_SIZE: u32 = 268435477; | |
pub const MACH_SEND_NO_GRANT_DEST: u32 = 268435478; | |
pub const MACH_SEND_MSG_FILTERED: u32 = 268435479; | |
pub const MACH_SEND_AUX_TOO_SMALL: u32 = 268435480; | |
pub const MACH_SEND_AUX_TOO_LARGE: u32 = 268435481; | |
pub const MACH_RCV_IN_PROGRESS: u32 = 268451841; | |
pub const MACH_RCV_INVALID_NAME: u32 = 268451842; | |
pub const MACH_RCV_TIMED_OUT: u32 = 268451843; | |
pub const MACH_RCV_TOO_LARGE: u32 = 268451844; | |
pub const MACH_RCV_INTERRUPTED: u32 = 268451845; | |
pub const MACH_RCV_PORT_CHANGED: u32 = 268451846; | |
pub const MACH_RCV_INVALID_NOTIFY: u32 = 268451847; | |
pub const MACH_RCV_INVALID_DATA: u32 = 268451848; | |
pub const MACH_RCV_PORT_DIED: u32 = 268451849; | |
pub const MACH_RCV_IN_SET: u32 = 268451850; | |
pub const MACH_RCV_HEADER_ERROR: u32 = 268451851; | |
pub const MACH_RCV_BODY_ERROR: u32 = 268451852; | |
pub const MACH_RCV_INVALID_TYPE: u32 = 268451853; | |
pub const MACH_RCV_SCATTER_SMALL: u32 = 268451854; | |
pub const MACH_RCV_INVALID_TRAILER: u32 = 268451855; | |
pub const MACH_RCV_IN_PROGRESS_TIMED: u32 = 268451857; | |
pub const MACH_RCV_INVALID_REPLY: u32 = 268451858; | |
pub const MACH_RCV_INVALID_ARGUMENTS: u32 = 268451859; | |
pub const PPNUM_MAX: u32 = 4294967295; | |
pub const ARM_THREAD_STATE: u32 = 1; | |
pub const ARM_UNIFIED_THREAD_STATE: u32 = 1; | |
pub const ARM_VFP_STATE: u32 = 2; | |
pub const ARM_EXCEPTION_STATE: u32 = 3; | |
pub const ARM_DEBUG_STATE: u32 = 4; | |
pub const THREAD_STATE_NONE: u32 = 5; | |
pub const ARM_THREAD_STATE64: u32 = 6; | |
pub const ARM_EXCEPTION_STATE64: u32 = 7; | |
pub const ARM_THREAD_STATE32: u32 = 9; | |
pub const ARM_DEBUG_STATE32: u32 = 14; | |
pub const ARM_DEBUG_STATE64: u32 = 15; | |
pub const ARM_NEON_STATE: u32 = 16; | |
pub const ARM_NEON_STATE64: u32 = 17; | |
pub const ARM_CPMU_STATE64: u32 = 18; | |
pub const ARM_PAGEIN_STATE: u32 = 27; | |
pub const MACHINE_THREAD_STATE: u32 = 1; | |
pub const THREAD_MACHINE_STATE_MAX: u32 = 1296; | |
pub const THREAD_STATE_FLAVOR_LIST: u32 = 0; | |
pub const THREAD_STATE_FLAVOR_LIST_NEW: u32 = 128; | |
pub const THREAD_STATE_FLAVOR_LIST_10_9: u32 = 129; | |
pub const THREAD_STATE_FLAVOR_LIST_10_13: u32 = 130; | |
pub const THREAD_STATE_FLAVOR_LIST_10_15: u32 = 131; | |
pub const THREAD_CONVERT_THREAD_STATE_TO_SELF: u32 = 1; | |
pub const THREAD_CONVERT_THREAD_STATE_FROM_SELF: u32 = 2; | |
pub const CPU_STATE_MAX: u32 = 4; | |
pub const CPU_STATE_USER: u32 = 0; | |
pub const CPU_STATE_SYSTEM: u32 = 1; | |
pub const CPU_STATE_IDLE: u32 = 2; | |
pub const CPU_STATE_NICE: u32 = 3; | |
pub const CPU_ARCH_MASK: u32 = 4278190080; | |
pub const CPU_ARCH_ABI64: u32 = 16777216; | |
pub const CPU_ARCH_ABI64_32: u32 = 33554432; | |
pub const CPU_SUBTYPE_MASK: u32 = 4278190080; | |
pub const CPU_SUBTYPE_LIB64: u32 = 2147483648; | |
pub const CPU_SUBTYPE_PTRAUTH_ABI: u32 = 2147483648; | |
pub const CPU_SUBTYPE_INTEL_FAMILY_MAX: u32 = 15; | |
pub const CPU_SUBTYPE_INTEL_MODEL_ALL: u32 = 0; | |
pub const CPU_SUBTYPE_ARM64_PTR_AUTH_MASK: u32 = 251658240; | |
pub const CPUFAMILY_UNKNOWN: u32 = 0; | |
pub const CPUFAMILY_POWERPC_G3: u32 = 3471054153; | |
pub const CPUFAMILY_POWERPC_G4: u32 = 2009171118; | |
pub const CPUFAMILY_POWERPC_G5: u32 = 3983988906; | |
pub const CPUFAMILY_INTEL_6_13: u32 = 2855483691; | |
pub const CPUFAMILY_INTEL_PENRYN: u32 = 2028621756; | |
pub const CPUFAMILY_INTEL_NEHALEM: u32 = 1801080018; | |
pub const CPUFAMILY_INTEL_WESTMERE: u32 = 1463508716; | |
pub const CPUFAMILY_INTEL_SANDYBRIDGE: u32 = 1418770316; | |
pub const CPUFAMILY_INTEL_IVYBRIDGE: u32 = 526772277; | |
pub const CPUFAMILY_INTEL_HASWELL: u32 = 280134364; | |
pub const CPUFAMILY_INTEL_BROADWELL: u32 = 1479463068; | |
pub const CPUFAMILY_INTEL_SKYLAKE: u32 = 939270559; | |
pub const CPUFAMILY_INTEL_KABYLAKE: u32 = 260141638; | |
pub const CPUFAMILY_INTEL_ICELAKE: u32 = 943936839; | |
pub const CPUFAMILY_INTEL_COMETLAKE: u32 = 486055998; | |
pub const CPUFAMILY_ARM_9: u32 = 3878847406; | |
pub const CPUFAMILY_ARM_11: u32 = 2415272152; | |
pub const CPUFAMILY_ARM_XSCALE: u32 = 1404044789; | |
pub const CPUFAMILY_ARM_12: u32 = 3172666089; | |
pub const CPUFAMILY_ARM_13: u32 = 214503012; | |
pub const CPUFAMILY_ARM_14: u32 = 2517073649; | |
pub const CPUFAMILY_ARM_15: u32 = 2823887818; | |
pub const CPUFAMILY_ARM_SWIFT: u32 = 506291073; | |
pub const CPUFAMILY_ARM_CYCLONE: u32 = 933271106; | |
pub const CPUFAMILY_ARM_TYPHOON: u32 = 747742334; | |
pub const CPUFAMILY_ARM_TWISTER: u32 = 2465937352; | |
pub const CPUFAMILY_ARM_HURRICANE: u32 = 1741614739; | |
pub const CPUFAMILY_ARM_MONSOON_MISTRAL: u32 = 3894312694; | |
pub const CPUFAMILY_ARM_VORTEX_TEMPEST: u32 = 131287967; | |
pub const CPUFAMILY_ARM_LIGHTNING_THUNDER: u32 = 1176831186; | |
pub const CPUFAMILY_ARM_FIRESTORM_ICESTORM: u32 = 458787763; | |
pub const CPUFAMILY_ARM_BLIZZARD_AVALANCHE: u32 = 3660830781; | |
pub const CPUFAMILY_ARM_EVEREST_SAWTOOTH: u32 = 2271604202; | |
pub const CPUFAMILY_ARM_IBIZA: u32 = 4197663070; | |
pub const CPUFAMILY_ARM_PALMA: u32 = 1912690738; | |
pub const CPUFAMILY_ARM_COLL: u32 = 678884789; | |
pub const CPUFAMILY_ARM_LOBOS: u32 = 1598941843; | |
pub const CPUSUBFAMILY_UNKNOWN: u32 = 0; | |
pub const CPUSUBFAMILY_ARM_HP: u32 = 1; | |
pub const CPUSUBFAMILY_ARM_HG: u32 = 2; | |
pub const CPUSUBFAMILY_ARM_M: u32 = 3; | |
pub const CPUSUBFAMILY_ARM_HS: u32 = 4; | |
pub const CPUSUBFAMILY_ARM_HC_HD: u32 = 5; | |
pub const CPUSUBFAMILY_ARM_HA: u32 = 6; | |
pub const CPUFAMILY_INTEL_6_23: u32 = 2028621756; | |
pub const CPUFAMILY_INTEL_6_26: u32 = 1801080018; | |
pub const POSIX_SPAWN_NP_CSM_ALL: u32 = 1; | |
pub const POSIX_SPAWN_NP_CSM_NOSMT: u32 = 2; | |
pub const POSIX_SPAWN_NP_CSM_TECS: u32 = 4; | |
pub const _PTHREAD_MUTEX_POLICY_FAIRSHARE: u32 = 1; | |
pub const _PTHREAD_MUTEX_POLICY_FIRSTFIT: u32 = 3; | |
pub const REG_BASIC: u32 = 0; | |
pub const REG_EXTENDED: u32 = 1; | |
pub const REG_ICASE: u32 = 2; | |
pub const REG_NOSUB: u32 = 4; | |
pub const REG_NEWLINE: u32 = 8; | |
pub const REG_NOSPEC: u32 = 16; | |
pub const REG_LITERAL: u32 = 16; | |
pub const REG_PEND: u32 = 32; | |
pub const REG_MINIMAL: u32 = 64; | |
pub const REG_UNGREEDY: u32 = 64; | |
pub const REG_DUMP: u32 = 128; | |
pub const REG_ENHANCED: u32 = 256; | |
pub const REG_ENOSYS: i32 = -1; | |
pub const REG_NOMATCH: u32 = 1; | |
pub const REG_BADPAT: u32 = 2; | |
pub const REG_ECOLLATE: u32 = 3; | |
pub const REG_ECTYPE: u32 = 4; | |
pub const REG_EESCAPE: u32 = 5; | |
pub const REG_ESUBREG: u32 = 6; | |
pub const REG_EBRACK: u32 = 7; | |
pub const REG_EPAREN: u32 = 8; | |
pub const REG_EBRACE: u32 = 9; | |
pub const REG_BADBR: u32 = 10; | |
pub const REG_ERANGE: u32 = 11; | |
pub const REG_ESPACE: u32 = 12; | |
pub const REG_BADRPT: u32 = 13; | |
pub const REG_EMPTY: u32 = 14; | |
pub const REG_ASSERT: u32 = 15; | |
pub const REG_INVARG: u32 = 16; | |
pub const REG_ILLSEQ: u32 = 17; | |
pub const REG_ATOI: u32 = 255; | |
pub const REG_ITOA: u32 = 256; | |
pub const REG_NOTBOL: u32 = 1; | |
pub const REG_NOTEOL: u32 = 2; | |
pub const REG_STARTEND: u32 = 4; | |
pub const REG_TRACE: u32 = 256; | |
pub const REG_LARGE: u32 = 512; | |
pub const REG_BACKR: u32 = 1024; | |
pub const REG_BACKTRACKING_MATCHER: u32 = 1024; | |
pub const SEM_VALUE_MAX: u32 = 32767; | |
pub const IPC_CREAT: u32 = 512; | |
pub const IPC_EXCL: u32 = 1024; | |
pub const IPC_NOWAIT: u32 = 2048; | |
pub const IPC_RMID: u32 = 0; | |
pub const IPC_SET: u32 = 1; | |
pub const IPC_STAT: u32 = 2; | |
pub const IPC_R: u32 = 256; | |
pub const IPC_W: u32 = 128; | |
pub const IPC_M: u32 = 4096; | |
pub const PROT_NONE: u32 = 0; | |
pub const PROT_READ: u32 = 1; | |
pub const PROT_WRITE: u32 = 2; | |
pub const PROT_EXEC: u32 = 4; | |
pub const MAP_SHARED: u32 = 1; | |
pub const MAP_PRIVATE: u32 = 2; | |
pub const MAP_COPY: u32 = 2; | |
pub const MAP_FIXED: u32 = 16; | |
pub const MAP_RENAME: u32 = 32; | |
pub const MAP_NORESERVE: u32 = 64; | |
pub const MAP_RESERVED0080: u32 = 128; | |
pub const MAP_NOEXTEND: u32 = 256; | |
pub const MAP_HASSEMAPHORE: u32 = 512; | |
pub const MAP_NOCACHE: u32 = 1024; | |
pub const MAP_JIT: u32 = 2048; | |
pub const MAP_FILE: u32 = 0; | |
pub const MAP_ANON: u32 = 4096; | |
pub const MAP_ANONYMOUS: u32 = 4096; | |
pub const MAP_RESILIENT_CODESIGN: u32 = 8192; | |
pub const MAP_RESILIENT_MEDIA: u32 = 16384; | |
pub const MAP_TRANSLATED_ALLOW_EXECUTE: u32 = 131072; | |
pub const MAP_UNIX03: u32 = 262144; | |
pub const MAP_TPRO: u32 = 524288; | |
pub const MCL_CURRENT: u32 = 1; | |
pub const MCL_FUTURE: u32 = 2; | |
pub const MS_ASYNC: u32 = 1; | |
pub const MS_INVALIDATE: u32 = 2; | |
pub const MS_SYNC: u32 = 16; | |
pub const MS_KILLPAGES: u32 = 4; | |
pub const MS_DEACTIVATE: u32 = 8; | |
pub const POSIX_MADV_NORMAL: u32 = 0; | |
pub const POSIX_MADV_RANDOM: u32 = 1; | |
pub const POSIX_MADV_SEQUENTIAL: u32 = 2; | |
pub const POSIX_MADV_WILLNEED: u32 = 3; | |
pub const POSIX_MADV_DONTNEED: u32 = 4; | |
pub const MADV_NORMAL: u32 = 0; | |
pub const MADV_RANDOM: u32 = 1; | |
pub const MADV_SEQUENTIAL: u32 = 2; | |
pub const MADV_WILLNEED: u32 = 3; | |
pub const MADV_DONTNEED: u32 = 4; | |
pub const MADV_FREE: u32 = 5; | |
pub const MADV_ZERO_WIRED_PAGES: u32 = 6; | |
pub const MADV_FREE_REUSABLE: u32 = 7; | |
pub const MADV_FREE_REUSE: u32 = 8; | |
pub const MADV_CAN_REUSE: u32 = 9; | |
pub const MADV_PAGEOUT: u32 = 10; | |
pub const MINCORE_INCORE: u32 = 1; | |
pub const MINCORE_REFERENCED: u32 = 2; | |
pub const MINCORE_MODIFIED: u32 = 4; | |
pub const MINCORE_REFERENCED_OTHER: u32 = 8; | |
pub const MINCORE_MODIFIED_OTHER: u32 = 16; | |
pub const MINCORE_PAGED_OUT: u32 = 32; | |
pub const MINCORE_COPIED: u32 = 64; | |
pub const MINCORE_ANONYMOUS: u32 = 128; | |
pub const MSG_NOERROR: u32 = 4096; | |
pub const GETNCNT: u32 = 3; | |
pub const GETPID: u32 = 4; | |
pub const GETVAL: u32 = 5; | |
pub const GETALL: u32 = 6; | |
pub const GETZCNT: u32 = 7; | |
pub const SETVAL: u32 = 8; | |
pub const SETALL: u32 = 9; | |
pub const SEM_UNDO: u32 = 4096; | |
pub const SEM_A: u32 = 128; | |
pub const SEM_R: u32 = 256; | |
pub const SHM_RDONLY: u32 = 4096; | |
pub const SHM_RND: u32 = 8192; | |
pub const SHMLBA: u32 = 16384; | |
pub const SHM_R: u32 = 256; | |
pub const SHM_W: u32 = 128; | |
pub const ST_RDONLY: u32 = 1; | |
pub const ST_NOSUID: u32 = 2; | |
pub const GRAFTDMG_SECURE_BOOT_CRYPTEX_ARGS_VERSION: u32 = 1; | |
pub const MAX_GRAFT_ARGS_SIZE: u32 = 512; | |
pub const SBC_PRESERVE_MOUNT: u32 = 1; | |
pub const SBC_ALTERNATE_SHARED_REGION: u32 = 2; | |
pub const SBC_SYSTEM_CONTENT: u32 = 4; | |
pub const SBC_PANIC_ON_AUTHFAIL: u32 = 8; | |
pub const SBC_STRICT_AUTH: u32 = 16; | |
pub const SBC_PRESERVE_GRAFT: u32 = 32; | |
pub const KAUTH_GUID_SIZE: u32 = 16; | |
pub const SOL_LOCAL: u32 = 0; | |
pub const LOCAL_PEERCRED: u32 = 1; | |
pub const LOCAL_PEERPID: u32 = 2; | |
pub const LOCAL_PEEREPID: u32 = 3; | |
pub const LOCAL_PEERUUID: u32 = 4; | |
pub const LOCAL_PEEREUUID: u32 = 5; | |
pub const LOCAL_PEERTOKEN: u32 = 6; | |
pub const _SYS_NAMELEN: u32 = 256; | |
pub const XATTR_NOFOLLOW: u32 = 1; | |
pub const XATTR_CREATE: u32 = 2; | |
pub const XATTR_REPLACE: u32 = 4; | |
pub const XATTR_NOSECURITY: u32 = 8; | |
pub const XATTR_NODEFAULT: u32 = 16; | |
pub const XATTR_SHOWCOMPRESSION: u32 = 32; | |
pub const XATTR_MAXNAMELEN: u32 = 127; | |
pub const XATTR_FINDERINFO_NAME: &[u8; 21usize] = b"com.apple.FinderInfo\0"; | |
pub const XATTR_RESOURCEFORK_NAME: &[u8; 23usize] = b"com.apple.ResourceFork\0"; | |
pub const _PATH_LOG: &[u8; 16usize] = b"/var/run/syslog\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_NETINFO: u32 = 96; | |
pub const LOG_REMOTEAUTH: u32 = 104; | |
pub const LOG_INSTALL: u32 = 112; | |
pub const LOG_RAS: u32 = 120; | |
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_LAUNCHD: u32 = 192; | |
pub const LOG_NFACILITIES: u32 = 25; | |
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 TMAGIC: &[u8; 6usize] = b"ustar\0"; | |
pub const TMAGLEN: u32 = 6; | |
pub const TVERSION: &[u8; 3usize] = b"00\0"; | |
pub const TVERSLEN: u32 = 2; | |
pub const REGTYPE: u8 = 48u8; | |
pub const AREGTYPE: u8 = 0u8; | |
pub const LNKTYPE: u8 = 49u8; | |
pub const SYMTYPE: u8 = 50u8; | |
pub const CHRTYPE: u8 = 51u8; | |
pub const BLKTYPE: u8 = 52u8; | |
pub const DIRTYPE: u8 = 53u8; | |
pub const FIFOTYPE: u8 = 54u8; | |
pub const CONTTYPE: u8 = 55u8; | |
pub const TSUID: u32 = 2048; | |
pub const TSGID: u32 = 1024; | |
pub const TSVTX: u32 = 512; | |
pub const TUREAD: u32 = 256; | |
pub const TUWRITE: u32 = 128; | |
pub const TUEXEC: u32 = 64; | |
pub const TGREAD: u32 = 32; | |
pub const TGWRITE: u32 = 16; | |
pub const TGEXEC: u32 = 8; | |
pub const TOREAD: u32 = 4; | |
pub const TOWRITE: u32 = 2; | |
pub const TOEXEC: u32 = 1; | |
pub const UL_GETFSIZE: u32 = 1; | |
pub const UL_SETFSIZE: u32 = 2; | |
pub const _POSIX_VERSION: u32 = 200112; | |
pub const _POSIX2_VERSION: u32 = 200112; | |
pub const F_OK: u32 = 0; | |
pub const X_OK: u32 = 1; | |
pub const W_OK: u32 = 2; | |
pub const R_OK: u32 = 4; | |
pub const _READ_OK: u32 = 512; | |
pub const _WRITE_OK: u32 = 1024; | |
pub const _EXECUTE_OK: u32 = 2048; | |
pub const _DELETE_OK: u32 = 4096; | |
pub const _APPEND_OK: u32 = 8192; | |
pub const _RMFILE_OK: u32 = 16384; | |
pub const _RATTR_OK: u32 = 32768; | |
pub const _WATTR_OK: u32 = 65536; | |
pub const _REXT_OK: u32 = 131072; | |
pub const _WEXT_OK: u32 = 262144; | |
pub const _RPERM_OK: u32 = 524288; | |
pub const _WPERM_OK: u32 = 1048576; | |
pub const _CHOWN_OK: u32 = 2097152; | |
pub const _ACCESS_EXTENDED_MASK: u32 = 4193792; | |
pub const L_SET: u32 = 0; | |
pub const L_INCR: u32 = 1; | |
pub const L_XTND: u32 = 2; | |
pub const ACCESSX_MAX_DESCRIPTORS: u32 = 100; | |
pub const ACCESSX_MAX_TABLESIZE: u32 = 16384; | |
pub const _PC_LINK_MAX: u32 = 1; | |
pub const _PC_MAX_CANON: u32 = 2; | |
pub const _PC_MAX_INPUT: u32 = 3; | |
pub const _PC_NAME_MAX: u32 = 4; | |
pub const _PC_PATH_MAX: u32 = 5; | |
pub const _PC_PIPE_BUF: u32 = 6; | |
pub const _PC_CHOWN_RESTRICTED: u32 = 7; | |
pub const _PC_NO_TRUNC: u32 = 8; | |
pub const _PC_VDISABLE: u32 = 9; | |
pub const _PC_NAME_CHARS_MAX: u32 = 10; | |
pub const _PC_CASE_SENSITIVE: u32 = 11; | |
pub const _PC_CASE_PRESERVING: u32 = 12; | |
pub const _PC_EXTENDED_SECURITY_NP: u32 = 13; | |
pub const _PC_AUTH_OPAQUE_NP: u32 = 14; | |
pub const _PC_2_SYMLINKS: u32 = 15; | |
pub const _PC_ALLOC_SIZE_MIN: u32 = 16; | |
pub const _PC_ASYNC_IO: u32 = 17; | |
pub const _PC_FILESIZEBITS: u32 = 18; | |
pub const _PC_PRIO_IO: u32 = 19; | |
pub const _PC_REC_INCR_XFER_SIZE: u32 = 20; | |
pub const _PC_REC_MAX_XFER_SIZE: u32 = 21; | |
pub const _PC_REC_MIN_XFER_SIZE: u32 = 22; | |
pub const _PC_REC_XFER_ALIGN: u32 = 23; | |
pub const _PC_SYMLINK_MAX: u32 = 24; | |
pub const _PC_SYNC_IO: u32 = 25; | |
pub const _PC_XATTR_SIZE_BITS: u32 = 26; | |
pub const _PC_MIN_HOLE_SIZE: u32 = 27; | |
pub const _CS_PATH: u32 = 1; | |
pub const STDIN_FILENO: u32 = 0; | |
pub const STDOUT_FILENO: u32 = 1; | |
pub const STDERR_FILENO: u32 = 2; | |
pub const _XOPEN_VERSION: u32 = 600; | |
pub const _XOPEN_XCU_VERSION: u32 = 4; | |
pub const _POSIX_ADVISORY_INFO: i32 = -1; | |
pub const _POSIX_ASYNCHRONOUS_IO: i32 = -1; | |
pub const _POSIX_BARRIERS: i32 = -1; | |
pub const _POSIX_CHOWN_RESTRICTED: u32 = 200112; | |
pub const _POSIX_CLOCK_SELECTION: i32 = -1; | |
pub const _POSIX_CPUTIME: i32 = -1; | |
pub const _POSIX_FSYNC: u32 = 200112; | |
pub const _POSIX_IPV6: u32 = 200112; | |
pub const _POSIX_JOB_CONTROL: u32 = 200112; | |
pub const _POSIX_MAPPED_FILES: u32 = 200112; | |
pub const _POSIX_MEMLOCK: i32 = -1; | |
pub const _POSIX_MEMLOCK_RANGE: i32 = -1; | |
pub const _POSIX_MEMORY_PROTECTION: u32 = 200112; | |
pub const _POSIX_MESSAGE_PASSING: i32 = -1; | |
pub const _POSIX_MONOTONIC_CLOCK: i32 = -1; | |
pub const _POSIX_NO_TRUNC: u32 = 200112; | |
pub const _POSIX_PRIORITIZED_IO: i32 = -1; | |
pub const _POSIX_PRIORITY_SCHEDULING: i32 = -1; | |
pub const _POSIX_RAW_SOCKETS: i32 = -1; | |
pub const _POSIX_READER_WRITER_LOCKS: u32 = 200112; | |
pub const _POSIX_REALTIME_SIGNALS: i32 = -1; | |
pub const _POSIX_REGEXP: u32 = 200112; | |
pub const _POSIX_SAVED_IDS: u32 = 200112; | |
pub const _POSIX_SEMAPHORES: i32 = -1; | |
pub const _POSIX_SHARED_MEMORY_OBJECTS: i32 = -1; | |
pub const _POSIX_SHELL: u32 = 200112; | |
pub const _POSIX_SPAWN: u32 = 200112; | |
pub const _POSIX_SPIN_LOCKS: i32 = -1; | |
pub const _POSIX_SPORADIC_SERVER: i32 = -1; | |
pub const _POSIX_SYNCHRONIZED_IO: i32 = -1; | |
pub const _POSIX_THREAD_ATTR_STACKADDR: u32 = 200112; | |
pub const _POSIX_THREAD_ATTR_STACKSIZE: u32 = 200112; | |
pub const _POSIX_THREAD_CPUTIME: i32 = -1; | |
pub const _POSIX_THREAD_PRIO_INHERIT: i32 = -1; | |
pub const _POSIX_THREAD_PRIO_PROTECT: i32 = -1; | |
pub const _POSIX_THREAD_PRIORITY_SCHEDULING: i32 = -1; | |
pub const _POSIX_THREAD_PROCESS_SHARED: u32 = 200112; | |
pub const _POSIX_THREAD_SAFE_FUNCTIONS: u32 = 200112; | |
pub const _POSIX_THREAD_SPORADIC_SERVER: i32 = -1; | |
pub const _POSIX_THREADS: u32 = 200112; | |
pub const _POSIX_TIMEOUTS: i32 = -1; | |
pub const _POSIX_TIMERS: 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 _POSIX2_C_BIND: u32 = 200112; | |
pub const _POSIX2_C_DEV: u32 = 200112; | |
pub const _POSIX2_CHAR_TERM: u32 = 200112; | |
pub const _POSIX2_FORT_DEV: i32 = -1; | |
pub const _POSIX2_FORT_RUN: u32 = 200112; | |
pub const _POSIX2_LOCALEDEF: u32 = 200112; | |
pub const _POSIX2_PBS: i32 = -1; | |
pub const _POSIX2_PBS_ACCOUNTING: i32 = -1; | |
pub const _POSIX2_PBS_CHECKPOINT: i32 = -1; | |
pub const _POSIX2_PBS_LOCATE: i32 = -1; | |
pub const _POSIX2_PBS_MESSAGE: i32 = -1; | |
pub const _POSIX2_PBS_TRACK: i32 = -1; | |
pub const _POSIX2_SW_DEV: u32 = 200112; | |
pub const _POSIX2_UPE: u32 = 200112; | |
pub const __ILP32_OFF32: i32 = -1; | |
pub const __ILP32_OFFBIG: i32 = -1; | |
pub const __LP64_OFF64: u32 = 1; | |
pub const __LPBIG_OFFBIG: u32 = 1; | |
pub const _POSIX_V6_ILP32_OFF32: i32 = -1; | |
pub const _POSIX_V6_ILP32_OFFBIG: i32 = -1; | |
pub const _POSIX_V6_LP64_OFF64: u32 = 1; | |
pub const _POSIX_V6_LPBIG_OFFBIG: u32 = 1; | |
pub const _POSIX_V7_ILP32_OFF32: i32 = -1; | |
pub const _POSIX_V7_ILP32_OFFBIG: i32 = -1; | |
pub const _POSIX_V7_LP64_OFF64: u32 = 1; | |
pub const _POSIX_V7_LPBIG_OFFBIG: u32 = 1; | |
pub const _V6_ILP32_OFF32: i32 = -1; | |
pub const _V6_ILP32_OFFBIG: i32 = -1; | |
pub const _V6_LP64_OFF64: u32 = 1; | |
pub const _V6_LPBIG_OFFBIG: u32 = 1; | |
pub const _XBS5_ILP32_OFF32: i32 = -1; | |
pub const _XBS5_ILP32_OFFBIG: i32 = -1; | |
pub const _XBS5_LP64_OFF64: u32 = 1; | |
pub const _XBS5_LPBIG_OFFBIG: u32 = 1; | |
pub const _XOPEN_CRYPT: u32 = 1; | |
pub const _XOPEN_ENH_I18N: u32 = 1; | |
pub const _XOPEN_LEGACY: i32 = -1; | |
pub const _XOPEN_REALTIME: i32 = -1; | |
pub const _XOPEN_REALTIME_THREADS: i32 = -1; | |
pub const _XOPEN_SHM: u32 = 1; | |
pub const _XOPEN_STREAMS: i32 = -1; | |
pub const _XOPEN_UNIX: u32 = 1; | |
pub const _SC_ARG_MAX: u32 = 1; | |
pub const _SC_CHILD_MAX: u32 = 2; | |
pub const _SC_CLK_TCK: u32 = 3; | |
pub const _SC_NGROUPS_MAX: u32 = 4; | |
pub const _SC_OPEN_MAX: u32 = 5; | |
pub const _SC_JOB_CONTROL: u32 = 6; | |
pub const _SC_SAVED_IDS: u32 = 7; | |
pub const _SC_VERSION: u32 = 8; | |
pub const _SC_BC_BASE_MAX: u32 = 9; | |
pub const _SC_BC_DIM_MAX: u32 = 10; | |
pub const _SC_BC_SCALE_MAX: u32 = 11; | |
pub const _SC_BC_STRING_MAX: u32 = 12; | |
pub const _SC_COLL_WEIGHTS_MAX: u32 = 13; | |
pub const _SC_EXPR_NEST_MAX: u32 = 14; | |
pub const _SC_LINE_MAX: u32 = 15; | |
pub const _SC_RE_DUP_MAX: u32 = 16; | |
pub const _SC_2_VERSION: u32 = 17; | |
pub const _SC_2_C_BIND: u32 = 18; | |
pub const _SC_2_C_DEV: u32 = 19; | |
pub const _SC_2_CHAR_TERM: u32 = 20; | |
pub const _SC_2_FORT_DEV: u32 = 21; | |
pub const _SC_2_FORT_RUN: u32 = 22; | |
pub const _SC_2_LOCALEDEF: u32 = 23; | |
pub const _SC_2_SW_DEV: u32 = 24; | |
pub const _SC_2_UPE: u32 = 25; | |
pub const _SC_STREAM_MAX: u32 = 26; | |
pub const _SC_TZNAME_MAX: u32 = 27; | |
pub const _SC_ASYNCHRONOUS_IO: u32 = 28; | |
pub const _SC_PAGESIZE: u32 = 29; | |
pub const _SC_MEMLOCK: u32 = 30; | |
pub const _SC_MEMLOCK_RANGE: u32 = 31; | |
pub const _SC_MEMORY_PROTECTION: u32 = 32; | |
pub const _SC_MESSAGE_PASSING: u32 = 33; | |
pub const _SC_PRIORITIZED_IO: u32 = 34; | |
pub const _SC_PRIORITY_SCHEDULING: u32 = 35; | |
pub const _SC_REALTIME_SIGNALS: u32 = 36; | |
pub const _SC_SEMAPHORES: u32 = 37; | |
pub const _SC_FSYNC: u32 = 38; | |
pub const _SC_SHARED_MEMORY_OBJECTS: u32 = 39; | |
pub const _SC_SYNCHRONIZED_IO: u32 = 40; | |
pub const _SC_TIMERS: u32 = 41; | |
pub const _SC_AIO_LISTIO_MAX: u32 = 42; | |
pub const _SC_AIO_MAX: u32 = 43; | |
pub const _SC_AIO_PRIO_DELTA_MAX: u32 = 44; | |
pub const _SC_DELAYTIMER_MAX: u32 = 45; | |
pub const _SC_MQ_OPEN_MAX: u32 = 46; | |
pub const _SC_MAPPED_FILES: u32 = 47; | |
pub const _SC_RTSIG_MAX: u32 = 48; | |
pub const _SC_SEM_NSEMS_MAX: u32 = 49; | |
pub const _SC_SEM_VALUE_MAX: u32 = 50; | |
pub const _SC_SIGQUEUE_MAX: u32 = 51; | |
pub const _SC_TIMER_MAX: u32 = 52; | |
pub const _SC_NPROCESSORS_CONF: u32 = 57; | |
pub const _SC_NPROCESSORS_ONLN: u32 = 58; | |
pub const _SC_2_PBS: u32 = 59; | |
pub const _SC_2_PBS_ACCOUNTING: u32 = 60; | |
pub const _SC_2_PBS_CHECKPOINT: u32 = 61; | |
pub const _SC_2_PBS_LOCATE: u32 = 62; | |
pub const _SC_2_PBS_MESSAGE: u32 = 63; | |
pub const _SC_2_PBS_TRACK: u32 = 64; | |
pub const _SC_ADVISORY_INFO: u32 = 65; | |
pub const _SC_BARRIERS: u32 = 66; | |
pub const _SC_CLOCK_SELECTION: u32 = 67; | |
pub const _SC_CPUTIME: u32 = 68; | |
pub const _SC_FILE_LOCKING: u32 = 69; | |
pub const _SC_GETGR_R_SIZE_MAX: u32 = 70; | |
pub const _SC_GETPW_R_SIZE_MAX: u32 = 71; | |
pub const _SC_HOST_NAME_MAX: u32 = 72; | |
pub const _SC_LOGIN_NAME_MAX: u32 = 73; | |
pub const _SC_MONOTONIC_CLOCK: u32 = 74; | |
pub const _SC_MQ_PRIO_MAX: u32 = 75; | |
pub const _SC_READER_WRITER_LOCKS: u32 = 76; | |
pub const _SC_REGEXP: u32 = 77; | |
pub const _SC_SHELL: u32 = 78; | |
pub const _SC_SPAWN: u32 = 79; | |
pub const _SC_SPIN_LOCKS: u32 = 80; | |
pub const _SC_SPORADIC_SERVER: u32 = 81; | |
pub const _SC_THREAD_ATTR_STACKADDR: u32 = 82; | |
pub const _SC_THREAD_ATTR_STACKSIZE: u32 = 83; | |
pub const _SC_THREAD_CPUTIME: u32 = 84; | |
pub const _SC_THREAD_DESTRUCTOR_ITERATIONS: u32 = 85; | |
pub const _SC_THREAD_KEYS_MAX: u32 = 86; | |
pub const _SC_THREAD_PRIO_INHERIT: u32 = 87; | |
pub const _SC_THREAD_PRIO_PROTECT: u32 = 88; | |
pub const _SC_THREAD_PRIORITY_SCHEDULING: u32 = 89; | |
pub const _SC_THREAD_PROCESS_SHARED: u32 = 90; | |
pub const _SC_THREAD_SAFE_FUNCTIONS: u32 = 91; | |
pub const _SC_THREAD_SPORADIC_SERVER: u32 = 92; | |
pub const _SC_THREAD_STACK_MIN: u32 = 93; | |
pub const _SC_THREAD_THREADS_MAX: u32 = 94; | |
pub const _SC_TIMEOUTS: u32 = 95; | |
pub const _SC_THREADS: u32 = 96; | |
pub const _SC_TRACE: u32 = 97; | |
pub const _SC_TRACE_EVENT_FILTER: u32 = 98; | |
pub const _SC_TRACE_INHERIT: u32 = 99; | |
pub const _SC_TRACE_LOG: u32 = 100; | |
pub const _SC_TTY_NAME_MAX: u32 = 101; | |
pub const _SC_TYPED_MEMORY_OBJECTS: u32 = 102; | |
pub const _SC_V6_ILP32_OFF32: u32 = 103; | |
pub const _SC_V6_ILP32_OFFBIG: u32 = 104; | |
pub const _SC_V6_LP64_OFF64: u32 = 105; | |
pub const _SC_V6_LPBIG_OFFBIG: u32 = 106; | |
pub const _SC_IPV6: u32 = 118; | |
pub const _SC_RAW_SOCKETS: u32 = 119; | |
pub const _SC_SYMLOOP_MAX: u32 = 120; | |
pub const _SC_ATEXIT_MAX: u32 = 107; | |
pub const _SC_IOV_MAX: u32 = 56; | |
pub const _SC_PAGE_SIZE: u32 = 29; | |
pub const _SC_XOPEN_CRYPT: u32 = 108; | |
pub const _SC_XOPEN_ENH_I18N: u32 = 109; | |
pub const _SC_XOPEN_LEGACY: u32 = 110; | |
pub const _SC_XOPEN_REALTIME: u32 = 111; | |
pub const _SC_XOPEN_REALTIME_THREADS: u32 = 112; | |
pub const _SC_XOPEN_SHM: u32 = 113; | |
pub const _SC_XOPEN_STREAMS: u32 = 114; | |
pub const _SC_XOPEN_UNIX: u32 = 115; | |
pub const _SC_XOPEN_VERSION: u32 = 116; | |
pub const _SC_XOPEN_XCU_VERSION: u32 = 121; | |
pub const _SC_XBS5_ILP32_OFF32: u32 = 122; | |
pub const _SC_XBS5_ILP32_OFFBIG: u32 = 123; | |
pub const _SC_XBS5_LP64_OFF64: u32 = 124; | |
pub const _SC_XBS5_LPBIG_OFFBIG: u32 = 125; | |
pub const _SC_SS_REPL_MAX: u32 = 126; | |
pub const _SC_TRACE_EVENT_NAME_MAX: u32 = 127; | |
pub const _SC_TRACE_NAME_MAX: u32 = 128; | |
pub const _SC_TRACE_SYS_MAX: u32 = 129; | |
pub const _SC_TRACE_USER_EVENT_MAX: u32 = 130; | |
pub const _SC_PASS_MAX: u32 = 131; | |
pub const _SC_PHYS_PAGES: u32 = 200; | |
pub const _CS_POSIX_V6_ILP32_OFF32_CFLAGS: u32 = 2; | |
pub const _CS_POSIX_V6_ILP32_OFF32_LDFLAGS: u32 = 3; | |
pub const _CS_POSIX_V6_ILP32_OFF32_LIBS: u32 = 4; | |
pub const _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS: u32 = 5; | |
pub const _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS: u32 = 6; | |
pub const _CS_POSIX_V6_ILP32_OFFBIG_LIBS: u32 = 7; | |
pub const _CS_POSIX_V6_LP64_OFF64_CFLAGS: u32 = 8; | |
pub const _CS_POSIX_V6_LP64_OFF64_LDFLAGS: u32 = 9; | |
pub const _CS_POSIX_V6_LP64_OFF64_LIBS: u32 = 10; | |
pub const _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS: u32 = 11; | |
pub const _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS: u32 = 12; | |
pub const _CS_POSIX_V6_LPBIG_OFFBIG_LIBS: u32 = 13; | |
pub const _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS: u32 = 14; | |
pub const _CS_XBS5_ILP32_OFF32_CFLAGS: u32 = 20; | |
pub const _CS_XBS5_ILP32_OFF32_LDFLAGS: u32 = 21; | |
pub const _CS_XBS5_ILP32_OFF32_LIBS: u32 = 22; | |
pub const _CS_XBS5_ILP32_OFF32_LINTFLAGS: u32 = 23; | |
pub const _CS_XBS5_ILP32_OFFBIG_CFLAGS: u32 = 24; | |
pub const _CS_XBS5_ILP32_OFFBIG_LDFLAGS: u32 = 25; | |
pub const _CS_XBS5_ILP32_OFFBIG_LIBS: u32 = 26; | |
pub const _CS_XBS5_ILP32_OFFBIG_LINTFLAGS: u32 = 27; | |
pub const _CS_XBS5_LP64_OFF64_CFLAGS: u32 = 28; | |
pub const _CS_XBS5_LP64_OFF64_LDFLAGS: u32 = 29; | |
pub const _CS_XBS5_LP64_OFF64_LIBS: u32 = 30; | |
pub const _CS_XBS5_LP64_OFF64_LINTFLAGS: u32 = 31; | |
pub const _CS_XBS5_LPBIG_OFFBIG_CFLAGS: u32 = 32; | |
pub const _CS_XBS5_LPBIG_OFFBIG_LDFLAGS: u32 = 33; | |
pub const _CS_XBS5_LPBIG_OFFBIG_LIBS: u32 = 34; | |
pub const _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS: u32 = 35; | |
pub const _CS_DARWIN_USER_DIR: u32 = 65536; | |
pub const _CS_DARWIN_USER_TEMP_DIR: u32 = 65537; | |
pub const _CS_DARWIN_USER_CACHE_DIR: u32 = 65538; | |
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 SYNC_VOLUME_FULLSYNC: u32 = 1; | |
pub const SYNC_VOLUME_WAIT: u32 = 2; | |
pub const _PATH_UTMPX: &[u8; 15usize] = b"/var/run/utmpx\0"; | |
pub const UTMPX_FILE: &[u8; 15usize] = b"/var/run/utmpx\0"; | |
pub const _UTX_USERSIZE: u32 = 256; | |
pub const _UTX_LINESIZE: u32 = 32; | |
pub const _UTX_IDSIZE: u32 = 4; | |
pub const _UTX_HOSTSIZE: u32 = 256; | |
pub const EMPTY: u32 = 0; | |
pub const RUN_LVL: u32 = 1; | |
pub const BOOT_TIME: u32 = 2; | |
pub const OLD_TIME: u32 = 3; | |
pub const NEW_TIME: u32 = 4; | |
pub const INIT_PROCESS: u32 = 5; | |
pub const LOGIN_PROCESS: u32 = 6; | |
pub const USER_PROCESS: u32 = 7; | |
pub const DEAD_PROCESS: u32 = 8; | |
pub const ACCOUNTING: u32 = 9; | |
pub const SIGNATURE: u32 = 10; | |
pub const SHUTDOWN_TIME: u32 = 11; | |
pub const UTMPX_AUTOFILL_MASK: u32 = 32768; | |
pub const UTMPX_DEAD_IF_CORRESPONDING_MASK: u32 = 16384; | |
pub const UTMPX_CHANGE_NOTIFICATION: &[u8; 23usize] = b"com.apple.system.utmpx\0"; | |
pub const WRDE_APPEND: u32 = 1; | |
pub const WRDE_DOOFFS: u32 = 2; | |
pub const WRDE_NOCMD: u32 = 4; | |
pub const WRDE_REUSE: u32 = 8; | |
pub const WRDE_SHOWERR: u32 = 16; | |
pub const WRDE_UNDEF: u32 = 32; | |
pub const WRDE_BADCHAR: u32 = 1; | |
pub const WRDE_BADVAL: u32 = 2; | |
pub const WRDE_CMDSUB: u32 = 3; | |
pub const WRDE_NOSPACE: u32 = 4; | |
pub const WRDE_NOSYS: u32 = 5; | |
pub const WRDE_SYNTAX: u32 = 6; | |
pub const ETHER_ADDR_LEN: u32 = 6; | |
pub const ETHER_TYPE_LEN: u32 = 2; | |
pub const ETHER_CRC_LEN: u32 = 4; | |
pub const ETHER_HDR_LEN: u32 = 14; | |
pub const ETHER_MIN_LEN: u32 = 64; | |
pub const ETHER_MAX_LEN: u32 = 1518; | |
pub const ETHER_ALIGN: u32 = 2; | |
pub const ETHERTYPE_PUP: u32 = 512; | |
pub const ETHERTYPE_IP: u32 = 2048; | |
pub const ETHERTYPE_ARP: u32 = 2054; | |
pub const ETHERTYPE_REVARP: u32 = 32821; | |
pub const ETHERTYPE_VLAN: u32 = 33024; | |
pub const ETHERTYPE_IPV6: u32 = 34525; | |
pub const ETHERTYPE_PAE: u32 = 34958; | |
pub const ETHERTYPE_RSN_PREAUTH: u32 = 35015; | |
pub const ETHERTYPE_PTP: u32 = 35063; | |
pub const ETHERTYPE_LOOPBACK: u32 = 36864; | |
pub const ETHERTYPE_TRAIL: u32 = 4096; | |
pub const ETHERTYPE_NTRAILER: u32 = 16; | |
pub const ETHERMTU: u32 = 1500; | |
pub const ETHERMIN: u32 = 46; | |
pub const IF_CELLULAR_STATUS_REPORT_VERSION_1: u32 = 1; | |
pub const IF_WIFI_STATUS_REPORT_VERSION_1: u32 = 1; | |
pub const IF_CELLULAR_STATUS_REPORT_CURRENT_VERSION: u32 = 1; | |
pub const IF_WIFI_STATUS_REPORT_CURRENT_VERSION: u32 = 1; | |
pub const IF_CELL_LINK_QUALITY_METRIC_VALID: u32 = 1; | |
pub const IF_CELL_UL_EFFECTIVE_BANDWIDTH_VALID: u32 = 2; | |
pub const IF_CELL_UL_MAX_BANDWIDTH_VALID: u32 = 4; | |
pub const IF_CELL_UL_MIN_LATENCY_VALID: u32 = 8; | |
pub const IF_CELL_UL_EFFECTIVE_LATENCY_VALID: u32 = 16; | |
pub const IF_CELL_UL_MAX_LATENCY_VALID: u32 = 32; | |
pub const IF_CELL_UL_RETXT_LEVEL_VALID: u32 = 64; | |
pub const IF_CELL_UL_BYTES_LOST_VALID: u32 = 128; | |
pub const IF_CELL_UL_MIN_QUEUE_SIZE_VALID: u32 = 256; | |
pub const IF_CELL_UL_AVG_QUEUE_SIZE_VALID: u32 = 512; | |
pub const IF_CELL_UL_MAX_QUEUE_SIZE_VALID: u32 = 1024; | |
pub const IF_CELL_DL_EFFECTIVE_BANDWIDTH_VALID: u32 = 2048; | |
pub const IF_CELL_DL_MAX_BANDWIDTH_VALID: u32 = 4096; | |
pub const IF_CELL_CONFIG_INACTIVITY_TIME_VALID: u32 = 8192; | |
pub const IF_CELL_CONFIG_BACKOFF_TIME_VALID: u32 = 16384; | |
pub const IF_CELL_UL_MSS_RECOMMENDED_VALID: u32 = 32768; | |
pub const IF_CELL_UL_RETXT_LEVEL_NONE: u32 = 1; | |
pub const IF_CELL_UL_RETXT_LEVEL_LOW: u32 = 2; | |
pub const IF_CELL_UL_RETXT_LEVEL_MEDIUM: u32 = 3; | |
pub const IF_CELL_UL_RETXT_LEVEL_HIGH: u32 = 4; | |
pub const IF_CELL_UL_MSS_RECOMMENDED_NONE: u32 = 0; | |
pub const IF_CELL_UL_MSS_RECOMMENDED_MEDIUM: u32 = 1; | |
pub const IF_CELL_UL_MSS_RECOMMENDED_LOW: u32 = 2; | |
pub const IF_WIFI_LINK_QUALITY_METRIC_VALID: u32 = 1; | |
pub const IF_WIFI_UL_EFFECTIVE_BANDWIDTH_VALID: u32 = 2; | |
pub const IF_WIFI_UL_MAX_BANDWIDTH_VALID: u32 = 4; | |
pub const IF_WIFI_UL_MIN_LATENCY_VALID: u32 = 8; | |
pub const IF_WIFI_UL_EFFECTIVE_LATENCY_VALID: u32 = 16; | |
pub const IF_WIFI_UL_MAX_LATENCY_VALID: u32 = 32; | |
pub const IF_WIFI_UL_RETXT_LEVEL_VALID: u32 = 64; | |
pub const IF_WIFI_UL_ERROR_RATE_VALID: u32 = 128; | |
pub const IF_WIFI_UL_BYTES_LOST_VALID: u32 = 256; | |
pub const IF_WIFI_DL_EFFECTIVE_BANDWIDTH_VALID: u32 = 512; | |
pub const IF_WIFI_DL_MAX_BANDWIDTH_VALID: u32 = 1024; | |
pub const IF_WIFI_DL_MIN_LATENCY_VALID: u32 = 2048; | |
pub const IF_WIFI_DL_EFFECTIVE_LATENCY_VALID: u32 = 4096; | |
pub const IF_WIFI_DL_MAX_LATENCY_VALID: u32 = 8192; | |
pub const IF_WIFI_DL_ERROR_RATE_VALID: u32 = 16384; | |
pub const IF_WIFI_CONFIG_FREQUENCY_VALID: u32 = 32768; | |
pub const IF_WIFI_CONFIG_MULTICAST_RATE_VALID: u32 = 65536; | |
pub const IF_WIFI_CONFIG_SCAN_COUNT_VALID: u32 = 131072; | |
pub const IF_WIFI_CONFIG_SCAN_DURATION_VALID: u32 = 262144; | |
pub const IF_WIFI_UL_RETXT_LEVEL_NONE: u32 = 1; | |
pub const IF_WIFI_UL_RETXT_LEVEL_LOW: u32 = 2; | |
pub const IF_WIFI_UL_RETXT_LEVEL_MEDIUM: u32 = 3; | |
pub const IF_WIFI_UL_RETXT_LEVEL_HIGH: u32 = 4; | |
pub const IF_WIFI_CONFIG_FREQUENCY_2_4_GHZ: u32 = 1; | |
pub const IF_WIFI_CONFIG_FREQUENCY_5_0_GHZ: u32 = 2; | |
pub const IF_INTERFACE_ADVISORY_WIFI_RADIO_COEX_BT: u32 = 1; | |
pub const IF_INTERFACE_ADVISORY_WIFI_RADIO_COEX_AWDL: u32 = 2; | |
pub const IF_INTERFACE_ADVISORY_WIFI_TX_QUEUE_COUNT: u32 = 6; | |
pub const IF_INTERFACE_ADVISORY_CELL_OUTAGE_STATE_NO: u32 = 0; | |
pub const IF_INTERFACE_ADVISORY_CELL_OUTAGE_STATE_YES: u32 = 1; | |
pub const IFNET_TRAFFIC_DESCRIPTOR_TYPE_INET: u32 = 2; | |
pub const IFNET_TRAFFIC_DESCRIPTOR_FLAG_INBOUND: u32 = 1; | |
pub const IFNET_TRAFFIC_DESCRIPTOR_FLAG_OUTBOUND: u32 = 2; | |
pub const IFNET_TRAFFIC_DESCRIPTOR_INET_IPVER: u32 = 1; | |
pub const IFNET_TRAFFIC_DESCRIPTOR_INET_PROTO: u32 = 2; | |
pub const IFNET_TRAFFIC_DESCRIPTOR_INET_LADDR: u32 = 4; | |
pub const IFNET_TRAFFIC_DESCRIPTOR_INET_RADDR: u32 = 8; | |
pub const IFNET_TRAFFIC_DESCRIPTOR_INET_LPORT: u32 = 16; | |
pub const IFNET_TRAFFIC_DESCRIPTOR_INET_RPORT: u32 = 32; | |
pub const IFNET_TRAFFIC_RULE_ACTION_STEER: u32 = 1; | |
pub const __PFKEY_V2_H: u32 = 1; | |
pub const PF_KEY_V2: u32 = 2; | |
pub const PFKEYV2_REVISION: u32 = 199806; | |
pub const SADB_RESERVED: u32 = 0; | |
pub const SADB_GETSPI: u32 = 1; | |
pub const SADB_UPDATE: u32 = 2; | |
pub const SADB_ADD: u32 = 3; | |
pub const SADB_DELETE: u32 = 4; | |
pub const SADB_GET: u32 = 5; | |
pub const SADB_ACQUIRE: u32 = 6; | |
pub const SADB_REGISTER: u32 = 7; | |
pub const SADB_EXPIRE: u32 = 8; | |
pub const SADB_FLUSH: u32 = 9; | |
pub const SADB_DUMP: u32 = 10; | |
pub const SADB_X_PROMISC: u32 = 11; | |
pub const SADB_X_PCHANGE: u32 = 12; | |
pub const SADB_X_SPDUPDATE: u32 = 13; | |
pub const SADB_X_SPDADD: u32 = 14; | |
pub const SADB_X_SPDDELETE: u32 = 15; | |
pub const SADB_X_SPDGET: u32 = 16; | |
pub const SADB_X_SPDACQUIRE: u32 = 17; | |
pub const SADB_X_SPDDUMP: u32 = 18; | |
pub const SADB_X_SPDFLUSH: u32 = 19; | |
pub const SADB_X_SPDSETIDX: u32 = 20; | |
pub const SADB_X_SPDEXPIRE: u32 = 21; | |
pub const SADB_X_SPDDELETE2: u32 = 22; | |
pub const SADB_GETSASTAT: u32 = 23; | |
pub const SADB_X_SPDENABLE: u32 = 24; | |
pub const SADB_X_SPDDISABLE: u32 = 25; | |
pub const SADB_MIGRATE: u32 = 26; | |
pub const SADB_MAX: u32 = 26; | |
pub const SADB_EXT_RESERVED: u32 = 0; | |
pub const SADB_EXT_SA: u32 = 1; | |
pub const SADB_EXT_LIFETIME_CURRENT: u32 = 2; | |
pub const SADB_EXT_LIFETIME_HARD: u32 = 3; | |
pub const SADB_EXT_LIFETIME_SOFT: u32 = 4; | |
pub const SADB_EXT_ADDRESS_SRC: u32 = 5; | |
pub const SADB_EXT_ADDRESS_DST: u32 = 6; | |
pub const SADB_EXT_ADDRESS_PROXY: u32 = 7; | |
pub const SADB_EXT_KEY_AUTH: u32 = 8; | |
pub const SADB_EXT_KEY_ENCRYPT: u32 = 9; | |
pub const SADB_EXT_IDENTITY_SRC: u32 = 10; | |
pub const SADB_EXT_IDENTITY_DST: u32 = 11; | |
pub const SADB_EXT_SENSITIVITY: u32 = 12; | |
pub const SADB_EXT_PROPOSAL: u32 = 13; | |
pub const SADB_EXT_SUPPORTED_AUTH: u32 = 14; | |
pub const SADB_EXT_SUPPORTED_ENCRYPT: u32 = 15; | |
pub const SADB_EXT_SPIRANGE: u32 = 16; | |
pub const SADB_X_EXT_KMPRIVATE: u32 = 17; | |
pub const SADB_X_EXT_POLICY: u32 = 18; | |
pub const SADB_X_EXT_SA2: u32 = 19; | |
pub const SADB_EXT_SESSION_ID: u32 = 20; | |
pub const SADB_EXT_SASTAT: u32 = 21; | |
pub const SADB_X_EXT_IPSECIF: u32 = 22; | |
pub const SADB_X_EXT_ADDR_RANGE_SRC_START: u32 = 23; | |
pub const SADB_X_EXT_ADDR_RANGE_SRC_END: u32 = 24; | |
pub const SADB_X_EXT_ADDR_RANGE_DST_START: u32 = 25; | |
pub const SADB_X_EXT_ADDR_RANGE_DST_END: u32 = 26; | |
pub const SADB_EXT_MIGRATE_ADDRESS_SRC: u32 = 27; | |
pub const SADB_EXT_MIGRATE_ADDRESS_DST: u32 = 28; | |
pub const SADB_X_EXT_MIGRATE_IPSECIF: u32 = 29; | |
pub const SADB_EXT_MAX: u32 = 29; | |
pub const SADB_SATYPE_UNSPEC: u32 = 0; | |
pub const SADB_SATYPE_AH: u32 = 2; | |
pub const SADB_SATYPE_ESP: u32 = 3; | |
pub const SADB_SATYPE_RSVP: u32 = 5; | |
pub const SADB_SATYPE_OSPFV2: u32 = 6; | |
pub const SADB_SATYPE_RIPV2: u32 = 7; | |
pub const SADB_SATYPE_MIP: u32 = 8; | |
pub const SADB_X_SATYPE_IPCOMP: u32 = 9; | |
pub const SADB_X_SATYPE_POLICY: u32 = 10; | |
pub const SADB_SATYPE_MAX: u32 = 11; | |
pub const SADB_SASTATE_LARVAL: u32 = 0; | |
pub const SADB_SASTATE_MATURE: u32 = 1; | |
pub const SADB_SASTATE_DYING: u32 = 2; | |
pub const SADB_SASTATE_DEAD: u32 = 3; | |
pub const SADB_SASTATE_MAX: u32 = 3; | |
pub const SADB_SAFLAGS_PFS: u32 = 1; | |
pub const SADB_AALG_NONE: u32 = 0; | |
pub const SADB_AALG_MD5HMAC: u32 = 1; | |
pub const SADB_AALG_SHA1HMAC: u32 = 2; | |
pub const SADB_AALG_MAX: u32 = 8; | |
pub const SADB_X_AALG_SHA2_256: u32 = 6; | |
pub const SADB_X_AALG_SHA2_384: u32 = 7; | |
pub const SADB_X_AALG_SHA2_512: u32 = 8; | |
pub const SADB_X_AALG_MD5: u32 = 3; | |
pub const SADB_X_AALG_SHA: u32 = 4; | |
pub const SADB_X_AALG_NULL: u32 = 5; | |
pub const SADB_EALG_NONE: u32 = 0; | |
pub const SADB_EALG_DESCBC: u32 = 1; | |
pub const SADB_EALG_3DESCBC: u32 = 2; | |
pub const SADB_EALG_NULL: u32 = 3; | |
pub const SADB_EALG_MAX: u32 = 12; | |
pub const SADB_X_EALG_CAST128CBC: u32 = 5; | |
pub const SADB_X_EALG_BLOWFISHCBC: u32 = 4; | |
pub const SADB_X_EALG_RIJNDAELCBC: u32 = 12; | |
pub const SADB_X_EALG_AESCBC: u32 = 12; | |
pub const SADB_X_EALG_AES: u32 = 12; | |
pub const SADB_X_EALG_AES_GCM: u32 = 13; | |
pub const SADB_X_EALG_CHACHA20POLY1305: u32 = 14; | |
pub const SADB_X_EALG_AES_GMAC: u32 = 15; | |
pub const SADB_X_CALG_NONE: u32 = 0; | |
pub const SADB_X_CALG_OUI: u32 = 1; | |
pub const SADB_X_CALG_DEFLATE: u32 = 2; | |
pub const SADB_X_CALG_LZS: u32 = 3; | |
pub const SADB_X_CALG_MAX: u32 = 4; | |
pub const SADB_IDENTTYPE_RESERVED: u32 = 0; | |
pub const SADB_IDENTTYPE_PREFIX: u32 = 1; | |
pub const SADB_IDENTTYPE_FQDN: u32 = 2; | |
pub const SADB_IDENTTYPE_USERFQDN: u32 = 3; | |
pub const SADB_X_IDENTTYPE_ADDR: u32 = 4; | |
pub const SADB_IDENTTYPE_MAX: u32 = 4; | |
pub const SADB_X_EXT_NONE: u32 = 0; | |
pub const SADB_X_EXT_OLD: u32 = 1; | |
pub const SADB_X_EXT_IV4B: u32 = 16; | |
pub const SADB_X_EXT_DERIV: u32 = 32; | |
pub const SADB_X_EXT_CYCSEQ: u32 = 64; | |
pub const SADB_X_EXT_PSEQ: u32 = 0; | |
pub const SADB_X_EXT_PRAND: u32 = 256; | |
pub const SADB_X_EXT_PZERO: u32 = 512; | |
pub const SADB_X_EXT_PMASK: u32 = 768; | |
pub const SADB_X_EXT_IIV: u32 = 1024; | |
pub const SADB_X_EXT_RAWCPI: u32 = 128; | |
pub const SADB_KEY_FLAGS_MAX: u32 = 32767; | |
pub const SADB_X_LIFETIME_ALLOCATIONS: u32 = 0; | |
pub const SADB_X_LIFETIME_BYTES: u32 = 1; | |
pub const SADB_X_LIFETIME_ADDTIME: u32 = 2; | |
pub const SADB_X_LIFETIME_USETIME: u32 = 3; | |
pub const PFKEY_SOFT_LIFETIME_RATE: u32 = 80; | |
pub const ICMPV6_PLD_MAXLEN: u32 = 1232; | |
pub const ICMP6_DST_UNREACH: u32 = 1; | |
pub const ICMP6_PACKET_TOO_BIG: u32 = 2; | |
pub const ICMP6_TIME_EXCEEDED: u32 = 3; | |
pub const ICMP6_PARAM_PROB: u32 = 4; | |
pub const ICMP6_ECHO_REQUEST: u32 = 128; | |
pub const ICMP6_ECHO_REPLY: u32 = 129; | |
pub const MLD_LISTENER_QUERY: u32 = 130; | |
pub const MLD_LISTENER_REPORT: u32 = 131; | |
pub const MLD_LISTENER_DONE: u32 = 132; | |
pub const MLD_LISTENER_REDUCTION: u32 = 132; | |
pub const ICMP6_MEMBERSHIP_QUERY: u32 = 130; | |
pub const ICMP6_MEMBERSHIP_REPORT: u32 = 131; | |
pub const ICMP6_MEMBERSHIP_REDUCTION: u32 = 132; | |
pub const MLD6_LISTENER_QUERY: u32 = 130; | |
pub const MLD6_LISTENER_REPORT: u32 = 131; | |
pub const MLD6_LISTENER_DONE: u32 = 132; | |
pub const ND_ROUTER_SOLICIT: u32 = 133; | |
pub const ND_ROUTER_ADVERT: u32 = 134; | |
pub const ND_NEIGHBOR_SOLICIT: u32 = 135; | |
pub const ND_NEIGHBOR_ADVERT: u32 = 136; | |
pub const ND_REDIRECT: u32 = 137; | |
pub const ICMP6_ROUTER_RENUMBERING: u32 = 138; | |
pub const ICMP6_WRUREQUEST: u32 = 139; | |
pub const ICMP6_WRUREPLY: u32 = 140; | |
pub const ICMP6_FQDN_QUERY: u32 = 139; | |
pub const ICMP6_FQDN_REPLY: u32 = 140; | |
pub const ICMP6_NI_QUERY: u32 = 139; | |
pub const ICMP6_NI_REPLY: u32 = 140; | |
pub const MLDV2_LISTENER_REPORT: u32 = 143; | |
pub const MLD_MTRACE_RESP: u32 = 200; | |
pub const MLD_MTRACE: u32 = 201; | |
pub const MLD6_MTRACE_RESP: u32 = 200; | |
pub const MLD6_MTRACE: u32 = 201; | |
pub const ICMP6_MAXTYPE: u32 = 201; | |
pub const ICMP6_DST_UNREACH_NOROUTE: u32 = 0; | |
pub const ICMP6_DST_UNREACH_ADMIN: u32 = 1; | |
pub const ICMP6_DST_UNREACH_NOTNEIGHBOR: u32 = 2; | |
pub const ICMP6_DST_UNREACH_BEYONDSCOPE: u32 = 2; | |
pub const ICMP6_DST_UNREACH_ADDR: u32 = 3; | |
pub const ICMP6_DST_UNREACH_NOPORT: u32 = 4; | |
pub const ICMP6_TIME_EXCEED_TRANSIT: u32 = 0; | |
pub const ICMP6_TIME_EXCEED_REASSEMBLY: u32 = 1; | |
pub const ICMP6_PARAMPROB_HEADER: u32 = 0; | |
pub const ICMP6_PARAMPROB_NEXTHEADER: u32 = 1; | |
pub const ICMP6_PARAMPROB_OPTION: u32 = 2; | |
pub const ICMP6_PARAMPROB_FIRSTFRAG_INCOMP_HDR: u32 = 3; | |
pub const ICMP6_INFOMSG_MASK: u32 = 128; | |
pub const ICMP6_NI_SUBJ_IPV6: u32 = 0; | |
pub const ICMP6_NI_SUBJ_FQDN: u32 = 1; | |
pub const ICMP6_NI_SUBJ_IPV4: u32 = 2; | |
pub const ICMP6_NI_SUCCESS: u32 = 0; | |
pub const ICMP6_NI_REFUSED: u32 = 1; | |
pub const ICMP6_NI_UNKNOWN: u32 = 2; | |
pub const ICMP6_ROUTER_RENUMBERING_COMMAND: u32 = 0; | |
pub const ICMP6_ROUTER_RENUMBERING_RESULT: u32 = 1; | |
pub const ICMP6_ROUTER_RENUMBERING_SEQNUM_RESET: u32 = 255; | |
pub const ND_REDIRECT_ONLINK: u32 = 0; | |
pub const ND_REDIRECT_ROUTER: u32 = 1; | |
pub const ND_RA_FLAG_MANAGED: u32 = 128; | |
pub const ND_RA_FLAG_OTHER: u32 = 64; | |
pub const ND_RA_FLAG_HA: u32 = 32; | |
pub const ND_RA_FLAG_RTPREF_MASK: u32 = 24; | |
pub const ND_RA_FLAG_RTPREF_HIGH: u32 = 8; | |
pub const ND_RA_FLAG_RTPREF_MEDIUM: u32 = 0; | |
pub const ND_RA_FLAG_RTPREF_LOW: u32 = 24; | |
pub const ND_RA_FLAG_RTPREF_RSV: u32 = 16; | |
pub const ND_NA_FLAG_ROUTER: u32 = 128; | |
pub const ND_NA_FLAG_SOLICITED: u32 = 64; | |
pub const ND_NA_FLAG_OVERRIDE: u32 = 32; | |
pub const ND_OPT_SOURCE_LINKADDR: u32 = 1; | |
pub const ND_OPT_TARGET_LINKADDR: u32 = 2; | |
pub const ND_OPT_PREFIX_INFORMATION: u32 = 3; | |
pub const ND_OPT_REDIRECTED_HEADER: u32 = 4; | |
pub const ND_OPT_MTU: u32 = 5; | |
pub const ND_OPT_NONCE: u32 = 14; | |
pub const ND_OPT_ROUTE_INFO: u32 = 24; | |
pub const ND_OPT_RDNSS: u32 = 25; | |
pub const ND_OPT_DNSSL: u32 = 31; | |
pub const ND_OPT_CAPTIVE_PORTAL: u32 = 37; | |
pub const ND_OPT_PREF64: u32 = 38; | |
pub const ND_OPT_PI_FLAG_ONLINK: u32 = 128; | |
pub const ND_OPT_PI_FLAG_AUTO: u32 = 64; | |
pub const ND_OPT_NONCE_LEN: u32 = 6; | |
pub const ND_OPT_PREF64_SCALED_LIFETIME_MASK: u32 = 65528; | |
pub const ND_OPT_PREF64_PLC_MASK: u32 = 7; | |
pub const ND_OPT_PREF64_LIFETIME_MAX: u32 = 65528; | |
pub const ND_OPT_PREF64_PLC_32: u32 = 5; | |
pub const ND_OPT_PREF64_PLC_40: u32 = 4; | |
pub const ND_OPT_PREF64_PLC_48: u32 = 3; | |
pub const ND_OPT_PREF64_PLC_56: u32 = 2; | |
pub const ND_OPT_PREF64_PLC_64: u32 = 1; | |
pub const ND_OPT_PREF64_PLC_96: u32 = 0; | |
pub const NI_QTYPE_NOOP: u32 = 0; | |
pub const NI_QTYPE_SUPTYPES: u32 = 1; | |
pub const NI_QTYPE_FQDN: u32 = 2; | |
pub const NI_QTYPE_DNSNAME: u32 = 2; | |
pub const NI_QTYPE_NODEADDR: u32 = 3; | |
pub const NI_QTYPE_IPV4ADDR: u32 = 4; | |
pub const NI_SUPTYPE_FLAG_COMPRESS: u32 = 256; | |
pub const NI_FQDN_FLAG_VALIDTTL: u32 = 256; | |
pub const NI_NODEADDR_FLAG_TRUNCATE: u32 = 256; | |
pub const NI_NODEADDR_FLAG_ALL: u32 = 512; | |
pub const NI_NODEADDR_FLAG_COMPAT: u32 = 1024; | |
pub const NI_NODEADDR_FLAG_LINKLOCAL: u32 = 2048; | |
pub const NI_NODEADDR_FLAG_SITELOCAL: u32 = 4096; | |
pub const NI_NODEADDR_FLAG_GLOBAL: u32 = 8192; | |
pub const NI_NODEADDR_FLAG_ANYCAST: u32 = 16384; | |
pub const ICMP6_RR_FLAGS_TEST: u32 = 128; | |
pub const ICMP6_RR_FLAGS_REQRESULT: u32 = 64; | |
pub const ICMP6_RR_FLAGS_FORCEAPPLY: u32 = 32; | |
pub const ICMP6_RR_FLAGS_SPECSITE: u32 = 16; | |
pub const ICMP6_RR_FLAGS_PREVDONE: u32 = 8; | |
pub const RPM_PCO_ADD: u32 = 1; | |
pub const RPM_PCO_CHANGE: u32 = 2; | |
pub const RPM_PCO_SETGLOBAL: u32 = 3; | |
pub const RPM_PCO_MAX: u32 = 4; | |
pub const ICMP6_RR_PCOUSE_RAFLAGS_ONLINK: u32 = 128; | |
pub const ICMP6_RR_PCOUSE_RAFLAGS_AUTO: u32 = 64; | |
pub const ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME: u32 = 128; | |
pub const ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME: u32 = 64; | |
pub const ICMP6_RR_RESULT_FLAGS_OOB: u32 = 512; | |
pub const ICMP6_RR_RESULT_FLAGS_FORBIDDEN: u32 = 256; | |
pub const ICMPV6CTL_STATS: u32 = 1; | |
pub const ICMPV6CTL_REDIRACCEPT: u32 = 2; | |
pub const ICMPV6CTL_REDIRTIMEOUT: u32 = 3; | |
pub const ICMPV6CTL_ND6_PRUNE: u32 = 6; | |
pub const ICMPV6CTL_ND6_DELAY: u32 = 8; | |
pub const ICMPV6CTL_ND6_UMAXTRIES: u32 = 9; | |
pub const ICMPV6CTL_ND6_MMAXTRIES: u32 = 10; | |
pub const ICMPV6CTL_ND6_USELOOPBACK: u32 = 11; | |
pub const ICMPV6CTL_NODEINFO: u32 = 13; | |
pub const ICMPV6CTL_ERRPPSLIMIT: u32 = 14; | |
pub const ICMPV6CTL_ND6_MAXNUDHINT: u32 = 15; | |
pub const ICMPV6CTL_MTUDISC_HIWAT: u32 = 16; | |
pub const ICMPV6CTL_MTUDISC_LOWAT: u32 = 17; | |
pub const ICMPV6CTL_ND6_DEBUG: u32 = 18; | |
pub const ICMPV6CTL_ND6_DRLIST: u32 = 19; | |
pub const ICMPV6CTL_ND6_PRLIST: u32 = 20; | |
pub const ICMPV6CTL_MLD_MAXSRCFILTER: u32 = 21; | |
pub const ICMPV6CTL_MLD_SOMAXSRC: u32 = 22; | |
pub const ICMPV6CTL_MLD_VERSION: u32 = 23; | |
pub const ICMPV6CTL_ND6_MAXQLEN: u32 = 24; | |
pub const ICMPV6CTL_ND6_ACCEPT_6TO4: u32 = 25; | |
pub const ICMPV6CTL_ND6_OPTIMISTIC_DAD: u32 = 26; | |
pub const ICMPV6CTL_ERRPPSLIMIT_RANDOM_INCR: u32 = 27; | |
pub const ICMPV6CTL_MAXID: u32 = 28; | |
pub const DYNAMIC_TARGETS_ENABLED: u32 = 0; | |
pub const TARGET_OS_WIN32: u32 = 0; | |
pub const TARGET_OS_WINDOWS: u32 = 0; | |
pub const TARGET_OS_UNIX: u32 = 0; | |
pub const TARGET_OS_LINUX: u32 = 0; | |
pub const TARGET_OS_MAC: u32 = 1; | |
pub const TARGET_OS_OSX: u32 = 0; | |
pub const TARGET_OS_IPHONE: u32 = 1; | |
pub const TARGET_OS_IOS: u32 = 1; | |
pub const TARGET_OS_WATCH: u32 = 0; | |
pub const TARGET_OS_TV: u32 = 0; | |
pub const TARGET_OS_MACCATALYST: u32 = 0; | |
pub const TARGET_OS_VISION: u32 = 0; | |
pub const TARGET_OS_UIKITFORMAC: u32 = 0; | |
pub const TARGET_OS_SIMULATOR: u32 = 0; | |
pub const TARGET_OS_EMBEDDED: u32 = 1; | |
pub const TARGET_OS_RTKIT: u32 = 0; | |
pub const TARGET_OS_DRIVERKIT: u32 = 0; | |
pub const TARGET_IPHONE_SIMULATOR: u32 = 0; | |
pub const TARGET_OS_NANO: u32 = 0; | |
pub const TARGET_CPU_PPC: u32 = 0; | |
pub const TARGET_CPU_PPC64: u32 = 0; | |
pub const TARGET_CPU_68K: u32 = 0; | |
pub const TARGET_CPU_X86: u32 = 0; | |
pub const TARGET_CPU_X86_64: u32 = 0; | |
pub const TARGET_CPU_ARM: u32 = 0; | |
pub const TARGET_CPU_ARM64: u32 = 1; | |
pub const TARGET_CPU_MIPS: u32 = 0; | |
pub const TARGET_CPU_SPARC: u32 = 0; | |
pub const TARGET_CPU_ALPHA: u32 = 0; | |
pub const TARGET_RT_MAC_CFM: u32 = 0; | |
pub const TARGET_RT_MAC_MACHO: u32 = 1; | |
pub const TARGET_RT_LITTLE_ENDIAN: u32 = 1; | |
pub const TARGET_RT_BIG_ENDIAN: u32 = 0; | |
pub const TARGET_RT_64_BIT: u32 = 1; | |
pub const SO_TRACKER_ATTRIBUTE_FLAGS_APP_APPROVED: u32 = 1; | |
pub const SO_TRACKER_ATTRIBUTE_FLAGS_TRACKER: u32 = 2; | |
pub const SO_TRACKER_ATTRIBUTE_FLAGS_DOMAIN_SHORT: u32 = 4; | |
pub const SO_TRACKER_TRANSPARENCY_VERSION: u32 = 3; | |
pub const INP_IPV4: u32 = 1; | |
pub const INP_IPV6: u32 = 2; | |
pub const INP_V4MAPPEDV6: u32 = 4; | |
pub const INP_ANONPORT: u32 = 64; | |
pub const IN6P_IPV6_V6ONLY: u32 = 32768; | |
pub const IN6P_BINDV6ONLY: u32 = 16777216; | |
pub const IPVERSION: u32 = 4; | |
pub const IP_RF: u32 = 32768; | |
pub const IP_DF: u32 = 16384; | |
pub const IP_MF: u32 = 8192; | |
pub const IP_OFFMASK: u32 = 8191; | |
pub const IP_MAXPACKET: u32 = 65535; | |
pub const IPTOS_LOWDELAY: u32 = 16; | |
pub const IPTOS_THROUGHPUT: u32 = 8; | |
pub const IPTOS_RELIABILITY: u32 = 4; | |
pub const IPTOS_MINCOST: u32 = 2; | |
pub const IPTOS_CE: u32 = 1; | |
pub const IPTOS_ECT: u32 = 2; | |
pub const IPTOS_DSCP_SHIFT: u32 = 2; | |
pub const IPTOS_ECN_NOTECT: u32 = 0; | |
pub const IPTOS_ECN_ECT1: u32 = 1; | |
pub const IPTOS_ECN_ECT0: u32 = 2; | |
pub const IPTOS_ECN_CE: u32 = 3; | |
pub const IPTOS_ECN_MASK: u32 = 3; | |
pub const IPTOS_PREC_NETCONTROL: u32 = 224; | |
pub const IPTOS_PREC_INTERNETCONTROL: u32 = 192; | |
pub const IPTOS_PREC_CRITIC_ECP: u32 = 160; | |
pub const IPTOS_PREC_FLASHOVERRIDE: u32 = 128; | |
pub const IPTOS_PREC_FLASH: u32 = 96; | |
pub const IPTOS_PREC_IMMEDIATE: u32 = 64; | |
pub const IPTOS_PREC_PRIORITY: u32 = 32; | |
pub const IPTOS_PREC_ROUTINE: u32 = 0; | |
pub const IPOPT_CONTROL: u32 = 0; | |
pub const IPOPT_RESERVED1: u32 = 32; | |
pub const IPOPT_DEBMEAS: u32 = 64; | |
pub const IPOPT_RESERVED2: u32 = 96; | |
pub const IPOPT_EOL: u32 = 0; | |
pub const IPOPT_NOP: u32 = 1; | |
pub const IPOPT_RR: u32 = 7; | |
pub const IPOPT_TS: u32 = 68; | |
pub const IPOPT_SECURITY: u32 = 130; | |
pub const IPOPT_LSRR: u32 = 131; | |
pub const IPOPT_SATID: u32 = 136; | |
pub const IPOPT_SSRR: u32 = 137; | |
pub const IPOPT_RA: u32 = 148; | |
pub const IPOPT_OPTVAL: u32 = 0; | |
pub const IPOPT_OLEN: u32 = 1; | |
pub const IPOPT_OFFSET: u32 = 2; | |
pub const IPOPT_MINOFF: u32 = 4; | |
pub const IPOPT_TS_TSONLY: u32 = 0; | |
pub const IPOPT_TS_TSANDADDR: u32 = 1; | |
pub const IPOPT_TS_PRESPEC: u32 = 3; | |
pub const IPOPT_SECUR_UNCLASS: u32 = 0; | |
pub const IPOPT_SECUR_CONFID: u32 = 61749; | |
pub const IPOPT_SECUR_EFTO: u32 = 30874; | |
pub const IPOPT_SECUR_MMMM: u32 = 48205; | |
pub const IPOPT_SECUR_RESTR: u32 = 44819; | |
pub const IPOPT_SECUR_SECRET: u32 = 55176; | |
pub const IPOPT_SECUR_TOPSECRET: u32 = 27589; | |
pub const MAXTTL: u32 = 255; | |
pub const IPDEFTTL: u32 = 64; | |
pub const IPFRAGTTL: u32 = 30; | |
pub const IPTTLDEC: u32 = 1; | |
pub const IP_MSS: u32 = 576; | |
pub const IPV6_VERSION: u32 = 96; | |
pub const IPV6_VERSION_MASK: u32 = 240; | |
pub const IPV6_FLOWINFO_MASK: u32 = 4294967055; | |
pub const IPV6_FLOWLABEL_MASK: u32 = 4294905600; | |
pub const IPV6_FLOW_ECN_MASK: u32 = 12288; | |
pub const IP6TOS_CE: u32 = 1; | |
pub const IP6TOS_ECT: u32 = 2; | |
pub const IP6FLOW_DSCP_MASK: u32 = 264241152; | |
pub const IP6FLOW_DSCP_SHIFT: u32 = 22; | |
pub const IP6OPT_PAD1: u32 = 0; | |
pub const IP6OPT_PADN: u32 = 1; | |
pub const IP6OPT_JUMBO: u32 = 194; | |
pub const IP6OPT_NSAP_ADDR: u32 = 195; | |
pub const IP6OPT_TUNNEL_LIMIT: u32 = 4; | |
pub const IP6OPT_RTALERT: u32 = 5; | |
pub const IP6OPT_ROUTER_ALERT: u32 = 5; | |
pub const IP6OPT_RTALERT_LEN: u32 = 4; | |
pub const IP6OPT_RTALERT_MLD: u32 = 0; | |
pub const IP6OPT_RTALERT_RSVP: u32 = 1; | |
pub const IP6OPT_RTALERT_ACTNET: u32 = 2; | |
pub const IP6OPT_MINLEN: u32 = 2; | |
pub const IP6OPT_EID: u32 = 138; | |
pub const IP6OPT_TYPE_SKIP: u32 = 0; | |
pub const IP6OPT_TYPE_DISCARD: u32 = 64; | |
pub const IP6OPT_TYPE_FORCEICMP: u32 = 128; | |
pub const IP6OPT_TYPE_ICMP: u32 = 192; | |
pub const IP6OPT_MUTABLE: u32 = 32; | |
pub const IP6OPT_JUMBO_LEN: u32 = 6; | |
pub const IP6_ALERT_MLD: u32 = 0; | |
pub const IP6_ALERT_RSVP: u32 = 256; | |
pub const IP6_ALERT_AN: u32 = 512; | |
pub const IP6F_OFF_MASK: u32 = 63743; | |
pub const IP6F_RESERVED_MASK: u32 = 1536; | |
pub const IP6F_MORE_FRAG: u32 = 256; | |
pub const IPV6_MAXHLIM: u32 = 255; | |
pub const IPV6_DEFHLIM: u32 = 64; | |
pub const IPV6_FRAGTTL: u32 = 60; | |
pub const IPV6_HLIMDEC: u32 = 1; | |
pub const IPV6_MMTU: u32 = 1280; | |
pub const IPV6_MAXPACKET: u32 = 65535; | |
pub const IPV6_MAXOPTHDR: u32 = 2048; | |
pub const ICMP_MINLEN: u32 = 8; | |
pub const ICMP_MASKLEN: u32 = 12; | |
pub const ICMP_ECHOREPLY: u32 = 0; | |
pub const ICMP_UNREACH: u32 = 3; | |
pub const ICMP_UNREACH_NET: u32 = 0; | |
pub const ICMP_UNREACH_HOST: u32 = 1; | |
pub const ICMP_UNREACH_PROTOCOL: u32 = 2; | |
pub const ICMP_UNREACH_PORT: u32 = 3; | |
pub const ICMP_UNREACH_NEEDFRAG: u32 = 4; | |
pub const ICMP_UNREACH_SRCFAIL: u32 = 5; | |
pub const ICMP_UNREACH_NET_UNKNOWN: u32 = 6; | |
pub const ICMP_UNREACH_HOST_UNKNOWN: u32 = 7; | |
pub const ICMP_UNREACH_ISOLATED: u32 = 8; | |
pub const ICMP_UNREACH_NET_PROHIB: u32 = 9; | |
pub const ICMP_UNREACH_HOST_PROHIB: u32 = 10; | |
pub const ICMP_UNREACH_TOSNET: u32 = 11; | |
pub const ICMP_UNREACH_TOSHOST: u32 = 12; | |
pub const ICMP_UNREACH_FILTER_PROHIB: u32 = 13; | |
pub const ICMP_UNREACH_HOST_PRECEDENCE: u32 = 14; | |
pub const ICMP_UNREACH_PRECEDENCE_CUTOFF: u32 = 15; | |
pub const ICMP_SOURCEQUENCH: u32 = 4; | |
pub const ICMP_REDIRECT: u32 = 5; | |
pub const ICMP_REDIRECT_NET: u32 = 0; | |
pub const ICMP_REDIRECT_HOST: u32 = 1; | |
pub const ICMP_REDIRECT_TOSNET: u32 = 2; | |
pub const ICMP_REDIRECT_TOSHOST: u32 = 3; | |
pub const ICMP_ALTHOSTADDR: u32 = 6; | |
pub const ICMP_ECHO: u32 = 8; | |
pub const ICMP_ROUTERADVERT: u32 = 9; | |
pub const ICMP_ROUTERADVERT_NORMAL: u32 = 0; | |
pub const ICMP_ROUTERADVERT_NOROUTE_COMMON: u32 = 16; | |
pub const ICMP_ROUTERSOLICIT: u32 = 10; | |
pub const ICMP_TIMXCEED: u32 = 11; | |
pub const ICMP_TIMXCEED_INTRANS: u32 = 0; | |
pub const ICMP_TIMXCEED_REASS: u32 = 1; | |
pub const ICMP_PARAMPROB: u32 = 12; | |
pub const ICMP_PARAMPROB_ERRATPTR: u32 = 0; | |
pub const ICMP_PARAMPROB_OPTABSENT: u32 = 1; | |
pub const ICMP_PARAMPROB_LENGTH: u32 = 2; | |
pub const ICMP_TSTAMP: u32 = 13; | |
pub const ICMP_TSTAMPREPLY: u32 = 14; | |
pub const ICMP_IREQ: u32 = 15; | |
pub const ICMP_IREQREPLY: u32 = 16; | |
pub const ICMP_MASKREQ: u32 = 17; | |
pub const ICMP_MASKREPLY: u32 = 18; | |
pub const ICMP_TRACEROUTE: u32 = 30; | |
pub const ICMP_DATACONVERR: u32 = 31; | |
pub const ICMP_MOBILE_REDIRECT: u32 = 32; | |
pub const ICMP_IPV6_WHEREAREYOU: u32 = 33; | |
pub const ICMP_IPV6_IAMHERE: u32 = 34; | |
pub const ICMP_MOBILE_REGREQUEST: u32 = 35; | |
pub const ICMP_MOBILE_REGREPLY: u32 = 36; | |
pub const ICMP_SKIP: u32 = 39; | |
pub const ICMP_PHOTURIS: u32 = 40; | |
pub const ICMP_PHOTURIS_UNKNOWN_INDEX: u32 = 1; | |
pub const ICMP_PHOTURIS_AUTH_FAILED: u32 = 2; | |
pub const ICMP_PHOTURIS_DECRYPT_FAILED: u32 = 3; | |
pub const ICMP_MAXTYPE: u32 = 40; | |
pub const TCPT_NTIMERS_EXT: u32 = 4; | |
pub const TCPT_REXMT: u32 = 0; | |
pub const TCPT_PERSIST: u32 = 1; | |
pub const TCPT_KEEP: u32 = 2; | |
pub const TCPT_2MSL: u32 = 3; | |
pub const TCPT_DELACK: u32 = 4; | |
pub const TCPT_MAX: u32 = 4; | |
pub const TCPT_NONE: u32 = 5; | |
pub const TCPT_NTIMERS: u32 = 5; | |
pub const TF_ACKNOW: u32 = 1; | |
pub const TF_DELACK: u32 = 2; | |
pub const TF_NODELAY: u32 = 4; | |
pub const TF_NOOPT: u32 = 8; | |
pub const TF_SENTFIN: u32 = 16; | |
pub const TF_REQ_SCALE: u32 = 32; | |
pub const TF_RCVD_SCALE: u32 = 64; | |
pub const TF_REQ_TSTMP: u32 = 128; | |
pub const TF_RCVD_TSTMP: u32 = 256; | |
pub const TF_SACK_PERMIT: u32 = 512; | |
pub const TF_NEEDSYN: u32 = 1024; | |
pub const TF_NEEDFIN: u32 = 2048; | |
pub const TF_NOPUSH: u32 = 4096; | |
pub const TF_REQ_CC: u32 = 8192; | |
pub const TF_RCVD_CC: u32 = 16384; | |
pub const TF_SENDCCNEW: u32 = 32768; | |
pub const TF_MORETOCOME: u32 = 65536; | |
pub const TF_LQ_OVERFLOW: u32 = 131072; | |
pub const TF_RXWIN0SENT: u32 = 262144; | |
pub const TF_SLOWLINK: u32 = 524288; | |
pub const TCPOOB_HAVEDATA: u32 = 1; | |
pub const TCPOOB_HADDATA: u32 = 2; | |
pub const TCPCTL_DO_RFC1323: u32 = 1; | |
pub const TCPCTL_DO_RFC1644: u32 = 2; | |
pub const TCPCTL_MSSDFLT: u32 = 3; | |
pub const TCPCTL_STATS: u32 = 4; | |
pub const TCPCTL_RTTDFLT: u32 = 5; | |
pub const TCPCTL_KEEPIDLE: u32 = 6; | |
pub const TCPCTL_KEEPINTVL: u32 = 7; | |
pub const TCPCTL_SENDSPACE: u32 = 8; | |
pub const TCPCTL_RECVSPACE: u32 = 9; | |
pub const TCPCTL_KEEPINIT: u32 = 10; | |
pub const TCPCTL_PCBLIST: u32 = 11; | |
pub const TCPCTL_DELACKTIME: u32 = 12; | |
pub const TCPCTL_V6MSSDFLT: u32 = 13; | |
pub const TCPCTL_MAXID: u32 = 14; | |
pub const UDP_NOCKSUM: u32 = 1; | |
pub const MAC_OS_X_VERSION_MIN_REQUIRED: u32 = 1050; | |
pub const MAC_OS_X_VERSION_MAX_ALLOWED: u32 = 140000; | |
pub const __AVAILABILITY_MACROS_USES_AVAILABILITY: u32 = 1; | |
pub const __IPHONE_COMPAT_VERSION: u32 = 40000; | |
pub const VM_PAGE_QUERY_PAGE_PRESENT: u32 = 1; | |
pub const VM_PAGE_QUERY_PAGE_FICTITIOUS: u32 = 2; | |
pub const VM_PAGE_QUERY_PAGE_REF: u32 = 4; | |
pub const VM_PAGE_QUERY_PAGE_DIRTY: u32 = 8; | |
pub const VM_PAGE_QUERY_PAGE_PAGED_OUT: u32 = 16; | |
pub const VM_PAGE_QUERY_PAGE_COPIED: u32 = 32; | |
pub const VM_PAGE_QUERY_PAGE_SPECULATIVE: u32 = 64; | |
pub const VM_PAGE_QUERY_PAGE_EXTERNAL: u32 = 128; | |
pub const VM_PAGE_QUERY_PAGE_CS_VALIDATED: u32 = 256; | |
pub const VM_PAGE_QUERY_PAGE_CS_TAINTED: u32 = 512; | |
pub const VM_PAGE_QUERY_PAGE_CS_NX: u32 = 1024; | |
pub const VM_PAGE_QUERY_PAGE_REUSABLE: u32 = 2048; | |
pub const VM_FLAGS_FIXED: u32 = 0; | |
pub const VM_FLAGS_ANYWHERE: u32 = 1; | |
pub const VM_FLAGS_PURGABLE: u32 = 2; | |
pub const VM_FLAGS_4GB_CHUNK: u32 = 4; | |
pub const VM_FLAGS_RANDOM_ADDR: u32 = 8; | |
pub const VM_FLAGS_NO_CACHE: u32 = 16; | |
pub const VM_FLAGS_RESILIENT_CODESIGN: u32 = 32; | |
pub const VM_FLAGS_RESILIENT_MEDIA: u32 = 64; | |
pub const VM_FLAGS_PERMANENT: u32 = 128; | |
pub const VM_FLAGS_TPRO: u32 = 4096; | |
pub const VM_FLAGS_OVERWRITE: u32 = 16384; | |
pub const VM_FLAGS_SUPERPAGE_MASK: u32 = 458752; | |
pub const VM_FLAGS_RETURN_DATA_ADDR: u32 = 1048576; | |
pub const VM_FLAGS_RETURN_4K_DATA_ADDR: u32 = 8388608; | |
pub const VM_FLAGS_ALIAS_MASK: u32 = 4278190080; | |
pub const VM_FLAGS_HW: u32 = 4096; | |
pub const VM_FLAGS_USER_ALLOCATE: u32 = 4278669471; | |
pub const VM_FLAGS_USER_MAP: u32 = 4288106655; | |
pub const VM_FLAGS_USER_REMAP: u32 = 1065065; | |
pub const VM_FLAGS_SUPERPAGE_SHIFT: u32 = 16; | |
pub const SUPERPAGE_NONE: u32 = 0; | |
pub const SUPERPAGE_SIZE_ANY: u32 = 1; | |
pub const VM_FLAGS_SUPERPAGE_NONE: u32 = 0; | |
pub const VM_FLAGS_SUPERPAGE_SIZE_ANY: u32 = 65536; | |
pub const SUPERPAGE_SIZE_2MB: u32 = 2; | |
pub const VM_FLAGS_SUPERPAGE_SIZE_2MB: u32 = 131072; | |
pub const GUARD_TYPE_VIRT_MEMORY: u32 = 5; | |
pub const __VM_LEDGER_ACCOUNTING_POSTMARK: u32 = 2019032600; | |
pub const VM_LEDGER_TAG_NONE: u32 = 0; | |
pub const VM_LEDGER_TAG_DEFAULT: u32 = 1; | |
pub const VM_LEDGER_TAG_NETWORK: u32 = 2; | |
pub const VM_LEDGER_TAG_MEDIA: u32 = 3; | |
pub const VM_LEDGER_TAG_GRAPHICS: u32 = 4; | |
pub const VM_LEDGER_TAG_NEURAL: u32 = 5; | |
pub const VM_LEDGER_TAG_MAX: u32 = 5; | |
pub const VM_LEDGER_FLAG_NO_FOOTPRINT: u32 = 1; | |
pub const VM_LEDGER_FLAG_NO_FOOTPRINT_FOR_DEBUG: u32 = 2; | |
pub const VM_LEDGER_FLAGS: u32 = 3; | |
pub const VM_MEMORY_MALLOC: u32 = 1; | |
pub const VM_MEMORY_MALLOC_SMALL: u32 = 2; | |
pub const VM_MEMORY_MALLOC_LARGE: u32 = 3; | |
pub const VM_MEMORY_MALLOC_HUGE: u32 = 4; | |
pub const VM_MEMORY_SBRK: u32 = 5; | |
pub const VM_MEMORY_REALLOC: u32 = 6; | |
pub const VM_MEMORY_MALLOC_TINY: u32 = 7; | |
pub const VM_MEMORY_MALLOC_LARGE_REUSABLE: u32 = 8; | |
pub const VM_MEMORY_MALLOC_LARGE_REUSED: u32 = 9; | |
pub const VM_MEMORY_ANALYSIS_TOOL: u32 = 10; | |
pub const VM_MEMORY_MALLOC_NANO: u32 = 11; | |
pub const VM_MEMORY_MALLOC_MEDIUM: u32 = 12; | |
pub const VM_MEMORY_MALLOC_PROB_GUARD: u32 = 13; | |
pub const VM_MEMORY_MACH_MSG: u32 = 20; | |
pub const VM_MEMORY_IOKIT: u32 = 21; | |
pub const VM_MEMORY_STACK: u32 = 30; | |
pub const VM_MEMORY_GUARD: u32 = 31; | |
pub const VM_MEMORY_SHARED_PMAP: u32 = 32; | |
pub const VM_MEMORY_DYLIB: u32 = 33; | |
pub const VM_MEMORY_OBJC_DISPATCHERS: u32 = 34; | |
pub const VM_MEMORY_UNSHARED_PMAP: u32 = 35; | |
pub const VM_MEMORY_APPKIT: u32 = 40; | |
pub const VM_MEMORY_FOUNDATION: u32 = 41; | |
pub const VM_MEMORY_COREGRAPHICS: u32 = 42; | |
pub const VM_MEMORY_CORESERVICES: u32 = 43; | |
pub const VM_MEMORY_CARBON: u32 = 43; | |
pub const VM_MEMORY_JAVA: u32 = 44; | |
pub const VM_MEMORY_COREDATA: u32 = 45; | |
pub const VM_MEMORY_COREDATA_OBJECTIDS: u32 = 46; | |
pub const VM_MEMORY_ATS: u32 = 50; | |
pub const VM_MEMORY_LAYERKIT: u32 = 51; | |
pub const VM_MEMORY_CGIMAGE: u32 = 52; | |
pub const VM_MEMORY_TCMALLOC: u32 = 53; | |
pub const VM_MEMORY_COREGRAPHICS_DATA: u32 = 54; | |
pub const VM_MEMORY_COREGRAPHICS_SHARED: u32 = 55; | |
pub const VM_MEMORY_COREGRAPHICS_FRAMEBUFFERS: u32 = 56; | |
pub const VM_MEMORY_COREGRAPHICS_BACKINGSTORES: u32 = 57; | |
pub const VM_MEMORY_COREGRAPHICS_XALLOC: u32 = 58; | |
pub const VM_MEMORY_COREGRAPHICS_MISC: u32 = 42; | |
pub const VM_MEMORY_DYLD: u32 = 60; | |
pub const VM_MEMORY_DYLD_MALLOC: u32 = 61; | |
pub const VM_MEMORY_SQLITE: u32 = 62; | |
pub const VM_MEMORY_JAVASCRIPT_CORE: u32 = 63; | |
pub const VM_MEMORY_WEBASSEMBLY: u32 = 63; | |
pub const VM_MEMORY_JAVASCRIPT_JIT_EXECUTABLE_ALLOCATOR: u32 = 64; | |
pub const VM_MEMORY_JAVASCRIPT_JIT_REGISTER_FILE: u32 = 65; | |
pub const VM_MEMORY_GLSL: u32 = 66; | |
pub const VM_MEMORY_OPENCL: u32 = 67; | |
pub const VM_MEMORY_COREIMAGE: u32 = 68; | |
pub const VM_MEMORY_WEBCORE_PURGEABLE_BUFFERS: u32 = 69; | |
pub const VM_MEMORY_IMAGEIO: u32 = 70; | |
pub const VM_MEMORY_COREPROFILE: u32 = 71; | |
pub const VM_MEMORY_ASSETSD: u32 = 72; | |
pub const VM_MEMORY_OS_ALLOC_ONCE: u32 = 73; | |
pub const VM_MEMORY_LIBDISPATCH: u32 = 74; | |
pub const VM_MEMORY_ACCELERATE: u32 = 75; | |
pub const VM_MEMORY_COREUI: u32 = 76; | |
pub const VM_MEMORY_COREUIFILE: u32 = 77; | |
pub const VM_MEMORY_GENEALOGY: u32 = 78; | |
pub const VM_MEMORY_RAWCAMERA: u32 = 79; | |
pub const VM_MEMORY_CORPSEINFO: u32 = 80; | |
pub const VM_MEMORY_ASL: u32 = 81; | |
pub const VM_MEMORY_SWIFT_RUNTIME: u32 = 82; | |
pub const VM_MEMORY_SWIFT_METADATA: u32 = 83; | |
pub const VM_MEMORY_DHMM: u32 = 84; | |
pub const VM_MEMORY_SCENEKIT: u32 = 86; | |
pub const VM_MEMORY_SKYWALK: u32 = 87; | |
pub const VM_MEMORY_IOSURFACE: u32 = 88; | |
pub const VM_MEMORY_LIBNETWORK: u32 = 89; | |
pub const VM_MEMORY_AUDIO: u32 = 90; | |
pub const VM_MEMORY_VIDEOBITSTREAM: u32 = 91; | |
pub const VM_MEMORY_CM_XPC: u32 = 92; | |
pub const VM_MEMORY_CM_RPC: u32 = 93; | |
pub const VM_MEMORY_CM_MEMORYPOOL: u32 = 94; | |
pub const VM_MEMORY_CM_READCACHE: u32 = 95; | |
pub const VM_MEMORY_CM_CRABS: u32 = 96; | |
pub const VM_MEMORY_QUICKLOOK_THUMBNAILS: u32 = 97; | |
pub const VM_MEMORY_ACCOUNTS: u32 = 98; | |
pub const VM_MEMORY_SANITIZER: u32 = 99; | |
pub const VM_MEMORY_IOACCELERATOR: u32 = 100; | |
pub const VM_MEMORY_CM_REGWARP: u32 = 101; | |
pub const VM_MEMORY_EAR_DECODER: u32 = 102; | |
pub const VM_MEMORY_COREUI_CACHED_IMAGE_DATA: u32 = 103; | |
pub const VM_MEMORY_COLORSYNC: u32 = 104; | |
pub const VM_MEMORY_BTINFO: u32 = 105; | |
pub const VM_MEMORY_CM_HLS: u32 = 106; | |
pub const VM_MEMORY_ROSETTA: u32 = 230; | |
pub const VM_MEMORY_ROSETTA_THREAD_CONTEXT: u32 = 231; | |
pub const VM_MEMORY_ROSETTA_INDIRECT_BRANCH_MAP: u32 = 232; | |
pub const VM_MEMORY_ROSETTA_RETURN_STACK: u32 = 233; | |
pub const VM_MEMORY_ROSETTA_EXECUTABLE_HEAP: u32 = 234; | |
pub const VM_MEMORY_ROSETTA_USER_LDT: u32 = 235; | |
pub const VM_MEMORY_ROSETTA_ARENA: u32 = 236; | |
pub const VM_MEMORY_ROSETTA_10: u32 = 239; | |
pub const VM_MEMORY_APPLICATION_SPECIFIC_1: u32 = 240; | |
pub const VM_MEMORY_APPLICATION_SPECIFIC_16: u32 = 255; | |
pub const VM_MEMORY_COUNT: u32 = 256; | |
pub const TIME_MICROS_MAX: u32 = 1000000; | |
pub const HOST_INFO_MAX: u32 = 1024; | |
pub const KERNEL_VERSION_MAX: u32 = 512; | |
pub const KERNEL_BOOT_INFO_MAX: u32 = 4096; | |
pub const HOST_BASIC_INFO: u32 = 1; | |
pub const HOST_SCHED_INFO: u32 = 3; | |
pub const HOST_RESOURCE_SIZES: u32 = 4; | |
pub const HOST_PRIORITY_INFO: u32 = 5; | |
pub const HOST_SEMAPHORE_TRAPS: u32 = 7; | |
pub const HOST_MACH_MSG_TRAP: u32 = 8; | |
pub const HOST_VM_PURGABLE: u32 = 9; | |
pub const HOST_DEBUG_INFO_INTERNAL: u32 = 10; | |
pub const HOST_CAN_HAS_DEBUGGER: u32 = 11; | |
pub const HOST_PREFERRED_USER_ARCH: u32 = 12; | |
pub const HOST_LOAD_INFO: u32 = 1; | |
pub const HOST_VM_INFO: u32 = 2; | |
pub const HOST_CPU_LOAD_INFO: u32 = 3; | |
pub const HOST_VM_INFO64: u32 = 4; | |
pub const HOST_EXTMOD_INFO64: u32 = 5; | |
pub const HOST_EXPIRED_TASK_INFO: u32 = 6; | |
pub const HOST_NOTIFY_CALENDAR_CHANGE: u32 = 0; | |
pub const HOST_NOTIFY_CALENDAR_SET: u32 = 1; | |
pub const HOST_NOTIFY_TYPE_MAX: u32 = 1; | |
pub const HOST_CALENDAR_CHANGED_REPLYID: u32 = 950; | |
pub const HOST_CALENDAR_SET_REPLYID: u32 = 951; | |
pub const HOST_SECURITY_PORT: u32 = 0; | |
pub const HOST_MIN_SPECIAL_PORT: u32 = 0; | |
pub const HOST_PORT: u32 = 1; | |
pub const HOST_PRIV_PORT: u32 = 2; | |
pub const HOST_IO_MAIN_PORT: u32 = 3; | |
pub const HOST_MAX_SPECIAL_KERNEL_PORT: u32 = 7; | |
pub const HOST_LAST_SPECIAL_KERNEL_PORT: u32 = 3; | |
pub const HOST_DYNAMIC_PAGER_PORT: u32 = 8; | |
pub const HOST_AUDIT_CONTROL_PORT: u32 = 9; | |
pub const HOST_USER_NOTIFICATION_PORT: u32 = 10; | |
pub const HOST_AUTOMOUNTD_PORT: u32 = 11; | |
pub const HOST_LOCKD_PORT: u32 = 12; | |
pub const HOST_KTRACE_BACKGROUND_PORT: u32 = 13; | |
pub const HOST_SEATBELT_PORT: u32 = 14; | |
pub const HOST_KEXTD_PORT: u32 = 15; | |
pub const HOST_LAUNCHCTL_PORT: u32 = 16; | |
pub const HOST_UNFREED_PORT: u32 = 17; | |
pub const HOST_AMFID_PORT: u32 = 18; | |
pub const HOST_GSSD_PORT: u32 = 19; | |
pub const HOST_TELEMETRY_PORT: u32 = 20; | |
pub const HOST_ATM_NOTIFICATION_PORT: u32 = 21; | |
pub const HOST_COALITION_PORT: u32 = 22; | |
pub const HOST_SYSDIAGNOSE_PORT: u32 = 23; | |
pub const HOST_XPC_EXCEPTION_PORT: u32 = 24; | |
pub const HOST_CONTAINERD_PORT: u32 = 25; | |
pub const HOST_NODE_PORT: u32 = 26; | |
pub const HOST_RESOURCE_NOTIFY_PORT: u32 = 27; | |
pub const HOST_CLOSURED_PORT: u32 = 28; | |
pub const HOST_SYSPOLICYD_PORT: u32 = 29; | |
pub const HOST_FILECOORDINATIOND_PORT: u32 = 30; | |
pub const HOST_FAIRPLAYD_PORT: u32 = 31; | |
pub const HOST_IOCOMPRESSIONSTATS_PORT: u32 = 32; | |
pub const HOST_MEMORY_ERROR_PORT: u32 = 33; | |
pub const HOST_MAX_SPECIAL_PORT: u32 = 33; | |
pub const HOST_CHUD_PORT: u32 = 16; | |
pub const HOST_LOCAL_NODE: i32 = -1; | |
pub const MEMORY_OBJECT_COPY_NONE: u32 = 0; | |
pub const MEMORY_OBJECT_COPY_CALL: u32 = 1; | |
pub const MEMORY_OBJECT_COPY_DELAY: u32 = 2; | |
pub const MEMORY_OBJECT_COPY_TEMPORARY: u32 = 3; | |
pub const MEMORY_OBJECT_COPY_SYMMETRIC: u32 = 4; | |
pub const MEMORY_OBJECT_COPY_INVALID: u32 = 5; | |
pub const MEMORY_OBJECT_COPY_DELAY_FORK: u32 = 6; | |
pub const MEMORY_OBJECT_RETURN_NONE: u32 = 0; | |
pub const MEMORY_OBJECT_RETURN_DIRTY: u32 = 1; | |
pub const MEMORY_OBJECT_RETURN_ALL: u32 = 2; | |
pub const MEMORY_OBJECT_RETURN_ANYTHING: u32 = 3; | |
pub const MEMORY_OBJECT_DATA_FLUSH: u32 = 1; | |
pub const MEMORY_OBJECT_DATA_NO_CHANGE: u32 = 2; | |
pub const MEMORY_OBJECT_DATA_PURGE: u32 = 4; | |
pub const MEMORY_OBJECT_COPY_SYNC: u32 = 8; | |
pub const MEMORY_OBJECT_DATA_SYNC: u32 = 16; | |
pub const MEMORY_OBJECT_IO_SYNC: u32 = 32; | |
pub const MEMORY_OBJECT_DATA_FLUSH_ALL: u32 = 64; | |
pub const MEMORY_OBJECT_INFO_MAX: u32 = 1024; | |
pub const MEMORY_OBJECT_PERFORMANCE_INFO: u32 = 11; | |
pub const MEMORY_OBJECT_ATTRIBUTE_INFO: u32 = 14; | |
pub const MEMORY_OBJECT_BEHAVIOR_INFO: u32 = 15; | |
pub const MEMORY_OBJECT_TERMINATE_IDLE: u32 = 1; | |
pub const MEMORY_OBJECT_RESPECT_CACHE: u32 = 2; | |
pub const MEMORY_OBJECT_RELEASE_NO_OP: u32 = 4; | |
pub const MAP_MEM_NOOP: u32 = 0; | |
pub const MAP_MEM_COPYBACK: u32 = 1; | |
pub const MAP_MEM_IO: u32 = 2; | |
pub const MAP_MEM_WTHRU: u32 = 3; | |
pub const MAP_MEM_WCOMB: u32 = 4; | |
pub const MAP_MEM_INNERWBACK: u32 = 5; | |
pub const MAP_MEM_POSTED: u32 = 6; | |
pub const MAP_MEM_RT: u32 = 7; | |
pub const MAP_MEM_POSTED_REORDERED: u32 = 8; | |
pub const MAP_MEM_POSTED_COMBINED_REORDERED: u32 = 9; | |
pub const MAP_MEM_LEDGER_TAGGED: u32 = 8192; | |
pub const MAP_MEM_PURGABLE_KERNEL_ONLY: u32 = 16384; | |
pub const MAP_MEM_GRAB_SECLUDED: u32 = 32768; | |
pub const MAP_MEM_ONLY: u32 = 65536; | |
pub const MAP_MEM_NAMED_CREATE: u32 = 131072; | |
pub const MAP_MEM_PURGABLE: u32 = 262144; | |
pub const MAP_MEM_NAMED_REUSE: u32 = 524288; | |
pub const MAP_MEM_USE_DATA_ADDR: u32 = 1048576; | |
pub const MAP_MEM_VM_COPY: u32 = 2097152; | |
pub const MAP_MEM_VM_SHARE: u32 = 4194304; | |
pub const MAP_MEM_4K_DATA_ADDR: u32 = 8388608; | |
pub const MAP_MEM_FLAGS_MASK: u32 = 16776960; | |
pub const MAP_MEM_FLAGS_USER: u32 = 16769024; | |
pub const MAP_MEM_FLAGS_ALL: u32 = 16769024; | |
pub const MACH_VOUCHER_ATTR_MAX_RAW_RECIPE_ARRAY_SIZE: u32 = 5120; | |
pub const MACH_VOUCHER_TRAP_STACK_LIMIT: u32 = 256; | |
pub const MACH_VOUCHER_IMPORTANCE_ATTR_ADD_EXTERNAL: u32 = 1; | |
pub const MACH_VOUCHER_IMPORTANCE_ATTR_DROP_EXTERNAL: u32 = 2; | |
pub const MACH_ACTIVITY_ID_COUNT_MAX: u32 = 16; | |
pub const PROCESSOR_CPU_STAT: u32 = 268435459; | |
pub const PROCESSOR_CPU_STAT64: u32 = 268435460; | |
pub const PROCESSOR_INFO_MAX: u32 = 1024; | |
pub const PROCESSOR_SET_INFO_MAX: u32 = 1024; | |
pub const PROCESSOR_BASIC_INFO: u32 = 1; | |
pub const PROCESSOR_CPU_LOAD_INFO: u32 = 2; | |
pub const PROCESSOR_PM_REGS_INFO: u32 = 268435457; | |
pub const PROCESSOR_TEMPERATURE: u32 = 268435458; | |
pub const LOAD_SCALE: u32 = 1000; | |
pub const PROCESSOR_SET_BASIC_INFO: u32 = 5; | |
pub const PROCESSOR_SET_LOAD_INFO: u32 = 4; | |
pub const POLICY_NULL: u32 = 0; | |
pub const POLICY_TIMESHARE: u32 = 1; | |
pub const POLICY_RR: u32 = 2; | |
pub const POLICY_FIFO: u32 = 4; | |
pub const POLICYCLASS_FIXEDPRI: u32 = 6; | |
pub const TASK_INFO_MAX: u32 = 1024; | |
pub const TASK_BASIC_INFO_32: u32 = 4; | |
pub const TASK_BASIC2_INFO_32: u32 = 6; | |
pub const TASK_EVENTS_INFO: u32 = 2; | |
pub const TASK_THREAD_TIMES_INFO: u32 = 3; | |
pub const TASK_ABSOLUTETIME_INFO: u32 = 1; | |
pub const TASK_KERNELMEMORY_INFO: u32 = 7; | |
pub const TASK_SECURITY_TOKEN: u32 = 13; | |
pub const TASK_AUDIT_TOKEN: u32 = 15; | |
pub const TASK_AFFINITY_TAG_INFO: u32 = 16; | |
pub const TASK_DYLD_INFO: u32 = 17; | |
pub const TASK_DYLD_ALL_IMAGE_INFO_32: u32 = 0; | |
pub const TASK_DYLD_ALL_IMAGE_INFO_64: u32 = 1; | |
pub const TASK_BASIC_INFO_64_2: u32 = 18; | |
pub const TASK_EXTMOD_INFO: u32 = 19; | |
pub const MACH_TASK_BASIC_INFO: u32 = 20; | |
pub const TASK_POWER_INFO: u32 = 21; | |
pub const TASK_VM_INFO: u32 = 22; | |
pub const TASK_VM_INFO_PURGEABLE: u32 = 23; | |
pub const TASK_TRACE_MEMORY_INFO: u32 = 24; | |
pub const TASK_WAIT_STATE_INFO: u32 = 25; | |
pub const TASK_POWER_INFO_V2: u32 = 26; | |
pub const TASK_VM_INFO_PURGEABLE_ACCOUNT: u32 = 27; | |
pub const TASK_FLAGS_INFO: u32 = 28; | |
pub const TF_LP64: u32 = 1; | |
pub const TF_64B_DATA: u32 = 2; | |
pub const TASK_DEBUG_INFO_INTERNAL: u32 = 29; | |
pub const TASK_EXC_GUARD_NONE: u32 = 0; | |
pub const TASK_EXC_GUARD_VM_DELIVER: u32 = 1; | |
pub const TASK_EXC_GUARD_VM_ONCE: u32 = 2; | |
pub const TASK_EXC_GUARD_VM_CORPSE: u32 = 4; | |
pub const TASK_EXC_GUARD_VM_FATAL: u32 = 8; | |
pub const TASK_EXC_GUARD_VM_ALL: u32 = 15; | |
pub const TASK_EXC_GUARD_MP_DELIVER: u32 = 16; | |
pub const TASK_EXC_GUARD_MP_ONCE: u32 = 32; | |
pub const TASK_EXC_GUARD_MP_CORPSE: u32 = 64; | |
pub const TASK_EXC_GUARD_MP_FATAL: u32 = 128; | |
pub const TASK_EXC_GUARD_MP_ALL: u32 = 240; | |
pub const TASK_EXC_GUARD_ALL: u32 = 255; | |
pub const TASK_CORPSE_FORKING_DISABLED_MEM_DIAG: u32 = 1; | |
pub const TASK_SCHED_TIMESHARE_INFO: u32 = 10; | |
pub const TASK_SCHED_RR_INFO: u32 = 11; | |
pub const TASK_SCHED_FIFO_INFO: u32 = 12; | |
pub const TASK_SCHED_INFO: u32 = 14; | |
pub const TASK_CATEGORY_POLICY: u32 = 1; | |
pub const TASK_SUPPRESSION_POLICY: u32 = 3; | |
pub const TASK_POLICY_STATE: u32 = 4; | |
pub const TASK_BASE_QOS_POLICY: u32 = 8; | |
pub const TASK_OVERRIDE_QOS_POLICY: u32 = 9; | |
pub const TASK_BASE_LATENCY_QOS_POLICY: u32 = 10; | |
pub const TASK_BASE_THROUGHPUT_QOS_POLICY: u32 = 11; | |
pub const PROC_FLAG_DARWINBG: u32 = 32768; | |
pub const PROC_FLAG_EXT_DARWINBG: u32 = 65536; | |
pub const PROC_FLAG_IOS_APPLEDAEMON: u32 = 131072; | |
pub const PROC_FLAG_IOS_IMPPROMOTION: u32 = 524288; | |
pub const PROC_FLAG_ADAPTIVE: u32 = 1048576; | |
pub const PROC_FLAG_ADAPTIVE_IMPORTANT: u32 = 2097152; | |
pub const PROC_FLAG_IMPORTANCE_DONOR: u32 = 4194304; | |
pub const PROC_FLAG_SUPPRESSED: u32 = 8388608; | |
pub const PROC_FLAG_APPLICATION: u32 = 16777216; | |
pub const PROC_FLAG_IOS_APPLICATION: u32 = 16777216; | |
pub const TASK_KERNEL_PORT: u32 = 1; | |
pub const TASK_HOST_PORT: u32 = 2; | |
pub const TASK_NAME_PORT: u32 = 3; | |
pub const TASK_BOOTSTRAP_PORT: u32 = 4; | |
pub const TASK_INSPECT_PORT: u32 = 5; | |
pub const TASK_READ_PORT: u32 = 6; | |
pub const TASK_ACCESS_PORT: u32 = 9; | |
pub const TASK_DEBUG_CONTROL_PORT: u32 = 10; | |
pub const TASK_RESOURCE_NOTIFY_PORT: u32 = 11; | |
pub const TASK_MAX_SPECIAL_PORT: u32 = 11; | |
pub const THREAD_INFO_MAX: u32 = 32; | |
pub const THREAD_BASIC_INFO: u32 = 3; | |
pub const THREAD_IDENTIFIER_INFO: u32 = 4; | |
pub const TH_USAGE_SCALE: u32 = 1000; | |
pub const TH_STATE_RUNNING: u32 = 1; | |
pub const TH_STATE_STOPPED: u32 = 2; | |
pub const TH_STATE_WAITING: u32 = 3; | |
pub const TH_STATE_UNINTERRUPTIBLE: u32 = 4; | |
pub const TH_STATE_HALTED: u32 = 5; | |
pub const TH_FLAGS_SWAPPED: u32 = 1; | |
pub const TH_FLAGS_IDLE: u32 = 2; | |
pub const TH_FLAGS_GLOBAL_FORCED_IDLE: u32 = 4; | |
pub const THREAD_EXTENDED_INFO: u32 = 5; | |
pub const MAXTHREADNAMESIZE: u32 = 64; | |
pub const THREAD_DEBUG_INFO_INTERNAL: u32 = 6; | |
pub const IO_NUM_PRIORITIES: u32 = 4; | |
pub const THREAD_SCHED_TIMESHARE_INFO: u32 = 10; | |
pub const THREAD_SCHED_RR_INFO: u32 = 11; | |
pub const THREAD_SCHED_FIFO_INFO: u32 = 12; | |
pub const THREAD_STANDARD_POLICY: u32 = 1; | |
pub const THREAD_STANDARD_POLICY_COUNT: u32 = 0; | |
pub const THREAD_EXTENDED_POLICY: u32 = 1; | |
pub const THREAD_TIME_CONSTRAINT_POLICY: u32 = 2; | |
pub const THREAD_PRECEDENCE_POLICY: u32 = 3; | |
pub const THREAD_AFFINITY_POLICY: u32 = 4; | |
pub const THREAD_AFFINITY_TAG_NULL: u32 = 0; | |
pub const THREAD_BACKGROUND_POLICY: u32 = 5; | |
pub const THREAD_BACKGROUND_POLICY_DARWIN_BG: u32 = 4096; | |
pub const THREAD_LATENCY_QOS_POLICY: u32 = 7; | |
pub const THREAD_THROUGHPUT_QOS_POLICY: u32 = 8; | |
pub const THREAD_KERNEL_PORT: u32 = 1; | |
pub const THREAD_INSPECT_PORT: u32 = 2; | |
pub const THREAD_READ_PORT: u32 = 3; | |
pub const THREAD_MAX_SPECIAL_PORT: u32 = 3; | |
pub const SYSTEM_CLOCK: u32 = 0; | |
pub const CALENDAR_CLOCK: u32 = 1; | |
pub const REALTIME_CLOCK: u32 = 0; | |
pub const CLOCK_GET_TIME_RES: u32 = 1; | |
pub const CLOCK_ALARM_CURRES: u32 = 3; | |
pub const CLOCK_ALARM_MINRES: u32 = 4; | |
pub const CLOCK_ALARM_MAXRES: u32 = 5; | |
pub const NSEC_PER_USEC: u32 = 1000; | |
pub const USEC_PER_SEC: u32 = 1000000; | |
pub const NSEC_PER_SEC: u32 = 1000000000; | |
pub const NSEC_PER_MSEC: u32 = 1000000; | |
pub const ALRMTYPE: u32 = 255; | |
pub const TIME_ABSOLUTE: u32 = 0; | |
pub const TIME_RELATIVE: u32 = 1; | |
pub const MATTR_CACHE: u32 = 1; | |
pub const MATTR_MIGRATE: u32 = 2; | |
pub const MATTR_REPLICATE: u32 = 4; | |
pub const MATTR_VAL_OFF: u32 = 0; | |
pub const MATTR_VAL_ON: u32 = 1; | |
pub const MATTR_VAL_GET: u32 = 2; | |
pub const MATTR_VAL_CACHE_FLUSH: u32 = 6; | |
pub const MATTR_VAL_DCACHE_FLUSH: u32 = 7; | |
pub const MATTR_VAL_ICACHE_FLUSH: u32 = 8; | |
pub const MATTR_VAL_CACHE_SYNC: u32 = 9; | |
pub const MATTR_VAL_GET_INFO: u32 = 10; | |
pub const VM_PURGABLE_NO_AGING_SHIFT: u32 = 16; | |
pub const VM_PURGABLE_NO_AGING_MASK: u32 = 65536; | |
pub const VM_PURGABLE_NO_AGING: u32 = 65536; | |
pub const VM_PURGABLE_DEBUG_SHIFT: u32 = 12; | |
pub const VM_PURGABLE_DEBUG_MASK: u32 = 12288; | |
pub const VM_PURGABLE_DEBUG_EMPTY: u32 = 4096; | |
pub const VM_PURGABLE_DEBUG_FAULT: u32 = 8192; | |
pub const VM_VOLATILE_GROUP_SHIFT: u32 = 8; | |
pub const VM_VOLATILE_GROUP_MASK: u32 = 1792; | |
pub const VM_VOLATILE_GROUP_0: u32 = 0; | |
pub const VM_VOLATILE_GROUP_1: u32 = 256; | |
pub const VM_VOLATILE_GROUP_2: u32 = 512; | |
pub const VM_VOLATILE_GROUP_3: u32 = 768; | |
pub const VM_VOLATILE_GROUP_4: u32 = 1024; | |
pub const VM_VOLATILE_GROUP_5: u32 = 1280; | |
pub const VM_VOLATILE_GROUP_6: u32 = 1536; | |
pub const VM_VOLATILE_GROUP_7: u32 = 1792; | |
pub const VM_PURGABLE_BEHAVIOR_SHIFT: u32 = 6; | |
pub const VM_PURGABLE_BEHAVIOR_MASK: u32 = 64; | |
pub const VM_PURGABLE_BEHAVIOR_FIFO: u32 = 0; | |
pub const VM_PURGABLE_BEHAVIOR_LIFO: u32 = 64; | |
pub const VM_PURGABLE_ORDERING_SHIFT: u32 = 5; | |
pub const VM_PURGABLE_ORDERING_MASK: u32 = 32; | |
pub const VM_PURGABLE_ORDERING_OBSOLETE: u32 = 32; | |
pub const VM_PURGABLE_ORDERING_NORMAL: u32 = 0; | |
pub const VM_VOLATILE_ORDER_SHIFT: u32 = 4; | |
pub const VM_VOLATILE_ORDER_MASK: u32 = 16; | |
pub const VM_VOLATILE_MAKE_FIRST_IN_GROUP: u32 = 16; | |
pub const VM_VOLATILE_MAKE_LAST_IN_GROUP: u32 = 0; | |
pub const VM_PURGABLE_STATE_MIN: u32 = 0; | |
pub const VM_PURGABLE_STATE_MAX: u32 = 3; | |
pub const VM_PURGABLE_STATE_MASK: u32 = 3; | |
pub const VM_PURGABLE_NONVOLATILE: u32 = 0; | |
pub const VM_PURGABLE_VOLATILE: u32 = 1; | |
pub const VM_PURGABLE_EMPTY: u32 = 2; | |
pub const VM_PURGABLE_DENY: u32 = 3; | |
pub const VM_PURGABLE_ALL_MASKS: u32 = 79731; | |
pub const BYTE_SIZE: u32 = 8; | |
pub const PAGE_MAX_SHIFT: u32 = 14; | |
pub const PAGE_MAX_SIZE: u32 = 16384; | |
pub const PAGE_MAX_MASK: u32 = 16383; | |
pub const PAGE_MIN_SHIFT: u32 = 12; | |
pub const PAGE_MIN_SIZE: u32 = 4096; | |
pub const PAGE_MIN_MASK: u32 = 4095; | |
pub const MACH_VM_MIN_ADDRESS_RAW: u32 = 0; | |
pub const MACH_VM_MAX_ADDRESS_RAW: u64 = 67645734912; | |
pub const MACH_VM_MIN_GPU_CARVEOUT_ADDRESS_RAW: u64 = 68719476736; | |
pub const MACH_VM_MAX_GPU_CARVEOUT_ADDRESS_RAW: u64 = 481036337152; | |
pub const SWI_SYSCALL: u32 = 128; | |
pub const VM_REGION_INFO_MAX: u32 = 1024; | |
pub const VM_REGION_BASIC_INFO_64: u32 = 9; | |
pub const VM_REGION_BASIC_INFO: u32 = 10; | |
pub const SM_COW: u32 = 1; | |
pub const SM_PRIVATE: u32 = 2; | |
pub const SM_EMPTY: u32 = 3; | |
pub const SM_SHARED: u32 = 4; | |
pub const SM_TRUESHARED: u32 = 5; | |
pub const SM_PRIVATE_ALIASED: u32 = 6; | |
pub const SM_SHARED_ALIASED: u32 = 7; | |
pub const SM_LARGE_PAGE: u32 = 8; | |
pub const VM_REGION_EXTENDED_INFO: u32 = 13; | |
pub const VM_REGION_TOP_INFO: u32 = 12; | |
pub const VM_MAP_ENTRY_MAX: u32 = 256; | |
pub const VM_PAGE_INFO_BASIC: u32 = 1; | |
pub const KMOD_MAX_NAME: u32 = 64; | |
pub const KMOD_RETURN_SUCCESS: u32 = 0; | |
pub const KMOD_RETURN_FAILURE: u32 = 5; | |
pub const KMOD_INFO_VERSION: u32 = 1; | |
pub const TASK_FLAVOR_CONTROL: u32 = 0; | |
pub const TASK_FLAVOR_READ: u32 = 1; | |
pub const TASK_FLAVOR_INSPECT: u32 = 2; | |
pub const TASK_FLAVOR_NAME: u32 = 3; | |
pub const TASK_FLAVOR_MAX: u32 = 3; | |
pub const THREAD_FLAVOR_CONTROL: u32 = 0; | |
pub const THREAD_FLAVOR_READ: u32 = 1; | |
pub const THREAD_FLAVOR_INSPECT: u32 = 2; | |
pub const THREAD_FLAVOR_MAX: u32 = 2; | |
pub const MACH_VOUCHER_BANK_CONTENT_SIZE: u32 = 500; | |
pub const BANK_ORIGINATOR_PID: u32 = 1; | |
pub const BANK_PERSONA_TOKEN: u32 = 2; | |
pub const BANK_PERSONA_ID: u32 = 3; | |
pub const BANK_PERSONA_ADOPT_ANY: u32 = 4; | |
pub const PROC_PERSONA_INFO_FLAG_ADOPTION_ALLOWED: u32 = 1; | |
pub const UNIVERSAL_INTERFACES_VERSION: u32 = 1024; | |
pub const PRAGMA_IMPORT: u32 = 0; | |
pub const PRAGMA_ONCE: u32 = 0; | |
pub const PRAGMA_STRUCT_PACK: u32 = 1; | |
pub const PRAGMA_STRUCT_PACKPUSH: u32 = 1; | |
pub const PRAGMA_STRUCT_ALIGN: u32 = 0; | |
pub const PRAGMA_ENUM_PACK: u32 = 0; | |
pub const PRAGMA_ENUM_ALWAYSINT: u32 = 0; | |
pub const PRAGMA_ENUM_OPTIONS: u32 = 0; | |
pub const TYPE_EXTENDED: u32 = 0; | |
pub const TYPE_LONGDOUBLE_IS_DOUBLE: u32 = 0; | |
pub const TYPE_LONGLONG: u32 = 1; | |
pub const FUNCTION_PASCAL: u32 = 0; | |
pub const FUNCTION_DECLSPEC: u32 = 0; | |
pub const FUNCTION_WIN32CC: u32 = 0; | |
pub const TARGET_API_MAC_OS8: u32 = 0; | |
pub const TARGET_API_MAC_CARBON: u32 = 1; | |
pub const TARGET_API_MAC_OSX: u32 = 1; | |
pub const TARGET_CARBON: u32 = 1; | |
pub const OLDROUTINENAMES: u32 = 0; | |
pub const OPAQUE_TOOLBOX_STRUCTS: u32 = 1; | |
pub const OPAQUE_UPP_TYPES: u32 = 1; | |
pub const ACCESSOR_CALLS_ARE_FUNCTIONS: u32 = 1; | |
pub const CALL_NOT_IN_CARBON: u32 = 0; | |
pub const MIXEDMODE_CALLS_ARE_FUNCTIONS: u32 = 1; | |
pub const FTS_COMFOLLOW: u32 = 1; | |
pub const FTS_LOGICAL: u32 = 2; | |
pub const FTS_NOCHDIR: u32 = 4; | |
pub const FTS_NOSTAT: u32 = 8; | |
pub const FTS_PHYSICAL: u32 = 16; | |
pub const FTS_SEEDOT: u32 = 32; | |
pub const FTS_XDEV: u32 = 64; | |
pub const FTS_WHITEOUT: u32 = 128; | |
pub const FTS_COMFOLLOWDIR: u32 = 1024; | |
pub const FTS_NOSTAT_TYPE: u32 = 2048; | |
pub const FTS_OPTIONMASK: u32 = 3327; | |
pub const FTS_NAMEONLY: u32 = 256; | |
pub const FTS_STOP: u32 = 512; | |
pub const FTS_THREAD_FCHDIR: u32 = 1024; | |
pub const FTS_BLOCK_COMPAR: u32 = 2147483648; | |
pub const FTS_ROOTPARENTLEVEL: i32 = -1; | |
pub const FTS_ROOTLEVEL: u32 = 0; | |
pub const FTS_MAXLEVEL: u32 = 2147483647; | |
pub const FTS_D: u32 = 1; | |
pub const FTS_DC: u32 = 2; | |
pub const FTS_DEFAULT: u32 = 3; | |
pub const FTS_DNR: u32 = 4; | |
pub const FTS_DOT: u32 = 5; | |
pub const FTS_DP: u32 = 6; | |
pub const FTS_ERR: u32 = 7; | |
pub const FTS_F: u32 = 8; | |
pub const FTS_INIT: u32 = 9; | |
pub const FTS_NS: u32 = 10; | |
pub const FTS_NSOK: u32 = 11; | |
pub const FTS_SL: u32 = 12; | |
pub const FTS_SLNONE: u32 = 13; | |
pub const FTS_W: u32 = 14; | |
pub const FTS_DONTCHDIR: u32 = 1; | |
pub const FTS_SYMFOLLOW: u32 = 2; | |
pub const FTS_ISW: u32 = 4; | |
pub const FTS_CHDIRFD: u32 = 8; | |
pub const FTS_AGAIN: u32 = 1; | |
pub const FTS_FOLLOW: u32 = 2; | |
pub const FTS_NOINSTR: u32 = 3; | |
pub const FTS_SKIP: u32 = 4; | |
pub const no_argument: u32 = 0; | |
pub const required_argument: u32 = 1; | |
pub const optional_argument: u32 = 2; | |
pub const DEBUG_ASSERT_COMPONENT_NAME_STRING: &[u8; 1usize] = b"\0"; | |
pub const __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES: u32 = 0; | |
pub const ALLOW_OBSOLETE_CARBON_MACMEMORY: u32 = 0; | |
pub const ALLOW_OBSOLETE_CARBON_OSUTILS: u32 = 0; | |
pub const kInvalidID: u32 = 0; | |
pub const NDR_PROTOCOL_2_0: u32 = 0; | |
pub const NDR_INT_BIG_ENDIAN: u32 = 0; | |
pub const NDR_INT_LITTLE_ENDIAN: u32 = 1; | |
pub const NDR_FLOAT_IEEE: u32 = 0; | |
pub const NDR_FLOAT_VAX: u32 = 1; | |
pub const NDR_FLOAT_CRAY: u32 = 2; | |
pub const NDR_FLOAT_IBM: u32 = 3; | |
pub const NDR_CHAR_ASCII: u32 = 0; | |
pub const NDR_CHAR_EBCDIC: u32 = 1; | |
pub const __NDR_convert__: u32 = 0; | |
pub const __NDR_convert__int_rep__: u32 = 0; | |
pub const __NDR_convert__char_rep__: u32 = 0; | |
pub const __NDR_convert__float_rep__: u32 = 0; | |
pub const MACH_NOTIFY_FIRST: u32 = 64; | |
pub const MACH_NOTIFY_PORT_DELETED: u32 = 65; | |
pub const MACH_NOTIFY_SEND_POSSIBLE: u32 = 66; | |
pub const MACH_NOTIFY_PORT_DESTROYED: u32 = 69; | |
pub const MACH_NOTIFY_NO_SENDERS: u32 = 70; | |
pub const MACH_NOTIFY_SEND_ONCE: u32 = 71; | |
pub const MACH_NOTIFY_DEAD_NAME: u32 = 72; | |
pub const MACH_NOTIFY_LAST: u32 = 77; | |
pub const __MigTypeCheck: u32 = 1; | |
pub const __MigPackStructs: u32 = 1; | |
pub const MIG_TYPE_ERROR: i32 = -300; | |
pub const MIG_REPLY_MISMATCH: i32 = -301; | |
pub const MIG_REMOTE_ERROR: i32 = -302; | |
pub const MIG_BAD_ID: i32 = -303; | |
pub const MIG_BAD_ARGUMENTS: i32 = -304; | |
pub const MIG_NO_REPLY: i32 = -305; | |
pub const MIG_EXCEPTION: i32 = -306; | |
pub const MIG_ARRAY_TOO_LARGE: i32 = -307; | |
pub const MIG_SERVER_DIED: i32 = -308; | |
pub const MIG_TRAILER_ERROR: i32 = -309; | |
pub const clock_priv_MSG_COUNT: u32 = 2; | |
pub const host_priv_MSG_COUNT: u32 = 26; | |
pub const ZONE_NAME_MAX_LEN: u32 = 80; | |
pub const MACH_ZONE_NAME_MAX_LEN: u32 = 80; | |
pub const MACH_MEMORY_INFO_NAME_MAX_LEN: u32 = 80; | |
pub const MAX_ZTRACE_DEPTH: u32 = 15; | |
pub const ZOP_ALLOC: u32 = 1; | |
pub const ZOP_FREE: u32 = 0; | |
pub const LOCKGROUP_MAX_NAME: u32 = 64; | |
pub const LOCKGROUP_ATTR_STAT: u32 = 1; | |
pub const MACH_CORE_FILEHEADER_SIGNATURE: u64 = 27973006578180434; | |
pub const MACH_CORE_FILEHEADER_V2_SIGNATURE: u64 = 7161089684267036482; | |
pub const MACH_CORE_FILEHEADER_MAXFILES: u32 = 16; | |
pub const MACH_CORE_FILEHEADER_NAMELEN: u32 = 16; | |
pub const MACH_CORE_FILEHEADER_V2_FLAG_LOG_ENCRYPTED_AEA: u32 = 1; | |
pub const MACH_CORE_FILEHEADER_V2_FLAG_EXISTING_COREFILE_KEY_FORMAT_NIST_P256: u32 = 256; | |
pub const MACH_CORE_FILEHEADER_V2_FLAG_NEXT_COREFILE_KEY_FORMAT_NIST_P256: u32 = 65536; | |
pub const MACH_CORE_FILEHEADER_V2_FLAGS_EXISTING_COREFILE_KEY_FORMAT_MASK: u32 = 256; | |
pub const MACH_CORE_FILEHEADER_V2_FLAGS_NEXT_COREFILE_KEY_FORMAT_MASK: u32 = 65536; | |
pub const MACH_CORE_DETAILS_V2_FLAG_ENCRYPTED_AEA: u32 = 1; | |
pub const MACH_CORE_DETAILS_V2_FLAG_COMPRESSED_ZLIB: u32 = 256; | |
pub const MACH_CORE_DETAILS_V2_FLAG_COMPRESSED_LZ4: u32 = 512; | |
pub const KOBJECT_DESCRIPTION_LENGTH: u32 = 512; | |
pub const host_security_MSG_COUNT: u32 = 2; | |
pub const processor_MSG_COUNT: u32 = 6; | |
pub const processor_set_MSG_COUNT: u32 = 11; | |
pub const SYNC_POLICY_FIFO: u32 = 0; | |
pub const SYNC_POLICY_FIXED_PRIORITY: u32 = 1; | |
pub const SYNC_POLICY_REVERSED: u32 = 2; | |
pub const SYNC_POLICY_ORDER_MASK: u32 = 3; | |
pub const SYNC_POLICY_LIFO: u32 = 2; | |
pub const task_MSG_COUNT: u32 = 65; | |
pub const thread_act_MSG_COUNT: u32 = 31; | |
pub const vm_map_MSG_COUNT: u32 = 33; | |
pub const mach_port_MSG_COUNT: u32 = 43; | |
pub const _MACH_INIT_: u32 = 1; | |
pub const NAME_SERVER_SLOT: u32 = 0; | |
pub const ENVIRONMENT_SLOT: u32 = 1; | |
pub const SERVICE_SLOT: u32 = 2; | |
pub const MACH_PORTS_SLOTS_USED: u32 = 3; | |
pub const mach_host_MSG_COUNT: u32 = 35; | |
pub const SWITCH_OPTION_NONE: u32 = 0; | |
pub const SWITCH_OPTION_DEPRESS: u32 = 1; | |
pub const SWITCH_OPTION_WAIT: u32 = 2; | |
pub const RPC_SIGBUF_SIZE: u32 = 8; | |
pub const _MACH_ERROR_: u32 = 1; | |
pub const code_emask: u32 = 16383; | |
pub const err_max_system: u32 = 63; | |
pub const VOUCHER_MACH_MSG_API_VERSION: u32 = 20140205; | |
pub const clock_MSG_COUNT: u32 = 3; | |
pub const clock_reply_MSG_COUNT: u32 = 1; | |
pub const exc_MSG_COUNT: u32 = 3; | |
pub const HOST_REBOOT_HALT: u32 = 8; | |
pub const HOST_REBOOT_UPSDELAY: u32 = 256; | |
pub const HOST_REBOOT_DEBUGGER: u32 = 4096; | |
pub const TASK_PORT_REGISTER_MAX: u32 = 3; | |
pub const TASK_MAX_WATCHPORT_COUNT: u32 = 128; | |
pub const TASK_MAX_EXCEPTION_PORT_COUNT: u32 = 14; | |
pub const TASK_SELF_PORT_COUNT: u32 = 4; | |
pub const THREAD_SELF_PORT_COUNT: u32 = 3; | |
pub const MAXCONCLAVENAME: u32 = 256; | |
pub const mach_voucher_MSG_COUNT: u32 = 5; | |
pub const memory_entry_MSG_COUNT: u32 = 3; | |
pub const CC_SYM_PREFIX: &[u8; 2usize] = b"_\0"; | |
pub const MACH_ARM_TRAP_ABSTIME: i32 = -3; | |
pub const MACH_ARM_TRAP_CONTTIME: i32 = -4; | |
pub const OSATOMIC_DEPRECATED: u32 = 1; | |
pub const OSSPINLOCK_DEPRECATED: u32 = 1; | |
pub const OS_SPINLOCK_INIT: u32 = 0; | |
pub const OS_LOCK_API_VERSION: u32 = 20160309; | |
pub const MALLOC_PTR_IN_USE_RANGE_TYPE: u32 = 1; | |
pub const MALLOC_PTR_REGION_RANGE_TYPE: u32 = 2; | |
pub const MALLOC_ADMIN_REGION_RANGE_TYPE: u32 = 4; | |
pub const MALLOC_ZONE_SPECIFIC_FLAGS: u32 = 65280; | |
pub const MALLOC_VERBOSE_PRINT_LEVEL: u32 = 2; | |
pub const NBPG: u32 = 4096; | |
pub const PGOFSET: u32 = 4095; | |
pub const PGSHIFT: u32 = 12; | |
pub const DEV_BSIZE: u32 = 512; | |
pub const DEV_BSHIFT: u32 = 9; | |
pub const BLKDEV_IOSIZE: u32 = 2048; | |
pub const MAXPHYS: u32 = 65536; | |
pub const CLSIZE: u32 = 1; | |
pub const CLSIZELOG2: u32 = 0; | |
pub const MSIZESHIFT: u32 = 8; | |
pub const MSIZE: u32 = 256; | |
pub const MCLSHIFT: u32 = 11; | |
pub const MCLBYTES: u32 = 2048; | |
pub const MBIGCLSHIFT: u32 = 12; | |
pub const MBIGCLBYTES: u32 = 4096; | |
pub const M16KCLSHIFT: u32 = 14; | |
pub const M16KCLBYTES: u32 = 16384; | |
pub const MCLOFSET: u32 = 2047; | |
pub const BSD: u32 = 199506; | |
pub const BSD4_3: u32 = 1; | |
pub const BSD4_4: u32 = 1; | |
pub const NeXTBSD: u32 = 1995064; | |
pub const NeXTBSD4_0: u32 = 0; | |
pub const MAXCOMLEN: u32 = 16; | |
pub const MAXINTERP: u32 = 64; | |
pub const MAXLOGNAME: u32 = 255; | |
pub const MAXUPRC: u32 = 266; | |
pub const NCARGS: u32 = 262144; | |
pub const NGROUPS: u32 = 16; | |
pub const NOFILE: u32 = 256; | |
pub const NOGROUP: u32 = 65535; | |
pub const MAXHOSTNAMELEN: u32 = 256; | |
pub const MAXDOMNAMELEN: u32 = 256; | |
pub const PSWP: u32 = 0; | |
pub const PVM: u32 = 4; | |
pub const PINOD: u32 = 8; | |
pub const PRIBIO: u32 = 16; | |
pub const PVFS: u32 = 20; | |
pub const PZERO: u32 = 22; | |
pub const PSOCK: u32 = 24; | |
pub const PWAIT: u32 = 32; | |
pub const PLOCK: u32 = 36; | |
pub const PPAUSE: u32 = 40; | |
pub const PUSER: u32 = 50; | |
pub const MAXPRI: u32 = 127; | |
pub const PRIMASK: u32 = 255; | |
pub const PCATCH: u32 = 256; | |
pub const PTTYBLOCK: u32 = 512; | |
pub const PDROP: u32 = 1024; | |
pub const PSPIN: u32 = 2048; | |
pub const CMASK: u32 = 18; | |
pub const CLBYTES: u32 = 4096; | |
pub const CLOFSET: u32 = 4095; | |
pub const CLOFF: u32 = 4095; | |
pub const CLSHIFT: u32 = 12; | |
pub const CBLOCK: u32 = 64; | |
pub const CBQSIZE: u32 = 8; | |
pub const CROUND: u32 = 63; | |
pub const MAXBSIZE: u32 = 1048576; | |
pub const MAXPHYSIO: u32 = 65536; | |
pub const MAXFRAG: u32 = 8; | |
pub const MAXPHYSIO_WIRED: u32 = 16777216; | |
pub const MAXPATHLEN: u32 = 1024; | |
pub const MAXSYMLINKS: u32 = 32; | |
pub const FSHIFT: u32 = 11; | |
pub const FSCALE: u32 = 2048; | |
pub const AUDIT_RECORD_MAGIC: u32 = 2190085915; | |
pub const MAX_AUDIT_RECORDS: u32 = 20; | |
pub const MAXAUDITDATA: u32 = 32767; | |
pub const MAX_AUDIT_RECORD_SIZE: u32 = 32767; | |
pub const MIN_AUDIT_FILE_SIZE: u32 = 524288; | |
pub const AUDIT_HARD_LIMIT_FREE_BLOCKS: u32 = 4; | |
pub const AUDIT_TRIGGER_MIN: u32 = 1; | |
pub const AUDIT_TRIGGER_LOW_SPACE: u32 = 1; | |
pub const AUDIT_TRIGGER_ROTATE_KERNEL: u32 = 2; | |
pub const AUDIT_TRIGGER_READ_FILE: u32 = 3; | |
pub const AUDIT_TRIGGER_CLOSE_AND_DIE: u32 = 4; | |
pub const AUDIT_TRIGGER_NO_SPACE: u32 = 5; | |
pub const AUDIT_TRIGGER_ROTATE_USER: u32 = 6; | |
pub const AUDIT_TRIGGER_INITIALIZE: u32 = 7; | |
pub const AUDIT_TRIGGER_EXPIRE_TRAILS: u32 = 8; | |
pub const AUDIT_TRIGGER_MAX: u32 = 8; | |
pub const AUDITDEV_FILENAME: &[u8; 6usize] = b"audit\0"; | |
pub const AUDIT_TRIGGER_FILE: &[u8; 11usize] = b"/dev/audit\0"; | |
pub const AU_DEFAUDITSID: u32 = 0; | |
pub const AU_ASSIGN_ASID: i32 = -1; | |
pub const AUC_UNSET: u32 = 0; | |
pub const AUC_AUDITING: u32 = 1; | |
pub const AUC_NOAUDIT: u32 = 2; | |
pub const AUC_DISABLED: i32 = -1; | |
pub const A_OLDGETPOLICY: u32 = 2; | |
pub const A_OLDSETPOLICY: u32 = 3; | |
pub const A_GETKMASK: u32 = 4; | |
pub const A_SETKMASK: u32 = 5; | |
pub const A_OLDGETQCTRL: u32 = 6; | |
pub const A_OLDSETQCTRL: u32 = 7; | |
pub const A_GETCWD: u32 = 8; | |
pub const A_GETCAR: u32 = 9; | |
pub const A_GETSTAT: u32 = 12; | |
pub const A_SETSTAT: u32 = 13; | |
pub const A_SETUMASK: u32 = 14; | |
pub const A_SETSMASK: u32 = 15; | |
pub const A_OLDGETCOND: u32 = 20; | |
pub const A_OLDSETCOND: u32 = 21; | |
pub const A_GETCLASS: u32 = 22; | |
pub const A_SETCLASS: u32 = 23; | |
pub const A_GETPINFO: u32 = 24; | |
pub const A_SETPMASK: u32 = 25; | |
pub const A_SETFSIZE: u32 = 26; | |
pub const A_GETFSIZE: u32 = 27; | |
pub const A_GETPINFO_ADDR: u32 = 28; | |
pub const A_GETKAUDIT: u32 = 29; | |
pub const A_SETKAUDIT: u32 = 30; | |
pub const A_SENDTRIGGER: u32 = 31; | |
pub const A_GETSINFO_ADDR: u32 = 32; | |
pub const A_GETPOLICY: u32 = 33; | |
pub const A_SETPOLICY: u32 = 34; | |
pub const A_GETQCTRL: u32 = 35; | |
pub const A_SETQCTRL: u32 = 36; | |
pub const A_GETCOND: u32 = 37; | |
pub const A_SETCOND: u32 = 38; | |
pub const A_GETSFLAGS: u32 = 39; | |
pub const A_SETSFLAGS: u32 = 40; | |
pub const A_GETCTLMODE: u32 = 41; | |
pub const A_SETCTLMODE: u32 = 42; | |
pub const A_GETEXPAFTER: u32 = 43; | |
pub const A_SETEXPAFTER: u32 = 44; | |
pub const AUDIT_CNT: u32 = 1; | |
pub const AUDIT_AHLT: u32 = 2; | |
pub const AUDIT_ARGV: u32 = 4; | |
pub const AUDIT_ARGE: u32 = 8; | |
pub const AUDIT_SEQ: u32 = 16; | |
pub const AUDIT_WINDATA: u32 = 32; | |
pub const AUDIT_USER: u32 = 64; | |
pub const AUDIT_GROUP: u32 = 128; | |
pub const AUDIT_TRAIL: u32 = 256; | |
pub const AUDIT_PATH: u32 = 512; | |
pub const AUDIT_SCNT: u32 = 1024; | |
pub const AUDIT_PUBLIC: u32 = 2048; | |
pub const AUDIT_ZONENAME: u32 = 4096; | |
pub const AUDIT_PERZONE: u32 = 8192; | |
pub const AQ_HIWATER: u32 = 100; | |
pub const AQ_MAXHIGH: u32 = 10000; | |
pub const AQ_LOWATER: u32 = 10; | |
pub const AQ_BUFSZ: u32 = 32767; | |
pub const AQ_MAXBUFSZ: u32 = 1048576; | |
pub const AU_FS_MINFREE: u32 = 20; | |
pub const AU_IPv4: u32 = 4; | |
pub const AU_IPv6: u32 = 16; | |
pub const AU_CLASS_MASK_RESERVED: u32 = 268435456; | |
pub const _EXECINFO_H_: u32 = 1; | |
pub const _PATH_FSTAB: &[u8; 11usize] = b"/etc/fstab\0"; | |
pub const FSTAB: &[u8; 11usize] = b"/etc/fstab\0"; | |
pub const FSTAB_RW: &[u8; 3usize] = b"rw\0"; | |
pub const FSTAB_RQ: &[u8; 3usize] = b"rq\0"; | |
pub const FSTAB_RO: &[u8; 3usize] = b"ro\0"; | |
pub const FSTAB_SW: &[u8; 3usize] = b"sw\0"; | |
pub const FSTAB_XX: &[u8; 3usize] = b"xx\0"; | |
pub const NTSID_MAX_AUTHORITIES: u32 = 16; | |
pub const ID_TYPE_UID: u32 = 0; | |
pub const ID_TYPE_GID: u32 = 1; | |
pub const ID_TYPE_SID: u32 = 3; | |
pub const ID_TYPE_USERNAME: u32 = 4; | |
pub const ID_TYPE_GROUPNAME: u32 = 5; | |
pub const ID_TYPE_UUID: u32 = 6; | |
pub const ID_TYPE_GROUP_NFS: u32 = 7; | |
pub const ID_TYPE_USER_NFS: u32 = 8; | |
pub const ID_TYPE_GSS_EXPORT_NAME: u32 = 10; | |
pub const ID_TYPE_X509_DN: u32 = 11; | |
pub const ID_TYPE_KERBEROS: u32 = 12; | |
pub const IPSEC_PORT_ANY: u32 = 0; | |
pub const IPSEC_ULPROTO_ANY: u32 = 255; | |
pub const IPSEC_PROTO_ANY: u32 = 255; | |
pub const IPSEC_MODE_ANY: u32 = 0; | |
pub const IPSEC_MODE_TRANSPORT: u32 = 1; | |
pub const IPSEC_MODE_TUNNEL: u32 = 2; | |
pub const IPSEC_DIR_ANY: u32 = 0; | |
pub const IPSEC_DIR_INBOUND: u32 = 1; | |
pub const IPSEC_DIR_OUTBOUND: u32 = 2; | |
pub const IPSEC_DIR_MAX: u32 = 3; | |
pub const IPSEC_DIR_INVALID: u32 = 4; | |
pub const IPSEC_POLICY_DISCARD: u32 = 0; | |
pub const IPSEC_POLICY_NONE: u32 = 1; | |
pub const IPSEC_POLICY_IPSEC: u32 = 2; | |
pub const IPSEC_POLICY_ENTRUST: u32 = 3; | |
pub const IPSEC_POLICY_BYPASS: u32 = 4; | |
pub const IPSEC_POLICY_GENERATE: u32 = 5; | |
pub const IPSEC_LEVEL_DEFAULT: u32 = 0; | |
pub const IPSEC_LEVEL_USE: u32 = 1; | |
pub const IPSEC_LEVEL_REQUIRE: u32 = 2; | |
pub const IPSEC_LEVEL_UNIQUE: u32 = 3; | |
pub const IPSEC_MANUAL_REQID_MAX: u32 = 16383; | |
pub const IPSEC_REPLAYWSIZE: u32 = 32; | |
pub const IPSEC_KEY_AUTH_MAX_BYTES: u32 = 256; | |
pub const IPSEC_KEY_ENCRYPT_MAX_BYTES: u32 = 256; | |
pub const IPSEC_MAX_WAKE_PKT_LEN: u32 = 100; | |
pub const SCOPE6_ID_MAX: u32 = 16; | |
pub const KAUTH_NTSID_MAX_AUTHORITIES: u32 = 16; | |
pub const KAUTH_NTSID_HDRSIZE: u32 = 8; | |
pub const KAUTH_EXTLOOKUP_SUCCESS: u32 = 0; | |
pub const KAUTH_EXTLOOKUP_BADRQ: u32 = 1; | |
pub const KAUTH_EXTLOOKUP_FAILURE: u32 = 2; | |
pub const KAUTH_EXTLOOKUP_FATAL: u32 = 3; | |
pub const KAUTH_EXTLOOKUP_INPROG: u32 = 100; | |
pub const KAUTH_EXTLOOKUP_VALID_UID: u32 = 1; | |
pub const KAUTH_EXTLOOKUP_VALID_UGUID: u32 = 2; | |
pub const KAUTH_EXTLOOKUP_VALID_USID: u32 = 4; | |
pub const KAUTH_EXTLOOKUP_VALID_GID: u32 = 8; | |
pub const KAUTH_EXTLOOKUP_VALID_GGUID: u32 = 16; | |
pub const KAUTH_EXTLOOKUP_VALID_GSID: u32 = 32; | |
pub const KAUTH_EXTLOOKUP_WANT_UID: u32 = 64; | |
pub const KAUTH_EXTLOOKUP_WANT_UGUID: u32 = 128; | |
pub const KAUTH_EXTLOOKUP_WANT_USID: u32 = 256; | |
pub const KAUTH_EXTLOOKUP_WANT_GID: u32 = 512; | |
pub const KAUTH_EXTLOOKUP_WANT_GGUID: u32 = 1024; | |
pub const KAUTH_EXTLOOKUP_WANT_GSID: u32 = 2048; | |
pub const KAUTH_EXTLOOKUP_WANT_MEMBERSHIP: u32 = 4096; | |
pub const KAUTH_EXTLOOKUP_VALID_MEMBERSHIP: u32 = 8192; | |
pub const KAUTH_EXTLOOKUP_ISMEMBER: u32 = 16384; | |
pub const KAUTH_EXTLOOKUP_VALID_PWNAM: u32 = 32768; | |
pub const KAUTH_EXTLOOKUP_WANT_PWNAM: u32 = 65536; | |
pub const KAUTH_EXTLOOKUP_VALID_GRNAM: u32 = 131072; | |
pub const KAUTH_EXTLOOKUP_WANT_GRNAM: u32 = 262144; | |
pub const KAUTH_EXTLOOKUP_VALID_SUPGRPS: u32 = 524288; | |
pub const KAUTH_EXTLOOKUP_WANT_SUPGRPS: u32 = 1048576; | |
pub const KAUTH_EXTLOOKUP_REGISTER: u32 = 0; | |
pub const KAUTH_EXTLOOKUP_RESULT: u32 = 1; | |
pub const KAUTH_EXTLOOKUP_WORKER: u32 = 2; | |
pub const KAUTH_EXTLOOKUP_DEREGISTER: u32 = 4; | |
pub const KAUTH_GET_CACHE_SIZES: u32 = 8; | |
pub const KAUTH_SET_CACHE_SIZES: u32 = 16; | |
pub const KAUTH_CLEAR_CACHES: u32 = 32; | |
pub const IDENTITYSVC_ENTITLEMENT: &[u8; 30usize] = b"com.apple.private.identitysvc\0"; | |
pub const KAUTH_ACE_KINDMASK: u32 = 15; | |
pub const KAUTH_ACE_PERMIT: u32 = 1; | |
pub const KAUTH_ACE_DENY: u32 = 2; | |
pub const KAUTH_ACE_AUDIT: u32 = 3; | |
pub const KAUTH_ACE_ALARM: u32 = 4; | |
pub const KAUTH_ACE_INHERITED: u32 = 16; | |
pub const KAUTH_ACE_FILE_INHERIT: u32 = 32; | |
pub const KAUTH_ACE_DIRECTORY_INHERIT: u32 = 64; | |
pub const KAUTH_ACE_LIMIT_INHERIT: u32 = 128; | |
pub const KAUTH_ACE_ONLY_INHERIT: u32 = 256; | |
pub const KAUTH_ACE_SUCCESS: u32 = 512; | |
pub const KAUTH_ACE_FAILURE: u32 = 1024; | |
pub const KAUTH_ACE_INHERIT_CONTROL_FLAGS: u32 = 480; | |
pub const KAUTH_ACE_GENERIC_ALL: u32 = 2097152; | |
pub const KAUTH_ACE_GENERIC_EXECUTE: u32 = 4194304; | |
pub const KAUTH_ACE_GENERIC_WRITE: u32 = 8388608; | |
pub const KAUTH_ACE_GENERIC_READ: u32 = 16777216; | |
pub const KAUTH_ACL_MAX_ENTRIES: u32 = 128; | |
pub const KAUTH_ACL_FLAGS_PRIVATE: u32 = 65535; | |
pub const KAUTH_ACL_DEFER_INHERIT: u32 = 65536; | |
pub const KAUTH_ACL_NO_INHERIT: u32 = 131072; | |
pub const KAUTH_FILESEC_MAGIC: u32 = 19710317; | |
pub const KAUTH_FILESEC_FLAGS_PRIVATE: u32 = 65535; | |
pub const KAUTH_FILESEC_DEFER_INHERIT: u32 = 65536; | |
pub const KAUTH_FILESEC_NO_INHERIT: u32 = 131072; | |
pub const KAUTH_FILESEC_XATTR: &[u8; 26usize] = b"com.apple.system.Security\0"; | |
pub const KAUTH_ENDIAN_HOST: u32 = 1; | |
pub const KAUTH_ENDIAN_DISK: u32 = 2; | |
pub const KAUTH_VNODE_READ_DATA: u32 = 2; | |
pub const KAUTH_VNODE_LIST_DIRECTORY: u32 = 2; | |
pub const KAUTH_VNODE_WRITE_DATA: u32 = 4; | |
pub const KAUTH_VNODE_ADD_FILE: u32 = 4; | |
pub const KAUTH_VNODE_EXECUTE: u32 = 8; | |
pub const KAUTH_VNODE_SEARCH: u32 = 8; | |
pub const KAUTH_VNODE_DELETE: u32 = 16; | |
pub const KAUTH_VNODE_APPEND_DATA: u32 = 32; | |
pub const KAUTH_VNODE_ADD_SUBDIRECTORY: u32 = 32; | |
pub const KAUTH_VNODE_DELETE_CHILD: u32 = 64; | |
pub const KAUTH_VNODE_READ_ATTRIBUTES: u32 = 128; | |
pub const KAUTH_VNODE_WRITE_ATTRIBUTES: u32 = 256; | |
pub const KAUTH_VNODE_READ_EXTATTRIBUTES: u32 = 512; | |
pub const KAUTH_VNODE_WRITE_EXTATTRIBUTES: u32 = 1024; | |
pub const KAUTH_VNODE_READ_SECURITY: u32 = 2048; | |
pub const KAUTH_VNODE_WRITE_SECURITY: u32 = 4096; | |
pub const KAUTH_VNODE_TAKE_OWNERSHIP: u32 = 8192; | |
pub const KAUTH_VNODE_CHANGE_OWNER: u32 = 8192; | |
pub const KAUTH_VNODE_SYNCHRONIZE: u32 = 1048576; | |
pub const KAUTH_VNODE_LINKTARGET: u32 = 33554432; | |
pub const KAUTH_VNODE_CHECKIMMUTABLE: u32 = 67108864; | |
pub const KAUTH_VNODE_ACCESS: u32 = 2147483648; | |
pub const KAUTH_VNODE_NOIMMUTABLE: u32 = 1073741824; | |
pub const KAUTH_VNODE_SEARCHBYANYONE: u32 = 536870912; | |
pub const KAUTH_VNODE_GENERIC_READ_BITS: u32 = 2690; | |
pub const KAUTH_VNODE_GENERIC_WRITE_BITS: u32 = 5492; | |
pub const KAUTH_VNODE_GENERIC_EXECUTE_BITS: u32 = 8; | |
pub const KAUTH_VNODE_GENERIC_ALL_BITS: u32 = 8190; | |
pub const KAUTH_VNODE_WRITE_RIGHTS: u32 = 100676980; | |
pub const __DARWIN_ACL_READ_DATA: u32 = 2; | |
pub const __DARWIN_ACL_LIST_DIRECTORY: u32 = 2; | |
pub const __DARWIN_ACL_WRITE_DATA: u32 = 4; | |
pub const __DARWIN_ACL_ADD_FILE: u32 = 4; | |
pub const __DARWIN_ACL_EXECUTE: u32 = 8; | |
pub const __DARWIN_ACL_SEARCH: u32 = 8; | |
pub const __DARWIN_ACL_DELETE: u32 = 16; | |
pub const __DARWIN_ACL_APPEND_DATA: u32 = 32; | |
pub const __DARWIN_ACL_ADD_SUBDIRECTORY: u32 = 32; | |
pub const __DARWIN_ACL_DELETE_CHILD: u32 = 64; | |
pub const __DARWIN_ACL_READ_ATTRIBUTES: u32 = 128; | |
pub const __DARWIN_ACL_WRITE_ATTRIBUTES: u32 = 256; | |
pub const __DARWIN_ACL_READ_EXTATTRIBUTES: u32 = 512; | |
pub const __DARWIN_ACL_WRITE_EXTATTRIBUTES: u32 = 1024; | |
pub const __DARWIN_ACL_READ_SECURITY: u32 = 2048; | |
pub const __DARWIN_ACL_WRITE_SECURITY: u32 = 4096; | |
pub const __DARWIN_ACL_CHANGE_OWNER: u32 = 8192; | |
pub const __DARWIN_ACL_SYNCHRONIZE: u32 = 1048576; | |
pub const __DARWIN_ACL_EXTENDED_ALLOW: u32 = 1; | |
pub const __DARWIN_ACL_EXTENDED_DENY: u32 = 2; | |
pub const __DARWIN_ACL_ENTRY_INHERITED: u32 = 16; | |
pub const __DARWIN_ACL_ENTRY_FILE_INHERIT: u32 = 32; | |
pub const __DARWIN_ACL_ENTRY_DIRECTORY_INHERIT: u32 = 64; | |
pub const __DARWIN_ACL_ENTRY_LIMIT_INHERIT: u32 = 128; | |
pub const __DARWIN_ACL_ENTRY_ONLY_INHERIT: u32 = 256; | |
pub const __DARWIN_ACL_FLAG_NO_INHERIT: u32 = 131072; | |
pub const ACL_MAX_ENTRIES: u32 = 128; | |
pub const CRF_NOMEMBERD: u32 = 1; | |
pub const CRF_MAC_ENFORCE: u32 = 2; | |
pub const XUCRED_VERSION: u32 = 0; | |
pub const FSOPT_NOFOLLOW: u32 = 1; | |
pub const FSOPT_NOINMEMUPDATE: u32 = 2; | |
pub const FSOPT_REPORT_FULLSIZE: u32 = 4; | |
pub const FSOPT_PACK_INVAL_ATTRS: u32 = 8; | |
pub const FSOPT_ATTR_CMN_EXTENDED: u32 = 32; | |
pub const FSOPT_RETURN_REALDEV: u32 = 512; | |
pub const FSOPT_NOFOLLOW_ANY: u32 = 2048; | |
pub const SEARCHFS_MAX_SEARCHPARMS: u32 = 4096; | |
pub const ATTR_BIT_MAP_COUNT: u32 = 5; | |
pub const VOL_CAPABILITIES_FORMAT: u32 = 0; | |
pub const VOL_CAPABILITIES_INTERFACES: u32 = 1; | |
pub const VOL_CAPABILITIES_RESERVED1: u32 = 2; | |
pub const VOL_CAPABILITIES_RESERVED2: u32 = 3; | |
pub const ATTR_MAX_BUFFER: u32 = 8192; | |
pub const VOL_CAP_FMT_PERSISTENTOBJECTIDS: u32 = 1; | |
pub const VOL_CAP_FMT_SYMBOLICLINKS: u32 = 2; | |
pub const VOL_CAP_FMT_HARDLINKS: u32 = 4; | |
pub const VOL_CAP_FMT_JOURNAL: u32 = 8; | |
pub const VOL_CAP_FMT_JOURNAL_ACTIVE: u32 = 16; | |
pub const VOL_CAP_FMT_NO_ROOT_TIMES: u32 = 32; | |
pub const VOL_CAP_FMT_SPARSE_FILES: u32 = 64; | |
pub const VOL_CAP_FMT_ZERO_RUNS: u32 = 128; | |
pub const VOL_CAP_FMT_CASE_SENSITIVE: u32 = 256; | |
pub const VOL_CAP_FMT_CASE_PRESERVING: u32 = 512; | |
pub const VOL_CAP_FMT_FAST_STATFS: u32 = 1024; | |
pub const VOL_CAP_FMT_2TB_FILESIZE: u32 = 2048; | |
pub const VOL_CAP_FMT_OPENDENYMODES: u32 = 4096; | |
pub const VOL_CAP_FMT_HIDDEN_FILES: u32 = 8192; | |
pub const VOL_CAP_FMT_PATH_FROM_ID: u32 = 16384; | |
pub const VOL_CAP_FMT_NO_VOLUME_SIZES: u32 = 32768; | |
pub const VOL_CAP_FMT_DECMPFS_COMPRESSION: u32 = 65536; | |
pub const VOL_CAP_FMT_64BIT_OBJECT_IDS: u32 = 131072; | |
pub const VOL_CAP_FMT_DIR_HARDLINKS: u32 = 262144; | |
pub const VOL_CAP_FMT_DOCUMENT_ID: u32 = 524288; | |
pub const VOL_CAP_FMT_WRITE_GENERATION_COUNT: u32 = 1048576; | |
pub const VOL_CAP_FMT_NO_IMMUTABLE_FILES: u32 = 2097152; | |
pub const VOL_CAP_FMT_NO_PERMISSIONS: u32 = 4194304; | |
pub const VOL_CAP_FMT_SHARED_SPACE: u32 = 8388608; | |
pub const VOL_CAP_FMT_VOL_GROUPS: u32 = 16777216; | |
pub const VOL_CAP_FMT_SEALED: u32 = 33554432; | |
pub const VOL_CAP_INT_SEARCHFS: u32 = 1; | |
pub const VOL_CAP_INT_ATTRLIST: u32 = 2; | |
pub const VOL_CAP_INT_NFSEXPORT: u32 = 4; | |
pub const VOL_CAP_INT_READDIRATTR: u32 = 8; | |
pub const VOL_CAP_INT_EXCHANGEDATA: u32 = 16; | |
pub const VOL_CAP_INT_COPYFILE: u32 = 32; | |
pub const VOL_CAP_INT_ALLOCATE: u32 = 64; | |
pub const VOL_CAP_INT_VOL_RENAME: u32 = 128; | |
pub const VOL_CAP_INT_ADVLOCK: u32 = 256; | |
pub const VOL_CAP_INT_FLOCK: u32 = 512; | |
pub const VOL_CAP_INT_EXTENDED_SECURITY: u32 = 1024; | |
pub const VOL_CAP_INT_USERACCESS: u32 = 2048; | |
pub const VOL_CAP_INT_MANLOCK: u32 = 4096; | |
pub const VOL_CAP_INT_NAMEDSTREAMS: u32 = 8192; | |
pub const VOL_CAP_INT_EXTENDED_ATTR: u32 = 16384; | |
pub const VOL_CAP_INT_CLONE: u32 = 65536; | |
pub const VOL_CAP_INT_SNAPSHOT: u32 = 131072; | |
pub const VOL_CAP_INT_RENAME_SWAP: u32 = 262144; | |
pub const VOL_CAP_INT_RENAME_EXCL: u32 = 524288; | |
pub const VOL_CAP_INT_RENAME_OPENFAIL: u32 = 1048576; | |
pub const VOL_CAP_INT_RENAME_SECLUDE: u32 = 2097152; | |
pub const ATTR_CMN_NAME: u32 = 1; | |
pub const ATTR_CMN_DEVID: u32 = 2; | |
pub const ATTR_CMN_FSID: u32 = 4; | |
pub const ATTR_CMN_OBJTYPE: u32 = 8; | |
pub const ATTR_CMN_OBJTAG: u32 = 16; | |
pub const ATTR_CMN_OBJID: u32 = 32; | |
pub const ATTR_CMN_OBJPERMANENTID: u32 = 64; | |
pub const ATTR_CMN_PAROBJID: u32 = 128; | |
pub const ATTR_CMN_SCRIPT: u32 = 256; | |
pub const ATTR_CMN_CRTIME: u32 = 512; | |
pub const ATTR_CMN_MODTIME: u32 = 1024; | |
pub const ATTR_CMN_CHGTIME: u32 = 2048; | |
pub const ATTR_CMN_ACCTIME: u32 = 4096; | |
pub const ATTR_CMN_BKUPTIME: u32 = 8192; | |
pub const ATTR_CMN_FNDRINFO: u32 = 16384; | |
pub const ATTR_CMN_OWNERID: u32 = 32768; | |
pub const ATTR_CMN_GRPID: u32 = 65536; | |
pub const ATTR_CMN_ACCESSMASK: u32 = 131072; | |
pub const ATTR_CMN_FLAGS: u32 = 262144; | |
pub const ATTR_CMN_GEN_COUNT: u32 = 524288; | |
pub const ATTR_CMN_DOCUMENT_ID: u32 = 1048576; | |
pub const ATTR_CMN_USERACCESS: u32 = 2097152; | |
pub const ATTR_CMN_EXTENDED_SECURITY: u32 = 4194304; | |
pub const ATTR_CMN_UUID: u32 = 8388608; | |
pub const ATTR_CMN_GRPUUID: u32 = 16777216; | |
pub const ATTR_CMN_FILEID: u32 = 33554432; | |
pub const ATTR_CMN_PARENTID: u32 = 67108864; | |
pub const ATTR_CMN_FULLPATH: u32 = 134217728; | |
pub const ATTR_CMN_ADDEDTIME: u32 = 268435456; | |
pub const ATTR_CMN_ERROR: u32 = 536870912; | |
pub const ATTR_CMN_DATA_PROTECT_FLAGS: u32 = 1073741824; | |
pub const ATTR_CMN_RETURNED_ATTRS: u32 = 2147483648; | |
pub const ATTR_CMN_VALIDMASK: u32 = 4294967295; | |
pub const ATTR_CMN_SETMASK: u32 = 1372061440; | |
pub const ATTR_CMN_VOLSETMASK: u32 = 26368; | |
pub const ATTR_VOL_FSTYPE: u32 = 1; | |
pub const ATTR_VOL_SIGNATURE: u32 = 2; | |
pub const ATTR_VOL_SIZE: u32 = 4; | |
pub const ATTR_VOL_SPACEFREE: u32 = 8; | |
pub const ATTR_VOL_SPACEAVAIL: u32 = 16; | |
pub const ATTR_VOL_MINALLOCATION: u32 = 32; | |
pub const ATTR_VOL_ALLOCATIONCLUMP: u32 = 64; | |
pub const ATTR_VOL_IOBLOCKSIZE: u32 = 128; | |
pub const ATTR_VOL_OBJCOUNT: u32 = 256; | |
pub const ATTR_VOL_FILECOUNT: u32 = 512; | |
pub const ATTR_VOL_DIRCOUNT: u32 = 1024; | |
pub const ATTR_VOL_MAXOBJCOUNT: u32 = 2048; | |
pub const ATTR_VOL_MOUNTPOINT: u32 = 4096; | |
pub const ATTR_VOL_NAME: u32 = 8192; | |
pub const ATTR_VOL_MOUNTFLAGS: u32 = 16384; | |
pub const ATTR_VOL_MOUNTEDDEVICE: u32 = 32768; | |
pub const ATTR_VOL_ENCODINGSUSED: u32 = 65536; | |
pub const ATTR_VOL_CAPABILITIES: u32 = 131072; | |
pub const ATTR_VOL_UUID: u32 = 262144; | |
pub const ATTR_VOL_FSTYPENAME: u32 = 1048576; | |
pub const ATTR_VOL_FSSUBTYPE: u32 = 2097152; | |
pub const ATTR_VOL_SPACEUSED: u32 = 8388608; | |
pub const ATTR_VOL_QUOTA_SIZE: u32 = 268435456; | |
pub const ATTR_VOL_RESERVED_SIZE: u32 = 536870912; | |
pub const ATTR_VOL_ATTRIBUTES: u32 = 1073741824; | |
pub const ATTR_VOL_INFO: u32 = 2147483648; | |
pub const ATTR_VOL_VALIDMASK: u32 = 4038590463; | |
pub const ATTR_VOL_SETMASK: u32 = 2147491840; | |
pub const ATTR_DIR_LINKCOUNT: u32 = 1; | |
pub const ATTR_DIR_ENTRYCOUNT: u32 = 2; | |
pub const ATTR_DIR_MOUNTSTATUS: u32 = 4; | |
pub const ATTR_DIR_ALLOCSIZE: u32 = 8; | |
pub const ATTR_DIR_IOBLOCKSIZE: u32 = 16; | |
pub const ATTR_DIR_DATALENGTH: u32 = 32; | |
pub const DIR_MNTSTATUS_MNTPOINT: u32 = 1; | |
pub const DIR_MNTSTATUS_TRIGGER: u32 = 2; | |
pub const ATTR_DIR_VALIDMASK: u32 = 63; | |
pub const ATTR_DIR_SETMASK: u32 = 0; | |
pub const ATTR_FILE_LINKCOUNT: u32 = 1; | |
pub const ATTR_FILE_TOTALSIZE: u32 = 2; | |
pub const ATTR_FILE_ALLOCSIZE: u32 = 4; | |
pub const ATTR_FILE_IOBLOCKSIZE: u32 = 8; | |
pub const ATTR_FILE_DEVTYPE: u32 = 32; | |
pub const ATTR_FILE_FORKCOUNT: u32 = 128; | |
pub const ATTR_FILE_FORKLIST: u32 = 256; | |
pub const ATTR_FILE_DATALENGTH: u32 = 512; | |
pub const ATTR_FILE_DATAALLOCSIZE: u32 = 1024; | |
pub const ATTR_FILE_RSRCLENGTH: u32 = 4096; | |
pub const ATTR_FILE_RSRCALLOCSIZE: u32 = 8192; | |
pub const ATTR_FILE_VALIDMASK: u32 = 14335; | |
pub const ATTR_FILE_SETMASK: u32 = 32; | |
pub const ATTR_CMNEXT_RELPATH: u32 = 4; | |
pub const ATTR_CMNEXT_PRIVATESIZE: u32 = 8; | |
pub const ATTR_CMNEXT_LINKID: u32 = 16; | |
pub const ATTR_CMNEXT_NOFIRMLINKPATH: u32 = 32; | |
pub const ATTR_CMNEXT_REALDEVID: u32 = 64; | |
pub const ATTR_CMNEXT_REALFSID: u32 = 128; | |
pub const ATTR_CMNEXT_CLONEID: u32 = 256; | |
pub const ATTR_CMNEXT_EXT_FLAGS: u32 = 512; | |
pub const ATTR_CMNEXT_RECURSIVE_GENCOUNT: u32 = 1024; | |
pub const ATTR_CMNEXT_ATTRIBUTION_TAG: u32 = 2048; | |
pub const ATTR_CMNEXT_CLONE_REFCNT: u32 = 4096; | |
pub const ATTR_CMNEXT_VALIDMASK: u32 = 8188; | |
pub const ATTR_CMNEXT_SETMASK: u32 = 0; | |
pub const ATTR_FORK_TOTALSIZE: u32 = 1; | |
pub const ATTR_FORK_ALLOCSIZE: u32 = 2; | |
pub const ATTR_FORK_RESERVED: u32 = 4294967295; | |
pub const ATTR_FORK_VALIDMASK: u32 = 3; | |
pub const ATTR_FORK_SETMASK: u32 = 0; | |
pub const ATTR_CMN_NAMEDATTRCOUNT: u32 = 524288; | |
pub const ATTR_CMN_NAMEDATTRLIST: u32 = 1048576; | |
pub const ATTR_FILE_CLUMPSIZE: u32 = 16; | |
pub const ATTR_FILE_FILETYPE: u32 = 64; | |
pub const ATTR_FILE_DATAEXTENTS: u32 = 2048; | |
pub const ATTR_FILE_RSRCEXTENTS: u32 = 16384; | |
pub const ATTR_BULK_REQUIRED: u32 = 2147483649; | |
pub const SRCHFS_START: u32 = 1; | |
pub const SRCHFS_MATCHPARTIALNAMES: u32 = 2; | |
pub const SRCHFS_MATCHDIRS: u32 = 4; | |
pub const SRCHFS_MATCHFILES: u32 = 8; | |
pub const SRCHFS_SKIPLINKS: u32 = 16; | |
pub const SRCHFS_SKIPINVISIBLE: u32 = 32; | |
pub const SRCHFS_SKIPPACKAGES: u32 = 64; | |
pub const SRCHFS_SKIPINAPPROPRIATE: u32 = 128; | |
pub const SRCHFS_NEGATEPARAMS: u32 = 2147483648; | |
pub const SRCHFS_VALIDOPTIONSMASK: u32 = 2147483903; | |
pub const FST_EOF: i32 = -1; | |
pub const CLONE_NOFOLLOW: u32 = 1; | |
pub const CLONE_NOOWNERCOPY: u32 = 2; | |
pub const CLONE_ACL: u32 = 4; | |
pub const EVFILT_READ: i32 = -1; | |
pub const EVFILT_WRITE: i32 = -2; | |
pub const EVFILT_AIO: i32 = -3; | |
pub const EVFILT_VNODE: i32 = -4; | |
pub const EVFILT_PROC: i32 = -5; | |
pub const EVFILT_SIGNAL: i32 = -6; | |
pub const EVFILT_TIMER: i32 = -7; | |
pub const EVFILT_MACHPORT: i32 = -8; | |
pub const EVFILT_FS: i32 = -9; | |
pub const EVFILT_USER: i32 = -10; | |
pub const EVFILT_VM: i32 = -12; | |
pub const EVFILT_EXCEPT: i32 = -15; | |
pub const EVFILT_SYSCOUNT: u32 = 17; | |
pub const EVFILT_THREADMARKER: u32 = 17; | |
pub const KEVENT_FLAG_NONE: u32 = 0; | |
pub const KEVENT_FLAG_IMMEDIATE: u32 = 1; | |
pub const KEVENT_FLAG_ERROR_EVENTS: u32 = 2; | |
pub const EV_ADD: u32 = 1; | |
pub const EV_DELETE: u32 = 2; | |
pub const EV_ENABLE: u32 = 4; | |
pub const EV_DISABLE: u32 = 8; | |
pub const EV_ONESHOT: u32 = 16; | |
pub const EV_CLEAR: u32 = 32; | |
pub const EV_RECEIPT: u32 = 64; | |
pub const EV_DISPATCH: u32 = 128; | |
pub const EV_UDATA_SPECIFIC: u32 = 256; | |
pub const EV_DISPATCH2: u32 = 384; | |
pub const EV_VANISHED: u32 = 512; | |
pub const EV_SYSFLAGS: u32 = 61440; | |
pub const EV_FLAG0: u32 = 4096; | |
pub const EV_FLAG1: u32 = 8192; | |
pub const EV_EOF: u32 = 32768; | |
pub const EV_ERROR: u32 = 16384; | |
pub const EV_POLL: u32 = 4096; | |
pub const EV_OOBAND: u32 = 8192; | |
pub const NOTE_TRIGGER: u32 = 16777216; | |
pub const NOTE_FFNOP: u32 = 0; | |
pub const NOTE_FFAND: u32 = 1073741824; | |
pub const NOTE_FFOR: u32 = 2147483648; | |
pub const NOTE_FFCOPY: u32 = 3221225472; | |
pub const NOTE_FFCTRLMASK: u32 = 3221225472; | |
pub const NOTE_FFLAGSMASK: u32 = 16777215; | |
pub const NOTE_LOWAT: u32 = 1; | |
pub const NOTE_OOB: u32 = 2; | |
pub const NOTE_DELETE: u32 = 1; | |
pub const NOTE_WRITE: u32 = 2; | |
pub const NOTE_EXTEND: u32 = 4; | |
pub const NOTE_ATTRIB: u32 = 8; | |
pub const NOTE_LINK: u32 = 16; | |
pub const NOTE_RENAME: u32 = 32; | |
pub const NOTE_REVOKE: u32 = 64; | |
pub const NOTE_NONE: u32 = 128; | |
pub const NOTE_FUNLOCK: u32 = 256; | |
pub const NOTE_LEASE_DOWNGRADE: u32 = 512; | |
pub const NOTE_LEASE_RELEASE: u32 = 1024; | |
pub const NOTE_EXIT: u32 = 2147483648; | |
pub const NOTE_FORK: u32 = 1073741824; | |
pub const NOTE_EXEC: u32 = 536870912; | |
pub const NOTE_SIGNAL: u32 = 134217728; | |
pub const NOTE_EXITSTATUS: u32 = 67108864; | |
pub const NOTE_EXIT_DETAIL: u32 = 33554432; | |
pub const NOTE_PDATAMASK: u32 = 1048575; | |
pub const NOTE_PCTRLMASK: i32 = -1048576; | |
pub const NOTE_EXIT_DETAIL_MASK: u32 = 458752; | |
pub const NOTE_EXIT_DECRYPTFAIL: u32 = 65536; | |
pub const NOTE_EXIT_MEMORY: u32 = 131072; | |
pub const NOTE_EXIT_CSERROR: u32 = 262144; | |
pub const NOTE_VM_PRESSURE: u32 = 2147483648; | |
pub const NOTE_VM_PRESSURE_TERMINATE: u32 = 1073741824; | |
pub const NOTE_VM_PRESSURE_SUDDEN_TERMINATE: u32 = 536870912; | |
pub const NOTE_VM_ERROR: u32 = 268435456; | |
pub const NOTE_SECONDS: u32 = 1; | |
pub const NOTE_USECONDS: u32 = 2; | |
pub const NOTE_NSECONDS: u32 = 4; | |
pub const NOTE_ABSOLUTE: u32 = 8; | |
pub const NOTE_LEEWAY: u32 = 16; | |
pub const NOTE_CRITICAL: u32 = 32; | |
pub const NOTE_BACKGROUND: u32 = 64; | |
pub const NOTE_MACH_CONTINUOUS_TIME: u32 = 128; | |
pub const NOTE_MACHTIME: u32 = 256; | |
pub const NOTE_TRACK: u32 = 1; | |
pub const NOTE_TRACKERR: u32 = 2; | |
pub const NOTE_CHILD: u32 = 4; | |
pub const LCID_PROC_SELF: u32 = 0; | |
pub const LCID_REMOVE: i32 = -1; | |
pub const LCID_CREATE: u32 = 0; | |
pub const MFSNAMELEN: u32 = 15; | |
pub const MFSTYPENAMELEN: u32 = 16; | |
pub const MNAMELEN: u32 = 1024; | |
pub const MNT_EXT_ROOT_DATA_VOL: u32 = 1; | |
pub const MNT_EXT_FSKIT: u32 = 2; | |
pub const MNT_RDONLY: u32 = 1; | |
pub const MNT_SYNCHRONOUS: u32 = 2; | |
pub const MNT_NOEXEC: u32 = 4; | |
pub const MNT_NOSUID: u32 = 8; | |
pub const MNT_NODEV: u32 = 16; | |
pub const MNT_UNION: u32 = 32; | |
pub const MNT_ASYNC: u32 = 64; | |
pub const MNT_CPROTECT: u32 = 128; | |
pub const MNT_EXPORTED: u32 = 256; | |
pub const MNT_REMOVABLE: u32 = 512; | |
pub const MNT_QUARANTINE: u32 = 1024; | |
pub const MNT_LOCAL: u32 = 4096; | |
pub const MNT_QUOTA: u32 = 8192; | |
pub const MNT_ROOTFS: u32 = 16384; | |
pub const MNT_DOVOLFS: u32 = 32768; | |
pub const MNT_DONTBROWSE: u32 = 1048576; | |
pub const MNT_IGNORE_OWNERSHIP: u32 = 2097152; | |
pub const MNT_AUTOMOUNTED: u32 = 4194304; | |
pub const MNT_JOURNALED: u32 = 8388608; | |
pub const MNT_NOUSERXATTR: u32 = 16777216; | |
pub const MNT_DEFWRITE: u32 = 33554432; | |
pub const MNT_MULTILABEL: u32 = 67108864; | |
pub const MNT_NOFOLLOW: u32 = 134217728; | |
pub const MNT_NOATIME: u32 = 268435456; | |
pub const MNT_SNAPSHOT: u32 = 1073741824; | |
pub const MNT_STRICTATIME: u32 = 2147483648; | |
pub const MNT_UNKNOWNPERMISSIONS: u32 = 2097152; | |
pub const MNT_VISFLAGMASK: u32 = 3757111295; | |
pub const MNT_UPDATE: u32 = 65536; | |
pub const MNT_NOBLOCK: u32 = 131072; | |
pub const MNT_RELOAD: u32 = 262144; | |
pub const MNT_FORCE: u32 = 524288; | |
pub const MNT_CMDFLAGS: u32 = 983040; | |
pub const VFS_GENERIC: u32 = 0; | |
pub const VFS_NUMMNTOPS: u32 = 1; | |
pub const VFS_MAXTYPENUM: u32 = 1; | |
pub const VFS_CONF: u32 = 2; | |
pub const MNT_WAIT: u32 = 1; | |
pub const MNT_NOWAIT: u32 = 2; | |
pub const MNT_DWAIT: u32 = 4; | |
pub const VFS_CTL_VERS1: u32 = 1; | |
pub const VFS_CTL_OSTATFS: u32 = 65537; | |
pub const VFS_CTL_UMOUNT: u32 = 65538; | |
pub const VFS_CTL_QUERY: u32 = 65539; | |
pub const VFS_CTL_NEWADDR: u32 = 65540; | |
pub const VFS_CTL_TIMEO: u32 = 65541; | |
pub const VFS_CTL_NOLOCKS: u32 = 65542; | |
pub const VFS_CTL_SADDR: u32 = 65543; | |
pub const VFS_CTL_DISC: u32 = 65544; | |
pub const VFS_CTL_SERVERINFO: u32 = 65545; | |
pub const VFS_CTL_NSTATUS: u32 = 65546; | |
pub const VFS_CTL_STATFS64: u32 = 65547; | |
pub const VFS_CTL_STATFS: u32 = 65547; | |
pub const VQ_NOTRESP: u32 = 1; | |
pub const VQ_NEEDAUTH: u32 = 2; | |
pub const VQ_LOWDISK: u32 = 4; | |
pub const VQ_MOUNT: u32 = 8; | |
pub const VQ_UNMOUNT: u32 = 16; | |
pub const VQ_DEAD: u32 = 32; | |
pub const VQ_ASSIST: u32 = 64; | |
pub const VQ_NOTRESPLOCK: u32 = 128; | |
pub const VQ_UPDATE: u32 = 256; | |
pub const VQ_VERYLOWDISK: u32 = 512; | |
pub const VQ_SYNCEVENT: u32 = 1024; | |
pub const VQ_SERVEREVENT: u32 = 2048; | |
pub const VQ_QUOTA: u32 = 4096; | |
pub const VQ_NEARLOWDISK: u32 = 8192; | |
pub const VQ_DESIRED_DISK: u32 = 16384; | |
pub const VQ_FREE_SPACE_CHANGE: u32 = 32768; | |
pub const VQ_FLAG10000: u32 = 65536; | |
pub const NFSV4_MAX_FH_SIZE: u32 = 128; | |
pub const NFSV3_MAX_FH_SIZE: u32 = 64; | |
pub const NFSV2_MAX_FH_SIZE: u32 = 32; | |
pub const CRYPTEX_AUTH_STRUCT_VERSION: u32 = 1; | |
pub const _PATH_FORKSPECIFIER: &[u8; 14usize] = b"/..namedfork/\0"; | |
pub const _PATH_DATANAME: &[u8; 5usize] = b"data\0"; | |
pub const _PATH_RSRCNAME: &[u8; 5usize] = b"rsrc\0"; | |
pub const _PATH_RSRCFORKSPEC: &[u8; 18usize] = b"/..namedfork/rsrc\0"; | |
pub const SIDL: u32 = 1; | |
pub const SRUN: u32 = 2; | |
pub const SSLEEP: u32 = 3; | |
pub const SSTOP: u32 = 4; | |
pub const SZOMB: u32 = 5; | |
pub const P_ADVLOCK: u32 = 1; | |
pub const P_CONTROLT: u32 = 2; | |
pub const P_LP64: u32 = 4; | |
pub const P_NOCLDSTOP: u32 = 8; | |
pub const P_PPWAIT: u32 = 16; | |
pub const P_PROFIL: u32 = 32; | |
pub const P_SELECT: u32 = 64; | |
pub const P_CONTINUED: u32 = 128; | |
pub const P_SUGID: u32 = 256; | |
pub const P_SYSTEM: u32 = 512; | |
pub const P_TIMEOUT: u32 = 1024; | |
pub const P_TRACED: u32 = 2048; | |
pub const P_DISABLE_ASLR: u32 = 4096; | |
pub const P_WEXIT: u32 = 8192; | |
pub const P_EXEC: u32 = 16384; | |
pub const P_OWEUPC: u32 = 32768; | |
pub const P_AFFINITY: u32 = 65536; | |
pub const P_TRANSLATED: u32 = 131072; | |
pub const P_CLASSIC: u32 = 131072; | |
pub const P_DELAYIDLESLEEP: u32 = 262144; | |
pub const P_CHECKOPENEVT: u32 = 524288; | |
pub const P_DEPENDENCY_CAPABLE: u32 = 1048576; | |
pub const P_REBOOT: u32 = 2097152; | |
pub const P_RESV6: u32 = 4194304; | |
pub const P_RESV7: u32 = 8388608; | |
pub const P_THCWD: u32 = 16777216; | |
pub const P_RESV9: u32 = 33554432; | |
pub const P_ADOPTPERSONA: u32 = 67108864; | |
pub const P_RESV11: u32 = 134217728; | |
pub const P_NOSHLIB: u32 = 268435456; | |
pub const P_FORCEQUOTA: u32 = 536870912; | |
pub const P_NOCLDWAIT: u32 = 1073741824; | |
pub const P_NOREMOTEHANG: u32 = 2147483648; | |
pub const P_INMEM: u32 = 0; | |
pub const P_NOSWAP: u32 = 0; | |
pub const P_PHYSIO: u32 = 0; | |
pub const P_FSTRACE: u32 = 0; | |
pub const P_SSTEP: u32 = 0; | |
pub const P_DIRTY_TRACK: u32 = 1; | |
pub const P_DIRTY_ALLOW_IDLE_EXIT: u32 = 2; | |
pub const P_DIRTY_DEFER: u32 = 4; | |
pub const P_DIRTY: u32 = 8; | |
pub const P_DIRTY_SHUTDOWN: u32 = 16; | |
pub const P_DIRTY_TERMINATED: u32 = 32; | |
pub const P_DIRTY_BUSY: u32 = 64; | |
pub const P_DIRTY_MARKED: u32 = 128; | |
pub const P_DIRTY_AGING_IN_PROGRESS: u32 = 256; | |
pub const P_DIRTY_LAUNCH_IN_PROGRESS: u32 = 512; | |
pub const P_DIRTY_DEFER_ALWAYS: u32 = 1024; | |
pub const P_DIRTY_IS_DIRTY: u32 = 24; | |
pub const P_DIRTY_IDLE_EXIT_ENABLED: u32 = 3; | |
pub const MAX_IQ_TIME: u32 = 604800; | |
pub const MAX_DQ_TIME: u32 = 604800; | |
pub const MAXQUOTAS: u32 = 2; | |
pub const USRQUOTA: u32 = 0; | |
pub const GRPQUOTA: u32 = 1; | |
pub const QUOTAFILENAME: &[u8; 7usize] = b".quota\0"; | |
pub const QUOTAOPSNAME: &[u8; 11usize] = b".quota.ops\0"; | |
pub const QUOTAGROUP: &[u8; 9usize] = b"operator\0"; | |
pub const SUBCMDMASK: u32 = 255; | |
pub const SUBCMDSHIFT: u32 = 8; | |
pub const Q_QUOTAON: u32 = 256; | |
pub const Q_QUOTAOFF: u32 = 512; | |
pub const Q_GETQUOTA: u32 = 768; | |
pub const Q_SETQUOTA: u32 = 1024; | |
pub const Q_SETUSE: u32 = 1280; | |
pub const Q_SYNC: u32 = 1536; | |
pub const Q_QUOTASTAT: u32 = 1792; | |
pub const QF_VERSION: u32 = 1; | |
pub const QF_STRING_TAG: &[u8; 16usize] = b"QUOTA HASH FILE\0"; | |
pub const QF_USERS_PER_GB: u32 = 256; | |
pub const QF_MIN_USERS: u32 = 2048; | |
pub const QF_MAX_USERS: u32 = 2097152; | |
pub const QF_GROUPS_PER_GB: u32 = 32; | |
pub const QF_MIN_GROUPS: u32 = 2048; | |
pub const QF_MAX_GROUPS: u32 = 262144; | |
pub const RB_DIR_LEFT: u32 = 0; | |
pub const RB_DIR_RIGHT: u32 = 1; | |
pub const SYS_syscall: u32 = 0; | |
pub const SYS_exit: u32 = 1; | |
pub const SYS_fork: u32 = 2; | |
pub const SYS_read: u32 = 3; | |
pub const SYS_write: u32 = 4; | |
pub const SYS_open: u32 = 5; | |
pub const SYS_close: u32 = 6; | |
pub const SYS_wait4: u32 = 7; | |
pub const SYS_link: u32 = 9; | |
pub const SYS_unlink: u32 = 10; | |
pub const SYS_chdir: u32 = 12; | |
pub const SYS_fchdir: u32 = 13; | |
pub const SYS_mknod: u32 = 14; | |
pub const SYS_chmod: u32 = 15; | |
pub const SYS_chown: u32 = 16; | |
pub const SYS_getfsstat: u32 = 18; | |
pub const SYS_getpid: u32 = 20; | |
pub const SYS_setuid: u32 = 23; | |
pub const SYS_getuid: u32 = 24; | |
pub const SYS_geteuid: u32 = 25; | |
pub const SYS_ptrace: u32 = 26; | |
pub const SYS_recvmsg: u32 = 27; | |
pub const SYS_sendmsg: u32 = 28; | |
pub const SYS_recvfrom: u32 = 29; | |
pub const SYS_accept: u32 = 30; | |
pub const SYS_getpeername: u32 = 31; | |
pub const SYS_getsockname: u32 = 32; | |
pub const SYS_access: u32 = 33; | |
pub const SYS_chflags: u32 = 34; | |
pub const SYS_fchflags: u32 = 35; | |
pub const SYS_sync: u32 = 36; | |
pub const SYS_kill: u32 = 37; | |
pub const SYS_crossarch_trap: u32 = 38; | |
pub const SYS_getppid: u32 = 39; | |
pub const SYS_dup: u32 = 41; | |
pub const SYS_pipe: u32 = 42; | |
pub const SYS_getegid: u32 = 43; | |
pub const SYS_sigaction: u32 = 46; | |
pub const SYS_getgid: u32 = 47; | |
pub const SYS_sigprocmask: u32 = 48; | |
pub const SYS_getlogin: u32 = 49; | |
pub const SYS_setlogin: u32 = 50; | |
pub const SYS_acct: u32 = 51; | |
pub const SYS_sigpending: u32 = 52; | |
pub const SYS_sigaltstack: u32 = 53; | |
pub const SYS_ioctl: u32 = 54; | |
pub const SYS_reboot: u32 = 55; | |
pub const SYS_revoke: u32 = 56; | |
pub const SYS_symlink: u32 = 57; | |
pub const SYS_readlink: u32 = 58; | |
pub const SYS_execve: u32 = 59; | |
pub const SYS_umask: u32 = 60; | |
pub const SYS_chroot: u32 = 61; | |
pub const SYS_msync: u32 = 65; | |
pub const SYS_vfork: u32 = 66; | |
pub const SYS_munmap: u32 = 73; | |
pub const SYS_mprotect: u32 = 74; | |
pub const SYS_madvise: u32 = 75; | |
pub const SYS_mincore: u32 = 78; | |
pub const SYS_getgroups: u32 = 79; | |
pub const SYS_setgroups: u32 = 80; | |
pub const SYS_getpgrp: u32 = 81; | |
pub const SYS_setpgid: u32 = 82; | |
pub const SYS_setitimer: u32 = 83; | |
pub const SYS_swapon: u32 = 85; | |
pub const SYS_getitimer: u32 = 86; | |
pub const SYS_getdtablesize: u32 = 89; | |
pub const SYS_dup2: u32 = 90; | |
pub const SYS_fcntl: u32 = 92; | |
pub const SYS_select: u32 = 93; | |
pub const SYS_fsync: u32 = 95; | |
pub const SYS_setpriority: u32 = 96; | |
pub const SYS_socket: u32 = 97; | |
pub const SYS_connect: u32 = 98; | |
pub const SYS_getpriority: u32 = 100; | |
pub const SYS_bind: u32 = 104; | |
pub const SYS_setsockopt: u32 = 105; | |
pub const SYS_listen: u32 = 106; | |
pub const SYS_sigsuspend: u32 = 111; | |
pub const SYS_gettimeofday: u32 = 116; | |
pub const SYS_getrusage: u32 = 117; | |
pub const SYS_getsockopt: u32 = 118; | |
pub const SYS_readv: u32 = 120; | |
pub const SYS_writev: u32 = 121; | |
pub const SYS_settimeofday: u32 = 122; | |
pub const SYS_fchown: u32 = 123; | |
pub const SYS_fchmod: u32 = 124; | |
pub const SYS_setreuid: u32 = 126; | |
pub const SYS_setregid: u32 = 127; | |
pub const SYS_rename: u32 = 128; | |
pub const SYS_flock: u32 = 131; | |
pub const SYS_mkfifo: u32 = 132; | |
pub const SYS_sendto: u32 = 133; | |
pub const SYS_shutdown: u32 = 134; | |
pub const SYS_socketpair: u32 = 135; | |
pub const SYS_mkdir: u32 = 136; | |
pub const SYS_rmdir: u32 = 137; | |
pub const SYS_utimes: u32 = 138; | |
pub const SYS_futimes: u32 = 139; | |
pub const SYS_adjtime: u32 = 140; | |
pub const SYS_gethostuuid: u32 = 142; | |
pub const SYS_setsid: u32 = 147; | |
pub const SYS_getpgid: u32 = 151; | |
pub const SYS_setprivexec: u32 = 152; | |
pub const SYS_pread: u32 = 153; | |
pub const SYS_pwrite: u32 = 154; | |
pub const SYS_nfssvc: u32 = 155; | |
pub const SYS_statfs: u32 = 157; | |
pub const SYS_fstatfs: u32 = 158; | |
pub const SYS_unmount: u32 = 159; | |
pub const SYS_getfh: u32 = 161; | |
pub const SYS_quotactl: u32 = 165; | |
pub const SYS_mount: u32 = 167; | |
pub const SYS_csops: u32 = 169; | |
pub const SYS_csops_audittoken: u32 = 170; | |
pub const SYS_waitid: u32 = 173; | |
pub const SYS_kdebug_typefilter: u32 = 177; | |
pub const SYS_kdebug_trace_string: u32 = 178; | |
pub const SYS_kdebug_trace64: u32 = 179; | |
pub const SYS_kdebug_trace: u32 = 180; | |
pub const SYS_setgid: u32 = 181; | |
pub const SYS_setegid: u32 = 182; | |
pub const SYS_seteuid: u32 = 183; | |
pub const SYS_sigreturn: u32 = 184; | |
pub const SYS_panic_with_data: u32 = 185; | |
pub const SYS_thread_selfcounts: u32 = 186; | |
pub const SYS_fdatasync: u32 = 187; | |
pub const SYS_stat: u32 = 188; | |
pub const SYS_fstat: u32 = 189; | |
pub const SYS_lstat: u32 = 190; | |
pub const SYS_pathconf: u32 = 191; | |
pub const SYS_fpathconf: u32 = 192; | |
pub const SYS_getrlimit: u32 = 194; | |
pub const SYS_setrlimit: u32 = 195; | |
pub const SYS_getdirentries: u32 = 196; | |
pub const SYS_mmap: u32 = 197; | |
pub const SYS_lseek: u32 = 199; | |
pub const SYS_truncate: u32 = 200; | |
pub const SYS_ftruncate: u32 = 201; | |
pub const SYS_sysctl: u32 = 202; | |
pub const SYS_mlock: u32 = 203; | |
pub const SYS_munlock: u32 = 204; | |
pub const SYS_undelete: u32 = 205; | |
pub const SYS_open_dprotected_np: u32 = 216; | |
pub const SYS_fsgetpath_ext: u32 = 217; | |
pub const SYS_openat_dprotected_np: u32 = 218; | |
pub const SYS_getattrlist: u32 = 220; | |
pub const SYS_setattrlist: u32 = 221; | |
pub const SYS_getdirentriesattr: u32 = 222; | |
pub const SYS_exchangedata: u32 = 223; | |
pub const SYS_searchfs: u32 = 225; | |
pub const SYS_delete: u32 = 226; | |
pub const SYS_copyfile: u32 = 227; | |
pub const SYS_fgetattrlist: u32 = 228; | |
pub const SYS_fsetattrlist: u32 = 229; | |
pub const SYS_poll: u32 = 230; | |
pub const SYS_getxattr: u32 = 234; | |
pub const SYS_fgetxattr: u32 = 235; | |
pub const SYS_setxattr: u32 = 236; | |
pub const SYS_fsetxattr: u32 = 237; | |
pub const SYS_removexattr: u32 = 238; | |
pub const SYS_fremovexattr: u32 = 239; | |
pub const SYS_listxattr: u32 = 240; | |
pub const SYS_flistxattr: u32 = 241; | |
pub const SYS_fsctl: u32 = 242; | |
pub const SYS_initgroups: u32 = 243; | |
pub const SYS_posix_spawn: u32 = 244; | |
pub const SYS_ffsctl: u32 = 245; | |
pub const SYS_fhopen: u32 = 248; | |
pub const SYS_minherit: u32 = 250; | |
pub const SYS_semsys: u32 = 251; | |
pub const SYS_msgsys: u32 = 252; | |
pub const SYS_shmsys: u32 = 253; | |
pub const SYS_semctl: u32 = 254; | |
pub const SYS_semget: u32 = 255; | |
pub const SYS_semop: u32 = 256; | |
pub const SYS_msgctl: u32 = 258; | |
pub const SYS_msgget: u32 = 259; | |
pub const SYS_msgsnd: u32 = 260; | |
pub const SYS_msgrcv: u32 = 261; | |
pub const SYS_shmat: u32 = 262; | |
pub const SYS_shmctl: u32 = 263; | |
pub const SYS_shmdt: u32 = 264; | |
pub const SYS_shmget: u32 = 265; | |
pub const SYS_shm_open: u32 = 266; | |
pub const SYS_shm_unlink: u32 = 267; | |
pub const SYS_sem_open: u32 = 268; | |
pub const SYS_sem_close: u32 = 269; | |
pub const SYS_sem_unlink: u32 = 270; | |
pub const SYS_sem_wait: u32 = 271; | |
pub const SYS_sem_trywait: u32 = 272; | |
pub const SYS_sem_post: u32 = 273; | |
pub const SYS_sysctlbyname: u32 = 274; | |
pub const SYS_open_extended: u32 = 277; | |
pub const SYS_umask_extended: u32 = 278; | |
pub const SYS_stat_extended: u32 = 279; | |
pub const SYS_lstat_extended: u32 = 280; | |
pub const SYS_fstat_extended: u32 = 281; | |
pub const SYS_chmod_extended: u32 = 282; | |
pub const SYS_fchmod_extended: u32 = 283; | |
pub const SYS_access_extended: u32 = 284; | |
pub const SYS_settid: u32 = 285; | |
pub const SYS_gettid: u32 = 286; | |
pub const SYS_setsgroups: u32 = 287; | |
pub const SYS_getsgroups: u32 = 288; | |
pub const SYS_setwgroups: u32 = 289; | |
pub const SYS_getwgroups: u32 = 290; | |
pub const SYS_mkfifo_extended: u32 = 291; | |
pub const SYS_mkdir_extended: u32 = 292; | |
pub const SYS_identitysvc: u32 = 293; | |
pub const SYS_shared_region_check_np: u32 = 294; | |
pub const SYS_vm_pressure_monitor: u32 = 296; | |
pub const SYS_psynch_rw_longrdlock: u32 = 297; | |
pub const SYS_psynch_rw_yieldwrlock: u32 = 298; | |
pub const SYS_psynch_rw_downgrade: u32 = 299; | |
pub const SYS_psynch_rw_upgrade: u32 = 300; | |
pub const SYS_psynch_mutexwait: u32 = 301; | |
pub const SYS_psynch_mutexdrop: u32 = 302; | |
pub const SYS_psynch_cvbroad: u32 = 303; | |
pub const SYS_psynch_cvsignal: u32 = 304; | |
pub const SYS_psynch_cvwait: u32 = 305; | |
pub const SYS_psynch_rw_rdlock: u32 = 306; | |
pub const SYS_psynch_rw_wrlock: u32 = 307; | |
pub const SYS_psynch_rw_unlock: u32 = 308; | |
pub const SYS_psynch_rw_unlock2: u32 = 309; | |
pub const SYS_getsid: u32 = 310; | |
pub const SYS_settid_with_pid: u32 = 311; | |
pub const SYS_psynch_cvclrprepost: u32 = 312; | |
pub const SYS_aio_fsync: u32 = 313; | |
pub const SYS_aio_return: u32 = 314; | |
pub const SYS_aio_suspend: u32 = 315; | |
pub const SYS_aio_cancel: u32 = 316; | |
pub const SYS_aio_error: u32 = 317; | |
pub const SYS_aio_read: u32 = 318; | |
pub const SYS_aio_write: u32 = 319; | |
pub const SYS_lio_listio: u32 = 320; | |
pub const SYS_iopolicysys: u32 = 322; | |
pub const SYS_process_policy: u32 = 323; | |
pub const SYS_mlockall: u32 = 324; | |
pub const SYS_munlockall: u32 = 325; | |
pub const SYS_issetugid: u32 = 327; | |
pub const SYS___pthread_kill: u32 = 328; | |
pub const SYS___pthread_sigmask: u32 = 329; | |
pub const SYS___sigwait: u32 = 330; | |
pub const SYS___disable_threadsignal: u32 = 331; | |
pub const SYS___pthread_markcancel: u32 = 332; | |
pub const SYS___pthread_canceled: u32 = 333; | |
pub const SYS___semwait_signal: u32 = 334; | |
pub const SYS_proc_info: u32 = 336; | |
pub const SYS_sendfile: u32 = 337; | |
pub const SYS_stat64: u32 = 338; | |
pub const SYS_fstat64: u32 = 339; | |
pub const SYS_lstat64: u32 = 340; | |
pub const SYS_stat64_extended: u32 = 341; | |
pub const SYS_lstat64_extended: u32 = 342; | |
pub const SYS_fstat64_extended: u32 = 343; | |
pub const SYS_getdirentries64: u32 = 344; | |
pub const SYS_statfs64: u32 = 345; | |
pub const SYS_fstatfs64: u32 = 346; | |
pub const SYS_getfsstat64: u32 = 347; | |
pub const SYS___pthread_chdir: u32 = 348; | |
pub const SYS___pthread_fchdir: u32 = 349; | |
pub const SYS_audit: u32 = 350; | |
pub const SYS_auditon: u32 = 351; | |
pub const SYS_getauid: u32 = 353; | |
pub const SYS_setauid: u32 = 354; | |
pub const SYS_getaudit_addr: u32 = 357; | |
pub const SYS_setaudit_addr: u32 = 358; | |
pub const SYS_auditctl: u32 = 359; | |
pub const SYS_bsdthread_create: u32 = 360; | |
pub const SYS_bsdthread_terminate: u32 = 361; | |
pub const SYS_kqueue: u32 = 362; | |
pub const SYS_kevent: u32 = 363; | |
pub const SYS_lchown: u32 = 364; | |
pub const SYS_bsdthread_register: u32 = 366; | |
pub const SYS_workq_open: u32 = 367; | |
pub const SYS_workq_kernreturn: u32 = 368; | |
pub const SYS_kevent64: u32 = 369; | |
pub const SYS_thread_selfid: u32 = 372; | |
pub const SYS_ledger: u32 = 373; | |
pub const SYS_kevent_qos: u32 = 374; | |
pub const SYS_kevent_id: u32 = 375; | |
pub const SYS___mac_execve: u32 = 380; | |
pub const SYS___mac_syscall: u32 = 381; | |
pub const SYS___mac_get_file: u32 = 382; | |
pub const SYS___mac_set_file: u32 = 383; | |
pub const SYS___mac_get_link: u32 = 384; | |
pub const SYS___mac_set_link: u32 = 385; | |
pub const SYS___mac_get_proc: u32 = 386; | |
pub const SYS___mac_set_proc: u32 = 387; | |
pub const SYS___mac_get_fd: u32 = 388; | |
pub const SYS___mac_set_fd: u32 = 389; | |
pub const SYS___mac_get_pid: u32 = 390; | |
pub const SYS_pselect: u32 = 394; | |
pub const SYS_pselect_nocancel: u32 = 395; | |
pub const SYS_read_nocancel: u32 = 396; | |
pub const SYS_write_nocancel: u32 = 397; | |
pub const SYS_open_nocancel: u32 = 398; | |
pub const SYS_close_nocancel: u32 = 399; | |
pub const SYS_wait4_nocancel: u32 = 400; | |
pub const SYS_recvmsg_nocancel: u32 = 401; | |
pub const SYS_sendmsg_nocancel: u32 = 402; | |
pub const SYS_recvfrom_nocancel: u32 = 403; | |
pub const SYS_accept_nocancel: u32 = 404; | |
pub const SYS_msync_nocancel: u32 = 405; | |
pub const SYS_fcntl_nocancel: u32 = 406; | |
pub const SYS_select_nocancel: u32 = 407; | |
pub const SYS_fsync_nocancel: u32 = 408; | |
pub const SYS_connect_nocancel: u32 = 409; | |
pub const SYS_sigsuspend_nocancel: u32 = 410; | |
pub const SYS_readv_nocancel: u32 = 411; | |
pub const SYS_writev_nocancel: u32 = 412; | |
pub const SYS_sendto_nocancel: u32 = 413; | |
pub const SYS_pread_nocancel: u32 = 414; | |
pub const SYS_pwrite_nocancel: u32 = 415; | |
pub const SYS_waitid_nocancel: u32 = 416; | |
pub const SYS_poll_nocancel: u32 = 417; | |
pub const SYS_msgsnd_nocancel: u32 = 418; | |
pub const SYS_msgrcv_nocancel: u32 = 419; | |
pub const SYS_sem_wait_nocancel: u32 = 420; | |
pub const SYS_aio_suspend_nocancel: u32 = 421; | |
pub const SYS___sigwait_nocancel: u32 = 422; | |
pub const SYS___semwait_signal_nocancel: u32 = 423; | |
pub const SYS___mac_mount: u32 = 424; | |
pub const SYS___mac_get_mount: u32 = 425; | |
pub const SYS___mac_getfsstat: u32 = 426; | |
pub const SYS_fsgetpath: u32 = 427; | |
pub const SYS_audit_session_self: u32 = 428; | |
pub const SYS_audit_session_join: u32 = 429; | |
pub const SYS_fileport_makeport: u32 = 430; | |
pub const SYS_fileport_makefd: u32 = 431; | |
pub const SYS_audit_session_port: u32 = 432; | |
pub const SYS_pid_suspend: u32 = 433; | |
pub const SYS_pid_resume: u32 = 434; | |
pub const SYS_pid_hibernate: u32 = 435; | |
pub const SYS_pid_shutdown_sockets: u32 = 436; | |
pub const SYS_kas_info: u32 = 439; | |
pub const SYS_memorystatus_control: u32 = 440; | |
pub const SYS_guarded_open_np: u32 = 441; | |
pub const SYS_guarded_close_np: u32 = 442; | |
pub const SYS_guarded_kqueue_np: u32 = 443; | |
pub const SYS_change_fdguard_np: u32 = 444; | |
pub const SYS_usrctl: u32 = 445; | |
pub const SYS_proc_rlimit_control: u32 = 446; | |
pub const SYS_connectx: u32 = 447; | |
pub const SYS_disconnectx: u32 = 448; | |
pub const SYS_peeloff: u32 = 449; | |
pub const SYS_socket_delegate: u32 = 450; | |
pub const SYS_telemetry: u32 = 451; | |
pub const SYS_proc_uuid_policy: u32 = 452; | |
pub const SYS_memorystatus_get_level: u32 = 453; | |
pub const SYS_system_override: u32 = 454; | |
pub const SYS_vfs_purge: u32 = 455; | |
pub const SYS_sfi_ctl: u32 = 456; | |
pub const SYS_sfi_pidctl: u32 = 457; | |
pub const SYS_coalition: u32 = 458; | |
pub const SYS_coalition_info: u32 = 459; | |
pub const SYS_necp_match_policy: u32 = 460; | |
pub const SYS_getattrlistbulk: u32 = 461; | |
pub const SYS_clonefileat: u32 = 462; | |
pub const SYS_openat: u32 = 463; | |
pub const SYS_openat_nocancel: u32 = 464; | |
pub const SYS_renameat: u32 = 465; | |
pub const SYS_faccessat: u32 = 466; | |
pub const SYS_fchmodat: u32 = 467; | |
pub const SYS_fchownat: u32 = 468; | |
pub const SYS_fstatat: u32 = 469; | |
pub const SYS_fstatat64: u32 = 470; | |
pub const SYS_linkat: u32 = 471; | |
pub const SYS_unlinkat: u32 = 472; | |
pub const SYS_readlinkat: u32 = 473; | |
pub const SYS_symlinkat: u32 = 474; | |
pub const SYS_mkdirat: u32 = 475; | |
pub const SYS_getattrlistat: u32 = 476; | |
pub const SYS_proc_trace_log: u32 = 477; | |
pub const SYS_bsdthread_ctl: u32 = 478; | |
pub const SYS_openbyid_np: u32 = 479; | |
pub const SYS_recvmsg_x: u32 = 480; | |
pub const SYS_sendmsg_x: u32 = 481; | |
pub const SYS_thread_selfusage: u32 = 482; | |
pub const SYS_csrctl: u32 = 483; | |
pub const SYS_guarded_open_dprotected_np: u32 = 484; | |
pub const SYS_guarded_write_np: u32 = 485; | |
pub const SYS_guarded_pwrite_np: u32 = 486; | |
pub const SYS_guarded_writev_np: u32 = 487; | |
pub const SYS_renameatx_np: u32 = 488; | |
pub const SYS_mremap_encrypted: u32 = 489; | |
pub const SYS_netagent_trigger: u32 = 490; | |
pub const SYS_stack_snapshot_with_config: u32 = 491; | |
pub const SYS_microstackshot: u32 = 492; | |
pub const SYS_grab_pgo_data: u32 = 493; | |
pub const SYS_persona: u32 = 494; | |
pub const SYS_mach_eventlink_signal: u32 = 496; | |
pub const SYS_mach_eventlink_wait_until: u32 = 497; | |
pub const SYS_mach_eventlink_signal_wait_until: u32 = 498; | |
pub const SYS_work_interval_ctl: u32 = 499; | |
pub const SYS_getentropy: u32 = 500; | |
pub const SYS_necp_open: u32 = 501; | |
pub const SYS_necp_client_action: u32 = 502; | |
pub const SYS___nexus_open: u32 = 503; | |
pub const SYS___nexus_register: u32 = 504; | |
pub const SYS___nexus_deregister: u32 = 505; | |
pub const SYS___nexus_create: u32 = 506; | |
pub const SYS___nexus_destroy: u32 = 507; | |
pub const SYS___nexus_get_opt: u32 = 508; | |
pub const SYS___nexus_set_opt: u32 = 509; | |
pub const SYS___channel_open: u32 = 510; | |
pub const SYS___channel_get_info: u32 = 511; | |
pub const SYS___channel_sync: u32 = 512; | |
pub const SYS___channel_get_opt: u32 = 513; | |
pub const SYS___channel_set_opt: u32 = 514; | |
pub const SYS_ulock_wait: u32 = 515; | |
pub const SYS_ulock_wake: u32 = 516; | |
pub const SYS_fclonefileat: u32 = 517; | |
pub const SYS_fs_snapshot: u32 = 518; | |
pub const SYS_register_uexc_handler: u32 = 519; | |
pub const SYS_terminate_with_payload: u32 = 520; | |
pub const SYS_abort_with_payload: u32 = 521; | |
pub const SYS_necp_session_open: u32 = 522; | |
pub const SYS_necp_session_action: u32 = 523; | |
pub const SYS_setattrlistat: u32 = 524; | |
pub const SYS_net_qos_guideline: u32 = 525; | |
pub const SYS_fmount: u32 = 526; | |
pub const SYS_ntp_adjtime: u32 = 527; | |
pub const SYS_ntp_gettime: u32 = 528; | |
pub const SYS_os_fault_with_payload: u32 = 529; | |
pub const SYS_kqueue_workloop_ctl: u32 = 530; | |
pub const SYS___mach_bridge_remote_time: u32 = 531; | |
pub const SYS_coalition_ledger: u32 = 532; | |
pub const SYS_log_data: u32 = 533; | |
pub const SYS_memorystatus_available_memory: u32 = 534; | |
pub const SYS_objc_bp_assist_cfg_np: u32 = 535; | |
pub const SYS_shared_region_map_and_slide_2_np: u32 = 536; | |
pub const SYS_pivot_root: u32 = 537; | |
pub const SYS_task_inspect_for_pid: u32 = 538; | |
pub const SYS_task_read_for_pid: u32 = 539; | |
pub const SYS_preadv: u32 = 540; | |
pub const SYS_pwritev: u32 = 541; | |
pub const SYS_preadv_nocancel: u32 = 542; | |
pub const SYS_pwritev_nocancel: u32 = 543; | |
pub const SYS_ulock_wait2: u32 = 544; | |
pub const SYS_proc_info_extended_id: u32 = 545; | |
pub const SYS_tracker_action: u32 = 546; | |
pub const SYS_debug_syscall_reject: u32 = 547; | |
pub const SYS_debug_syscall_reject_config: u32 = 548; | |
pub const SYS_graftdmg: u32 = 549; | |
pub const SYS_map_with_linking_np: u32 = 550; | |
pub const SYS_freadlink: u32 = 551; | |
pub const SYS_record_system_event: u32 = 552; | |
pub const SYS_mkfifoat: u32 = 553; | |
pub const SYS_mknodat: u32 = 554; | |
pub const SYS_ungraftdmg: u32 = 555; | |
pub const SYS_MAXSYSCALL: u32 = 556; | |
pub const SYS_invalid: u32 = 63; | |
pub const CTL_MAXNAME: u32 = 12; | |
pub const CTLTYPE: u32 = 15; | |
pub const CTLTYPE_NODE: u32 = 1; | |
pub const CTLTYPE_INT: u32 = 2; | |
pub const CTLTYPE_STRING: u32 = 3; | |
pub const CTLTYPE_QUAD: u32 = 4; | |
pub const CTLTYPE_OPAQUE: u32 = 5; | |
pub const CTLTYPE_STRUCT: u32 = 5; | |
pub const CTLFLAG_RD: u32 = 2147483648; | |
pub const CTLFLAG_WR: u32 = 1073741824; | |
pub const CTLFLAG_RW: u32 = 3221225472; | |
pub const CTLFLAG_NOLOCK: u32 = 536870912; | |
pub const CTLFLAG_ANYBODY: u32 = 268435456; | |
pub const CTLFLAG_SECURE: u32 = 134217728; | |
pub const CTLFLAG_MASKED: u32 = 67108864; | |
pub const CTLFLAG_NOAUTO: u32 = 33554432; | |
pub const CTLFLAG_KERN: u32 = 16777216; | |
pub const CTLFLAG_LOCKED: u32 = 8388608; | |
pub const CTLFLAG_OID2: u32 = 4194304; | |
pub const CTLFLAG_EXPERIMENT: u32 = 1048576; | |
pub const OID_AUTO: i32 = -1; | |
pub const OID_AUTO_START: u32 = 100; | |
pub const CTL_UNSPEC: u32 = 0; | |
pub const CTL_KERN: u32 = 1; | |
pub const CTL_VM: u32 = 2; | |
pub const CTL_VFS: u32 = 3; | |
pub const CTL_NET: u32 = 4; | |
pub const CTL_DEBUG: u32 = 5; | |
pub const CTL_HW: u32 = 6; | |
pub const CTL_MACHDEP: u32 = 7; | |
pub const CTL_USER: u32 = 8; | |
pub const CTL_MAXID: u32 = 9; | |
pub const KERN_OSTYPE: u32 = 1; | |
pub const KERN_OSRELEASE: u32 = 2; | |
pub const KERN_OSREV: u32 = 3; | |
pub const KERN_VERSION: u32 = 4; | |
pub const KERN_MAXVNODES: u32 = 5; | |
pub const KERN_MAXPROC: u32 = 6; | |
pub const KERN_MAXFILES: u32 = 7; | |
pub const KERN_ARGMAX: u32 = 8; | |
pub const KERN_SECURELVL: u32 = 9; | |
pub const KERN_HOSTNAME: u32 = 10; | |
pub const KERN_HOSTID: u32 = 11; | |
pub const KERN_CLOCKRATE: u32 = 12; | |
pub const KERN_VNODE: u32 = 13; | |
pub const KERN_PROC: u32 = 14; | |
pub const KERN_FILE: u32 = 15; | |
pub const KERN_PROF: u32 = 16; | |
pub const KERN_POSIX1: u32 = 17; | |
pub const KERN_NGROUPS: u32 = 18; | |
pub const KERN_JOB_CONTROL: u32 = 19; | |
pub const KERN_SAVED_IDS: u32 = 20; | |
pub const KERN_BOOTTIME: u32 = 21; | |
pub const KERN_NISDOMAINNAME: u32 = 22; | |
pub const KERN_DOMAINNAME: u32 = 22; | |
pub const KERN_MAXPARTITIONS: u32 = 23; | |
pub const KERN_KDEBUG: u32 = 24; | |
pub const KERN_UPDATEINTERVAL: u32 = 25; | |
pub const KERN_OSRELDATE: u32 = 26; | |
pub const KERN_NTP_PLL: u32 = 27; | |
pub const KERN_BOOTFILE: u32 = 28; | |
pub const KERN_MAXFILESPERPROC: u32 = 29; | |
pub const KERN_MAXPROCPERUID: u32 = 30; | |
pub const KERN_DUMPDEV: u32 = 31; | |
pub const KERN_IPC: u32 = 32; | |
pub const KERN_DUMMY: u32 = 33; | |
pub const KERN_PS_STRINGS: u32 = 34; | |
pub const KERN_USRSTACK32: u32 = 35; | |
pub const KERN_LOGSIGEXIT: u32 = 36; | |
pub const KERN_SYMFILE: u32 = 37; | |
pub const KERN_PROCARGS: u32 = 38; | |
pub const KERN_NETBOOT: u32 = 40; | |
pub const KERN_SYSV: u32 = 42; | |
pub const KERN_AFFINITY: u32 = 43; | |
pub const KERN_TRANSLATE: u32 = 44; | |
pub const KERN_CLASSIC: u32 = 44; | |
pub const KERN_EXEC: u32 = 45; | |
pub const KERN_CLASSICHANDLER: u32 = 45; | |
pub const KERN_AIOMAX: u32 = 46; | |
pub const KERN_AIOPROCMAX: u32 = 47; | |
pub const KERN_AIOTHREADS: u32 = 48; | |
pub const KERN_PROCARGS2: u32 = 49; | |
pub const KERN_COREFILE: u32 = 50; | |
pub const KERN_COREDUMP: u32 = 51; | |
pub const KERN_SUGID_COREDUMP: u32 = 52; | |
pub const KERN_PROCDELAYTERM: u32 = 53; | |
pub const KERN_SHREG_PRIVATIZABLE: u32 = 54; | |
pub const KERN_LOW_PRI_WINDOW: u32 = 56; | |
pub const KERN_LOW_PRI_DELAY: u32 = 57; | |
pub const KERN_POSIX: u32 = 58; | |
pub const KERN_USRSTACK64: u32 = 59; | |
pub const KERN_NX_PROTECTION: u32 = 60; | |
pub const KERN_TFP: u32 = 61; | |
pub const KERN_PROCNAME: u32 = 62; | |
pub const KERN_THALTSTACK: u32 = 63; | |
pub const KERN_SPECULATIVE_READS: u32 = 64; | |
pub const KERN_OSVERSION: u32 = 65; | |
pub const KERN_SAFEBOOT: u32 = 66; | |
pub const KERN_RAGEVNODE: u32 = 68; | |
pub const KERN_TTY: u32 = 69; | |
pub const KERN_CHECKOPENEVT: u32 = 70; | |
pub const KERN_THREADNAME: u32 = 71; | |
pub const KERN_MAXID: u32 = 72; | |
pub const KERN_USRSTACK: u32 = 59; | |
pub const KERN_RAGE_PROC: u32 = 1; | |
pub const KERN_RAGE_THREAD: u32 = 2; | |
pub const KERN_UNRAGE_PROC: u32 = 3; | |
pub const KERN_UNRAGE_THREAD: u32 = 4; | |
pub const KERN_OPENEVT_PROC: u32 = 1; | |
pub const KERN_UNOPENEVT_PROC: u32 = 2; | |
pub const KERN_TFP_POLICY: u32 = 1; | |
pub const KERN_TFP_POLICY_DENY: u32 = 0; | |
pub const KERN_TFP_POLICY_DEFAULT: u32 = 2; | |
pub const KERN_KDEFLAGS: u32 = 1; | |
pub const KERN_KDDFLAGS: u32 = 2; | |
pub const KERN_KDENABLE: u32 = 3; | |
pub const KERN_KDSETBUF: u32 = 4; | |
pub const KERN_KDGETBUF: u32 = 5; | |
pub const KERN_KDSETUP: u32 = 6; | |
pub const KERN_KDREMOVE: u32 = 7; | |
pub const KERN_KDSETREG: u32 = 8; | |
pub const KERN_KDGETREG: u32 = 9; | |
pub const KERN_KDREADTR: u32 = 10; | |
pub const KERN_KDPIDTR: u32 = 11; | |
pub const KERN_KDTHRMAP: u32 = 12; | |
pub const KERN_KDPIDEX: u32 = 14; | |
pub const KERN_KDSETRTCDEC: u32 = 15; | |
pub const KERN_KDGETENTROPY: u32 = 16; | |
pub const KERN_KDWRITETR: u32 = 17; | |
pub const KERN_KDWRITEMAP: u32 = 18; | |
pub const KERN_KDTEST: u32 = 19; | |
pub const KERN_KDREADCURTHRMAP: u32 = 21; | |
pub const KERN_KDSET_TYPEFILTER: u32 = 22; | |
pub const KERN_KDBUFWAIT: u32 = 23; | |
pub const KERN_KDCPUMAP: u32 = 24; | |
pub const KERN_KDCPUMAP_EXT: u32 = 25; | |
pub const KERN_KDSET_EDM: u32 = 26; | |
pub const KERN_KDGET_EDM: u32 = 27; | |
pub const KERN_KDWRITETR_V3: u32 = 28; | |
pub const KERN_PROC_ALL: u32 = 0; | |
pub const KERN_PROC_PID: u32 = 1; | |
pub const KERN_PROC_PGRP: u32 = 2; | |
pub const KERN_PROC_SESSION: u32 = 3; | |
pub const KERN_PROC_TTY: u32 = 4; | |
pub const KERN_PROC_UID: u32 = 5; | |
pub const KERN_PROC_RUID: u32 = 6; | |
pub const KERN_PROC_LCID: u32 = 7; | |
pub const KERN_VFSNSPACE_HANDLE_PROC: u32 = 1; | |
pub const KERN_VFSNSPACE_UNHANDLE_PROC: u32 = 2; | |
pub const WMESGLEN: u32 = 7; | |
pub const EPROC_CTTY: u32 = 1; | |
pub const EPROC_SLEADER: u32 = 2; | |
pub const COMAPT_MAXLOGNAME: u32 = 12; | |
pub const KIPC_MAXSOCKBUF: u32 = 1; | |
pub const KIPC_SOCKBUF_WASTE: u32 = 2; | |
pub const KIPC_SOMAXCONN: u32 = 3; | |
pub const KIPC_MAX_LINKHDR: u32 = 4; | |
pub const KIPC_MAX_PROTOHDR: u32 = 5; | |
pub const KIPC_MAX_HDR: u32 = 6; | |
pub const KIPC_MAX_DATALEN: u32 = 7; | |
pub const KIPC_MBSTAT: u32 = 8; | |
pub const KIPC_NMBCLUSTERS: u32 = 9; | |
pub const KIPC_SOQLIMITCOMPAT: u32 = 10; | |
pub const VM_METER: u32 = 1; | |
pub const VM_LOADAVG: u32 = 2; | |
pub const VM_MACHFACTOR: u32 = 4; | |
pub const VM_SWAPUSAGE: u32 = 5; | |
pub const VM_MAXID: u32 = 6; | |
pub const LSCALE: u32 = 1000; | |
pub const HW_MACHINE: u32 = 1; | |
pub const HW_MODEL: u32 = 2; | |
pub const HW_NCPU: u32 = 3; | |
pub const HW_BYTEORDER: u32 = 4; | |
pub const HW_PHYSMEM: u32 = 5; | |
pub const HW_USERMEM: u32 = 6; | |
pub const HW_PAGESIZE: u32 = 7; | |
pub const HW_DISKNAMES: u32 = 8; | |
pub const HW_DISKSTATS: u32 = 9; | |
pub const HW_EPOCH: u32 = 10; | |
pub const HW_FLOATINGPT: u32 = 11; | |
pub const HW_MACHINE_ARCH: u32 = 12; | |
pub const HW_VECTORUNIT: u32 = 13; | |
pub const HW_BUS_FREQ: u32 = 14; | |
pub const HW_CPU_FREQ: u32 = 15; | |
pub const HW_CACHELINE: u32 = 16; | |
pub const HW_L1ICACHESIZE: u32 = 17; | |
pub const HW_L1DCACHESIZE: u32 = 18; | |
pub const HW_L2SETTINGS: u32 = 19; | |
pub const HW_L2CACHESIZE: u32 = 20; | |
pub const HW_L3SETTINGS: u32 = 21; | |
pub const HW_L3CACHESIZE: u32 = 22; | |
pub const HW_TB_FREQ: u32 = 23; | |
pub const HW_MEMSIZE: u32 = 24; | |
pub const HW_AVAILCPU: u32 = 25; | |
pub const HW_TARGET: u32 = 26; | |
pub const HW_PRODUCT: u32 = 27; | |
pub const HW_MAXID: u32 = 28; | |
pub const USER_CS_PATH: u32 = 1; | |
pub const USER_BC_BASE_MAX: u32 = 2; | |
pub const USER_BC_DIM_MAX: u32 = 3; | |
pub const USER_BC_SCALE_MAX: u32 = 4; | |
pub const USER_BC_STRING_MAX: u32 = 5; | |
pub const USER_COLL_WEIGHTS_MAX: u32 = 6; | |
pub const USER_EXPR_NEST_MAX: u32 = 7; | |
pub const USER_LINE_MAX: u32 = 8; | |
pub const USER_RE_DUP_MAX: u32 = 9; | |
pub const USER_POSIX2_VERSION: u32 = 10; | |
pub const USER_POSIX2_C_BIND: u32 = 11; | |
pub const USER_POSIX2_C_DEV: u32 = 12; | |
pub const USER_POSIX2_CHAR_TERM: u32 = 13; | |
pub const USER_POSIX2_FORT_DEV: u32 = 14; | |
pub const USER_POSIX2_FORT_RUN: u32 = 15; | |
pub const USER_POSIX2_LOCALEDEF: u32 = 16; | |
pub const USER_POSIX2_SW_DEV: u32 = 17; | |
pub const USER_POSIX2_UPE: u32 = 18; | |
pub const USER_STREAM_MAX: u32 = 19; | |
pub const USER_TZNAME_MAX: u32 = 20; | |
pub const USER_MAXID: u32 = 21; | |
pub const CTL_DEBUG_NAME: u32 = 0; | |
pub const CTL_DEBUG_VALUE: u32 = 1; | |
pub const CTL_DEBUG_MAXID: u32 = 20; | |
pub const _PATH_DEFPATH: &[u8; 14usize] = b"/usr/bin:/bin\0"; | |
pub const _PATH_STDPATH: &[u8; 30usize] = b"/usr/bin:/bin:/usr/sbin:/sbin\0"; | |
pub const _PATH_BSHELL: &[u8; 8usize] = b"/bin/sh\0"; | |
pub const _PATH_CONSOLE: &[u8; 13usize] = b"/dev/console\0"; | |
pub const _PATH_CSHELL: &[u8; 9usize] = b"/bin/csh\0"; | |
pub const _PATH_DEFTAPE: &[u8; 11usize] = b"/dev/nrst0\0"; | |
pub const _PATH_DEVDB: &[u8; 16usize] = b"/var/run/dev.db\0"; | |
pub const _PATH_DEVNULL: &[u8; 10usize] = b"/dev/null\0"; | |
pub const _PATH_DRUM: &[u8; 10usize] = b"/dev/drum\0"; | |
pub const _PATH_FSIRAND: &[u8; 14usize] = b"/sbin/fsirand\0"; | |
pub const _PATH_KMEM: &[u8; 10usize] = b"/dev/kmem\0"; | |
pub const _PATH_KVMDB: &[u8; 15usize] = b"/var/db/kvm.db\0"; | |
pub const _PATH_LOCALE: &[u8; 18usize] = b"/usr/share/locale\0"; | |
pub const _PATH_MAILDIR: &[u8; 10usize] = b"/var/mail\0"; | |
pub const _PATH_MAN: &[u8; 15usize] = b"/usr/share/man\0"; | |
pub const _PATH_MEM: &[u8; 9usize] = b"/dev/mem\0"; | |
pub const _PATH_NOLOGIN: &[u8; 13usize] = b"/etc/nologin\0"; | |
pub const _PATH_RSH: &[u8; 13usize] = b"/usr/bin/rsh\0"; | |
pub const _PATH_SENDMAIL: &[u8; 19usize] = b"/usr/sbin/sendmail\0"; | |
pub const _PATH_SHELLS: &[u8; 12usize] = b"/etc/shells\0"; | |
pub const _PATH_TTY: &[u8; 9usize] = b"/dev/tty\0"; | |
pub const _PATH_UNIX: &[u8; 6usize] = b"/mach\0"; | |
pub const _PATH_VI: &[u8; 12usize] = b"/usr/bin/vi\0"; | |
pub const _PATH_DEV: &[u8; 6usize] = b"/dev/\0"; | |
pub const _PATH_TMP: &[u8; 6usize] = b"/tmp/\0"; | |
pub const _PATH_UUCPLOCK: &[u8; 17usize] = b"/var/spool/lock/\0"; | |
pub const _PATH_VARDB: &[u8; 9usize] = b"/var/db/\0"; | |
pub const _PATH_VARRUN: &[u8; 10usize] = b"/var/run/\0"; | |
pub const _PATH_VARTMP: &[u8; 10usize] = b"/var/tmp/\0"; | |
pub const EX_OK: u32 = 0; | |
pub const EX__BASE: u32 = 64; | |
pub const EX_USAGE: u32 = 64; | |
pub const EX_DATAERR: u32 = 65; | |
pub const EX_NOINPUT: u32 = 66; | |
pub const EX_NOUSER: u32 = 67; | |
pub const EX_NOHOST: u32 = 68; | |
pub const EX_UNAVAILABLE: u32 = 69; | |
pub const EX_SOFTWARE: u32 = 70; | |
pub const EX_OSERR: u32 = 71; | |
pub const EX_OSFILE: u32 = 72; | |
pub const EX_CANTCREAT: u32 = 73; | |
pub const EX_IOERR: u32 = 74; | |
pub const EX_TEMPFAIL: u32 = 75; | |
pub const EX_PROTOCOL: u32 = 76; | |
pub const EX_NOPERM: u32 = 77; | |
pub const EX_CONFIG: u32 = 78; | |
pub const EX__MAX: u32 = 78; | |
pub const OBJC_API_VERSION: u32 = 2; | |
pub const OBJC_NO_GC: u32 = 1; | |
pub const OBJC_NO_GC_API: u32 = 1; | |
pub const NS_ENFORCE_NSOBJECT_DESIGNATED_INITIALIZER: u32 = 1; | |
pub const OBJC_OLD_DISPATCH_PROTOTYPES: u32 = 0; | |
pub const OBJC_BOOL_IS_BOOL: u32 = 1; | |
pub const NSIntegerMax: u64 = 9223372036854775807; | |
pub const NSIntegerMin: i64 = -9223372036854775808; | |
pub const NSUIntegerMax: i32 = -1; | |
pub const NSINTEGER_DEFINED: u32 = 1; | |
pub const OBJC_GETCLASSHOOK_DEFINED: u32 = 1; | |
pub const OBJC_ADDLOADIMAGEFUNC_DEFINED: u32 = 1; | |
pub const OBJC_SETHOOK_LAZYCLASSNAMER_DEFINED: u32 = 1; | |
pub const OBJC_REALIZECLASSFROMSWIFT_DEFINED: u32 = 1; | |
pub const _C_ID: u8 = 64u8; | |
pub const _C_CLASS: u8 = 35u8; | |
pub const _C_SEL: u8 = 58u8; | |
pub const _C_CHR: u8 = 99u8; | |
pub const _C_UCHR: u8 = 67u8; | |
pub const _C_SHT: u8 = 115u8; | |
pub const _C_USHT: u8 = 83u8; | |
pub const _C_INT: u8 = 105u8; | |
pub const _C_UINT: u8 = 73u8; | |
pub const _C_LNG: u8 = 108u8; | |
pub const _C_ULNG: u8 = 76u8; | |
pub const _C_LNG_LNG: u8 = 113u8; | |
pub const _C_ULNG_LNG: u8 = 81u8; | |
pub const _C_INT128: u8 = 116u8; | |
pub const _C_UINT128: u8 = 84u8; | |
pub const _C_FLT: u8 = 102u8; | |
pub const _C_DBL: u8 = 100u8; | |
pub const _C_LNG_DBL: u8 = 68u8; | |
pub const _C_BFLD: u8 = 98u8; | |
pub const _C_BOOL: u8 = 66u8; | |
pub const _C_VOID: u8 = 118u8; | |
pub const _C_UNDEF: u8 = 63u8; | |
pub const _C_PTR: u8 = 94u8; | |
pub const _C_CHARPTR: u8 = 42u8; | |
pub const _C_ATOM: u8 = 37u8; | |
pub const _C_ARY_B: u8 = 91u8; | |
pub const _C_ARY_E: u8 = 93u8; | |
pub const _C_UNION_B: u8 = 40u8; | |
pub const _C_UNION_E: u8 = 41u8; | |
pub const _C_STRUCT_B: u8 = 123u8; | |
pub const _C_STRUCT_E: u8 = 125u8; | |
pub const _C_VECTOR: u8 = 33u8; | |
pub const _C_COMPLEX: u8 = 106u8; | |
pub const _C_ATOMIC: u8 = 65u8; | |
pub const _C_CONST: u8 = 114u8; | |
pub const _C_IN: u8 = 110u8; | |
pub const _C_INOUT: u8 = 78u8; | |
pub const _C_OUT: u8 = 111u8; | |
pub const _C_BYCOPY: u8 = 79u8; | |
pub const _C_BYREF: u8 = 82u8; | |
pub const _C_ONEWAY: u8 = 86u8; | |
pub const _C_GNUREGISTER: u8 = 43u8; | |
pub const OS_OBJECT_HAVE_OBJC_SUPPORT: u32 = 1; | |
pub const OS_OBJECT_USE_OBJC: u32 = 1; | |
pub const OS_OBJECT_SWIFT3: u32 = 0; | |
pub const OS_OBJECT_USE_OBJC_RETAIN_RELEASE: u32 = 0; | |
pub const __OS_WORKGROUP_ATTR_SIZE__: u32 = 60; | |
pub const __OS_WORKGROUP_INTERVAL_DATA_SIZE__: u32 = 56; | |
pub const __OS_WORKGROUP_JOIN_TOKEN_SIZE__: u32 = 36; | |
pub const _OS_WORKGROUP_ATTR_SIG_DEFAULT_INIT: u32 = 799564724; | |
pub const _OS_WORKGROUP_ATTR_SIG_EMPTY_INIT: u32 = 799564740; | |
pub const _OS_WORKGROUP_INTERVAL_DATA_SIG_INIT: u32 = 1386695757; | |
pub const DISPATCH_API_VERSION: u32 = 20181008; | |
pub const DISPATCH_SWIFT3_OVERLAY: u32 = 0; | |
pub const MSEC_PER_SEC: u32 = 1000; | |
pub const DISPATCH_TIME_NOW: u32 = 0; | |
pub const DISPATCH_TIME_FOREVER: i32 = -1; | |
pub const DISPATCH_APPLY_AUTO_AVAILABLE: u32 = 1; | |
pub const DISPATCH_QUEUE_PRIORITY_HIGH: u32 = 2; | |
pub const DISPATCH_QUEUE_PRIORITY_DEFAULT: u32 = 0; | |
pub const DISPATCH_QUEUE_PRIORITY_LOW: i32 = -2; | |
pub const DISPATCH_QUEUE_PRIORITY_BACKGROUND: i32 = -32768; | |
pub const DISPATCH_MACH_SEND_DEAD: u32 = 1; | |
pub const DISPATCH_MEMORYPRESSURE_NORMAL: u32 = 1; | |
pub const DISPATCH_MEMORYPRESSURE_WARN: u32 = 2; | |
pub const DISPATCH_MEMORYPRESSURE_CRITICAL: u32 = 4; | |
pub const DISPATCH_PROC_EXIT: u32 = 2147483648; | |
pub const DISPATCH_PROC_FORK: u32 = 1073741824; | |
pub const DISPATCH_PROC_EXEC: u32 = 536870912; | |
pub const DISPATCH_PROC_SIGNAL: u32 = 134217728; | |
pub const DISPATCH_VNODE_DELETE: u32 = 1; | |
pub const DISPATCH_VNODE_WRITE: u32 = 2; | |
pub const DISPATCH_VNODE_EXTEND: u32 = 4; | |
pub const DISPATCH_VNODE_ATTRIB: u32 = 8; | |
pub const DISPATCH_VNODE_LINK: u32 = 16; | |
pub const DISPATCH_VNODE_RENAME: u32 = 32; | |
pub const DISPATCH_VNODE_REVOKE: u32 = 64; | |
pub const DISPATCH_VNODE_FUNLOCK: u32 = 256; | |
pub const DISPATCH_TIMER_STRICT: u32 = 1; | |
pub const DISPATCH_ONCE_INLINE_FASTPATH: u32 = 1; | |
pub const DISPATCH_IO_STREAM: u32 = 0; | |
pub const DISPATCH_IO_RANDOM: u32 = 1; | |
pub const DISPATCH_IO_STOP: u32 = 1; | |
pub const DISPATCH_IO_STRICT_INTERVAL: u32 = 1; | |
pub const __COREFOUNDATION_COREFOUNDATION__: u32 = 1; | |
pub const __COREFOUNDATION__: u32 = 1; | |
pub const __COREFOUNDATION_CFBASE__: u32 = 1; | |
pub const __COREFOUNDATION_CFAVAILABILITY__: u32 = 1; | |
pub const kCFCoreFoundationVersionNumber10_0: f64 = 196.4; | |
pub const kCFCoreFoundationVersionNumber10_0_3: f64 = 196.5; | |
pub const kCFCoreFoundationVersionNumber10_1: f64 = 226.0; | |
pub const kCFCoreFoundationVersionNumber10_1_1: f64 = 226.0; | |
pub const kCFCoreFoundationVersionNumber10_1_2: f64 = 227.2; | |
pub const kCFCoreFoundationVersionNumber10_1_3: f64 = 227.2; | |
pub const kCFCoreFoundationVersionNumber10_1_4: f64 = 227.3; | |
pub const kCFCoreFoundationVersionNumber10_2: f64 = 263.0; | |
pub const kCFCoreFoundationVersionNumber10_2_1: f64 = 263.1; | |
pub const kCFCoreFoundationVersionNumber10_2_2: f64 = 263.1; | |
pub const kCFCoreFoundationVersionNumber10_2_3: f64 = 263.3; | |
pub const kCFCoreFoundationVersionNumber10_2_4: f64 = 263.3; | |
pub const kCFCoreFoundationVersionNumber10_2_5: f64 = 263.5; | |
pub const kCFCoreFoundationVersionNumber10_2_6: f64 = 263.5; | |
pub const kCFCoreFoundationVersionNumber10_2_7: f64 = 263.5; | |
pub const kCFCoreFoundationVersionNumber10_2_8: f64 = 263.5; | |
pub const kCFCoreFoundationVersionNumber10_3: f64 = 299.0; | |
pub const kCFCoreFoundationVersionNumber10_3_1: f64 = 299.0; | |
pub const kCFCoreFoundationVersionNumber10_3_2: f64 = 299.0; | |
pub const kCFCoreFoundationVersionNumber10_3_3: f64 = 299.3; | |
pub const kCFCoreFoundationVersionNumber10_3_4: f64 = 299.31; | |
pub const kCFCoreFoundationVersionNumber10_3_5: f64 = 299.31; | |
pub const kCFCoreFoundationVersionNumber10_3_6: f64 = 299.32; | |
pub const kCFCoreFoundationVersionNumber10_3_7: f64 = 299.33; | |
pub const kCFCoreFoundationVersionNumber10_3_8: f64 = 299.33; | |
pub const kCFCoreFoundationVersionNumber10_3_9: f64 = 299.35; | |
pub const kCFCoreFoundationVersionNumber10_4: f64 = 368.0; | |
pub const kCFCoreFoundationVersionNumber10_4_1: f64 = 368.1; | |
pub const kCFCoreFoundationVersionNumber10_4_2: f64 = 368.11; | |
pub const kCFCoreFoundationVersionNumber10_4_3: f64 = 368.18; | |
pub const kCFCoreFoundationVersionNumber10_4_4_Intel: f64 = 368.26; | |
pub const kCFCoreFoundationVersionNumber10_4_4_PowerPC: f64 = 368.25; | |
pub const kCFCoreFoundationVersionNumber10_4_5_Intel: f64 = 368.26; | |
pub const kCFCoreFoundationVersionNumber10_4_5_PowerPC: f64 = 368.25; | |
pub const kCFCoreFoundationVersionNumber10_4_6_Intel: f64 = 368.26; | |
pub const kCFCoreFoundationVersionNumber10_4_6_PowerPC: f64 = 368.25; | |
pub const kCFCoreFoundationVersionNumber10_4_7: f64 = 368.27; | |
pub const kCFCoreFoundationVersionNumber10_4_8: f64 = 368.27; | |
pub const kCFCoreFoundationVersionNumber10_4_9: f64 = 368.28; | |
pub const kCFCoreFoundationVersionNumber10_4_10: f64 = 368.28; | |
pub const kCFCoreFoundationVersionNumber10_4_11: f64 = 368.31; | |
pub const kCFCoreFoundationVersionNumber10_5: f64 = 476.0; | |
pub const kCFCoreFoundationVersionNumber10_5_1: f64 = 476.0; | |
pub const kCFCoreFoundationVersionNumber10_5_2: f64 = 476.1; | |
pub const kCFCoreFoundationVersionNumber10_5_3: f64 = 476.13; | |
pub const kCFCoreFoundationVersionNumber10_5_4: f64 = 476.14; | |
pub const kCFCoreFoundationVersionNumber10_5_5: f64 = 476.15; | |
pub const kCFCoreFoundationVersionNumber10_5_6: f64 = 476.17; | |
pub const kCFCoreFoundationVersionNumber10_5_7: f64 = 476.18; | |
pub const kCFCoreFoundationVersionNumber10_5_8: f64 = 476.19; | |
pub const kCFCoreFoundationVersionNumber10_6: f64 = 550.0; | |
pub const kCFCoreFoundationVersionNumber10_6_1: f64 = 550.0; | |
pub const kCFCoreFoundationVersionNumber10_6_2: f64 = 550.13; | |
pub const kCFCoreFoundationVersionNumber10_6_3: f64 = 550.19; | |
pub const kCFCoreFoundationVersionNumber10_6_4: f64 = 550.29; | |
pub const kCFCoreFoundationVersionNumber10_6_5: f64 = 550.42; | |
pub const kCFCoreFoundationVersionNumber10_6_6: f64 = 550.42; | |
pub const kCFCoreFoundationVersionNumber10_6_7: f64 = 550.42; | |
pub const kCFCoreFoundationVersionNumber10_6_8: f64 = 550.43; | |
pub const kCFCoreFoundationVersionNumber10_7: f64 = 635.0; | |
pub const kCFCoreFoundationVersionNumber10_7_1: f64 = 635.0; | |
pub const kCFCoreFoundationVersionNumber10_7_2: f64 = 635.15; | |
pub const kCFCoreFoundationVersionNumber10_7_3: f64 = 635.19; | |
pub const kCFCoreFoundationVersionNumber10_7_4: f64 = 635.21; | |
pub const kCFCoreFoundationVersionNumber10_7_5: f64 = 635.21; | |
pub const kCFCoreFoundationVersionNumber10_8: f64 = 744.0; | |
pub const kCFCoreFoundationVersionNumber10_8_1: f64 = 744.0; | |
pub const kCFCoreFoundationVersionNumber10_8_2: f64 = 744.12; | |
pub const kCFCoreFoundationVersionNumber10_8_3: f64 = 744.18; | |
pub const kCFCoreFoundationVersionNumber10_8_4: f64 = 744.19; | |
pub const kCFCoreFoundationVersionNumber10_9: f64 = 855.11; | |
pub const kCFCoreFoundationVersionNumber10_9_1: f64 = 855.11; | |
pub const kCFCoreFoundationVersionNumber10_9_2: f64 = 855.14; | |
pub const kCFCoreFoundationVersionNumber10_10: f64 = 1151.16; | |
pub const kCFCoreFoundationVersionNumber10_10_1: f64 = 1151.16; | |
pub const kCFCoreFoundationVersionNumber10_10_2: u32 = 1152; | |
pub const kCFCoreFoundationVersionNumber10_10_3: f64 = 1153.18; | |
pub const kCFCoreFoundationVersionNumber10_10_4: f64 = 1153.18; | |
pub const kCFCoreFoundationVersionNumber10_10_5: f64 = 1153.18; | |
pub const kCFCoreFoundationVersionNumber10_10_Max: u32 = 1199; | |
pub const kCFCoreFoundationVersionNumber10_11: u32 = 1253; | |
pub const kCFCoreFoundationVersionNumber10_11_1: f64 = 1255.1; | |
pub const kCFCoreFoundationVersionNumber10_11_2: f64 = 1256.14; | |
pub const kCFCoreFoundationVersionNumber10_11_3: f64 = 1256.14; | |
pub const kCFCoreFoundationVersionNumber10_11_4: f64 = 1258.1; | |
pub const kCFCoreFoundationVersionNumber10_11_Max: u32 = 1299; | |
pub const kCFCoreFoundationVersionNumber_iPhoneOS_2_0: f64 = 478.23; | |
pub const kCFCoreFoundationVersionNumber_iPhoneOS_2_1: f64 = 478.26; | |
pub const kCFCoreFoundationVersionNumber_iPhoneOS_2_2: f64 = 478.29; | |
pub const kCFCoreFoundationVersionNumber_iPhoneOS_3_0: f64 = 478.47; | |
pub const kCFCoreFoundationVersionNumber_iPhoneOS_3_1: f64 = 478.52; | |
pub const kCFCoreFoundationVersionNumber_iPhoneOS_3_2: f64 = 478.61; | |
pub const kCFCoreFoundationVersionNumber_iOS_4_0: f64 = 550.32; | |
pub const kCFCoreFoundationVersionNumber_iOS_4_1: f64 = 550.38; | |
pub const kCFCoreFoundationVersionNumber_iOS_4_2: f64 = 550.52; | |
pub const kCFCoreFoundationVersionNumber_iOS_4_3: f64 = 550.52; | |
pub const kCFCoreFoundationVersionNumber_iOS_5_0: f64 = 675.0; | |
pub const kCFCoreFoundationVersionNumber_iOS_5_1: f64 = 690.1; | |
pub const kCFCoreFoundationVersionNumber_iOS_6_0: f64 = 793.0; | |
pub const kCFCoreFoundationVersionNumber_iOS_6_1: f64 = 793.0; | |
pub const kCFCoreFoundationVersionNumber_iOS_7_0: f64 = 847.2; | |
pub const kCFCoreFoundationVersionNumber_iOS_7_1: f64 = 847.24; | |
pub const kCFCoreFoundationVersionNumber_iOS_8_0: f64 = 1140.1; | |
pub const kCFCoreFoundationVersionNumber_iOS_8_1: f64 = 1141.14; | |
pub const kCFCoreFoundationVersionNumber_iOS_8_2: f64 = 1142.16; | |
pub const kCFCoreFoundationVersionNumber_iOS_8_3: f64 = 1144.17; | |
pub const kCFCoreFoundationVersionNumber_iOS_8_4: f64 = 1145.15; | |
pub const kCFCoreFoundationVersionNumber_iOS_8_x_Max: u32 = 1199; | |
pub const kCFCoreFoundationVersionNumber_iOS_9_0: f64 = 1240.1; | |
pub const kCFCoreFoundationVersionNumber_iOS_9_1: f64 = 1241.11; | |
pub const kCFCoreFoundationVersionNumber_iOS_9_2: f64 = 1242.13; | |
pub const kCFCoreFoundationVersionNumber_iOS_9_3: f64 = 1242.13; | |
pub const kCFCoreFoundationVersionNumber_iOS_9_4: f64 = 1280.38; | |
pub const kCFCoreFoundationVersionNumber_iOS_9_x_Max: u32 = 1299; | |
pub const ISA_PTRAUTH_DISCRIMINATOR: u32 = 27361; | |
pub const __COREFOUNDATION_CFARRAY__: u32 = 1; | |
pub const __COREFOUNDATION_CFBAG__: u32 = 1; | |
pub const __COREFOUNDATION_CFBINARYHEAP__: u32 = 1; | |
pub const __COREFOUNDATION_CFBITVECTOR__: u32 = 1; | |
pub const __COREFOUNDATION_CFBYTEORDER__: u32 = 1; | |
pub const CF_USE_OSBYTEORDER_H: u32 = 1; | |
pub const __COREFOUNDATION_CFCALENDAR__: u32 = 1; | |
pub const __COREFOUNDATION_CFLOCALE__: u32 = 1; | |
pub const __COREFOUNDATION_CFDICTIONARY__: u32 = 1; | |
pub const __COREFOUNDATION_CFNOTIFICATIONCENTER__: u32 = 1; | |
pub const __COREFOUNDATION_CFDATE__: u32 = 1; | |
pub const __COREFOUNDATION_CFTIMEZONE__: u32 = 1; | |
pub const __COREFOUNDATION_CFDATA__: u32 = 1; | |
pub const __COREFOUNDATION_CFSTRING__: u32 = 1; | |
pub const __COREFOUNDATION_CFCHARACTERSET__: u32 = 1; | |
pub const __COREFOUNDATION_CFERROR__: u32 = 1; | |
pub const kCFStringEncodingInvalidId: u32 = 4294967295; | |
pub const __kCFStringInlineBufferLength: u32 = 64; | |
pub const __COREFOUNDATION_CFCGTYPES__: u32 = 1; | |
pub const CGFLOAT_IS_DOUBLE: u32 = 1; | |
pub const CGFLOAT_DEFINED: u32 = 1; | |
pub const CGVECTOR_DEFINED: u32 = 1; | |
pub const __COREFOUNDATION_CFDATEFORMATTER__: u32 = 1; | |
pub const __COREFOUNDATION_CFNUMBER__: u32 = 1; | |
pub const __COREFOUNDATION_CFNUMBERFORMATTER__: u32 = 1; | |
pub const __COREFOUNDATION_CFPREFERENCES__: u32 = 1; | |
pub const __COREFOUNDATION_CFPROPERTYLIST__: u32 = 1; | |
pub const __COREFOUNDATION_CFSTREAM__: u32 = 1; | |
pub const __COREFOUNDATION_CFURL__: u32 = 1; | |
pub const __COREFOUNDATION_CFRUNLOOP__: u32 = 1; | |
pub const __COREFOUNDATION_CFSOCKET__: u32 = 1; | |
pub const __COREFOUNDATION_CFSET__: u32 = 1; | |
pub const __COREFOUNDATION_CFSTRINGENCODINGEXT__: u32 = 1; | |
pub const __COREFOUNDATION_CFTREE__: u32 = 1; | |
pub const __COREFOUNDATION_CFURLACCESS__: u32 = 1; | |
pub const __COREFOUNDATION_CFUUID__: u32 = 1; | |
pub const __COREFOUNDATION_CFUTILITIES__: u32 = 1; | |
pub const __COREFOUNDATION_CFBUNDLE__: u32 = 1; | |
pub const __COREFOUNDATION_CFMESSAGEPORT__: u32 = 1; | |
pub const __COREFOUNDATION_CFPLUGIN__: u32 = 1; | |
pub const COREFOUNDATION_CFPLUGINCOM_SEPARATE: u32 = 1; | |
pub const __COREFOUNDATION_CFMACHPORT__: u32 = 1; | |
pub const __COREFOUNDATION_CFATTRIBUTEDSTRING__: u32 = 1; | |
pub const __COREFOUNDATION_CFURLENUMERATOR__: u32 = 1; | |
pub const __COREFOUNDATION_CFFILESECURITY__: u32 = 1; | |
pub const __COREFOUNDATION_CFSTRINGTOKENIZER__: u32 = 1; | |
pub const __COREFOUNDATION_CFFILEDESCRIPTOR__: u32 = 1; | |
pub const __COREFOUNDATION_CFUSERNOTIFICATION__: u32 = 1; | |
pub const __COREFOUNDATION_CFPLUGINCOM__: u32 = 1; | |
pub const SEVERITY_SUCCESS: u32 = 0; | |
pub const SEVERITY_ERROR: u32 = 1; | |
pub const SEC_OS_IPHONE: u32 = 1; | |
pub const SEC_OS_OSX: u32 = 0; | |
pub const SECURITY_TYPE_UNIFICATION: u32 = 1; | |
pub const NS_BLOCKS_AVAILABLE: u32 = 1; | |
pub const NSFoundationVersionNumber10_0: f64 = 397.4; | |
pub const NSFoundationVersionNumber10_1: f64 = 425.0; | |
pub const NSFoundationVersionNumber10_1_1: f64 = 425.0; | |
pub const NSFoundationVersionNumber10_1_2: f64 = 425.0; | |
pub const NSFoundationVersionNumber10_1_3: f64 = 425.0; | |
pub const NSFoundationVersionNumber10_1_4: f64 = 425.0; | |
pub const NSFoundationVersionNumber10_2: f64 = 462.0; | |
pub const NSFoundationVersionNumber10_2_1: f64 = 462.0; | |
pub const NSFoundationVersionNumber10_2_2: f64 = 462.0; | |
pub const NSFoundationVersionNumber10_2_3: f64 = 462.0; | |
pub const NSFoundationVersionNumber10_2_4: f64 = 462.0; | |
pub const NSFoundationVersionNumber10_2_5: f64 = 462.0; | |
pub const NSFoundationVersionNumber10_2_6: f64 = 462.0; | |
pub const NSFoundationVersionNumber10_2_7: f64 = 462.7; | |
pub const NSFoundationVersionNumber10_2_8: f64 = 462.7; | |
pub const NSFoundationVersionNumber10_3: f64 = 500.0; | |
pub const NSFoundationVersionNumber10_3_1: f64 = 500.0; | |
pub const NSFoundationVersionNumber10_3_2: f64 = 500.3; | |
pub const NSFoundationVersionNumber10_3_3: f64 = 500.54; | |
pub const NSFoundationVersionNumber10_3_4: f64 = 500.56; | |
pub const NSFoundationVersionNumber10_3_5: f64 = 500.56; | |
pub const NSFoundationVersionNumber10_3_6: f64 = 500.56; | |
pub const NSFoundationVersionNumber10_3_7: f64 = 500.56; | |
pub const NSFoundationVersionNumber10_3_8: f64 = 500.56; | |
pub const NSFoundationVersionNumber10_3_9: f64 = 500.58; | |
pub const NSFoundationVersionNumber10_4: f64 = 567.0; | |
pub const NSFoundationVersionNumber10_4_1: f64 = 567.0; | |
pub const NSFoundationVersionNumber10_4_2: f64 = 567.12; | |
pub const NSFoundationVersionNumber10_4_3: f64 = 567.21; | |
pub const NSFoundationVersionNumber10_4_4_Intel: f64 = 567.23; | |
pub const NSFoundationVersionNumber10_4_4_PowerPC: f64 = 567.21; | |
pub const NSFoundationVersionNumber10_4_5: f64 = 567.25; | |
pub const NSFoundationVersionNumber10_4_6: f64 = 567.26; | |
pub const NSFoundationVersionNumber10_4_7: f64 = 567.27; | |
pub const NSFoundationVersionNumber10_4_8: f64 = 567.28; | |
pub const NSFoundationVersionNumber10_4_9: f64 = 567.29; | |
pub const NSFoundationVersionNumber10_4_10: f64 = 567.29; | |
pub const NSFoundationVersionNumber10_4_11: f64 = 567.36; | |
pub const NSFoundationVersionNumber10_5: f64 = 677.0; | |
pub const NSFoundationVersionNumber10_5_1: f64 = 677.1; | |
pub const NSFoundationVersionNumber10_5_2: f64 = 677.15; | |
pub const NSFoundationVersionNumber10_5_3: f64 = 677.19; | |
pub const NSFoundationVersionNumber10_5_4: f64 = 677.19; | |
pub const NSFoundationVersionNumber10_5_5: f64 = 677.21; | |
pub const NSFoundationVersionNumber10_5_6: f64 = 677.22; | |
pub const NSFoundationVersionNumber10_5_7: f64 = 677.24; | |
pub const NSFoundationVersionNumber10_5_8: f64 = 677.26; | |
pub const NSFoundationVersionNumber10_6: f64 = 751.0; | |
pub const NSFoundationVersionNumber10_6_1: f64 = 751.0; | |
pub const NSFoundationVersionNumber10_6_2: f64 = 751.14; | |
pub const NSFoundationVersionNumber10_6_3: f64 = 751.21; | |
pub const NSFoundationVersionNumber10_6_4: f64 = 751.29; | |
pub const NSFoundationVersionNumber10_6_5: f64 = 751.42; | |
pub const NSFoundationVersionNumber10_6_6: f64 = 751.53; | |
pub const NSFoundationVersionNumber10_6_7: f64 = 751.53; | |
pub const NSFoundationVersionNumber10_6_8: f64 = 751.62; | |
pub const NSFoundationVersionNumber10_7: f64 = 833.1; | |
pub const NSFoundationVersionNumber10_7_1: f64 = 833.1; | |
pub const NSFoundationVersionNumber10_7_2: f64 = 833.2; | |
pub const NSFoundationVersionNumber10_7_3: f64 = 833.24; | |
pub const NSFoundationVersionNumber10_7_4: f64 = 833.25; | |
pub const NSFoundationVersionNumber10_8: f64 = 945.0; | |
pub const NSFoundationVersionNumber10_8_1: f64 = 945.0; | |
pub const NSFoundationVersionNumber10_8_2: f64 = 945.11; | |
pub const NSFoundationVersionNumber10_8_3: f64 = 945.16; | |
pub const NSFoundationVersionNumber10_8_4: f64 = 945.18; | |
pub const NSFoundationVersionNumber10_9: u32 = 1056; | |
pub const NSFoundationVersionNumber10_9_1: u32 = 1056; | |
pub const NSFoundationVersionNumber10_9_2: f64 = 1056.13; | |
pub const NSFoundationVersionNumber10_10: f64 = 1151.16; | |
pub const NSFoundationVersionNumber10_10_1: f64 = 1151.16; | |
pub const NSFoundationVersionNumber10_10_2: f64 = 1152.14; | |
pub const NSFoundationVersionNumber10_10_3: f64 = 1153.2; | |
pub const NSFoundationVersionNumber10_10_4: f64 = 1153.2; | |
pub const NSFoundationVersionNumber10_10_5: u32 = 1154; | |
pub const NSFoundationVersionNumber10_10_Max: u32 = 1199; | |
pub const NSFoundationVersionNumber10_11: u32 = 1252; | |
pub const NSFoundationVersionNumber10_11_1: f64 = 1255.1; | |
pub const NSFoundationVersionNumber10_11_2: f64 = 1256.1; | |
pub const NSFoundationVersionNumber10_11_3: f64 = 1256.1; | |
pub const NSFoundationVersionNumber10_11_4: u32 = 1258; | |
pub const NSFoundationVersionNumber10_11_Max: u32 = 1299; | |
pub const NSFoundationVersionNumber_iPhoneOS_2_0: f64 = 678.24; | |
pub const NSFoundationVersionNumber_iPhoneOS_2_1: f64 = 678.26; | |
pub const NSFoundationVersionNumber_iPhoneOS_2_2: f64 = 678.29; | |
pub const NSFoundationVersionNumber_iPhoneOS_3_0: f64 = 678.47; | |
pub const NSFoundationVersionNumber_iPhoneOS_3_1: f64 = 678.51; | |
pub const NSFoundationVersionNumber_iPhoneOS_3_2: f64 = 678.6; | |
pub const NSFoundationVersionNumber_iOS_4_0: f64 = 751.32; | |
pub const NSFoundationVersionNumber_iOS_4_1: f64 = 751.37; | |
pub const NSFoundationVersionNumber_iOS_4_2: f64 = 751.49; | |
pub const NSFoundationVersionNumber_iOS_4_3: f64 = 751.49; | |
pub const NSFoundationVersionNumber_iOS_5_0: f64 = 881.0; | |
pub const NSFoundationVersionNumber_iOS_5_1: f64 = 890.1; | |
pub const NSFoundationVersionNumber_iOS_6_0: f64 = 992.0; | |
pub const NSFoundationVersionNumber_iOS_6_1: f64 = 993.0; | |
pub const NSFoundationVersionNumber_iOS_7_0: f64 = 1047.2; | |
pub const NSFoundationVersionNumber_iOS_7_1: f64 = 1047.25; | |
pub const NSFoundationVersionNumber_iOS_8_0: f64 = 1140.11; | |
pub const NSFoundationVersionNumber_iOS_8_1: f64 = 1141.1; | |
pub const NSFoundationVersionNumber_iOS_8_2: f64 = 1142.14; | |
pub const NSFoundationVersionNumber_iOS_8_3: f64 = 1144.17; | |
pub const NSFoundationVersionNumber_iOS_8_4: f64 = 1144.17; | |
pub const NSFoundationVersionNumber_iOS_8_x_Max: u32 = 1199; | |
pub const NSFoundationVersionNumber_iOS_9_0: f64 = 1240.1; | |
pub const NSFoundationVersionNumber_iOS_9_1: f64 = 1241.14; | |
pub const NSFoundationVersionNumber_iOS_9_2: f64 = 1242.12; | |
pub const NSFoundationVersionNumber_iOS_9_3: f64 = 1242.12; | |
pub const NSFoundationVersionNumber_iOS_9_4: f64 = 1280.25; | |
pub const NSFoundationVersionNumber_iOS_9_x_Max: u32 = 1299; | |
pub const NSMaximumStringLength: u32 = 2147483646; | |
pub const NS_UNICHAR_IS_EIGHT_BIT: u32 = 0; | |
pub const NSTimeIntervalSince1970: f64 = 978307200.0; | |
pub const NSDecimalMaxSize: u32 = 8; | |
pub const NSDecimalNoScale: u32 = 32767; | |
pub const NSFoundationVersionWithFileManagerResourceForkSupport: u32 = 412; | |
pub const __FOUNDATION_NSPOINTERFUNCTIONS__: u32 = 1; | |
pub const __FOUNDATION_NSHASHTABLE__: u32 = 1; | |
pub const __FOUNDATION_NSMAPTABLE__: u32 = 1; | |
pub const CG_HDR_BT_2100: u32 = 1; | |
pub const IOSURFACE_OBJC_H: u32 = 1; | |
pub const kIOSurfaceSuccess: u32 = 0; | |
pub const IOSURFACE_REF_H: u32 = 1; | |
pub const EAGL_MAJOR_VERSION: u32 = 1; | |
pub const EAGL_MINOR_VERSION: u32 = 0; | |
pub const GL_VERSION_ES_CM_1_0: u32 = 1; | |
pub const GL_VERSION_ES_CL_1_0: u32 = 1; | |
pub const GL_VERSION_ES_CM_1_1: u32 = 1; | |
pub const GL_VERSION_ES_CL_1_1: u32 = 1; | |
pub const GL_OES_VERSION_1_0: u32 = 1; | |
pub const GL_OES_VERSION_1_1: u32 = 1; | |
pub const GL_OES_byte_coordinates: u32 = 1; | |
pub const GL_OES_compressed_paletted_texture: u32 = 1; | |
pub const GL_OES_draw_texture: u32 = 1; | |
pub const GL_OES_fixed_point: u32 = 1; | |
pub const GL_OES_matrix_get: u32 = 1; | |
pub const GL_OES_matrix_palette: u32 = 1; | |
pub const GL_OES_point_size_array: u32 = 1; | |
pub const GL_OES_point_sprite: u32 = 1; | |
pub const GL_OES_read_format: u32 = 1; | |
pub const GL_OES_single_precision: u32 = 1; | |
pub const GL_DEPTH_BUFFER_BIT: u32 = 256; | |
pub const GL_STENCIL_BUFFER_BIT: u32 = 1024; | |
pub const GL_COLOR_BUFFER_BIT: u32 = 16384; | |
pub const GL_FALSE: u32 = 0; | |
pub const GL_TRUE: u32 = 1; | |
pub const GL_POINTS: u32 = 0; | |
pub const GL_LINES: u32 = 1; | |
pub const GL_LINE_LOOP: u32 = 2; | |
pub const GL_LINE_STRIP: u32 = 3; | |
pub const GL_TRIANGLES: u32 = 4; | |
pub const GL_TRIANGLE_STRIP: u32 = 5; | |
pub const GL_TRIANGLE_FAN: u32 = 6; | |
pub const GL_NEVER: u32 = 512; | |
pub const GL_LESS: u32 = 513; | |
pub const GL_EQUAL: u32 = 514; | |
pub const GL_LEQUAL: u32 = 515; | |
pub const GL_GREATER: u32 = 516; | |
pub const GL_NOTEQUAL: u32 = 517; | |
pub const GL_GEQUAL: u32 = 518; | |
pub const GL_ALWAYS: u32 = 519; | |
pub const GL_ZERO: u32 = 0; | |
pub const GL_ONE: u32 = 1; | |
pub const GL_SRC_COLOR: u32 = 768; | |
pub const GL_ONE_MINUS_SRC_COLOR: u32 = 769; | |
pub const GL_SRC_ALPHA: u32 = 770; | |
pub const GL_ONE_MINUS_SRC_ALPHA: u32 = 771; | |
pub const GL_DST_ALPHA: u32 = 772; | |
pub const GL_ONE_MINUS_DST_ALPHA: u32 = 773; | |
pub const GL_DST_COLOR: u32 = 774; | |
pub const GL_ONE_MINUS_DST_COLOR: u32 = 775; | |
pub const GL_SRC_ALPHA_SATURATE: u32 = 776; | |
pub const GL_CLIP_PLANE0: u32 = 12288; | |
pub const GL_CLIP_PLANE1: u32 = 12289; | |
pub const GL_CLIP_PLANE2: u32 = 12290; | |
pub const GL_CLIP_PLANE3: u32 = 12291; | |
pub const GL_CLIP_PLANE4: u32 = 12292; | |
pub const GL_CLIP_PLANE5: u32 = 12293; | |
pub const GL_FRONT: u32 = 1028; | |
pub const GL_BACK: u32 = 1029; | |
pub const GL_FRONT_AND_BACK: u32 = 1032; | |
pub const GL_FOG: u32 = 2912; | |
pub const GL_LIGHTING: u32 = 2896; | |
pub const GL_TEXTURE_2D: u32 = 3553; | |
pub const GL_CULL_FACE: u32 = 2884; | |
pub const GL_ALPHA_TEST: u32 = 3008; | |
pub const GL_BLEND: u32 = 3042; | |
pub const GL_COLOR_LOGIC_OP: u32 = 3058; | |
pub const GL_DITHER: u32 = 3024; | |
pub const GL_STENCIL_TEST: u32 = 2960; | |
pub const GL_DEPTH_TEST: u32 = 2929; | |
pub const GL_POINT_SMOOTH: u32 = 2832; | |
pub const GL_LINE_SMOOTH: u32 = 2848; | |
pub const GL_SCISSOR_TEST: u32 = 3089; | |
pub const GL_COLOR_MATERIAL: u32 = 2903; | |
pub const GL_NORMALIZE: u32 = 2977; | |
pub const GL_RESCALE_NORMAL: u32 = 32826; | |
pub const GL_POLYGON_OFFSET_FILL: u32 = 32823; | |
pub const GL_VERTEX_ARRAY: u32 = 32884; | |
pub const GL_NORMAL_ARRAY: u32 = 32885; | |
pub const GL_COLOR_ARRAY: u32 = 32886; | |
pub const GL_TEXTURE_COORD_ARRAY: u32 = 32888; | |
pub const GL_MULTISAMPLE: u32 = 32925; | |
pub const GL_SAMPLE_ALPHA_TO_COVERAGE: u32 = 32926; | |
pub const GL_SAMPLE_ALPHA_TO_ONE: u32 = 32927; | |
pub const GL_SAMPLE_COVERAGE: u32 = 32928; | |
pub const GL_NO_ERROR: u32 = 0; | |
pub const GL_INVALID_ENUM: u32 = 1280; | |
pub const GL_INVALID_VALUE: u32 = 1281; | |
pub const GL_INVALID_OPERATION: u32 = 1282; | |
pub const GL_STACK_OVERFLOW: u32 = 1283; | |
pub const GL_STACK_UNDERFLOW: u32 = 1284; | |
pub const GL_OUT_OF_MEMORY: u32 = 1285; | |
pub const GL_EXP: u32 = 2048; | |
pub const GL_EXP2: u32 = 2049; | |
pub const GL_FOG_DENSITY: u32 = 2914; | |
pub const GL_FOG_START: u32 = 2915; | |
pub const GL_FOG_END: u32 = 2916; | |
pub const GL_FOG_MODE: u32 = 2917; | |
pub const GL_FOG_COLOR: u32 = 2918; | |
pub const GL_CW: u32 = 2304; | |
pub const GL_CCW: u32 = 2305; | |
pub const GL_CURRENT_COLOR: u32 = 2816; | |
pub const GL_CURRENT_NORMAL: u32 = 2818; | |
pub const GL_CURRENT_TEXTURE_COORDS: u32 = 2819; | |
pub const GL_POINT_SIZE: u32 = 2833; | |
pub const GL_POINT_SIZE_MIN: u32 = 33062; | |
pub const GL_POINT_SIZE_MAX: u32 = 33063; | |
pub const GL_POINT_FADE_THRESHOLD_SIZE: u32 = 33064; | |
pub const GL_POINT_DISTANCE_ATTENUATION: u32 = 33065; | |
pub const GL_SMOOTH_POINT_SIZE_RANGE: u32 = 2834; | |
pub const GL_LINE_WIDTH: u32 = 2849; | |
pub const GL_SMOOTH_LINE_WIDTH_RANGE: u32 = 2850; | |
pub const GL_ALIASED_POINT_SIZE_RANGE: u32 = 33901; | |
pub const GL_ALIASED_LINE_WIDTH_RANGE: u32 = 33902; | |
pub const GL_CULL_FACE_MODE: u32 = 2885; | |
pub const GL_FRONT_FACE: u32 = 2886; | |
pub const GL_SHADE_MODEL: u32 = 2900; | |
pub const GL_DEPTH_RANGE: u32 = 2928; | |
pub const GL_DEPTH_WRITEMASK: u32 = 2930; | |
pub const GL_DEPTH_CLEAR_VALUE: u32 = 2931; | |
pub const GL_DEPTH_FUNC: u32 = 2932; | |
pub const GL_STENCIL_CLEAR_VALUE: u32 = 2961; | |
pub const GL_STENCIL_FUNC: u32 = 2962; | |
pub const GL_STENCIL_VALUE_MASK: u32 = 2963; | |
pub const GL_STENCIL_FAIL: u32 = 2964; | |
pub const GL_STENCIL_PASS_DEPTH_FAIL: u32 = 2965; | |
pub const GL_STENCIL_PASS_DEPTH_PASS: u32 = 2966; | |
pub const GL_STENCIL_REF: u32 = 2967; | |
pub const GL_STENCIL_WRITEMASK: u32 = 2968; | |
pub const GL_MATRIX_MODE: u32 = 2976; | |
pub const GL_VIEWPORT: u32 = 2978; | |
pub const GL_MODELVIEW_STACK_DEPTH: u32 = 2979; | |
pub const GL_PROJECTION_STACK_DEPTH: u32 = 2980; | |
pub const GL_TEXTURE_STACK_DEPTH: u32 = 2981; | |
pub const GL_MODELVIEW_MATRIX: u32 = 2982; | |
pub const GL_PROJECTION_MATRIX: u32 = 2983; | |
pub const GL_TEXTURE_MATRIX: u32 = 2984; | |
pub const GL_ALPHA_TEST_FUNC: u32 = 3009; | |
pub const GL_ALPHA_TEST_REF: u32 = 3010; | |
pub const GL_BLEND_DST: u32 = 3040; | |
pub const GL_BLEND_SRC: u32 = 3041; | |
pub const GL_LOGIC_OP_MODE: u32 = 3056; | |
pub const GL_SCISSOR_BOX: u32 = 3088; | |
pub const GL_COLOR_CLEAR_VALUE: u32 = 3106; | |
pub const GL_COLOR_WRITEMASK: u32 = 3107; | |
pub const GL_UNPACK_ALIGNMENT: u32 = 3317; | |
pub const GL_PACK_ALIGNMENT: u32 = 3333; | |
pub const GL_MAX_LIGHTS: u32 = 3377; | |
pub const GL_MAX_CLIP_PLANES: u32 = 3378; | |
pub const GL_MAX_TEXTURE_SIZE: u32 = 3379; | |
pub const GL_MAX_MODELVIEW_STACK_DEPTH: u32 = 3382; | |
pub const GL_MAX_PROJECTION_STACK_DEPTH: u32 = 3384; | |
pub const GL_MAX_TEXTURE_STACK_DEPTH: u32 = 3385; | |
pub const GL_MAX_VIEWPORT_DIMS: u32 = 3386; | |
pub const GL_MAX_TEXTURE_UNITS: u32 = 34018; | |
pub const GL_SUBPIXEL_BITS: u32 = 3408; | |
pub const GL_RED_BITS: u32 = 3410; | |
pub const GL_GREEN_BITS: u32 = 3411; | |
pub const GL_BLUE_BITS: u32 = 3412; | |
pub const GL_ALPHA_BITS: u32 = 3413; | |
pub const GL_DEPTH_BITS: u32 = 3414; | |
pub const GL_STENCIL_BITS: u32 = 3415; | |
pub const GL_POLYGON_OFFSET_UNITS: u32 = 10752; | |
pub const GL_POLYGON_OFFSET_FACTOR: u32 = 32824; | |
pub const GL_TEXTURE_BINDING_2D: u32 = 32873; | |
pub const GL_VERTEX_ARRAY_SIZE: u32 = 32890; | |
pub const GL_VERTEX_ARRAY_TYPE: u32 = 32891; | |
pub const GL_VERTEX_ARRAY_STRIDE: u32 = 32892; | |
pub const GL_NORMAL_ARRAY_TYPE: u32 = 32894; | |
pub const GL_NORMAL_ARRAY_STRIDE: u32 = 32895; | |
pub const GL_COLOR_ARRAY_SIZE: u32 = 32897; | |
pub const GL_COLOR_ARRAY_TYPE: u32 = 32898; | |
pub const GL_COLOR_ARRAY_STRIDE: u32 = 32899; | |
pub const GL_TEXTURE_COORD_ARRAY_SIZE: u32 = 32904; | |
pub const GL_TEXTURE_COORD_ARRAY_TYPE: u32 = 32905; | |
pub const GL_TEXTURE_COORD_ARRAY_STRIDE: u32 = 32906; | |
pub const GL_VERTEX_ARRAY_POINTER: u32 = 32910; | |
pub const GL_NORMAL_ARRAY_POINTER: u32 = 32911; | |
pub const GL_COLOR_ARRAY_POINTER: u32 = 32912; | |
pub const GL_TEXTURE_COORD_ARRAY_POINTER: u32 = 32914; | |
pub const GL_SAMPLE_BUFFERS: u32 = 32936; | |
pub const GL_SAMPLES: u32 = 32937; | |
pub const GL_SAMPLE_COVERAGE_VALUE: u32 = 32938; | |
pub const GL_SAMPLE_COVERAGE_INVERT: u32 = 32939; | |
pub const GL_IMPLEMENTATION_COLOR_READ_TYPE_OES: u32 = 35738; | |
pub const GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES: u32 = 35739; | |
pub const GL_NUM_COMPRESSED_TEXTURE_FORMATS: u32 = 34466; | |
pub const GL_COMPRESSED_TEXTURE_FORMATS: u32 = 34467; | |
pub const GL_DONT_CARE: u32 = 4352; | |
pub const GL_FASTEST: u32 = 4353; | |
pub const GL_NICEST: u32 = 4354; | |
pub const GL_PERSPECTIVE_CORRECTION_HINT: u32 = 3152; | |
pub const GL_POINT_SMOOTH_HINT: u32 = 3153; | |
pub const GL_LINE_SMOOTH_HINT: u32 = 3154; | |
pub const GL_FOG_HINT: u32 = 3156; | |
pub const GL_GENERATE_MIPMAP_HINT: u32 = 33170; | |
pub const GL_LIGHT_MODEL_AMBIENT: u32 = 2899; | |
pub const GL_LIGHT_MODEL_TWO_SIDE: u32 = 2898; | |
pub const GL_AMBIENT: u32 = 4608; | |
pub const GL_DIFFUSE: u32 = 4609; | |
pub const GL_SPECULAR: u32 = 4610; | |
pub const GL_POSITION: u32 = 4611; | |
pub const GL_SPOT_DIRECTION: u32 = 4612; | |
pub const GL_SPOT_EXPONENT: u32 = 4613; | |
pub const GL_SPOT_CUTOFF: u32 = 4614; | |
pub const GL_CONSTANT_ATTENUATION: u32 = 4615; | |
pub const GL_LINEAR_ATTENUATION: u32 = 4616; | |
pub const GL_QUADRATIC_ATTENUATION: u32 = 4617; | |
pub const GL_BYTE: u32 = 5120; | |
pub const GL_UNSIGNED_BYTE: u32 = 5121; | |
pub const GL_SHORT: u32 = 5122; | |
pub const GL_UNSIGNED_SHORT: u32 = 5123; | |
pub const GL_FLOAT: u32 = 5126; | |
pub const GL_FIXED: u32 = 5132; | |
pub const GL_CLEAR: u32 = 5376; | |
pub const GL_AND: u32 = 5377; | |
pub const GL_AND_REVERSE: u32 = 5378; | |
pub const GL_COPY: u32 = 5379; | |
pub const GL_AND_INVERTED: u32 = 5380; | |
pub const GL_NOOP: u32 = 5381; | |
pub const GL_XOR: u32 = 5382; | |
pub const GL_OR: u32 = 5383; | |
pub const GL_NOR: u32 = 5384; | |
pub const GL_EQUIV: u32 = 5385; | |
pub const GL_INVERT: u32 = 5386; | |
pub const GL_OR_REVERSE: u32 = 5387; | |
pub const GL_COPY_INVERTED: u32 = 5388; | |
pub const GL_OR_INVERTED: u32 = 5389; | |
pub const GL_NAND: u32 = 5390; | |
pub const GL_SET: u32 = 5391; | |
pub const GL_EMISSION: u32 = 5632; | |
pub const GL_SHININESS: u32 = 5633; | |
pub const GL_AMBIENT_AND_DIFFUSE: u32 = 5634; | |
pub const GL_MODELVIEW: u32 = 5888; | |
pub const GL_PROJECTION: u32 = 5889; | |
pub const GL_TEXTURE: u32 = 5890; | |
pub const GL_ALPHA: u32 = 6406; | |
pub const GL_RGB: u32 = 6407; | |
pub const GL_RGBA: u32 = 6408; | |
pub const GL_LUMINANCE: u32 = 6409; | |
pub const GL_LUMINANCE_ALPHA: u32 = 6410; | |
pub const GL_UNSIGNED_SHORT_4_4_4_4: u32 = 32819; | |
pub const GL_UNSIGNED_SHORT_5_5_5_1: u32 = 32820; | |
pub const GL_UNSIGNED_SHORT_5_6_5: u32 = 33635; | |
pub const GL_FLAT: u32 = 7424; | |
pub const GL_SMOOTH: u32 = 7425; | |
pub const GL_KEEP: u32 = 7680; | |
pub const GL_REPLACE: u32 = 7681; | |
pub const GL_INCR: u32 = 7682; | |
pub const GL_DECR: u32 = 7683; | |
pub const GL_VENDOR: u32 = 7936; | |
pub const GL_RENDERER: u32 = 7937; | |
pub const GL_VERSION: u32 = 7938; | |
pub const GL_EXTENSIONS: u32 = 7939; | |
pub const GL_MODULATE: u32 = 8448; | |
pub const GL_DECAL: u32 = 8449; | |
pub const GL_ADD: u32 = 260; | |
pub const GL_TEXTURE_ENV_MODE: u32 = 8704; | |
pub const GL_TEXTURE_ENV_COLOR: u32 = 8705; | |
pub const GL_TEXTURE_ENV: u32 = 8960; | |
pub const GL_NEAREST: u32 = 9728; | |
pub const GL_LINEAR: u32 = 9729; | |
pub const GL_NEAREST_MIPMAP_NEAREST: u32 = 9984; | |
pub const GL_LINEAR_MIPMAP_NEAREST: u32 = 9985; | |
pub const GL_NEAREST_MIPMAP_LINEAR: u32 = 9986; | |
pub const GL_LINEAR_MIPMAP_LINEAR: u32 = 9987; | |
pub const GL_TEXTURE_MAG_FILTER: u32 = 10240; | |
pub const GL_TEXTURE_MIN_FILTER: u32 = 10241; | |
pub const GL_TEXTURE_WRAP_S: u32 = 10242; | |
pub const GL_TEXTURE_WRAP_T: u32 = 10243; | |
pub const GL_GENERATE_MIPMAP: u32 = 33169; | |
pub const GL_TEXTURE0: u32 = 33984; | |
pub const GL_TEXTURE1: u32 = 33985; | |
pub const GL_TEXTURE2: u32 = 33986; | |
pub const GL_TEXTURE3: u32 = 33987; | |
pub const GL_TEXTURE4: u32 = 33988; | |
pub const GL_TEXTURE5: u32 = 33989; | |
pub const GL_TEXTURE6: u32 = 33990; | |
pub const GL_TEXTURE7: u32 = 33991; | |
pub const GL_TEXTURE8: u32 = 33992; | |
pub const GL_TEXTURE9: u32 = 33993; | |
pub const GL_TEXTURE10: u32 = 33994; | |
pub const GL_TEXTURE11: u32 = 33995; | |
pub const GL_TEXTURE12: u32 = 33996; | |
pub const GL_TEXTURE13: u32 = 33997; | |
pub const GL_TEXTURE14: u32 = 33998; | |
pub const GL_TEXTURE15: u32 = 33999; | |
pub const GL_TEXTURE16: u32 = 34000; | |
pub const GL_TEXTURE17: u32 = 34001; | |
pub const GL_TEXTURE18: u32 = 34002; | |
pub const GL_TEXTURE19: u32 = 34003; | |
pub const GL_TEXTURE20: u32 = 34004; | |
pub const GL_TEXTURE21: u32 = 34005; | |
pub const GL_TEXTURE22: u32 = 34006; | |
pub const GL_TEXTURE23: u32 = 34007; | |
pub const GL_TEXTURE24: u32 = 34008; | |
pub const GL_TEXTURE25: u32 = 34009; | |
pub const GL_TEXTURE26: u32 = 34010; | |
pub const GL_TEXTURE27: u32 = 34011; | |
pub const GL_TEXTURE28: u32 = 34012; | |
pub const GL_TEXTURE29: u32 = 34013; | |
pub const GL_TEXTURE30: u32 = 34014; | |
pub const GL_TEXTURE31: u32 = 34015; | |
pub const GL_ACTIVE_TEXTURE: u32 = 34016; | |
pub const GL_CLIENT_ACTIVE_TEXTURE: u32 = 34017; | |
pub const GL_REPEAT: u32 = 10497; | |
pub const GL_CLAMP_TO_EDGE: u32 = 33071; | |
pub const GL_PALETTE4_RGB8_OES: u32 = 35728; | |
pub const GL_PALETTE4_RGBA8_OES: u32 = 35729; | |
pub const GL_PALETTE4_R5_G6_B5_OES: u32 = 35730; | |
pub const GL_PALETTE4_RGBA4_OES: u32 = 35731; | |
pub const GL_PALETTE4_RGB5_A1_OES: u32 = 35732; | |
pub const GL_PALETTE8_RGB8_OES: u32 = 35733; | |
pub const GL_PALETTE8_RGBA8_OES: u32 = 35734; | |
pub const GL_PALETTE8_R5_G6_B5_OES: u32 = 35735; | |
pub const GL_PALETTE8_RGBA4_OES: u32 = 35736; | |
pub const GL_PALETTE8_RGB5_A1_OES: u32 = 35737; | |
pub const GL_LIGHT0: u32 = 16384; | |
pub const GL_LIGHT1: u32 = 16385; | |
pub const GL_LIGHT2: u32 = 16386; | |
pub const GL_LIGHT3: u32 = 16387; | |
pub const GL_LIGHT4: u32 = 16388; | |
pub const GL_LIGHT5: u32 = 16389; | |
pub const GL_LIGHT6: u32 = 16390; | |
pub const GL_LIGHT7: u32 = 16391; | |
pub const GL_ARRAY_BUFFER: u32 = 34962; | |
pub const GL_ELEMENT_ARRAY_BUFFER: u32 = 34963; | |
pub const GL_ARRAY_BUFFER_BINDING: u32 = 34964; | |
pub const GL_ELEMENT_ARRAY_BUFFER_BINDING: u32 = 34965; | |
pub const GL_VERTEX_ARRAY_BUFFER_BINDING: u32 = 34966; | |
pub const GL_NORMAL_ARRAY_BUFFER_BINDING: u32 = 34967; | |
pub const GL_COLOR_ARRAY_BUFFER_BINDING: u32 = 34968; | |
pub const GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING: u32 = 34970; | |
pub const GL_STATIC_DRAW: u32 = 35044; | |
pub const GL_DYNAMIC_DRAW: u32 = 35048; | |
pub const GL_BUFFER_SIZE: u32 = 34660; | |
pub const GL_BUFFER_USAGE: u32 = 34661; | |
pub const GL_SUBTRACT: u32 = 34023; | |
pub const GL_COMBINE: u32 = 34160; | |
pub const GL_COMBINE_RGB: u32 = 34161; | |
pub const GL_COMBINE_ALPHA: u32 = 34162; | |
pub const GL_RGB_SCALE: u32 = 34163; | |
pub const GL_ADD_SIGNED: u32 = 34164; | |
pub const GL_INTERPOLATE: u32 = 34165; | |
pub const GL_CONSTANT: u32 = 34166; | |
pub const GL_PRIMARY_COLOR: u32 = 34167; | |
pub const GL_PREVIOUS: u32 = 34168; | |
pub const GL_OPERAND0_RGB: u32 = 34192; | |
pub const GL_OPERAND1_RGB: u32 = 34193; | |
pub const GL_OPERAND2_RGB: u32 = 34194; | |
pub const GL_OPERAND0_ALPHA: u32 = 34200; | |
pub const GL_OPERAND1_ALPHA: u32 = 34201; | |
pub const GL_OPERAND2_ALPHA: u32 = 34202; | |
pub const GL_ALPHA_SCALE: u32 = 3356; | |
pub const GL_SRC0_RGB: u32 = 34176; | |
pub const GL_SRC1_RGB: u32 = 34177; | |
pub const GL_SRC2_RGB: u32 = 34178; | |
pub const GL_SRC0_ALPHA: u32 = 34184; | |
pub const GL_SRC1_ALPHA: u32 = 34185; | |
pub const GL_SRC2_ALPHA: u32 = 34186; | |
pub const GL_DOT3_RGB: u32 = 34478; | |
pub const GL_DOT3_RGBA: u32 = 34479; | |
pub const GL_TEXTURE_CROP_RECT_OES: u32 = 35741; | |
pub const GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES: u32 = 35213; | |
pub const GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES: u32 = 35214; | |
pub const GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES: u32 = 35215; | |
pub const GL_MAX_VERTEX_UNITS_OES: u32 = 34468; | |
pub const GL_MAX_PALETTE_MATRICES_OES: u32 = 34882; | |
pub const GL_MATRIX_PALETTE_OES: u32 = 34880; | |
pub const GL_MATRIX_INDEX_ARRAY_OES: u32 = 34884; | |
pub const GL_WEIGHT_ARRAY_OES: u32 = 34477; | |
pub const GL_CURRENT_PALETTE_MATRIX_OES: u32 = 34883; | |
pub const GL_MATRIX_INDEX_ARRAY_SIZE_OES: u32 = 34886; | |
pub const GL_MATRIX_INDEX_ARRAY_TYPE_OES: u32 = 34887; | |
pub const GL_MATRIX_INDEX_ARRAY_STRIDE_OES: u32 = 34888; | |
pub const GL_MATRIX_INDEX_ARRAY_POINTER_OES: u32 = 34889; | |
pub const GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES: u32 = 35742; | |
pub const GL_WEIGHT_ARRAY_SIZE_OES: u32 = 34475; | |
pub const GL_WEIGHT_ARRAY_TYPE_OES: u32 = 34473; | |
pub const GL_WEIGHT_ARRAY_STRIDE_OES: u32 = 34474; | |
pub const GL_WEIGHT_ARRAY_POINTER_OES: u32 = 34476; | |
pub const GL_WEIGHT_ARRAY_BUFFER_BINDING_OES: u32 = 34974; | |
pub const GL_POINT_SIZE_ARRAY_OES: u32 = 35740; | |
pub const GL_POINT_SIZE_ARRAY_TYPE_OES: u32 = 35210; | |
pub const GL_POINT_SIZE_ARRAY_STRIDE_OES: u32 = 35211; | |
pub const GL_POINT_SIZE_ARRAY_POINTER_OES: u32 = 35212; | |
pub const GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES: u32 = 35743; | |
pub const GL_POINT_SPRITE_OES: u32 = 34913; | |
pub const GL_COORD_REPLACE_OES: u32 = 34914; | |
pub const GL_APPLE_copy_texture_levels: u32 = 1; | |
pub const GL_APPLE_framebuffer_multisample: u32 = 1; | |
pub const GL_APPLE_texture_2D_limited_npot: u32 = 1; | |
pub const GL_APPLE_texture_format_BGRA8888: u32 = 1; | |
pub const GL_APPLE_texture_max_level: u32 = 1; | |
pub const GL_EXT_blend_minmax: u32 = 1; | |
pub const GL_EXT_debug_label: u32 = 1; | |
pub const GL_EXT_debug_marker: u32 = 1; | |
pub const GL_EXT_discard_framebuffer: u32 = 1; | |
pub const GL_EXT_map_buffer_range: u32 = 1; | |
pub const GL_EXT_read_format_bgra: u32 = 1; | |
pub const GL_EXT_texture_filter_anisotropic: u32 = 1; | |
pub const GL_EXT_texture_lod_bias: u32 = 1; | |
pub const GL_EXT_texture_storage: u32 = 1; | |
pub const GL_IMG_read_format: u32 = 1; | |
pub const GL_IMG_texture_compression_pvrtc: u32 = 1; | |
pub const GL_OES_blend_equation_separate: u32 = 1; | |
pub const GL_OES_blend_func_separate: u32 = 1; | |
pub const GL_OES_blend_subtract: u32 = 1; | |
pub const GL_OES_depth24: u32 = 1; | |
pub const GL_OES_element_index_uint: u32 = 1; | |
pub const GL_OES_fbo_render_mipmap: u32 = 1; | |
pub const GL_OES_framebuffer_object: u32 = 1; | |
pub const GL_OES_mapbuffer: u32 = 1; | |
pub const GL_OES_packed_depth_stencil: u32 = 1; | |
pub const GL_OES_rgb8_rgba8: u32 = 1; | |
pub const GL_OES_stencil_wrap: u32 = 1; | |
pub const GL_OES_stencil8: u32 = 1; | |
pub const GL_OES_texture_mirrored_repeat: u32 = 1; | |
pub const GL_OES_vertex_array_object: u32 = 1; | |
pub const GL_RENDERBUFFER_SAMPLES_APPLE: u32 = 36011; | |
pub const GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE: u32 = 36182; | |
pub const GL_MAX_SAMPLES_APPLE: u32 = 36183; | |
pub const GL_READ_FRAMEBUFFER_APPLE: u32 = 36008; | |
pub const GL_DRAW_FRAMEBUFFER_APPLE: u32 = 36009; | |
pub const GL_DRAW_FRAMEBUFFER_BINDING_APPLE: u32 = 36006; | |
pub const GL_READ_FRAMEBUFFER_BINDING_APPLE: u32 = 36010; | |
pub const GL_BGRA_EXT: u32 = 32993; | |
pub const GL_BGRA: u32 = 32993; | |
pub const GL_TEXTURE_MAX_LEVEL_APPLE: u32 = 33085; | |
pub const GL_MIN_EXT: u32 = 32775; | |
pub const GL_MAX_EXT: u32 = 32776; | |
pub const GL_BUFFER_OBJECT_EXT: u32 = 37201; | |
pub const GL_VERTEX_ARRAY_OBJECT_EXT: u32 = 37204; | |
pub const GL_COLOR_EXT: u32 = 6144; | |
pub const GL_DEPTH_EXT: u32 = 6145; | |
pub const GL_STENCIL_EXT: u32 = 6146; | |
pub const GL_MAP_READ_BIT_EXT: u32 = 1; | |
pub const GL_MAP_WRITE_BIT_EXT: u32 = 2; | |
pub const GL_MAP_INVALIDATE_RANGE_BIT_EXT: u32 = 4; | |
pub const GL_MAP_INVALIDATE_BUFFER_BIT_EXT: u32 = 8; | |
pub const GL_MAP_FLUSH_EXPLICIT_BIT_EXT: u32 = 16; | |
pub const GL_MAP_UNSYNCHRONIZED_BIT_EXT: u32 = 32; | |
pub const GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT: u32 = 33637; | |
pub const GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT: u32 = 33638; | |
pub const GL_UNSIGNED_SHORT_1_5_5_5_REV: u32 = 33638; | |
pub const GL_UNSIGNED_SHORT_4_4_4_4_REV: u32 = 33637; | |
pub const GL_TEXTURE_MAX_ANISOTROPY_EXT: u32 = 34046; | |
pub const GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT: u32 = 34047; | |
pub const GL_MAX_TEXTURE_LOD_BIAS_EXT: u32 = 34045; | |
pub const GL_TEXTURE_FILTER_CONTROL_EXT: u32 = 34048; | |
pub const GL_TEXTURE_LOD_BIAS_EXT: u32 = 34049; | |
pub const GL_TEXTURE_IMMUTABLE_FORMAT_EXT: u32 = 37167; | |
pub const GL_ALPHA8_EXT: u32 = 32828; | |
pub const GL_LUMINANCE8_EXT: u32 = 32832; | |
pub const GL_LUMINANCE8_ALPHA8_EXT: u32 = 32837; | |
pub const GL_BGRA8_EXT: u32 = 37793; | |
pub const GL_BGRA_IMG: u32 = 32993; | |
pub const GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG: u32 = 33637; | |
pub const GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG: u32 = 35840; | |
pub const GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG: u32 = 35841; | |
pub const GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG: u32 = 35842; | |
pub const GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG: u32 = 35843; | |
pub const GL_BLEND_EQUATION_RGB_OES: u32 = 32777; | |
pub const GL_BLEND_EQUATION_ALPHA_OES: u32 = 34877; | |
pub const GL_BLEND_DST_RGB_OES: u32 = 32968; | |
pub const GL_BLEND_SRC_RGB_OES: u32 = 32969; | |
pub const GL_BLEND_DST_ALPHA_OES: u32 = 32970; | |
pub const GL_BLEND_SRC_ALPHA_OES: u32 = 32971; | |
pub const GL_BLEND_EQUATION_OES: u32 = 32777; | |
pub const GL_FUNC_ADD_OES: u32 = 32774; | |
pub const GL_FUNC_SUBTRACT_OES: u32 = 32778; | |
pub const GL_FUNC_REVERSE_SUBTRACT_OES: u32 = 32779; | |
pub const GL_DEPTH_COMPONENT24_OES: u32 = 33190; | |
pub const GL_UNSIGNED_INT_OES: u32 = 5125; | |
pub const GL_FRAMEBUFFER_OES: u32 = 36160; | |
pub const GL_RENDERBUFFER_OES: u32 = 36161; | |
pub const GL_RGBA4_OES: u32 = 32854; | |
pub const GL_RGB5_A1_OES: u32 = 32855; | |
pub const GL_RGB565_OES: u32 = 36194; | |
pub const GL_DEPTH_COMPONENT16_OES: u32 = 33189; | |
pub const GL_RENDERBUFFER_WIDTH_OES: u32 = 36162; | |
pub const GL_RENDERBUFFER_HEIGHT_OES: u32 = 36163; | |
pub const GL_RENDERBUFFER_INTERNAL_FORMAT_OES: u32 = 36164; | |
pub const GL_RENDERBUFFER_RED_SIZE_OES: u32 = 36176; | |
pub const GL_RENDERBUFFER_GREEN_SIZE_OES: u32 = 36177; | |
pub const GL_RENDERBUFFER_BLUE_SIZE_OES: u32 = 36178; | |
pub const GL_RENDERBUFFER_ALPHA_SIZE_OES: u32 = 36179; | |
pub const GL_RENDERBUFFER_DEPTH_SIZE_OES: u32 = 36180; | |
pub const GL_RENDERBUFFER_STENCIL_SIZE_OES: u32 = 36181; | |
pub const GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES: u32 = 36048; | |
pub const GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES: u32 = 36049; | |
pub const GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES: u32 = 36050; | |
pub const GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES: u32 = 36051; | |
pub const GL_COLOR_ATTACHMENT0_OES: u32 = 36064; | |
pub const GL_DEPTH_ATTACHMENT_OES: u32 = 36096; | |
pub const GL_STENCIL_ATTACHMENT_OES: u32 = 36128; | |
pub const GL_FRAMEBUFFER_COMPLETE_OES: u32 = 36053; | |
pub const GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES: u32 = 36054; | |
pub const GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_OES: u32 = 36055; | |
pub const GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_OES: u32 = 36057; | |
pub const GL_FRAMEBUFFER_INCOMPLETE_FORMATS_OES: u32 = 36058; | |
pub const GL_FRAMEBUFFER_UNSUPPORTED_OES: u32 = 36061; | |
pub const GL_FRAMEBUFFER_BINDING_OES: u32 = 36006; | |
pub const GL_RENDERBUFFER_BINDING_OES: u32 = 36007; | |
pub const GL_MAX_RENDERBUFFER_SIZE_OES: u32 = 34024; | |
pub const GL_INVALID_FRAMEBUFFER_OPERATION_OES: u32 = 1286; | |
pub const GL_WRITE_ONLY_OES: u32 = 35001; | |
pub const GL_BUFFER_ACCESS_OES: u32 = 35003; | |
pub const GL_BUFFER_MAPPED_OES: u32 = 35004; | |
pub const GL_BUFFER_MAP_POINTER_OES: u32 = 35005; | |
pub const GL_DEPTH_STENCIL_OES: u32 = 34041; | |
pub const GL_UNSIGNED_INT_24_8_OES: u32 = 34042; | |
pub const GL_DEPTH24_STENCIL8_OES: u32 = 35056; | |
pub const GL_RGB8_OES: u32 = 32849; | |
pub const GL_RGBA8_OES: u32 = 32856; | |
pub const GL_INCR_WRAP_OES: u32 = 34055; | |
pub const GL_DECR_WRAP_OES: u32 = 34056; | |
pub const GL_STENCIL_INDEX8_OES: u32 = 36168; | |
pub const GL_MIRRORED_REPEAT_OES: u32 = 33648; | |
pub const GL_VERTEX_ARRAY_BINDING_OES: u32 = 34229; | |
pub const GL_ES_VERSION_2_0: u32 = 1; | |
pub const GL_FUNC_ADD: u32 = 32774; | |
pub const GL_BLEND_EQUATION: u32 = 32777; | |
pub const GL_BLEND_EQUATION_RGB: u32 = 32777; | |
pub const GL_BLEND_EQUATION_ALPHA: u32 = 34877; | |
pub const GL_FUNC_SUBTRACT: u32 = 32778; | |
pub const GL_FUNC_REVERSE_SUBTRACT: u32 = 32779; | |
pub const GL_BLEND_DST_RGB: u32 = 32968; | |
pub const GL_BLEND_SRC_RGB: u32 = 32969; | |
pub const GL_BLEND_DST_ALPHA: u32 = 32970; | |
pub const GL_BLEND_SRC_ALPHA: u32 = 32971; | |
pub const GL_CONSTANT_COLOR: u32 = 32769; | |
pub const GL_ONE_MINUS_CONSTANT_COLOR: u32 = 32770; | |
pub const GL_CONSTANT_ALPHA: u32 = 32771; | |
pub const GL_ONE_MINUS_CONSTANT_ALPHA: u32 = 32772; | |
pub const GL_BLEND_COLOR: u32 = 32773; | |
pub const GL_STREAM_DRAW: u32 = 35040; | |
pub const GL_CURRENT_VERTEX_ATTRIB: u32 = 34342; | |
pub const GL_STENCIL_BACK_FUNC: u32 = 34816; | |
pub const GL_STENCIL_BACK_FAIL: u32 = 34817; | |
pub const GL_STENCIL_BACK_PASS_DEPTH_FAIL: u32 = 34818; | |
pub const GL_STENCIL_BACK_PASS_DEPTH_PASS: u32 = 34819; | |
pub const GL_STENCIL_BACK_REF: u32 = 36003; | |
pub const GL_STENCIL_BACK_VALUE_MASK: u32 = 36004; | |
pub const GL_STENCIL_BACK_WRITEMASK: u32 = 36005; | |
pub const GL_INT: u32 = 5124; | |
pub const GL_UNSIGNED_INT: u32 = 5125; | |
pub const GL_DEPTH_COMPONENT: u32 = 6402; | |
pub const GL_FRAGMENT_SHADER: u32 = 35632; | |
pub const GL_VERTEX_SHADER: u32 = 35633; | |
pub const GL_MAX_VERTEX_ATTRIBS: u32 = 34921; | |
pub const GL_MAX_VERTEX_UNIFORM_VECTORS: u32 = 36347; | |
pub const GL_MAX_VARYING_VECTORS: u32 = 36348; | |
pub const GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS: u32 = 35661; | |
pub const GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS: u32 = 35660; | |
pub const GL_MAX_TEXTURE_IMAGE_UNITS: u32 = 34930; | |
pub const GL_MAX_FRAGMENT_UNIFORM_VECTORS: u32 = 36349; | |
pub const GL_SHADER_TYPE: u32 = 35663; | |
pub const GL_DELETE_STATUS: u32 = 35712; | |
pub const GL_LINK_STATUS: u32 = 35714; | |
pub const GL_VALIDATE_STATUS: u32 = 35715; | |
pub const GL_ATTACHED_SHADERS: u32 = 35717; | |
pub const GL_ACTIVE_UNIFORMS: u32 = 35718; | |
pub const GL_ACTIVE_UNIFORM_MAX_LENGTH: u32 = 35719; | |
pub const GL_ACTIVE_ATTRIBUTES: u32 = 35721; | |
pub const GL_ACTIVE_ATTRIBUTE_MAX_LENGTH: u32 = 35722; | |
pub const GL_SHADING_LANGUAGE_VERSION: u32 = 35724; | |
pub const GL_CURRENT_PROGRAM: u32 = 35725; | |
pub const GL_INCR_WRAP: u32 = 34055; | |
pub const GL_DECR_WRAP: u32 = 34056; | |
pub const GL_TEXTURE_CUBE_MAP: u32 = 34067; | |
pub const GL_TEXTURE_BINDING_CUBE_MAP: u32 = 34068; | |
pub const GL_TEXTURE_CUBE_MAP_POSITIVE_X: u32 = 34069; | |
pub const GL_TEXTURE_CUBE_MAP_NEGATIVE_X: u32 = 34070; | |
pub const GL_TEXTURE_CUBE_MAP_POSITIVE_Y: u32 = 34071; | |
pub const GL_TEXTURE_CUBE_MAP_NEGATIVE_Y: u32 = 34072; | |
pub const GL_TEXTURE_CUBE_MAP_POSITIVE_Z: u32 = 34073; | |
pub const GL_TEXTURE_CUBE_MAP_NEGATIVE_Z: u32 = 34074; | |
pub const GL_MAX_CUBE_MAP_TEXTURE_SIZE: u32 = 34076; | |
pub const GL_MIRRORED_REPEAT: u32 = 33648; | |
pub const GL_FLOAT_VEC2: u32 = 35664; | |
pub const GL_FLOAT_VEC3: u32 = 35665; | |
pub const GL_FLOAT_VEC4: u32 = 35666; | |
pub const GL_INT_VEC2: u32 = 35667; | |
pub const GL_INT_VEC3: u32 = 35668; | |
pub const GL_INT_VEC4: u32 = 35669; | |
pub const GL_BOOL: u32 = 35670; | |
pub const GL_BOOL_VEC2: u32 = 35671; | |
pub const GL_BOOL_VEC3: u32 = 35672; | |
pub const GL_BOOL_VEC4: u32 = 35673; | |
pub const GL_FLOAT_MAT2: u32 = 35674; | |
pub const GL_FLOAT_MAT3: u32 = 35675; | |
pub const GL_FLOAT_MAT4: u32 = 35676; | |
pub const GL_SAMPLER_2D: u32 = 35678; | |
pub const GL_SAMPLER_CUBE: u32 = 35680; | |
pub const GL_VERTEX_ATTRIB_ARRAY_ENABLED: u32 = 34338; | |
pub const GL_VERTEX_ATTRIB_ARRAY_SIZE: u32 = 34339; | |
pub const GL_VERTEX_ATTRIB_ARRAY_STRIDE: u32 = 34340; | |
pub const GL_VERTEX_ATTRIB_ARRAY_TYPE: u32 = 34341; | |
pub const GL_VERTEX_ATTRIB_ARRAY_NORMALIZED: u32 = 34922; | |
pub const GL_VERTEX_ATTRIB_ARRAY_POINTER: u32 = 34373; | |
pub const GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: u32 = 34975; | |
pub const GL_IMPLEMENTATION_COLOR_READ_TYPE: u32 = 35738; | |
pub const GL_IMPLEMENTATION_COLOR_READ_FORMAT: u32 = 35739; | |
pub const GL_COMPILE_STATUS: u32 = 35713; | |
pub const GL_INFO_LOG_LENGTH: u32 = 35716; | |
pub const GL_SHADER_SOURCE_LENGTH: u32 = 35720; | |
pub const GL_SHADER_COMPILER: u32 = 36346; | |
pub const GL_SHADER_BINARY_FORMATS: u32 = 36344; | |
pub const GL_NUM_SHADER_BINARY_FORMATS: u32 = 36345; | |
pub const GL_LOW_FLOAT: u32 = 36336; | |
pub const GL_MEDIUM_FLOAT: u32 = 36337; | |
pub const GL_HIGH_FLOAT: u32 = 36338; | |
pub const GL_LOW_INT: u32 = 36339; | |
pub const GL_MEDIUM_INT: u32 = 36340; | |
pub const GL_HIGH_INT: u32 = 36341; | |
pub const GL_FRAMEBUFFER: u32 = 36160; | |
pub const GL_RENDERBUFFER: u32 = 36161; | |
pub const GL_RGBA4: u32 = 32854; | |
pub const GL_RGB5_A1: u32 = 32855; | |
pub const GL_RGB565: u32 = 36194; | |
pub const GL_DEPTH_COMPONENT16: u32 = 33189; | |
pub const GL_STENCIL_INDEX8: u32 = 36168; | |
pub const GL_RENDERBUFFER_WIDTH: u32 = 36162; | |
pub const GL_RENDERBUFFER_HEIGHT: u32 = 36163; | |
pub const GL_RENDERBUFFER_INTERNAL_FORMAT: u32 = 36164; | |
pub const GL_RENDERBUFFER_RED_SIZE: u32 = 36176; | |
pub const GL_RENDERBUFFER_GREEN_SIZE: u32 = 36177; | |
pub const GL_RENDERBUFFER_BLUE_SIZE: u32 = 36178; | |
pub const GL_RENDERBUFFER_ALPHA_SIZE: u32 = 36179; | |
pub const GL_RENDERBUFFER_DEPTH_SIZE: u32 = 36180; | |
pub const GL_RENDERBUFFER_STENCIL_SIZE: u32 = 36181; | |
pub const GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: u32 = 36048; | |
pub const GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: u32 = 36049; | |
pub const GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: u32 = 36050; | |
pub const GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: u32 = 36051; | |
pub const GL_COLOR_ATTACHMENT0: u32 = 36064; | |
pub const GL_DEPTH_ATTACHMENT: u32 = 36096; | |
pub const GL_STENCIL_ATTACHMENT: u32 = 36128; | |
pub const GL_NONE: u32 = 0; | |
pub const GL_FRAMEBUFFER_COMPLETE: u32 = 36053; | |
pub const GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT: u32 = 36054; | |
pub const GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: u32 = 36055; | |
pub const GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS: u32 = 36057; | |
pub const GL_FRAMEBUFFER_UNSUPPORTED: u32 = 36061; | |
pub const GL_FRAMEBUFFER_BINDING: u32 = 36006; | |
pub const GL_RENDERBUFFER_BINDING: u32 = 36007; | |
pub const GL_MAX_RENDERBUFFER_SIZE: u32 = 34024; | |
pub const GL_INVALID_FRAMEBUFFER_OPERATION: u32 = 1286; | |
pub const GL_APPLE_clip_distance: u32 = 1; | |
pub const GL_APPLE_color_buffer_packed_float: u32 = 1; | |
pub const GL_APPLE_rgb_422: u32 = 1; | |
pub const GL_APPLE_sync: u32 = 1; | |
pub const GL_APPLE_texture_packed_float: u32 = 1; | |
pub const GL_EXT_color_buffer_half_float: u32 = 1; | |
pub const GL_EXT_draw_instanced: u32 = 1; | |
pub const GL_EXT_instanced_arrays: u32 = 1; | |
pub const GL_EXT_occlusion_query_boolean: u32 = 1; | |
pub const GL_EXT_pvrtc_sRGB: u32 = 1; | |
pub const GL_EXT_separate_shader_objects: u32 = 1; | |
pub const GL_EXT_shader_framebuffer_fetch: u32 = 1; | |
pub const GL_EXT_shader_texture_lod: u32 = 1; | |
pub const GL_EXT_shadow_samplers: u32 = 1; | |
pub const GL_EXT_sRGB: u32 = 1; | |
pub const GL_EXT_texture_rg: u32 = 1; | |
pub const GL_OES_depth_texture: u32 = 1; | |
pub const GL_OES_standard_derivatives: u32 = 1; | |
pub const GL_OES_texture_float: u32 = 1; | |
pub const GL_OES_texture_half_float: u32 = 1; | |
pub const GL_OES_texture_half_float_linear: u32 = 1; | |
pub const GL_R11F_G11F_B10F_APPLE: u32 = 35898; | |
pub const GL_RGB9_E5_APPLE: u32 = 35901; | |
pub const GL_CLIP_DISTANCE0_APPLE: u32 = 12288; | |
pub const GL_CLIP_DISTANCE1_APPLE: u32 = 12289; | |
pub const GL_CLIP_DISTANCE2_APPLE: u32 = 12290; | |
pub const GL_CLIP_DISTANCE3_APPLE: u32 = 12291; | |
pub const GL_CLIP_DISTANCE4_APPLE: u32 = 12292; | |
pub const GL_CLIP_DISTANCE5_APPLE: u32 = 12293; | |
pub const GL_CLIP_DISTANCE6_APPLE: u32 = 12294; | |
pub const GL_CLIP_DISTANCE7_APPLE: u32 = 12295; | |
pub const GL_MAX_CLIP_DISTANCES_APPLE: u32 = 3378; | |
pub const GL_UNSIGNED_INT_10F_11F_11F_REV_APPLE: u32 = 35899; | |
pub const GL_UNSIGNED_INT_5_9_9_9_REV_APPLE: u32 = 35902; | |
pub const GL_RGB_422_APPLE: u32 = 35359; | |
pub const GL_UNSIGNED_SHORT_8_8_APPLE: u32 = 34234; | |
pub const GL_UNSIGNED_SHORT_8_8_REV_APPLE: u32 = 34235; | |
pub const GL_MAX_SERVER_WAIT_TIMEOUT_APPLE: u32 = 37137; | |
pub const GL_OBJECT_TYPE_APPLE: u32 = 37138; | |
pub const GL_SYNC_CONDITION_APPLE: u32 = 37139; | |
pub const GL_SYNC_STATUS_APPLE: u32 = 37140; | |
pub const GL_SYNC_FLAGS_APPLE: u32 = 37141; | |
pub const GL_SYNC_FENCE_APPLE: u32 = 37142; | |
pub const GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE: u32 = 37143; | |
pub const GL_UNSIGNALED_APPLE: u32 = 37144; | |
pub const GL_SIGNALED_APPLE: u32 = 37145; | |
pub const GL_ALREADY_SIGNALED_APPLE: u32 = 37146; | |
pub const GL_TIMEOUT_EXPIRED_APPLE: u32 = 37147; | |
pub const GL_CONDITION_SATISFIED_APPLE: u32 = 37148; | |
pub const GL_WAIT_FAILED_APPLE: u32 = 37149; | |
pub const GL_SYNC_FLUSH_COMMANDS_BIT_APPLE: u32 = 1; | |
pub const GL_TIMEOUT_IGNORED_APPLE: i32 = -1; | |
pub const GL_SYNC_OBJECT_APPLE: u32 = 35411; | |
pub const GL_RGBA16F_EXT: u32 = 34842; | |
pub const GL_RGB16F_EXT: u32 = 34843; | |
pub const GL_RG16F_EXT: u32 = 33327; | |
pub const GL_R16F_EXT: u32 = 33325; | |
pub const GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: u32 = 33297; | |
pub const GL_UNSIGNED_NORMALIZED_EXT: u32 = 35863; | |
pub const GL_SHADER_OBJECT_EXT: u32 = 35656; | |
pub const GL_PROGRAM_OBJECT_EXT: u32 = 35648; | |
pub const GL_QUERY_OBJECT_EXT: u32 = 37203; | |
pub const GL_PROGRAM_PIPELINE_OBJECT_EXT: u32 = 35407; | |
pub const GL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT: u32 = 35070; | |
pub const GL_ANY_SAMPLES_PASSED_EXT: u32 = 35887; | |
pub const GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT: u32 = 36202; | |
pub const GL_CURRENT_QUERY_EXT: u32 = 34917; | |
pub const GL_QUERY_RESULT_EXT: u32 = 34918; | |
pub const GL_QUERY_RESULT_AVAILABLE_EXT: u32 = 34919; | |
pub const GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT: u32 = 35412; | |
pub const GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT: u32 = 35413; | |
pub const GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT: u32 = 35414; | |
pub const GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT: u32 = 35415; | |
pub const GL_VERTEX_SHADER_BIT_EXT: u32 = 1; | |
pub const GL_FRAGMENT_SHADER_BIT_EXT: u32 = 2; | |
pub const GL_ALL_SHADER_BITS_EXT: u32 = 4294967295; | |
pub const GL_PROGRAM_SEPARABLE_EXT: u32 = 33368; | |
pub const GL_ACTIVE_PROGRAM_EXT: u32 = 33369; | |
pub const GL_PROGRAM_PIPELINE_BINDING_EXT: u32 = 33370; | |
pub const GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT: u32 = 35410; | |
pub const GL_TEXTURE_COMPARE_MODE_EXT: u32 = 34892; | |
pub const GL_TEXTURE_COMPARE_FUNC_EXT: u32 = 34893; | |
pub const GL_COMPARE_REF_TO_TEXTURE_EXT: u32 = 34894; | |
pub const GL_SAMPLER_2D_SHADOW_EXT: u32 = 35682; | |
pub const GL_SRGB_EXT: u32 = 35904; | |
pub const GL_SRGB_ALPHA_EXT: u32 = 35906; | |
pub const GL_SRGB8_ALPHA8_EXT: u32 = 35907; | |
pub const GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: u32 = 33296; | |
pub const GL_RED_EXT: u32 = 6403; | |
pub const GL_RG_EXT: u32 = 33319; | |
pub const GL_R8_EXT: u32 = 33321; | |
pub const GL_RG8_EXT: u32 = 33323; | |
pub const GL_RGBA32F_EXT: u32 = 34836; | |
pub const GL_RGB32F_EXT: u32 = 34837; | |
pub const GL_RG32F_EXT: u32 = 33328; | |
pub const GL_R32F_EXT: u32 = 33326; | |
pub const GL_ALPHA32F_EXT: u32 = 34838; | |
pub const GL_LUMINANCE32F_EXT: u32 = 34840; | |
pub const GL_LUMINANCE_ALPHA32F_EXT: u32 = 34841; | |
pub const GL_ALPHA16F_EXT: u32 = 34844; | |
pub const GL_LUMINANCE16F_EXT: u32 = 34846; | |
pub const GL_LUMINANCE_ALPHA16F_EXT: u32 = 34847; | |
pub const GL_DEPTH_COMPONENT32_OES: u32 = 33191; | |
pub const GL_RGB_RAW_422_APPLE: u32 = 35409; | |
pub const GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES: u32 = 35723; | |
pub const GL_HALF_FLOAT_OES: u32 = 36193; | |
pub const GL_ES_VERSION_3_0: u32 = 1; | |
pub const GL_READ_BUFFER: u32 = 3074; | |
pub const GL_UNPACK_ROW_LENGTH: u32 = 3314; | |
pub const GL_UNPACK_SKIP_ROWS: u32 = 3315; | |
pub const GL_UNPACK_SKIP_PIXELS: u32 = 3316; | |
pub const GL_PACK_ROW_LENGTH: u32 = 3330; | |
pub const GL_PACK_SKIP_ROWS: u32 = 3331; | |
pub const GL_PACK_SKIP_PIXELS: u32 = 3332; | |
pub const GL_COLOR: u32 = 6144; | |
pub const GL_DEPTH: u32 = 6145; | |
pub const GL_STENCIL: u32 = 6146; | |
pub const GL_RED: u32 = 6403; | |
pub const GL_RGB8: u32 = 32849; | |
pub const GL_RGBA8: u32 = 32856; | |
pub const GL_RGB10_A2: u32 = 32857; | |
pub const GL_TEXTURE_BINDING_3D: u32 = 32874; | |
pub const GL_UNPACK_SKIP_IMAGES: u32 = 32877; | |
pub const GL_UNPACK_IMAGE_HEIGHT: u32 = 32878; | |
pub const GL_TEXTURE_3D: u32 = 32879; | |
pub const GL_TEXTURE_WRAP_R: u32 = 32882; | |
pub const GL_MAX_3D_TEXTURE_SIZE: u32 = 32883; | |
pub const GL_UNSIGNED_INT_2_10_10_10_REV: u32 = 33640; | |
pub const GL_MAX_ELEMENTS_VERTICES: u32 = 33000; | |
pub const GL_MAX_ELEMENTS_INDICES: u32 = 33001; | |
pub const GL_TEXTURE_MIN_LOD: u32 = 33082; | |
pub const GL_TEXTURE_MAX_LOD: u32 = 33083; | |
pub const GL_TEXTURE_BASE_LEVEL: u32 = 33084; | |
pub const GL_TEXTURE_MAX_LEVEL: u32 = 33085; | |
pub const GL_MIN: u32 = 32775; | |
pub const GL_MAX: u32 = 32776; | |
pub const GL_DEPTH_COMPONENT24: u32 = 33190; | |
pub const GL_MAX_TEXTURE_LOD_BIAS: u32 = 34045; | |
pub const GL_TEXTURE_COMPARE_MODE: u32 = 34892; | |
pub const GL_TEXTURE_COMPARE_FUNC: u32 = 34893; | |
pub const GL_CURRENT_QUERY: u32 = 34917; | |
pub const GL_QUERY_RESULT: u32 = 34918; | |
pub const GL_QUERY_RESULT_AVAILABLE: u32 = 34919; | |
pub const GL_BUFFER_MAPPED: u32 = 35004; | |
pub const GL_BUFFER_MAP_POINTER: u32 = 35005; | |
pub const GL_STREAM_READ: u32 = 35041; | |
pub const GL_STREAM_COPY: u32 = 35042; | |
pub const GL_STATIC_READ: u32 = 35045; | |
pub const GL_STATIC_COPY: u32 = 35046; | |
pub const GL_DYNAMIC_READ: u32 = 35049; | |
pub const GL_DYNAMIC_COPY: u32 = 35050; | |
pub const GL_MAX_DRAW_BUFFERS: u32 = 34852; | |
pub const GL_DRAW_BUFFER0: u32 = 34853; | |
pub const GL_DRAW_BUFFER1: u32 = 34854; | |
pub const GL_DRAW_BUFFER2: u32 = 34855; | |
pub const GL_DRAW_BUFFER3: u32 = 34856; | |
pub const GL_DRAW_BUFFER4: u32 = 34857; | |
pub const GL_DRAW_BUFFER5: u32 = 34858; | |
pub const GL_DRAW_BUFFER6: u32 = 34859; | |
pub const GL_DRAW_BUFFER7: u32 = 34860; | |
pub const GL_DRAW_BUFFER8: u32 = 34861; | |
pub const GL_DRAW_BUFFER9: u32 = 34862; | |
pub const GL_DRAW_BUFFER10: u32 = 34863; | |
pub const GL_DRAW_BUFFER11: u32 = 34864; | |
pub const GL_DRAW_BUFFER12: u32 = 34865; | |
pub const GL_DRAW_BUFFER13: u32 = 34866; | |
pub const GL_DRAW_BUFFER14: u32 = 34867; | |
pub const GL_DRAW_BUFFER15: u32 = 34868; | |
pub const GL_MAX_FRAGMENT_UNIFORM_COMPONENTS: u32 = 35657; | |
pub const GL_MAX_VERTEX_UNIFORM_COMPONENTS: u32 = 35658; | |
pub const GL_SAMPLER_3D: u32 = 35679; | |
pub const GL_SAMPLER_2D_SHADOW: u32 = 35682; | |
pub const GL_FRAGMENT_SHADER_DERIVATIVE_HINT: u32 = 35723; | |
pub const GL_PIXEL_PACK_BUFFER: u32 = 35051; | |
pub const GL_PIXEL_UNPACK_BUFFER: u32 = 35052; | |
pub const GL_PIXEL_PACK_BUFFER_BINDING: u32 = 35053; | |
pub const GL_PIXEL_UNPACK_BUFFER_BINDING: u32 = 35055; | |
pub const GL_FLOAT_MAT2x3: u32 = 35685; | |
pub const GL_FLOAT_MAT2x4: u32 = 35686; | |
pub const GL_FLOAT_MAT3x2: u32 = 35687; | |
pub const GL_FLOAT_MAT3x4: u32 = 35688; | |
pub const GL_FLOAT_MAT4x2: u32 = 35689; | |
pub const GL_FLOAT_MAT4x3: u32 = 35690; | |
pub const GL_SRGB: u32 = 35904; | |
pub const GL_SRGB8: u32 = 35905; | |
pub const GL_SRGB8_ALPHA8: u32 = 35907; | |
pub const GL_COMPARE_REF_TO_TEXTURE: u32 = 34894; | |
pub const GL_MAJOR_VERSION: u32 = 33307; | |
pub const GL_MINOR_VERSION: u32 = 33308; | |
pub const GL_NUM_EXTENSIONS: u32 = 33309; | |
pub const GL_RGBA32F: u32 = 34836; | |
pub const GL_RGB32F: u32 = 34837; | |
pub const GL_RGBA16F: u32 = 34842; | |
pub const GL_RGB16F: u32 = 34843; | |
pub const GL_VERTEX_ATTRIB_ARRAY_INTEGER: u32 = 35069; | |
pub const GL_MAX_ARRAY_TEXTURE_LAYERS: u32 = 35071; | |
pub const GL_MIN_PROGRAM_TEXEL_OFFSET: u32 = 35076; | |
pub const GL_MAX_PROGRAM_TEXEL_OFFSET: u32 = 35077; | |
pub const GL_MAX_VARYING_COMPONENTS: u32 = 35659; | |
pub const GL_TEXTURE_2D_ARRAY: u32 = 35866; | |
pub const GL_TEXTURE_BINDING_2D_ARRAY: u32 = 35869; | |
pub const GL_R11F_G11F_B10F: u32 = 35898; | |
pub const GL_UNSIGNED_INT_10F_11F_11F_REV: u32 = 35899; | |
pub const GL_RGB9_E5: u32 = 35901; | |
pub const GL_UNSIGNED_INT_5_9_9_9_REV: u32 = 35902; | |
pub const GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH: u32 = 35958; | |
pub const GL_TRANSFORM_FEEDBACK_BUFFER_MODE: u32 = 35967; | |
pub const GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: u32 = 35968; | |
pub const GL_TRANSFORM_FEEDBACK_VARYINGS: u32 = 35971; | |
pub const GL_TRANSFORM_FEEDBACK_BUFFER_START: u32 = 35972; | |
pub const GL_TRANSFORM_FEEDBACK_BUFFER_SIZE: u32 = 35973; | |
pub const GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: u32 = 35976; | |
pub const GL_RASTERIZER_DISCARD: u32 = 35977; | |
pub const GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: u32 = 35978; | |
pub const GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: u32 = 35979; | |
pub const GL_INTERLEAVED_ATTRIBS: u32 = 35980; | |
pub const GL_SEPARATE_ATTRIBS: u32 = 35981; | |
pub const GL_TRANSFORM_FEEDBACK_BUFFER: u32 = 35982; | |
pub const GL_TRANSFORM_FEEDBACK_BUFFER_BINDING: u32 = 35983; | |
pub const GL_RGBA32UI: u32 = 36208; | |
pub const GL_RGB32UI: u32 = 36209; | |
pub const GL_RGBA16UI: u32 = 36214; | |
pub const GL_RGB16UI: u32 = 36215; | |
pub const GL_RGBA8UI: u32 = 36220; | |
pub const GL_RGB8UI: u32 = 36221; | |
pub const GL_RGBA32I: u32 = 36226; | |
pub const GL_RGB32I: u32 = 36227; | |
pub const GL_RGBA16I: u32 = 36232; | |
pub const GL_RGB16I: u32 = 36233; | |
pub const GL_RGBA8I: u32 = 36238; | |
pub const GL_RGB8I: u32 = 36239; | |
pub const GL_RED_INTEGER: u32 = 36244; | |
pub const GL_RGB_INTEGER: u32 = 36248; | |
pub const GL_RGBA_INTEGER: u32 = 36249; | |
pub const GL_SAMPLER_2D_ARRAY: u32 = 36289; | |
pub const GL_SAMPLER_2D_ARRAY_SHADOW: u32 = 36292; | |
pub const GL_SAMPLER_CUBE_SHADOW: u32 = 36293; | |
pub const GL_UNSIGNED_INT_VEC2: u32 = 36294; | |
pub const GL_UNSIGNED_INT_VEC3: u32 = 36295; | |
pub const GL_UNSIGNED_INT_VEC4: u32 = 36296; | |
pub const GL_INT_SAMPLER_2D: u32 = 36298; | |
pub const GL_INT_SAMPLER_3D: u32 = 36299; | |
pub const GL_INT_SAMPLER_CUBE: u32 = 36300; | |
pub const GL_INT_SAMPLER_2D_ARRAY: u32 = 36303; | |
pub const GL_UNSIGNED_INT_SAMPLER_2D: u32 = 36306; | |
pub const GL_UNSIGNED_INT_SAMPLER_3D: u32 = 36307; | |
pub const GL_UNSIGNED_INT_SAMPLER_CUBE: u32 = 36308; | |
pub const GL_UNSIGNED_INT_SAMPLER_2D_ARRAY: u32 = 36311; | |
pub const GL_BUFFER_ACCESS_FLAGS: u32 = 37151; | |
pub const GL_BUFFER_MAP_LENGTH: u32 = 37152; | |
pub const GL_BUFFER_MAP_OFFSET: u32 = 37153; | |
pub const GL_DEPTH_COMPONENT32F: u32 = 36012; | |
pub const GL_DEPTH32F_STENCIL8: u32 = 36013; | |
pub const GL_FLOAT_32_UNSIGNED_INT_24_8_REV: u32 = 36269; | |
pub const GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: u32 = 33296; | |
pub const GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: u32 = 33297; | |
pub const GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE: u32 = 33298; | |
pub const GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: u32 = 33299; | |
pub const GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: u32 = 33300; | |
pub const GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: u32 = 33301; | |
pub const GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: u32 = 33302; | |
pub const GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: u32 = 33303; | |
pub const GL_FRAMEBUFFER_DEFAULT: u32 = 33304; | |
pub const GL_FRAMEBUFFER_UNDEFINED: u32 = 33305; | |
pub const GL_DEPTH_STENCIL_ATTACHMENT: u32 = 33306; | |
pub const GL_DEPTH_STENCIL: u32 = 34041; | |
pub const GL_UNSIGNED_INT_24_8: u32 = 34042; | |
pub const GL_DEPTH24_STENCIL8: u32 = 35056; | |
pub const GL_UNSIGNED_NORMALIZED: u32 = 35863; | |
pub const GL_DRAW_FRAMEBUFFER_BINDING: u32 = 36006; | |
pub const GL_READ_FRAMEBUFFER: u32 = 36008; | |
pub const GL_DRAW_FRAMEBUFFER: u32 = 36009; | |
pub const GL_READ_FRAMEBUFFER_BINDING: u32 = 36010; | |
pub const GL_RENDERBUFFER_SAMPLES: u32 = 36011; | |
pub const GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: u32 = 36052; | |
pub const GL_MAX_COLOR_ATTACHMENTS: u32 = 36063; | |
pub const GL_COLOR_ATTACHMENT1: u32 = 36065; | |
pub const GL_COLOR_ATTACHMENT2: u32 = 36066; | |
pub const GL_COLOR_ATTACHMENT3: u32 = 36067; | |
pub const GL_COLOR_ATTACHMENT4: u32 = 36068; | |
pub const GL_COLOR_ATTACHMENT5: u32 = 36069; | |
pub const GL_COLOR_ATTACHMENT6: u32 = 36070; | |
pub const GL_COLOR_ATTACHMENT7: u32 = 36071; | |
pub const GL_COLOR_ATTACHMENT8: u32 = 36072; | |
pub const GL_COLOR_ATTACHMENT9: u32 = 36073; | |
pub const GL_COLOR_ATTACHMENT10: u32 = 36074; | |
pub const GL_COLOR_ATTACHMENT11: u32 = 36075; | |
pub const GL_COLOR_ATTACHMENT12: u32 = 36076; | |
pub const GL_COLOR_ATTACHMENT13: u32 = 36077; | |
pub const GL_COLOR_ATTACHMENT14: u32 = 36078; | |
pub const GL_COLOR_ATTACHMENT15: u32 = 36079; | |
pub const GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: u32 = 36182; | |
pub const GL_MAX_SAMPLES: u32 = 36183; | |
pub const GL_HALF_FLOAT: u32 = 5131; | |
pub const GL_MAP_READ_BIT: u32 = 1; | |
pub const GL_MAP_WRITE_BIT: u32 = 2; | |
pub const GL_MAP_INVALIDATE_RANGE_BIT: u32 = 4; | |
pub const GL_MAP_INVALIDATE_BUFFER_BIT: u32 = 8; | |
pub const GL_MAP_FLUSH_EXPLICIT_BIT: u32 = 16; | |
pub const GL_MAP_UNSYNCHRONIZED_BIT: u32 = 32; | |
pub const GL_RG: u32 = 33319; | |
pub const GL_RG_INTEGER: u32 = 33320; | |
pub const GL_R8: u32 = 33321; | |
pub const GL_RG8: u32 = 33323; | |
pub const GL_R16F: u32 = 33325; | |
pub const GL_R32F: u32 = 33326; | |
pub const GL_RG16F: u32 = 33327; | |
pub const GL_RG32F: u32 = 33328; | |
pub const GL_R8I: u32 = 33329; | |
pub const GL_R8UI: u32 = 33330; | |
pub const GL_R16I: u32 = 33331; | |
pub const GL_R16UI: u32 = 33332; | |
pub const GL_R32I: u32 = 33333; | |
pub const GL_R32UI: u32 = 33334; | |
pub const GL_RG8I: u32 = 33335; | |
pub const GL_RG8UI: u32 = 33336; | |
pub const GL_RG16I: u32 = 33337; | |
pub const GL_RG16UI: u32 = 33338; | |
pub const GL_RG32I: u32 = 33339; | |
pub const GL_RG32UI: u32 = 33340; | |
pub const GL_VERTEX_ARRAY_BINDING: u32 = 34229; | |
pub const GL_R8_SNORM: u32 = 36756; | |
pub const GL_RG8_SNORM: u32 = 36757; | |
pub const GL_RGB8_SNORM: u32 = 36758; | |
pub const GL_RGBA8_SNORM: u32 = 36759; | |
pub const GL_SIGNED_NORMALIZED: u32 = 36764; | |
pub const GL_PRIMITIVE_RESTART_FIXED_INDEX: u32 = 36201; | |
pub const GL_COPY_READ_BUFFER: u32 = 36662; | |
pub const GL_COPY_WRITE_BUFFER: u32 = 36663; | |
pub const GL_COPY_READ_BUFFER_BINDING: u32 = 36662; | |
pub const GL_COPY_WRITE_BUFFER_BINDING: u32 = 36663; | |
pub const GL_UNIFORM_BUFFER: u32 = 35345; | |
pub const GL_UNIFORM_BUFFER_BINDING: u32 = 35368; | |
pub const GL_UNIFORM_BUFFER_START: u32 = 35369; | |
pub const GL_UNIFORM_BUFFER_SIZE: u32 = 35370; | |
pub const GL_MAX_VERTEX_UNIFORM_BLOCKS: u32 = 35371; | |
pub const GL_MAX_FRAGMENT_UNIFORM_BLOCKS: u32 = 35373; | |
pub const GL_MAX_COMBINED_UNIFORM_BLOCKS: u32 = 35374; | |
pub const GL_MAX_UNIFORM_BUFFER_BINDINGS: u32 = 35375; | |
pub const GL_MAX_UNIFORM_BLOCK_SIZE: u32 = 35376; | |
pub const GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: u32 = 35377; | |
pub const GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: u32 = 35379; | |
pub const GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT: u32 = 35380; | |
pub const GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH: u32 = 35381; | |
pub const GL_ACTIVE_UNIFORM_BLOCKS: u32 = 35382; | |
pub const GL_UNIFORM_TYPE: u32 = 35383; | |
pub const GL_UNIFORM_SIZE: u32 = 35384; | |
pub const GL_UNIFORM_NAME_LENGTH: u32 = 35385; | |
pub const GL_UNIFORM_BLOCK_INDEX: u32 = 35386; | |
pub const GL_UNIFORM_OFFSET: u32 = 35387; | |
pub const GL_UNIFORM_ARRAY_STRIDE: u32 = 35388; | |
pub const GL_UNIFORM_MATRIX_STRIDE: u32 = 35389; | |
pub const GL_UNIFORM_IS_ROW_MAJOR: u32 = 35390; | |
pub const GL_UNIFORM_BLOCK_BINDING: u32 = 35391; | |
pub const GL_UNIFORM_BLOCK_DATA_SIZE: u32 = 35392; | |
pub const GL_UNIFORM_BLOCK_NAME_LENGTH: u32 = 35393; | |
pub const GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS: u32 = 35394; | |
pub const GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: u32 = 35395; | |
pub const GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: u32 = 35396; | |
pub const GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: u32 = 35398; | |
pub const GL_INVALID_INDEX: u32 = 4294967295; | |
pub const GL_MAX_VERTEX_OUTPUT_COMPONENTS: u32 = 37154; | |
pub const GL_MAX_FRAGMENT_INPUT_COMPONENTS: u32 = 37157; | |
pub const GL_MAX_SERVER_WAIT_TIMEOUT: u32 = 37137; | |
pub const GL_OBJECT_TYPE: u32 = 37138; | |
pub const GL_SYNC_CONDITION: u32 = 37139; | |
pub const GL_SYNC_STATUS: u32 = 37140; | |
pub const GL_SYNC_FLAGS: u32 = 37141; | |
pub const GL_SYNC_FENCE: u32 = 37142; | |
pub const GL_SYNC_GPU_COMMANDS_COMPLETE: u32 = 37143; | |
pub const GL_UNSIGNALED: u32 = 37144; | |
pub const GL_SIGNALED: u32 = 37145; | |
pub const GL_ALREADY_SIGNALED: u32 = 37146; | |
pub const GL_TIMEOUT_EXPIRED: u32 = 37147; | |
pub const GL_CONDITION_SATISFIED: u32 = 37148; | |
pub const GL_WAIT_FAILED: u32 = 37149; | |
pub const GL_SYNC_FLUSH_COMMANDS_BIT: u32 = 1; | |
pub const GL_TIMEOUT_IGNORED: i32 = -1; | |
pub const GL_VERTEX_ATTRIB_ARRAY_DIVISOR: u32 = 35070; | |
pub const GL_ANY_SAMPLES_PASSED: u32 = 35887; | |
pub const GL_ANY_SAMPLES_PASSED_CONSERVATIVE: u32 = 36202; | |
pub const GL_SAMPLER_BINDING: u32 = 35097; | |
pub const GL_RGB10_A2UI: u32 = 36975; | |
pub const GL_TEXTURE_SWIZZLE_R: u32 = 36418; | |
pub const GL_TEXTURE_SWIZZLE_G: u32 = 36419; | |
pub const GL_TEXTURE_SWIZZLE_B: u32 = 36420; | |
pub const GL_TEXTURE_SWIZZLE_A: u32 = 36421; | |
pub const GL_GREEN: u32 = 6404; | |
pub const GL_BLUE: u32 = 6405; | |
pub const GL_INT_2_10_10_10_REV: u32 = 36255; | |
pub const GL_TRANSFORM_FEEDBACK: u32 = 36386; | |
pub const GL_TRANSFORM_FEEDBACK_PAUSED: u32 = 36387; | |
pub const GL_TRANSFORM_FEEDBACK_ACTIVE: u32 = 36388; | |
pub const GL_TRANSFORM_FEEDBACK_BINDING: u32 = 36389; | |
pub const GL_PROGRAM_BINARY_RETRIEVABLE_HINT: u32 = 33367; | |
pub const GL_PROGRAM_BINARY_LENGTH: u32 = 34625; | |
pub const GL_NUM_PROGRAM_BINARY_FORMATS: u32 = 34814; | |
pub const GL_PROGRAM_BINARY_FORMATS: u32 = 34815; | |
pub const GL_COMPRESSED_R11_EAC: u32 = 37488; | |
pub const GL_COMPRESSED_SIGNED_R11_EAC: u32 = 37489; | |
pub const GL_COMPRESSED_RG11_EAC: u32 = 37490; | |
pub const GL_COMPRESSED_SIGNED_RG11_EAC: u32 = 37491; | |
pub const GL_COMPRESSED_RGB8_ETC2: u32 = 37492; | |
pub const GL_COMPRESSED_SRGB8_ETC2: u32 = 37493; | |
pub const GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2: u32 = 37494; | |
pub const GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2: u32 = 37495; | |
pub const GL_COMPRESSED_RGBA8_ETC2_EAC: u32 = 37496; | |
pub const GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: u32 = 37497; | |
pub const GL_TEXTURE_IMMUTABLE_FORMAT: u32 = 37167; | |
pub const GL_MAX_ELEMENT_INDEX: u32 = 36203; | |
pub const GL_NUM_SAMPLE_COUNTS: u32 = 37760; | |
pub const GL_TEXTURE_IMMUTABLE_LEVELS: u32 = 33503; | |
pub const GL_KHR_texture_compression_astc_ldr: u32 = 1; | |
pub const GL_SAMPLER: u32 = 33510; | |
pub const GL_COMPRESSED_RGBA_ASTC_4x4_KHR: u32 = 37808; | |
pub const GL_COMPRESSED_RGBA_ASTC_5x4_KHR: u32 = 37809; | |
pub const GL_COMPRESSED_RGBA_ASTC_5x5_KHR: u32 = 37810; | |
pub const GL_COMPRESSED_RGBA_ASTC_6x5_KHR: u32 = 37811; | |
pub const GL_COMPRESSED_RGBA_ASTC_6x6_KHR: u32 = 37812; | |
pub const GL_COMPRESSED_RGBA_ASTC_8x5_KHR: u32 = 37813; | |
pub const GL_COMPRESSED_RGBA_ASTC_8x6_KHR: u32 = 37814; | |
pub const GL_COMPRESSED_RGBA_ASTC_8x8_KHR: u32 = 37815; | |
pub const GL_COMPRESSED_RGBA_ASTC_10x5_KHR: u32 = 37816; | |
pub const GL_COMPRESSED_RGBA_ASTC_10x6_KHR: u32 = 37817; | |
pub const GL_COMPRESSED_RGBA_ASTC_10x8_KHR: u32 = 37818; | |
pub const GL_COMPRESSED_RGBA_ASTC_10x10_KHR: u32 = 37819; | |
pub const GL_COMPRESSED_RGBA_ASTC_12x10_KHR: u32 = 37820; | |
pub const GL_COMPRESSED_RGBA_ASTC_12x12_KHR: u32 = 37821; | |
pub const GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR: u32 = 37840; | |
pub const GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR: u32 = 37841; | |
pub const GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR: u32 = 37842; | |
pub const GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR: u32 = 37843; | |
pub const GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR: u32 = 37844; | |
pub const GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR: u32 = 37845; | |
pub const GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR: u32 = 37846; | |
pub const GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: u32 = 37847; | |
pub const GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR: u32 = 37848; | |
pub const GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR: u32 = 37849; | |
pub const GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR: u32 = 37850; | |
pub const GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR: u32 = 37851; | |
pub const GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR: u32 = 37852; | |
pub const GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: u32 = 37853; | |
pub const MTLResourceCPUCacheModeShift: u32 = 0; | |
pub const MTLResourceCPUCacheModeMask: u32 = 15; | |
pub const MTLResourceStorageModeShift: u32 = 4; | |
pub const MTLResourceStorageModeMask: u32 = 240; | |
pub const MTLResourceHazardTrackingModeShift: u32 = 8; | |
pub const MTLResourceHazardTrackingModeMask: u32 = 768; | |
pub const __COREVIDEO_CVRETURN_H__: u32 = 1; | |
pub const __COREVIDEO_CVBASE_H__: u32 = 1; | |
pub const __COREVIDEO_CVBUFFER_H__: u32 = 1; | |
pub const __COREVIDEO_CVPIXELBUFFER_H__: u32 = 1; | |
pub const __COREVIDEO_CVIMAGEBUFFER_H__: u32 = 1; | |
pub const __COREVIDEO_CVPIXELBUFFERIOSURFACE_H__: u32 = 1; | |
pub const COREVIDEO_INCLUDED_IOSURFACE_HEADER_FILE: u32 = 1; | |
pub const __COREVIDEO__CVPIXELBUFFERPOOL_H__: u32 = 1; | |
pub const __COREVIDEO_CVOPENGLESTEXTURE_H__: u32 = 1; | |
pub const __COREVIDEO__CVOPENGLESTEXTURECACHE_H__: u32 = 1; | |
pub const COREVIDEO_USE_EAGLCONTEXT_CLASS_IN_API: u32 = 1; | |
pub const __COREVIDEO_CVMETALTEXTURE_H__: u32 = 1; | |
pub const __COREVIDEO__CVMETALTEXTURECACHE_H__: u32 = 1; | |
pub const __COREVIDEO_CVHOSTTIME_H__: u32 = 1; | |
pub const IIO_HAS_IOSURFACE: u32 = 1; | |
pub const IMAGEIO_PNG_NO_FILTERS: u32 = 0; | |
pub const IMAGEIO_PNG_FILTER_NONE: u32 = 8; | |
pub const IMAGEIO_PNG_FILTER_SUB: u32 = 16; | |
pub const IMAGEIO_PNG_FILTER_UP: u32 = 32; | |
pub const IMAGEIO_PNG_FILTER_AVG: u32 = 64; | |
pub const IMAGEIO_PNG_FILTER_PAETH: u32 = 128; | |
pub const IMAGEIO_PNG_ALL_FILTERS: u32 = 248; | |
pub const COREIMAGE_SUPPORTS_IOSURFACE: u32 = 1; | |
pub const UNIFIED_CORE_IMAGE: u32 = 1; | |
pub const COREIMAGE_SUPPORTS_OPENGLES: u32 = 1; | |
pub const ATSFONTREF_DEFINED: u32 = 1; | |
pub const kCTVersionNumber10_5: u32 = 131072; | |
pub const kCTVersionNumber10_5_2: u32 = 131073; | |
pub const kCTVersionNumber10_5_3: u32 = 131074; | |
pub const kCTVersionNumber10_5_5: u32 = 131075; | |
pub const kCTVersionNumber10_6: u32 = 196608; | |
pub const kCTVersionNumber10_7: u32 = 262144; | |
pub const kCTVersionNumber10_8: u32 = 327680; | |
pub const kCTVersionNumber10_9: u32 = 393216; | |
pub const kCTVersionNumber10_10: u32 = 458752; | |
pub const kCTVersionNumber10_11: u32 = 524288; | |
pub const kCTVersionNumber10_12: u32 = 589824; | |
pub const kCTVersionNumber10_13: u32 = 655360; | |
pub const kCTVersionNumber10_14: u32 = 720896; | |
pub const kCTVersionNumber10_15: u32 = 786432; | |
pub const kCTVersionNumber11_0: u32 = 851968; | |
pub const CA_WARN_DEPRECATED: u32 = 1; | |
pub const UIKIT_HAS_UIFOUNDATION_SYMBOLS: u32 = 1; | |
pub const __NSDATAASSET_SHARED_SECTION__: u32 = 1; | |
pub const __NSTEXT_SHARED_SECTION__: u32 = 1; | |
pub const __NSPARAGRAPH_STYLE_SHARED_SECTION__: u32 = 1; | |
pub const NSLAYOUTCONSTRAINT_H: u32 = 1; | |
pub const NSLAYOUTANCHOR_H: u32 = 1; | |
pub const __NSLAYOUT_MANAGER_SHARED_SECTION__: u32 = 1; | |
pub const SIMD_COMPILER_HAS_REQUIRED_FEATURES: u32 = 1; | |
pub const SIMD_LIBRARY_VERSION: u32 = 0; | |
pub const COREAUDIOTYPES_VERSION: u32 = 20211130; | |
pub const CA_PREFER_FIXED_POINT: u32 = 1; | |
pub const kAudioUnitSampleFractionBits: u32 = 24; | |
pub const CMITEMCOUNT_MAX: u64 = 9223372036854775807; | |
pub const kCMTimeMaxTimescale: u32 = 2147483647; | |
pub const CMTIMEBASE_USE_SOURCE_TERMINOLOGY: u32 = 0; | |
pub const AUDIO_TOOLBOX_VERSION: u32 = 1060; | |
pub const kAudioComponentConfigurationInfo_ValidationResult: &[u8; 17usize] = b"ValidationResult\0"; | |
pub const kAudioComponentValidationParameter_TimeOut: &[u8; 8usize] = b"TimeOut\0"; | |
pub const kAudioComponentValidationParameter_ForceValidation: &[u8; 16usize] = b"ForceValidation\0"; | |
pub const kAudioComponentValidationParameter_LoadOutOfProcess: &[u8; 17usize] = | |
b"LoadOutOfProcess\0"; | |
pub const kAudioSettings_TopLevelKey: &[u8; 5usize] = b"name\0"; | |
pub const kAudioSettings_Version: &[u8; 8usize] = b"version\0"; | |
pub const kAudioSettings_Parameters: &[u8; 11usize] = b"parameters\0"; | |
pub const kAudioSettings_SettingKey: &[u8; 4usize] = b"key\0"; | |
pub const kAudioSettings_SettingName: &[u8; 5usize] = b"name\0"; | |
pub const kAudioSettings_ValueType: &[u8; 11usize] = b"value type\0"; | |
pub const kAudioSettings_AvailableValues: &[u8; 17usize] = b"available values\0"; | |
pub const kAudioSettings_LimitedValues: &[u8; 15usize] = b"limited values\0"; | |
pub const kAudioSettings_CurrentValue: &[u8; 14usize] = b"current value\0"; | |
pub const kAudioSettings_Summary: &[u8; 8usize] = b"summary\0"; | |
pub const kAudioSettings_Hint: &[u8; 5usize] = b"hint\0"; | |
pub const kAudioSettings_Unit: &[u8; 5usize] = b"unit\0"; | |
pub const AU_SUPPORT_INTERAPP_AUDIO: u32 = 1; | |
pub const kAUPresetVersionKey: &[u8; 8usize] = b"version\0"; | |
pub const kAUPresetTypeKey: &[u8; 5usize] = b"type\0"; | |
pub const kAUPresetSubtypeKey: &[u8; 8usize] = b"subtype\0"; | |
pub const kAUPresetManufacturerKey: &[u8; 13usize] = b"manufacturer\0"; | |
pub const kAUPresetDataKey: &[u8; 5usize] = b"data\0"; | |
pub const kAUPresetNameKey: &[u8; 5usize] = b"name\0"; | |
pub const kAUPresetNumberKey: &[u8; 14usize] = b"preset-number\0"; | |
pub const kAUPresetRenderQualityKey: &[u8; 15usize] = b"render-quality\0"; | |
pub const kAUPresetCPULoadKey: &[u8; 9usize] = b"cpu-load\0"; | |
pub const kAUPresetElementNameKey: &[u8; 13usize] = b"element-name\0"; | |
pub const kAUPresetExternalFileRefs: &[u8; 16usize] = b"file-references\0"; | |
pub const kAUPresetPartKey: &[u8; 5usize] = b"part\0"; | |
pub const kAudioUnitConfigurationInfo_HasCustomView: &[u8; 14usize] = b"HasCustomView\0"; | |
pub const kAudioUnitConfigurationInfo_ChannelConfigurations: &[u8; 22usize] = | |
b"ChannelConfigurations\0"; | |
pub const kAudioUnitConfigurationInfo_InitialInputs: &[u8; 14usize] = b"InitialInputs\0"; | |
pub const kAudioUnitConfigurationInfo_InitialOutputs: &[u8; 15usize] = b"InitialOutputs\0"; | |
pub const kAudioUnitConfigurationInfo_IconURL: &[u8; 8usize] = b"IconURL\0"; | |
pub const kAudioUnitConfigurationInfo_BusCountWritable: &[u8; 17usize] = b"BusCountWritable\0"; | |
pub const kAudioUnitConfigurationInfo_SupportedChannelLayoutTags: &[u8; 27usize] = | |
b"SupportedChannelLayoutTags\0"; | |
pub const kAudioUnitConfigurationInfo_MIDIProtocol: &[u8; 13usize] = b"MIDIProtocol\0"; | |
pub const kAudioUnitConfigurationInfo_MigrateFromPlugin: &[u8; 18usize] = b"MigrateFromPlugin\0"; | |
pub const AUDIO_UNIT_VERSION: u32 = 1070; | |
pub const kAFInfoDictionary_Album: &[u8; 6usize] = b"album\0"; | |
pub const kAFInfoDictionary_ApproximateDurationInSeconds: &[u8; 32usize] = | |
b"approximate duration in seconds\0"; | |
pub const kAFInfoDictionary_Artist: &[u8; 7usize] = b"artist\0"; | |
pub const kAFInfoDictionary_ChannelLayout: &[u8; 15usize] = b"channel layout\0"; | |
pub const kAFInfoDictionary_Comments: &[u8; 9usize] = b"comments\0"; | |
pub const kAFInfoDictionary_Composer: &[u8; 9usize] = b"composer\0"; | |
pub const kAFInfoDictionary_Copyright: &[u8; 10usize] = b"copyright\0"; | |
pub const kAFInfoDictionary_EncodingApplication: &[u8; 21usize] = b"encoding application\0"; | |
pub const kAFInfoDictionary_Genre: &[u8; 6usize] = b"genre\0"; | |
pub const kAFInfoDictionary_ISRC: &[u8; 5usize] = b"ISRC\0"; | |
pub const kAFInfoDictionary_KeySignature: &[u8; 14usize] = b"key signature\0"; | |
pub const kAFInfoDictionary_Lyricist: &[u8; 9usize] = b"lyricist\0"; | |
pub const kAFInfoDictionary_NominalBitRate: &[u8; 17usize] = b"nominal bit rate\0"; | |
pub const kAFInfoDictionary_RecordedDate: &[u8; 14usize] = b"recorded date\0"; | |
pub const kAFInfoDictionary_SourceBitDepth: &[u8; 17usize] = b"source bit depth\0"; | |
pub const kAFInfoDictionary_SourceEncoder: &[u8; 15usize] = b"source encoder\0"; | |
pub const kAFInfoDictionary_SubTitle: &[u8; 9usize] = b"subtitle\0"; | |
pub const kAFInfoDictionary_Tempo: &[u8; 6usize] = b"tempo\0"; | |
pub const kAFInfoDictionary_TimeSignature: &[u8; 15usize] = b"time signature\0"; | |
pub const kAFInfoDictionary_Title: &[u8; 6usize] = b"title\0"; | |
pub const kAFInfoDictionary_TrackNumber: &[u8; 13usize] = b"track number\0"; | |
pub const kAFInfoDictionary_Year: &[u8; 5usize] = b"year\0"; | |
pub const kAudioSession_AudioRouteChangeKey_Reason: &[u8; 29usize] = | |
b"OutputDeviceDidChange_Reason\0"; | |
pub const kAudioSession_AudioRouteChangeKey_OldRoute: &[u8; 31usize] = | |
b"OutputDeviceDidChange_OldRoute\0"; | |
pub const kInstrumentInfoKey_Name: &[u8; 5usize] = b"name\0"; | |
pub const kInstrumentInfoKey_MSB: &[u8; 4usize] = b"MSB\0"; | |
pub const kInstrumentInfoKey_LSB: &[u8; 4usize] = b"LSB\0"; | |
pub const kInstrumentInfoKey_Program: &[u8; 8usize] = b"program\0"; | |
pub const AVAUDIOFORMAT_HAVE_CMFORMATDESCRIPTION: u32 = 1; | |
pub const AVAUDIONODE_HAVE_AUAUDIOUNIT: u32 = 1; | |
pub const AVAUDIOIONODE_HAVE_AUDIOUNIT: u32 = 1; | |
pub const AVAUDIOENGINE_HAVE_MUSICPLAYER: u32 = 1; | |
pub const AVAUDIOENGINE_HAVE_AUAUDIOUNIT: u32 = 1; | |
pub const AVAUDIOUNIT_HAVE_AUDIOUNIT: u32 = 1; | |
pub const AVAUDIOUNITCOMPONENT_HAVE_AUDIOCOMPONENT: u32 = 1; | |
pub const CL_TARGET_SUPPORTS_CONDITIONS: u32 = 0; | |
pub const SCN_ENABLE_METAL: u32 = 1; | |
pub const SCN_ENABLE_OPENGL: u32 = 1; | |
pub const PHYSICSKIT_MINUS_GL_IMPORTS: u32 = 1; | |
pub const SK_VERSION: u32 = 50000006; | |
pub const SKVIEW_AVAILABLE: u32 = 1; | |
pub type max_align_t = f64; | |
extern "C" { | |
pub fn cacosf(arg1: __BindgenComplex<f32>) -> __BindgenComplex<f32>; | |
} | |
extern "C" { | |
pub fn cacos(arg1: __BindgenComplex<f64>) -> __BindgenComplex<f64>; | |
} | |
extern "C" { | |
pub fn cacosl(arg1: __BindgenComplex<u128>) -> __BindgenComplex<u128>; | |
} | |
extern "C" { | |
pub fn casinf(arg1: __BindgenComplex<f32>) -> __BindgenComplex<f32>; | |
} | |
extern "C" { | |
pub fn casin(arg1: __BindgenComplex<f64>) -> __BindgenComplex<f64>; | |
} | |
extern "C" { | |
pub fn casinl(arg1: __BindgenComplex<u128>) -> __BindgenComplex<u128>; | |
} | |
extern "C" { | |
pub fn catanf(arg1: __BindgenComplex<f32>) -> __BindgenComplex<f32>; | |
} | |
extern "C" { | |
pub fn catan(arg1: __BindgenComplex<f64>) -> __BindgenComplex<f64>; | |
} | |
extern "C" { | |
pub fn catanl(arg1: __BindgenComplex<u128>) -> __BindgenComplex<u128>; | |
} | |
extern "C" { | |
pub fn ccosf(arg1: __BindgenComplex<f32>) -> __BindgenComplex<f32>; | |
} | |
extern "C" { | |
pub fn ccos(arg1: __BindgenComplex<f64>) -> __BindgenComplex<f64>; | |
} | |
extern "C" { | |
pub fn ccosl(arg1: __BindgenComplex<u128>) -> __BindgenComplex<u128>; | |
} | |
extern "C" { | |
pub fn csinf(arg1: __BindgenComplex<f32>) -> __BindgenComplex<f32>; | |
} | |
extern "C" { | |
pub fn csin(arg1: __BindgenComplex<f64>) -> __BindgenComplex<f64>; | |
} | |
extern "C" { | |
pub fn csinl(arg1: __BindgenComplex<u128>) -> __BindgenComplex<u128>; | |
} | |
extern "C" { | |
pub fn ctanf(arg1: __BindgenComplex<f32>) -> __BindgenComplex<f32>; | |
} | |
extern "C" { | |
pub fn ctan(arg1: __BindgenComplex<f64>) -> __BindgenComplex<f64>; | |
} | |
extern "C" { | |
pub fn ctanl(arg1: __BindgenComplex<u128>) -> __BindgenComplex<u128>; | |
} | |
extern "C" { | |
pub fn cacoshf(arg1: __BindgenComplex<f32>) -> __BindgenComplex<f32>; | |
} | |
extern "C" { | |
pub fn cacosh(arg1: __BindgenComplex<f64>) -> __BindgenComplex<f64>; | |
} | |
extern "C" { | |
pub fn cacoshl(arg1: __BindgenComplex<u128>) -> __BindgenComplex<u128>; | |
} | |
extern "C" { | |
pub fn casinhf(arg1: __BindgenComplex<f32>) -> __BindgenComplex<f32>; | |
} | |
extern "C" { | |
pub fn casinh(arg1: __BindgenComplex<f64>) -> __BindgenComplex<f64>; | |
} | |
extern "C" { | |
pub fn casinhl(arg1: __BindgenComplex<u128>) -> __BindgenComplex<u128>; | |
} | |
extern "C" { | |
pub fn catanhf(arg1: __BindgenComplex<f32>) -> __BindgenComplex<f32>; | |
} | |
extern "C" { | |
pub fn catanh(arg1: __BindgenComplex<f64>) -> __BindgenComplex<f64>; | |
} | |
extern "C" { | |
pub fn catanhl(arg1: __BindgenComplex<u128>) -> __BindgenComplex<u128>; | |
} | |
extern "C" { | |
pub fn ccoshf(arg1: __BindgenComplex<f32>) -> __BindgenComplex<f32>; | |
} | |
extern "C" { | |
pub fn ccosh(arg1: __BindgenComplex<f64>) -> __BindgenComplex<f64>; | |
} | |
extern "C" { | |
pub fn ccoshl(arg1: __BindgenComplex<u128>) -> __BindgenComplex<u128>; | |
} | |
extern "C" { | |
pub fn csinhf(arg1: __BindgenComplex<f32>) -> __BindgenComplex<f32>; | |
} | |
extern "C" { | |
pub fn csinh(arg1: __BindgenComplex<f64>) -> __BindgenComplex<f64>; | |
} | |
extern "C" { | |
pub fn csinhl(arg1: __BindgenComplex<u128>) -> __BindgenComplex<u128>; | |
} | |
extern "C" { | |
pub fn ctanhf(arg1: __BindgenComplex<f32>) -> __BindgenComplex<f32>; | |
} | |
extern "C" { | |
pub fn ctanh(arg1: __BindgenComplex<f64>) -> __BindgenComplex<f64>; | |
} | |
extern "C" { | |
pub fn ctanhl(arg1: __BindgenComplex<u128>) -> __BindgenComplex<u128>; | |
} | |
extern "C" { | |
pub fn cexpf(arg1: __BindgenComplex<f32>) -> __BindgenComplex<f32>; | |
} | |
extern "C" { | |
pub fn cexp(arg1: __BindgenComplex<f64>) -> __BindgenComplex<f64>; | |
} | |
extern "C" { | |
pub fn cexpl(arg1: __BindgenComplex<u128>) -> __BindgenComplex<u128>; | |
} | |
extern "C" { | |
pub fn clogf(arg1: __BindgenComplex<f32>) -> __BindgenComplex<f32>; | |
} | |
extern "C" { | |
pub fn clog(arg1: __BindgenComplex<f64>) -> __BindgenComplex<f64>; | |
} | |
extern "C" { | |
pub fn clogl(arg1: __BindgenComplex<u128>) -> __BindgenComplex<u128>; | |
} | |
extern "C" { | |
pub fn cabsf(arg1: __BindgenComplex<f32>) -> f32; | |
} | |
extern "C" { | |
pub fn cabs(arg1: __BindgenComplex<f64>) -> f64; | |
} | |
extern "C" { | |
pub fn cabsl(arg1: __BindgenComplex<u128>) -> f64; | |
} | |
extern "C" { | |
pub fn cpowf(arg1: __BindgenComplex<f32>, arg2: __BindgenComplex<f32>) | |
-> __BindgenComplex<f32>; | |
} | |
extern "C" { | |
pub fn cpow(arg1: __BindgenComplex<f64>, arg2: __BindgenComplex<f64>) -> __BindgenComplex<f64>; | |
} | |
extern "C" { | |
pub fn cpowl( | |
arg1: __BindgenComplex<u128>, | |
arg2: __BindgenComplex<u128>, | |
) -> __BindgenComplex<u128>; | |
} | |
extern "C" { | |
pub fn csqrtf(arg1: __BindgenComplex<f32>) -> __BindgenComplex<f32>; | |
} | |
extern "C" { | |
pub fn csqrt(arg1: __BindgenComplex<f64>) -> __BindgenComplex<f64>; | |
} | |
extern "C" { | |
pub fn csqrtl(arg1: __BindgenComplex<u128>) -> __BindgenComplex<u128>; | |
} | |
extern "C" { | |
pub fn cargf(arg1: __BindgenComplex<f32>) -> f32; | |
} | |
extern "C" { | |
pub fn carg(arg1: __BindgenComplex<f64>) -> f64; | |
} | |
extern "C" { | |
pub fn cargl(arg1: __BindgenComplex<u128>) -> f64; | |
} | |
extern "C" { | |
pub fn cimagf(arg1: __BindgenComplex<f32>) -> f32; | |
} | |
extern "C" { | |
pub fn cimag(arg1: __BindgenComplex<f64>) -> f64; | |
} | |
extern "C" { | |
pub fn cimagl(arg1: __BindgenComplex<u128>) -> f64; | |
} | |
extern "C" { | |
pub fn conjf(arg1: __BindgenComplex<f32>) -> __BindgenComplex<f32>; | |
} | |
extern "C" { | |
pub fn conj(arg1: __BindgenComplex<f64>) -> __BindgenComplex<f64>; | |
} | |
extern "C" { | |
pub fn conjl(arg1: __BindgenComplex<u128>) -> __BindgenComplex<u128>; | |
} | |
extern "C" { | |
pub fn cprojf(arg1: __BindgenComplex<f32>) -> __BindgenComplex<f32>; | |
} | |
extern "C" { | |
pub fn cproj(arg1: __BindgenComplex<f64>) -> __BindgenComplex<f64>; | |
} | |
extern "C" { | |
pub fn cprojl(arg1: __BindgenComplex<u128>) -> __BindgenComplex<u128>; | |
} | |
extern "C" { | |
pub fn crealf(arg1: __BindgenComplex<f32>) -> f32; | |
} | |
extern "C" { | |
pub fn creal(arg1: __BindgenComplex<f64>) -> f64; | |
} | |
extern "C" { | |
pub fn creall(arg1: __BindgenComplex<u128>) -> f64; | |
} | |
pub type int_least8_t = i8; | |
pub type int_least16_t = i16; | |
pub type int_least32_t = i32; | |
pub type int_least64_t = i64; | |
pub type uint_least8_t = u8; | |
pub type uint_least16_t = u16; | |
pub type uint_least32_t = u32; | |
pub type uint_least64_t = u64; | |
pub type int_fast8_t = i8; | |
pub type int_fast16_t = i16; | |
pub type int_fast32_t = i32; | |
pub type int_fast64_t = i64; | |
pub type uint_fast8_t = u8; | |
pub type uint_fast16_t = u16; | |
pub type uint_fast32_t = u32; | |
pub type uint_fast64_t = u64; | |
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_longlong; | |
pub type __uint64_t = ::std::os::raw::c_ulonglong; | |
pub type __darwin_intptr_t = ::std::os::raw::c_long; | |
pub type __darwin_natural_t = ::std::os::raw::c_uint; | |
pub type __darwin_ct_rune_t = ::std::os::raw::c_int; | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union __mbstate_t { | |
pub __mbstate8: [::std::os::raw::c_char; 128usize], | |
pub _mbstateL: ::std::os::raw::c_longlong, | |
} | |
pub type __darwin_mbstate_t = __mbstate_t; | |
pub type __darwin_ptrdiff_t = ::std::os::raw::c_long; | |
pub type __darwin_size_t = ::std::os::raw::c_ulong; | |
pub type __darwin_va_list = __builtin_va_list; | |
pub type __darwin_wchar_t = ::std::os::raw::c_int; | |
pub type __darwin_rune_t = __darwin_wchar_t; | |
pub type __darwin_wint_t = ::std::os::raw::c_int; | |
pub type __darwin_clock_t = ::std::os::raw::c_ulong; | |
pub type __darwin_socklen_t = __uint32_t; | |
pub type __darwin_ssize_t = ::std::os::raw::c_long; | |
pub type __darwin_time_t = ::std::os::raw::c_long; | |
pub type __darwin_blkcnt_t = __int64_t; | |
pub type __darwin_blksize_t = __int32_t; | |
pub type __darwin_dev_t = __int32_t; | |
pub type __darwin_fsblkcnt_t = ::std::os::raw::c_uint; | |
pub type __darwin_fsfilcnt_t = ::std::os::raw::c_uint; | |
pub type __darwin_gid_t = __uint32_t; | |
pub type __darwin_id_t = __uint32_t; | |
pub type __darwin_ino64_t = __uint64_t; | |
pub type __darwin_ino_t = __darwin_ino64_t; | |
pub type __darwin_mach_port_name_t = __darwin_natural_t; | |
pub type __darwin_mach_port_t = __darwin_mach_port_name_t; | |
pub type __darwin_mode_t = __uint16_t; | |
pub type __darwin_off_t = __int64_t; | |
pub type __darwin_pid_t = __int32_t; | |
pub type __darwin_sigset_t = __uint32_t; | |
pub type __darwin_suseconds_t = __int32_t; | |
pub type __darwin_uid_t = __uint32_t; | |
pub type __darwin_useconds_t = __uint32_t; | |
pub type __darwin_uuid_t = [::std::os::raw::c_uchar; 16usize]; | |
pub type __darwin_uuid_string_t = [::std::os::raw::c_char; 37usize]; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __darwin_pthread_handler_rec { | |
pub __routine: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, | |
pub __arg: *mut ::std::os::raw::c_void, | |
pub __next: *mut __darwin_pthread_handler_rec, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct _opaque_pthread_attr_t { | |
pub __sig: ::std::os::raw::c_long, | |
pub __opaque: [::std::os::raw::c_char; 56usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct _opaque_pthread_cond_t { | |
pub __sig: ::std::os::raw::c_long, | |
pub __opaque: [::std::os::raw::c_char; 40usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct _opaque_pthread_condattr_t { | |
pub __sig: ::std::os::raw::c_long, | |
pub __opaque: [::std::os::raw::c_char; 8usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct _opaque_pthread_mutex_t { | |
pub __sig: ::std::os::raw::c_long, | |
pub __opaque: [::std::os::raw::c_char; 56usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct _opaque_pthread_mutexattr_t { | |
pub __sig: ::std::os::raw::c_long, | |
pub __opaque: [::std::os::raw::c_char; 8usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct _opaque_pthread_once_t { | |
pub __sig: ::std::os::raw::c_long, | |
pub __opaque: [::std::os::raw::c_char; 8usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct _opaque_pthread_rwlock_t { | |
pub __sig: ::std::os::raw::c_long, | |
pub __opaque: [::std::os::raw::c_char; 192usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct _opaque_pthread_rwlockattr_t { | |
pub __sig: ::std::os::raw::c_long, | |
pub __opaque: [::std::os::raw::c_char; 16usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct _opaque_pthread_t { | |
pub __sig: ::std::os::raw::c_long, | |
pub __cleanup_stack: *mut __darwin_pthread_handler_rec, | |
pub __opaque: [::std::os::raw::c_char; 8176usize], | |
} | |
pub type __darwin_pthread_attr_t = _opaque_pthread_attr_t; | |
pub type __darwin_pthread_cond_t = _opaque_pthread_cond_t; | |
pub type __darwin_pthread_condattr_t = _opaque_pthread_condattr_t; | |
pub type __darwin_pthread_key_t = ::std::os::raw::c_ulong; | |
pub type __darwin_pthread_mutex_t = _opaque_pthread_mutex_t; | |
pub type __darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t; | |
pub type __darwin_pthread_once_t = _opaque_pthread_once_t; | |
pub type __darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t; | |
pub type __darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t; | |
pub type __darwin_pthread_t = *mut _opaque_pthread_t; | |
pub type u_int8_t = ::std::os::raw::c_uchar; | |
pub type u_int16_t = ::std::os::raw::c_ushort; | |
pub type u_int32_t = ::std::os::raw::c_uint; | |
pub type u_int64_t = ::std::os::raw::c_ulonglong; | |
pub type register_t = i64; | |
pub type user_addr_t = u_int64_t; | |
pub type user_size_t = u_int64_t; | |
pub type user_ssize_t = i64; | |
pub type user_long_t = i64; | |
pub type user_ulong_t = u_int64_t; | |
pub type user_time_t = i64; | |
pub type user_off_t = i64; | |
pub type syscall_arg_t = u_int64_t; | |
pub type intmax_t = ::std::os::raw::c_long; | |
pub type uintmax_t = ::std::os::raw::c_ulong; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct _copyfile_state { | |
_unused: [u8; 0], | |
} | |
pub type copyfile_state_t = *mut _copyfile_state; | |
pub type copyfile_flags_t = u32; | |
extern "C" { | |
pub fn copyfile( | |
from: *const ::std::os::raw::c_char, | |
to: *const ::std::os::raw::c_char, | |
state: copyfile_state_t, | |
flags: copyfile_flags_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fcopyfile( | |
from_fd: ::std::os::raw::c_int, | |
to_fd: ::std::os::raw::c_int, | |
arg1: copyfile_state_t, | |
flags: copyfile_flags_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn copyfile_state_free(arg1: copyfile_state_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn copyfile_state_alloc() -> copyfile_state_t; | |
} | |
extern "C" { | |
pub fn copyfile_state_get( | |
s: copyfile_state_t, | |
flag: u32, | |
dst: *mut ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn copyfile_state_set( | |
s: copyfile_state_t, | |
flag: u32, | |
src: *const ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int; | |
} | |
pub type copyfile_callback_t = ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
arg3: copyfile_state_t, | |
arg4: *const ::std::os::raw::c_char, | |
arg5: *const ::std::os::raw::c_char, | |
arg6: *mut ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int, | |
>; | |
pub type __darwin_nl_item = ::std::os::raw::c_int; | |
pub type __darwin_wctrans_t = ::std::os::raw::c_int; | |
pub type __darwin_wctype_t = __uint32_t; | |
pub type ct_rune_t = __darwin_ct_rune_t; | |
pub type rune_t = __darwin_rune_t; | |
pub type wchar_t = __darwin_wchar_t; | |
pub type wint_t = __darwin_wint_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct _RuneEntry { | |
pub __min: __darwin_rune_t, | |
pub __max: __darwin_rune_t, | |
pub __map: __darwin_rune_t, | |
pub __types: *mut __uint32_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct _RuneRange { | |
pub __nranges: ::std::os::raw::c_int, | |
pub __ranges: *mut _RuneEntry, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct _RuneCharClass { | |
pub __name: [::std::os::raw::c_char; 14usize], | |
pub __mask: __uint32_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct _RuneLocale { | |
pub __magic: [::std::os::raw::c_char; 8usize], | |
pub __encoding: [::std::os::raw::c_char; 32usize], | |
pub __sgetrune: ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: __darwin_size_t, | |
arg3: *mut *const ::std::os::raw::c_char, | |
) -> __darwin_rune_t, | |
>, | |
pub __sputrune: ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: __darwin_rune_t, | |
arg2: *mut ::std::os::raw::c_char, | |
arg3: __darwin_size_t, | |
arg4: *mut *mut ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_int, | |
>, | |
pub __invalid_rune: __darwin_rune_t, | |
pub __runetype: [__uint32_t; 256usize], | |
pub __maplower: [__darwin_rune_t; 256usize], | |
pub __mapupper: [__darwin_rune_t; 256usize], | |
pub __runetype_ext: _RuneRange, | |
pub __maplower_ext: _RuneRange, | |
pub __mapupper_ext: _RuneRange, | |
pub __variable: *mut ::std::os::raw::c_void, | |
pub __variable_len: ::std::os::raw::c_int, | |
pub __ncharclasses: ::std::os::raw::c_int, | |
pub __charclasses: *mut _RuneCharClass, | |
} | |
extern "C" { | |
pub static mut _DefaultRuneLocale: _RuneLocale; | |
} | |
extern "C" { | |
pub static mut _CurrentRuneLocale: *mut _RuneLocale; | |
} | |
extern "C" { | |
pub fn ___runetype(arg1: __darwin_ct_rune_t) -> ::std::os::raw::c_ulong; | |
} | |
extern "C" { | |
pub fn ___tolower(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; | |
} | |
extern "C" { | |
pub fn ___toupper(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; | |
} | |
extern "C" { | |
pub fn __maskrune( | |
arg1: __darwin_ct_rune_t, | |
arg2: ::std::os::raw::c_ulong, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn __toupper(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; | |
} | |
extern "C" { | |
pub fn __tolower(arg1: __darwin_ct_rune_t) -> __darwin_ct_rune_t; | |
} | |
extern "C" { | |
pub fn err(arg1: ::std::os::raw::c_int, arg2: *const ::std::os::raw::c_char, ...) -> !; | |
} | |
extern "C" { | |
pub fn verr( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: __darwin_va_list, | |
) -> !; | |
} | |
extern "C" { | |
pub fn errc( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
arg3: *const ::std::os::raw::c_char, | |
... | |
) -> !; | |
} | |
extern "C" { | |
pub fn verrc( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
arg3: *const ::std::os::raw::c_char, | |
arg4: __darwin_va_list, | |
) -> !; | |
} | |
extern "C" { | |
pub fn errx(arg1: ::std::os::raw::c_int, arg2: *const ::std::os::raw::c_char, ...) -> !; | |
} | |
extern "C" { | |
pub fn verrx( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: __darwin_va_list, | |
) -> !; | |
} | |
extern "C" { | |
pub fn warn(arg1: *const ::std::os::raw::c_char, ...); | |
} | |
extern "C" { | |
pub fn vwarn(arg1: *const ::std::os::raw::c_char, arg2: __darwin_va_list); | |
} | |
extern "C" { | |
pub fn warnc(arg1: ::std::os::raw::c_int, arg2: *const ::std::os::raw::c_char, ...); | |
} | |
extern "C" { | |
pub fn vwarnc( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: __darwin_va_list, | |
); | |
} | |
extern "C" { | |
pub fn warnx(arg1: *const ::std::os::raw::c_char, ...); | |
} | |
extern "C" { | |
pub fn vwarnx(arg1: *const ::std::os::raw::c_char, arg2: __darwin_va_list); | |
} | |
extern "C" { | |
pub fn err_set_file(arg1: *mut ::std::os::raw::c_void); | |
} | |
extern "C" { | |
pub fn err_set_exit( | |
arg1: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>, | |
); | |
} | |
extern "C" { | |
pub fn err_set_exit_b(arg1: *mut ::std::os::raw::c_void); | |
} | |
pub type errno_t = ::std::os::raw::c_int; | |
extern "C" { | |
pub fn __error() -> *mut ::std::os::raw::c_int; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct fenv_t { | |
pub __fpsr: ::std::os::raw::c_ulonglong, | |
pub __fpcr: ::std::os::raw::c_ulonglong, | |
} | |
pub type fexcept_t = ::std::os::raw::c_ushort; | |
pub const __fpcr_trap_invalid: _bindgen_ty_1 = 256; | |
pub const __fpcr_trap_divbyzero: _bindgen_ty_1 = 512; | |
pub const __fpcr_trap_overflow: _bindgen_ty_1 = 1024; | |
pub const __fpcr_trap_underflow: _bindgen_ty_1 = 2048; | |
pub const __fpcr_trap_inexact: _bindgen_ty_1 = 4096; | |
pub const __fpcr_trap_denormal: _bindgen_ty_1 = 32768; | |
pub const __fpcr_flush_to_zero: _bindgen_ty_1 = 16777216; | |
pub type _bindgen_ty_1 = ::std::os::raw::c_uint; | |
pub const __fpsr_saturation: _bindgen_ty_2 = 134217728; | |
pub type _bindgen_ty_2 = ::std::os::raw::c_uint; | |
extern "C" { | |
pub static _FE_DFL_ENV: fenv_t; | |
} | |
extern "C" { | |
pub static _FE_DFL_DISABLE_DENORMS_ENV: fenv_t; | |
} | |
extern "C" { | |
pub fn feclearexcept(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fegetexceptflag( | |
arg1: *mut fexcept_t, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn feraiseexcept(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fesetexceptflag( | |
arg1: *const fexcept_t, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fetestexcept(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fegetround() -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fesetround(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fegetenv(arg1: *mut fenv_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn feholdexcept(arg1: *mut fenv_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fesetenv(arg1: *const fenv_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn feupdateenv(arg1: *const fenv_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn imaxabs(j: intmax_t) -> intmax_t; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct imaxdiv_t { | |
pub quot: intmax_t, | |
pub rem: 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 wchar_t, | |
__endptr: *mut *mut wchar_t, | |
__base: ::std::os::raw::c_int, | |
) -> intmax_t; | |
} | |
extern "C" { | |
pub fn wcstoumax( | |
__nptr: *const wchar_t, | |
__endptr: *mut *mut wchar_t, | |
__base: ::std::os::raw::c_int, | |
) -> uintmax_t; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct lconv { | |
pub decimal_point: *mut ::std::os::raw::c_char, | |
pub thousands_sep: *mut ::std::os::raw::c_char, | |
pub grouping: *mut ::std::os::raw::c_char, | |
pub int_curr_symbol: *mut ::std::os::raw::c_char, | |
pub currency_symbol: *mut ::std::os::raw::c_char, | |
pub mon_decimal_point: *mut ::std::os::raw::c_char, | |
pub mon_thousands_sep: *mut ::std::os::raw::c_char, | |
pub mon_grouping: *mut ::std::os::raw::c_char, | |
pub positive_sign: *mut ::std::os::raw::c_char, | |
pub negative_sign: *mut ::std::os::raw::c_char, | |
pub int_frac_digits: ::std::os::raw::c_char, | |
pub frac_digits: ::std::os::raw::c_char, | |
pub p_cs_precedes: ::std::os::raw::c_char, | |
pub p_sep_by_space: ::std::os::raw::c_char, | |
pub n_cs_precedes: ::std::os::raw::c_char, | |
pub n_sep_by_space: ::std::os::raw::c_char, | |
pub p_sign_posn: ::std::os::raw::c_char, | |
pub n_sign_posn: ::std::os::raw::c_char, | |
pub int_p_cs_precedes: ::std::os::raw::c_char, | |
pub int_n_cs_precedes: ::std::os::raw::c_char, | |
pub int_p_sep_by_space: ::std::os::raw::c_char, | |
pub int_n_sep_by_space: ::std::os::raw::c_char, | |
pub int_p_sign_posn: ::std::os::raw::c_char, | |
pub int_n_sign_posn: ::std::os::raw::c_char, | |
} | |
extern "C" { | |
pub fn localeconv() -> *mut lconv; | |
} | |
extern "C" { | |
pub fn setlocale( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
pub type float_t = f32; | |
pub type double_t = f64; | |
extern "C" { | |
pub fn __math_errhandling() -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn __fpclassifyf(arg1: f32) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn __fpclassifyd(arg1: f64) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn __fpclassifyl(arg1: f64) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn acosf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn acos(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn acosl(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn asinf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn asin(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn asinl(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn atanf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn atan(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn atanl(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn atan2f(arg1: f32, arg2: f32) -> f32; | |
} | |
extern "C" { | |
pub fn atan2(arg1: f64, arg2: f64) -> f64; | |
} | |
extern "C" { | |
pub fn atan2l(arg1: f64, arg2: f64) -> f64; | |
} | |
extern "C" { | |
pub fn cosf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn cos(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn cosl(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn sinf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn sin(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn sinl(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn tanf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn tan(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn tanl(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn acoshf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn acosh(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn acoshl(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn asinhf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn asinh(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn asinhl(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn atanhf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn atanh(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn atanhl(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn coshf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn cosh(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn coshl(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn sinhf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn sinh(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn sinhl(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn tanhf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn tanh(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn tanhl(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn expf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn exp(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn expl(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn exp2f(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn exp2(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn exp2l(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn expm1f(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn expm1(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn expm1l(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn logf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn log(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn logl(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn log10f(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn log10(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn log10l(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn log2f(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn log2(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn log2l(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn log1pf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn log1p(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn log1pl(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn logbf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn logb(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn logbl(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn modff(arg1: f32, arg2: *mut f32) -> f32; | |
} | |
extern "C" { | |
pub fn modf(arg1: f64, arg2: *mut f64) -> f64; | |
} | |
extern "C" { | |
pub fn modfl(arg1: f64, arg2: *mut f64) -> f64; | |
} | |
extern "C" { | |
pub fn ldexpf(arg1: f32, arg2: ::std::os::raw::c_int) -> f32; | |
} | |
extern "C" { | |
pub fn ldexp(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; | |
} | |
extern "C" { | |
pub fn ldexpl(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; | |
} | |
extern "C" { | |
pub fn frexpf(arg1: f32, arg2: *mut ::std::os::raw::c_int) -> f32; | |
} | |
extern "C" { | |
pub fn frexp(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; | |
} | |
extern "C" { | |
pub fn frexpl(arg1: f64, arg2: *mut ::std::os::raw::c_int) -> f64; | |
} | |
extern "C" { | |
pub fn ilogbf(arg1: f32) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn ilogb(arg1: f64) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn ilogbl(arg1: f64) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn scalbnf(arg1: f32, arg2: ::std::os::raw::c_int) -> f32; | |
} | |
extern "C" { | |
pub fn scalbn(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; | |
} | |
extern "C" { | |
pub fn scalbnl(arg1: f64, arg2: ::std::os::raw::c_int) -> f64; | |
} | |
extern "C" { | |
pub fn scalblnf(arg1: f32, arg2: ::std::os::raw::c_long) -> f32; | |
} | |
extern "C" { | |
pub fn scalbln(arg1: f64, arg2: ::std::os::raw::c_long) -> f64; | |
} | |
extern "C" { | |
pub fn scalblnl(arg1: f64, arg2: ::std::os::raw::c_long) -> f64; | |
} | |
extern "C" { | |
pub fn fabsf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn fabs(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn fabsl(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn cbrtf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn cbrt(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn cbrtl(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn hypotf(arg1: f32, arg2: f32) -> f32; | |
} | |
extern "C" { | |
pub fn hypot(arg1: f64, arg2: f64) -> f64; | |
} | |
extern "C" { | |
pub fn hypotl(arg1: f64, arg2: f64) -> f64; | |
} | |
extern "C" { | |
pub fn powf(arg1: f32, arg2: f32) -> f32; | |
} | |
extern "C" { | |
pub fn pow(arg1: f64, arg2: f64) -> f64; | |
} | |
extern "C" { | |
pub fn powl(arg1: f64, arg2: f64) -> f64; | |
} | |
extern "C" { | |
pub fn sqrtf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn sqrt(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn sqrtl(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn erff(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn erf(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn erfl(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn erfcf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn erfc(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn erfcl(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn lgammaf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn lgamma(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn lgammal(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn tgammaf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn tgamma(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn tgammal(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn ceilf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn ceil(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn ceill(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn floorf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn floor(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn floorl(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn nearbyintf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn nearbyint(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn nearbyintl(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn rintf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn rint(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn rintl(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn lrintf(arg1: f32) -> ::std::os::raw::c_long; | |
} | |
extern "C" { | |
pub fn lrint(arg1: f64) -> ::std::os::raw::c_long; | |
} | |
extern "C" { | |
pub fn lrintl(arg1: f64) -> ::std::os::raw::c_long; | |
} | |
extern "C" { | |
pub fn roundf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn round(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn roundl(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn lroundf(arg1: f32) -> ::std::os::raw::c_long; | |
} | |
extern "C" { | |
pub fn lround(arg1: f64) -> ::std::os::raw::c_long; | |
} | |
extern "C" { | |
pub fn lroundl(arg1: f64) -> ::std::os::raw::c_long; | |
} | |
extern "C" { | |
pub fn llrintf(arg1: f32) -> ::std::os::raw::c_longlong; | |
} | |
extern "C" { | |
pub fn llrint(arg1: f64) -> ::std::os::raw::c_longlong; | |
} | |
extern "C" { | |
pub fn llrintl(arg1: f64) -> ::std::os::raw::c_longlong; | |
} | |
extern "C" { | |
pub fn llroundf(arg1: f32) -> ::std::os::raw::c_longlong; | |
} | |
extern "C" { | |
pub fn llround(arg1: f64) -> ::std::os::raw::c_longlong; | |
} | |
extern "C" { | |
pub fn llroundl(arg1: f64) -> ::std::os::raw::c_longlong; | |
} | |
extern "C" { | |
pub fn truncf(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn trunc(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn truncl(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn fmodf(arg1: f32, arg2: f32) -> f32; | |
} | |
extern "C" { | |
pub fn fmod(arg1: f64, arg2: f64) -> f64; | |
} | |
extern "C" { | |
pub fn fmodl(arg1: f64, arg2: f64) -> f64; | |
} | |
extern "C" { | |
pub fn remainderf(arg1: f32, arg2: f32) -> f32; | |
} | |
extern "C" { | |
pub fn remainder(arg1: f64, arg2: f64) -> f64; | |
} | |
extern "C" { | |
pub fn remainderl(arg1: f64, arg2: f64) -> f64; | |
} | |
extern "C" { | |
pub fn remquof(arg1: f32, arg2: f32, arg3: *mut ::std::os::raw::c_int) -> f32; | |
} | |
extern "C" { | |
pub fn remquo(arg1: f64, arg2: f64, arg3: *mut ::std::os::raw::c_int) -> f64; | |
} | |
extern "C" { | |
pub fn remquol(arg1: f64, arg2: f64, arg3: *mut ::std::os::raw::c_int) -> f64; | |
} | |
extern "C" { | |
pub fn copysignf(arg1: f32, arg2: f32) -> f32; | |
} | |
extern "C" { | |
pub fn copysign(arg1: f64, arg2: f64) -> f64; | |
} | |
extern "C" { | |
pub fn copysignl(arg1: f64, arg2: f64) -> f64; | |
} | |
extern "C" { | |
pub fn nanf(arg1: *const ::std::os::raw::c_char) -> f32; | |
} | |
extern "C" { | |
pub fn nan(arg1: *const ::std::os::raw::c_char) -> f64; | |
} | |
extern "C" { | |
pub fn nanl(arg1: *const ::std::os::raw::c_char) -> f64; | |
} | |
extern "C" { | |
pub fn nextafterf(arg1: f32, arg2: f32) -> f32; | |
} | |
extern "C" { | |
pub fn nextafter(arg1: f64, arg2: f64) -> f64; | |
} | |
extern "C" { | |
pub fn nextafterl(arg1: f64, arg2: f64) -> f64; | |
} | |
extern "C" { | |
pub fn nexttoward(arg1: f64, arg2: f64) -> f64; | |
} | |
extern "C" { | |
pub fn nexttowardf(arg1: f32, arg2: f64) -> f32; | |
} | |
extern "C" { | |
pub fn nexttowardl(arg1: f64, arg2: f64) -> f64; | |
} | |
extern "C" { | |
pub fn fdimf(arg1: f32, arg2: f32) -> f32; | |
} | |
extern "C" { | |
pub fn fdim(arg1: f64, arg2: f64) -> f64; | |
} | |
extern "C" { | |
pub fn fdiml(arg1: f64, arg2: f64) -> f64; | |
} | |
extern "C" { | |
pub fn fmaxf(arg1: f32, arg2: f32) -> f32; | |
} | |
extern "C" { | |
pub fn fmax(arg1: f64, arg2: f64) -> f64; | |
} | |
extern "C" { | |
pub fn fmaxl(arg1: f64, arg2: f64) -> f64; | |
} | |
extern "C" { | |
pub fn fminf(arg1: f32, arg2: f32) -> f32; | |
} | |
extern "C" { | |
pub fn fmin(arg1: f64, arg2: f64) -> f64; | |
} | |
extern "C" { | |
pub fn fminl(arg1: f64, arg2: f64) -> f64; | |
} | |
extern "C" { | |
pub fn fmaf(arg1: f32, arg2: f32, arg3: f32) -> f32; | |
} | |
extern "C" { | |
pub fn fma(arg1: f64, arg2: f64, arg3: f64) -> f64; | |
} | |
extern "C" { | |
pub fn fmal(arg1: f64, arg2: f64, arg3: f64) -> f64; | |
} | |
extern "C" { | |
pub fn __exp10f(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn __exp10(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn __cospif(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn __cospi(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn __sinpif(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn __sinpi(arg1: f64) -> f64; | |
} | |
extern "C" { | |
pub fn __tanpif(arg1: f32) -> f32; | |
} | |
extern "C" { | |
pub fn __tanpi(arg1: f64) -> f64; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __float2 { | |
pub __sinval: f32, | |
pub __cosval: f32, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __double2 { | |
pub __sinval: f64, | |
pub __cosval: f64, | |
} | |
extern "C" { | |
pub fn __sincosf_stret(arg1: f32) -> __float2; | |
} | |
extern "C" { | |
pub fn __sincos_stret(arg1: f64) -> __double2; | |
} | |
extern "C" { | |
pub fn __sincospif_stret(arg1: f32) -> __float2; | |
} | |
extern "C" { | |
pub fn __sincospi_stret(arg1: f64) -> __double2; | |
} | |
extern "C" { | |
pub fn j0(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 y0(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 scalb(arg1: f64, arg2: f64) -> f64; | |
} | |
extern "C" { | |
pub static mut signgam: ::std::os::raw::c_int; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct exception { | |
pub type_: ::std::os::raw::c_int, | |
pub name: *mut ::std::os::raw::c_char, | |
pub arg1: f64, | |
pub arg2: f64, | |
pub retval: f64, | |
} | |
extern "C" { | |
pub fn readpassphrase( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut ::std::os::raw::c_char, | |
arg3: usize, | |
arg4: ::std::os::raw::c_int, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
pub type jmp_buf = [::std::os::raw::c_int; 48usize]; | |
pub type sigjmp_buf = [::std::os::raw::c_int; 49usize]; | |
extern "C" { | |
pub fn setjmp(arg1: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn longjmp(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> !; | |
} | |
extern "C" { | |
pub fn _setjmp(arg1: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn _longjmp(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> !; | |
} | |
extern "C" { | |
pub fn sigsetjmp( | |
arg1: *mut ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn siglongjmp(arg1: *mut ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> !; | |
} | |
extern "C" { | |
pub fn longjmperror(); | |
} | |
pub type sig_atomic_t = ::std::os::raw::c_int; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __darwin_arm_exception_state { | |
pub __exception: __uint32_t, | |
pub __fsr: __uint32_t, | |
pub __far: __uint32_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __darwin_arm_exception_state64 { | |
pub __far: __uint64_t, | |
pub __esr: __uint32_t, | |
pub __exception: __uint32_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __darwin_arm_thread_state { | |
pub __r: [__uint32_t; 13usize], | |
pub __sp: __uint32_t, | |
pub __lr: __uint32_t, | |
pub __pc: __uint32_t, | |
pub __cpsr: __uint32_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __darwin_arm_thread_state64 { | |
pub __x: [__uint64_t; 29usize], | |
pub __fp: __uint64_t, | |
pub __lr: __uint64_t, | |
pub __sp: __uint64_t, | |
pub __pc: __uint64_t, | |
pub __cpsr: __uint32_t, | |
pub __pad: __uint32_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __darwin_arm_vfp_state { | |
pub __r: [__uint32_t; 64usize], | |
pub __fpscr: __uint32_t, | |
} | |
#[repr(C)] | |
#[repr(align(16))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __darwin_arm_neon_state64 { | |
pub __v: [__uint128_t; 32usize], | |
pub __fpsr: __uint32_t, | |
pub __fpcr: __uint32_t, | |
} | |
#[repr(C)] | |
#[repr(align(16))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __darwin_arm_neon_state { | |
pub __v: [__uint128_t; 16usize], | |
pub __fpsr: __uint32_t, | |
pub __fpcr: __uint32_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __arm_pagein_state { | |
pub __pagein_error: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __arm_legacy_debug_state { | |
pub __bvr: [__uint32_t; 16usize], | |
pub __bcr: [__uint32_t; 16usize], | |
pub __wvr: [__uint32_t; 16usize], | |
pub __wcr: [__uint32_t; 16usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __darwin_arm_debug_state32 { | |
pub __bvr: [__uint32_t; 16usize], | |
pub __bcr: [__uint32_t; 16usize], | |
pub __wvr: [__uint32_t; 16usize], | |
pub __wcr: [__uint32_t; 16usize], | |
pub __mdscr_el1: __uint64_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __darwin_arm_debug_state64 { | |
pub __bvr: [__uint64_t; 16usize], | |
pub __bcr: [__uint64_t; 16usize], | |
pub __wvr: [__uint64_t; 16usize], | |
pub __wcr: [__uint64_t; 16usize], | |
pub __mdscr_el1: __uint64_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __darwin_arm_cpmu_state64 { | |
pub __ctrs: [__uint64_t; 16usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __darwin_mcontext32 { | |
pub __es: __darwin_arm_exception_state, | |
pub __ss: __darwin_arm_thread_state, | |
pub __fs: __darwin_arm_vfp_state, | |
} | |
#[repr(C)] | |
#[repr(align(16))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __darwin_mcontext64 { | |
pub __es: __darwin_arm_exception_state64, | |
pub __ss: __darwin_arm_thread_state64, | |
pub __ns: __darwin_arm_neon_state64, | |
} | |
pub type mcontext_t = *mut __darwin_mcontext64; | |
pub type pthread_attr_t = __darwin_pthread_attr_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __darwin_sigaltstack { | |
pub ss_sp: *mut ::std::os::raw::c_void, | |
pub ss_size: __darwin_size_t, | |
pub ss_flags: ::std::os::raw::c_int, | |
} | |
pub type stack_t = __darwin_sigaltstack; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __darwin_ucontext { | |
pub uc_onstack: ::std::os::raw::c_int, | |
pub uc_sigmask: __darwin_sigset_t, | |
pub uc_stack: __darwin_sigaltstack, | |
pub uc_link: *mut __darwin_ucontext, | |
pub uc_mcsize: __darwin_size_t, | |
pub uc_mcontext: *mut __darwin_mcontext64, | |
} | |
pub type ucontext_t = __darwin_ucontext; | |
pub type pid_t = __darwin_pid_t; | |
pub type sigset_t = __darwin_sigset_t; | |
pub type uid_t = __darwin_uid_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, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub struct sigevent { | |
pub sigev_notify: ::std::os::raw::c_int, | |
pub sigev_signo: ::std::os::raw::c_int, | |
pub sigev_value: sigval, | |
pub sigev_notify_function: ::std::option::Option<unsafe extern "C" fn(arg1: sigval)>, | |
pub sigev_notify_attributes: *mut pthread_attr_t, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub struct __siginfo { | |
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 si_pid: pid_t, | |
pub si_uid: uid_t, | |
pub si_status: ::std::os::raw::c_int, | |
pub si_addr: *mut ::std::os::raw::c_void, | |
pub si_value: sigval, | |
pub si_band: ::std::os::raw::c_long, | |
pub __pad: [::std::os::raw::c_ulong; 7usize], | |
} | |
pub type siginfo_t = __siginfo; | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union __sigaction_u { | |
pub __sa_handler: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>, | |
pub __sa_sigaction: ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut __siginfo, | |
arg3: *mut ::std::os::raw::c_void, | |
), | |
>, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub struct __sigaction { | |
pub __sigaction_u: __sigaction_u, | |
pub sa_tramp: ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: *mut ::std::os::raw::c_void, | |
arg2: ::std::os::raw::c_int, | |
arg3: ::std::os::raw::c_int, | |
arg4: *mut siginfo_t, | |
arg5: *mut ::std::os::raw::c_void, | |
), | |
>, | |
pub sa_mask: sigset_t, | |
pub sa_flags: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub struct sigaction { | |
pub __sigaction_u: __sigaction_u, | |
pub sa_mask: sigset_t, | |
pub sa_flags: ::std::os::raw::c_int, | |
} | |
pub type sig_t = ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sigvec { | |
pub sv_handler: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>, | |
pub sv_mask: ::std::os::raw::c_int, | |
pub sv_flags: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sigstack { | |
pub ss_sp: *mut ::std::os::raw::c_char, | |
pub ss_onstack: ::std::os::raw::c_int, | |
} | |
extern "C" { | |
pub fn signal( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>, | |
) -> ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>, | |
), | |
>; | |
} | |
pub type pthread_t = __darwin_pthread_t; | |
extern "C" { | |
pub static sys_signame: [*const ::std::os::raw::c_char; 32usize]; | |
} | |
extern "C" { | |
pub static sys_siglist: [*const ::std::os::raw::c_char; 32usize]; | |
} | |
extern "C" { | |
pub fn raise(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn bsd_signal( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>, | |
) -> ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>, | |
), | |
>; | |
} | |
extern "C" { | |
pub fn kill(arg1: pid_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn killpg(arg1: pid_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_kill(arg1: pthread_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_sigmask( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const sigset_t, | |
arg3: *mut sigset_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sigaction( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const sigaction, | |
arg3: *mut sigaction, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sigaddset(arg1: *mut sigset_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sigaltstack(arg1: *const stack_t, arg2: *mut stack_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sigdelset(arg1: *mut sigset_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sigemptyset(arg1: *mut sigset_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sigfillset(arg1: *mut sigset_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sighold(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sigignore(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn siginterrupt( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sigismember(arg1: *const sigset_t, arg2: ::std::os::raw::c_int) | |
-> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sigpause(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sigpending(arg1: *mut sigset_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sigprocmask( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const sigset_t, | |
arg3: *mut sigset_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sigrelse(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sigset( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>, | |
) -> ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>, | |
), | |
>; | |
} | |
extern "C" { | |
pub fn sigsuspend(arg1: *const sigset_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sigwait( | |
arg1: *const sigset_t, | |
arg2: *mut ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn psignal(arg1: ::std::os::raw::c_int, arg2: *const ::std::os::raw::c_char); | |
} | |
extern "C" { | |
pub fn sigblock(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sigsetmask(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sigvec( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut sigvec, | |
arg3: *mut sigvec, | |
) -> ::std::os::raw::c_int; | |
} | |
pub type va_list = __builtin_va_list; | |
pub type __gnuc_va_list = __builtin_va_list; | |
pub type rsize_t = ::std::os::raw::c_ulong; | |
pub const memory_order_memory_order_relaxed: memory_order = 0; | |
pub const memory_order_memory_order_consume: memory_order = 1; | |
pub const memory_order_memory_order_acquire: memory_order = 2; | |
pub const memory_order_memory_order_release: memory_order = 3; | |
pub const memory_order_memory_order_acq_rel: memory_order = 4; | |
pub const memory_order_memory_order_seq_cst: memory_order = 5; | |
pub type memory_order = ::std::os::raw::c_uint; | |
extern "C" { | |
pub fn atomic_thread_fence(arg1: memory_order); | |
} | |
extern "C" { | |
pub fn atomic_signal_fence(arg1: memory_order); | |
} | |
pub type atomic_bool = u8; | |
pub type atomic_char = u8; | |
pub type atomic_schar = u8; | |
pub type atomic_uchar = u8; | |
pub type atomic_short = u16; | |
pub type atomic_ushort = u16; | |
pub type atomic_int = u32; | |
pub type atomic_uint = u32; | |
pub type atomic_long = u64; | |
pub type atomic_ulong = u64; | |
pub type atomic_llong = u64; | |
pub type atomic_ullong = u64; | |
pub type atomic_char16_t = u16; | |
pub type atomic_char32_t = u32; | |
pub type atomic_wchar_t = u32; | |
pub type atomic_int_least8_t = u8; | |
pub type atomic_uint_least8_t = u8; | |
pub type atomic_int_least16_t = u16; | |
pub type atomic_uint_least16_t = u16; | |
pub type atomic_int_least32_t = u32; | |
pub type atomic_uint_least32_t = u32; | |
pub type atomic_int_least64_t = u64; | |
pub type atomic_uint_least64_t = u64; | |
pub type atomic_int_fast8_t = u8; | |
pub type atomic_uint_fast8_t = u8; | |
pub type atomic_int_fast16_t = u16; | |
pub type atomic_uint_fast16_t = u16; | |
pub type atomic_int_fast32_t = u32; | |
pub type atomic_uint_fast32_t = u32; | |
pub type atomic_int_fast64_t = u64; | |
pub type atomic_uint_fast64_t = u64; | |
pub type atomic_intptr_t = u64; | |
pub type atomic_uintptr_t = u64; | |
pub type atomic_size_t = u64; | |
pub type atomic_ptrdiff_t = u64; | |
pub type atomic_intmax_t = u64; | |
pub type atomic_uintmax_t = u64; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct atomic_flag { | |
pub _Value: atomic_bool, | |
} | |
extern "C" { | |
pub fn atomic_flag_test_and_set(arg1: *mut atomic_flag) -> bool; | |
} | |
extern "C" { | |
pub fn atomic_flag_test_and_set_explicit(arg1: *mut atomic_flag, arg2: memory_order) -> bool; | |
} | |
extern "C" { | |
pub fn atomic_flag_clear(arg1: *mut atomic_flag); | |
} | |
extern "C" { | |
pub fn atomic_flag_clear_explicit(arg1: *mut atomic_flag, arg2: memory_order); | |
} | |
extern "C" { | |
pub fn renameat( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_int, | |
arg4: *const ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn renamex_np( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_uint, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn renameatx_np( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_int, | |
arg4: *const ::std::os::raw::c_char, | |
arg5: ::std::os::raw::c_uint, | |
) -> ::std::os::raw::c_int; | |
} | |
pub type fpos_t = __darwin_off_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __sbuf { | |
pub _base: *mut ::std::os::raw::c_uchar, | |
pub _size: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __sFILEX { | |
_unused: [u8; 0], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __sFILE { | |
pub _p: *mut ::std::os::raw::c_uchar, | |
pub _r: ::std::os::raw::c_int, | |
pub _w: ::std::os::raw::c_int, | |
pub _flags: ::std::os::raw::c_short, | |
pub _file: ::std::os::raw::c_short, | |
pub _bf: __sbuf, | |
pub _lbfsize: ::std::os::raw::c_int, | |
pub _cookie: *mut ::std::os::raw::c_void, | |
pub _close: ::std::option::Option< | |
unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, | |
>, | |
pub _read: ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: *mut ::std::os::raw::c_void, | |
arg2: *mut ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int, | |
>, | |
pub _seek: ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: *mut ::std::os::raw::c_void, | |
arg2: fpos_t, | |
arg3: ::std::os::raw::c_int, | |
) -> fpos_t, | |
>, | |
pub _write: ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: *mut ::std::os::raw::c_void, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int, | |
>, | |
pub _ub: __sbuf, | |
pub _extra: *mut __sFILEX, | |
pub _ur: ::std::os::raw::c_int, | |
pub _ubuf: [::std::os::raw::c_uchar; 3usize], | |
pub _nbuf: [::std::os::raw::c_uchar; 1usize], | |
pub _lb: __sbuf, | |
pub _blksize: ::std::os::raw::c_int, | |
pub _offset: fpos_t, | |
} | |
pub type FILE = __sFILE; | |
extern "C" { | |
pub static mut __stdinp: *mut FILE; | |
} | |
extern "C" { | |
pub static mut __stdoutp: *mut FILE; | |
} | |
extern "C" { | |
pub static mut __stderrp: *mut FILE; | |
} | |
extern "C" { | |
pub fn clearerr(arg1: *mut FILE); | |
} | |
extern "C" { | |
pub fn fclose(arg1: *mut FILE) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn feof(arg1: *mut FILE) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn ferror(arg1: *mut FILE) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fflush(arg1: *mut FILE) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fgetc(arg1: *mut FILE) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fgetpos(arg1: *mut FILE, arg2: *mut fpos_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fgets( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
arg3: *mut FILE, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn fopen( | |
__filename: *const ::std::os::raw::c_char, | |
__mode: *const ::std::os::raw::c_char, | |
) -> *mut FILE; | |
} | |
extern "C" { | |
pub fn fprintf( | |
arg1: *mut FILE, | |
arg2: *const ::std::os::raw::c_char, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fputc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fputs(arg1: *const ::std::os::raw::c_char, arg2: *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, | |
__nitems: ::std::os::raw::c_ulong, | |
__stream: *mut FILE, | |
) -> ::std::os::raw::c_ulong; | |
} | |
extern "C" { | |
pub fn freopen( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: *mut FILE, | |
) -> *mut FILE; | |
} | |
extern "C" { | |
pub fn fscanf( | |
arg1: *mut FILE, | |
arg2: *const ::std::os::raw::c_char, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fseek( | |
arg1: *mut FILE, | |
arg2: ::std::os::raw::c_long, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fsetpos(arg1: *mut FILE, arg2: *const fpos_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn ftell(arg1: *mut FILE) -> ::std::os::raw::c_long; | |
} | |
extern "C" { | |
pub fn fwrite( | |
__ptr: *const ::std::os::raw::c_void, | |
__size: ::std::os::raw::c_ulong, | |
__nitems: ::std::os::raw::c_ulong, | |
__stream: *mut FILE, | |
) -> ::std::os::raw::c_ulong; | |
} | |
extern "C" { | |
pub fn getc(arg1: *mut FILE) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getchar() -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn gets(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn perror(arg1: *const ::std::os::raw::c_char); | |
} | |
extern "C" { | |
pub fn printf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn putc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn putchar(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn puts(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn remove(arg1: *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 rewind(arg1: *mut FILE); | |
} | |
extern "C" { | |
pub fn scanf(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn setbuf(arg1: *mut FILE, arg2: *mut ::std::os::raw::c_char); | |
} | |
extern "C" { | |
pub fn setvbuf( | |
arg1: *mut FILE, | |
arg2: *mut ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_int, | |
arg4: usize, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sprintf( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sscanf( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn tmpfile() -> *mut FILE; | |
} | |
extern "C" { | |
pub fn tmpnam(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn ungetc(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vfprintf( | |
arg1: *mut FILE, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: __builtin_va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vprintf( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: __builtin_va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vsprintf( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: __builtin_va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn ctermid(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn fdopen(arg1: ::std::os::raw::c_int, arg2: *const ::std::os::raw::c_char) -> *mut FILE; | |
} | |
extern "C" { | |
pub fn fileno(arg1: *mut FILE) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pclose(arg1: *mut FILE) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn popen( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
) -> *mut FILE; | |
} | |
extern "C" { | |
pub fn __srget(arg1: *mut FILE) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn __svfscanf( | |
arg1: *mut FILE, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn __swbuf(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn flockfile(arg1: *mut FILE); | |
} | |
extern "C" { | |
pub fn ftrylockfile(arg1: *mut FILE) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn funlockfile(arg1: *mut FILE); | |
} | |
extern "C" { | |
pub fn getc_unlocked(arg1: *mut FILE) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getchar_unlocked() -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn putc_unlocked(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn putchar_unlocked(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getw(arg1: *mut FILE) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn putw(arg1: ::std::os::raw::c_int, arg2: *mut FILE) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn tempnam( | |
__dir: *const ::std::os::raw::c_char, | |
__prefix: *const ::std::os::raw::c_char, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
pub type off_t = __darwin_off_t; | |
extern "C" { | |
pub fn fseeko( | |
__stream: *mut FILE, | |
__offset: 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 snprintf( | |
__str: *mut ::std::os::raw::c_char, | |
__size: ::std::os::raw::c_ulong, | |
__format: *const ::std::os::raw::c_char, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vfscanf( | |
__stream: *mut FILE, | |
__format: *const ::std::os::raw::c_char, | |
arg1: __builtin_va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vscanf( | |
__format: *const ::std::os::raw::c_char, | |
arg1: __builtin_va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vsnprintf( | |
__str: *mut ::std::os::raw::c_char, | |
__size: ::std::os::raw::c_ulong, | |
__format: *const ::std::os::raw::c_char, | |
arg1: __builtin_va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vsscanf( | |
__str: *const ::std::os::raw::c_char, | |
__format: *const ::std::os::raw::c_char, | |
arg1: __builtin_va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn dprintf( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vdprintf( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getdelim( | |
__linep: *mut *mut ::std::os::raw::c_char, | |
__linecapp: *mut usize, | |
__delimiter: ::std::os::raw::c_int, | |
__stream: *mut FILE, | |
) -> isize; | |
} | |
extern "C" { | |
pub fn getline( | |
__linep: *mut *mut ::std::os::raw::c_char, | |
__linecapp: *mut usize, | |
__stream: *mut FILE, | |
) -> isize; | |
} | |
extern "C" { | |
pub fn fmemopen( | |
__buf: *mut ::std::os::raw::c_void, | |
__size: usize, | |
__mode: *const ::std::os::raw::c_char, | |
) -> *mut FILE; | |
} | |
extern "C" { | |
pub fn open_memstream( | |
__bufp: *mut *mut ::std::os::raw::c_char, | |
__sizep: *mut usize, | |
) -> *mut FILE; | |
} | |
extern "C" { | |
pub static sys_nerr: ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub static sys_errlist: [*const ::std::os::raw::c_char; 0usize]; | |
} | |
extern "C" { | |
pub fn asprintf( | |
arg1: *mut *mut ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn ctermid_r(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn fgetln(arg1: *mut FILE, arg2: *mut usize) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn fmtcheck( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
) -> *const ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn fpurge(arg1: *mut FILE) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn setbuffer( | |
arg1: *mut FILE, | |
arg2: *mut ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_int, | |
); | |
} | |
extern "C" { | |
pub fn setlinebuf(arg1: *mut FILE) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vasprintf( | |
arg1: *mut *mut ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn funopen( | |
arg1: *const ::std::os::raw::c_void, | |
arg2: ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: *mut ::std::os::raw::c_void, | |
arg2: *mut ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int, | |
>, | |
arg3: ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: *mut ::std::os::raw::c_void, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int, | |
>, | |
arg4: ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: *mut ::std::os::raw::c_void, | |
arg2: fpos_t, | |
arg3: ::std::os::raw::c_int, | |
) -> fpos_t, | |
>, | |
arg5: ::std::option::Option< | |
unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, | |
>, | |
) -> *mut FILE; | |
} | |
extern "C" { | |
pub fn __sprintf_chk( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
arg3: usize, | |
arg4: *const ::std::os::raw::c_char, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn __snprintf_chk( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: usize, | |
arg3: ::std::os::raw::c_int, | |
arg4: usize, | |
arg5: *const ::std::os::raw::c_char, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn __vsprintf_chk( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
arg3: usize, | |
arg4: *const ::std::os::raw::c_char, | |
arg5: va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn __vsnprintf_chk( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: usize, | |
arg3: ::std::os::raw::c_int, | |
arg4: usize, | |
arg5: *const ::std::os::raw::c_char, | |
arg6: va_list, | |
) -> ::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 = ::std::os::raw::c_uint; | |
pub type id_t = __darwin_id_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct timeval { | |
pub tv_sec: __darwin_time_t, | |
pub tv_usec: __darwin_suseconds_t, | |
} | |
pub type rlim_t = __uint64_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct rusage { | |
pub ru_utime: timeval, | |
pub ru_stime: timeval, | |
pub ru_maxrss: ::std::os::raw::c_long, | |
pub ru_ixrss: ::std::os::raw::c_long, | |
pub ru_idrss: ::std::os::raw::c_long, | |
pub ru_isrss: ::std::os::raw::c_long, | |
pub ru_minflt: ::std::os::raw::c_long, | |
pub ru_majflt: ::std::os::raw::c_long, | |
pub ru_nswap: ::std::os::raw::c_long, | |
pub ru_inblock: ::std::os::raw::c_long, | |
pub ru_oublock: ::std::os::raw::c_long, | |
pub ru_msgsnd: ::std::os::raw::c_long, | |
pub ru_msgrcv: ::std::os::raw::c_long, | |
pub ru_nsignals: ::std::os::raw::c_long, | |
pub ru_nvcsw: ::std::os::raw::c_long, | |
pub ru_nivcsw: ::std::os::raw::c_long, | |
} | |
pub type rusage_info_t = *mut ::std::os::raw::c_void; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct rusage_info_v0 { | |
pub ri_uuid: [u8; 16usize], | |
pub ri_user_time: u64, | |
pub ri_system_time: u64, | |
pub ri_pkg_idle_wkups: u64, | |
pub ri_interrupt_wkups: u64, | |
pub ri_pageins: u64, | |
pub ri_wired_size: u64, | |
pub ri_resident_size: u64, | |
pub ri_phys_footprint: u64, | |
pub ri_proc_start_abstime: u64, | |
pub ri_proc_exit_abstime: u64, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct rusage_info_v1 { | |
pub ri_uuid: [u8; 16usize], | |
pub ri_user_time: u64, | |
pub ri_system_time: u64, | |
pub ri_pkg_idle_wkups: u64, | |
pub ri_interrupt_wkups: u64, | |
pub ri_pageins: u64, | |
pub ri_wired_size: u64, | |
pub ri_resident_size: u64, | |
pub ri_phys_footprint: u64, | |
pub ri_proc_start_abstime: u64, | |
pub ri_proc_exit_abstime: u64, | |
pub ri_child_user_time: u64, | |
pub ri_child_system_time: u64, | |
pub ri_child_pkg_idle_wkups: u64, | |
pub ri_child_interrupt_wkups: u64, | |
pub ri_child_pageins: u64, | |
pub ri_child_elapsed_abstime: u64, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct rusage_info_v2 { | |
pub ri_uuid: [u8; 16usize], | |
pub ri_user_time: u64, | |
pub ri_system_time: u64, | |
pub ri_pkg_idle_wkups: u64, | |
pub ri_interrupt_wkups: u64, | |
pub ri_pageins: u64, | |
pub ri_wired_size: u64, | |
pub ri_resident_size: u64, | |
pub ri_phys_footprint: u64, | |
pub ri_proc_start_abstime: u64, | |
pub ri_proc_exit_abstime: u64, | |
pub ri_child_user_time: u64, | |
pub ri_child_system_time: u64, | |
pub ri_child_pkg_idle_wkups: u64, | |
pub ri_child_interrupt_wkups: u64, | |
pub ri_child_pageins: u64, | |
pub ri_child_elapsed_abstime: u64, | |
pub ri_diskio_bytesread: u64, | |
pub ri_diskio_byteswritten: u64, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct rusage_info_v3 { | |
pub ri_uuid: [u8; 16usize], | |
pub ri_user_time: u64, | |
pub ri_system_time: u64, | |
pub ri_pkg_idle_wkups: u64, | |
pub ri_interrupt_wkups: u64, | |
pub ri_pageins: u64, | |
pub ri_wired_size: u64, | |
pub ri_resident_size: u64, | |
pub ri_phys_footprint: u64, | |
pub ri_proc_start_abstime: u64, | |
pub ri_proc_exit_abstime: u64, | |
pub ri_child_user_time: u64, | |
pub ri_child_system_time: u64, | |
pub ri_child_pkg_idle_wkups: u64, | |
pub ri_child_interrupt_wkups: u64, | |
pub ri_child_pageins: u64, | |
pub ri_child_elapsed_abstime: u64, | |
pub ri_diskio_bytesread: u64, | |
pub ri_diskio_byteswritten: u64, | |
pub ri_cpu_time_qos_default: u64, | |
pub ri_cpu_time_qos_maintenance: u64, | |
pub ri_cpu_time_qos_background: u64, | |
pub ri_cpu_time_qos_utility: u64, | |
pub ri_cpu_time_qos_legacy: u64, | |
pub ri_cpu_time_qos_user_initiated: u64, | |
pub ri_cpu_time_qos_user_interactive: u64, | |
pub ri_billed_system_time: u64, | |
pub ri_serviced_system_time: u64, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct rusage_info_v4 { | |
pub ri_uuid: [u8; 16usize], | |
pub ri_user_time: u64, | |
pub ri_system_time: u64, | |
pub ri_pkg_idle_wkups: u64, | |
pub ri_interrupt_wkups: u64, | |
pub ri_pageins: u64, | |
pub ri_wired_size: u64, | |
pub ri_resident_size: u64, | |
pub ri_phys_footprint: u64, | |
pub ri_proc_start_abstime: u64, | |
pub ri_proc_exit_abstime: u64, | |
pub ri_child_user_time: u64, | |
pub ri_child_system_time: u64, | |
pub ri_child_pkg_idle_wkups: u64, | |
pub ri_child_interrupt_wkups: u64, | |
pub ri_child_pageins: u64, | |
pub ri_child_elapsed_abstime: u64, | |
pub ri_diskio_bytesread: u64, | |
pub ri_diskio_byteswritten: u64, | |
pub ri_cpu_time_qos_default: u64, | |
pub ri_cpu_time_qos_maintenance: u64, | |
pub ri_cpu_time_qos_background: u64, | |
pub ri_cpu_time_qos_utility: u64, | |
pub ri_cpu_time_qos_legacy: u64, | |
pub ri_cpu_time_qos_user_initiated: u64, | |
pub ri_cpu_time_qos_user_interactive: u64, | |
pub ri_billed_system_time: u64, | |
pub ri_serviced_system_time: u64, | |
pub ri_logical_writes: u64, | |
pub ri_lifetime_max_phys_footprint: u64, | |
pub ri_instructions: u64, | |
pub ri_cycles: u64, | |
pub ri_billed_energy: u64, | |
pub ri_serviced_energy: u64, | |
pub ri_interval_max_phys_footprint: u64, | |
pub ri_runnable_time: u64, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct rusage_info_v5 { | |
pub ri_uuid: [u8; 16usize], | |
pub ri_user_time: u64, | |
pub ri_system_time: u64, | |
pub ri_pkg_idle_wkups: u64, | |
pub ri_interrupt_wkups: u64, | |
pub ri_pageins: u64, | |
pub ri_wired_size: u64, | |
pub ri_resident_size: u64, | |
pub ri_phys_footprint: u64, | |
pub ri_proc_start_abstime: u64, | |
pub ri_proc_exit_abstime: u64, | |
pub ri_child_user_time: u64, | |
pub ri_child_system_time: u64, | |
pub ri_child_pkg_idle_wkups: u64, | |
pub ri_child_interrupt_wkups: u64, | |
pub ri_child_pageins: u64, | |
pub ri_child_elapsed_abstime: u64, | |
pub ri_diskio_bytesread: u64, | |
pub ri_diskio_byteswritten: u64, | |
pub ri_cpu_time_qos_default: u64, | |
pub ri_cpu_time_qos_maintenance: u64, | |
pub ri_cpu_time_qos_background: u64, | |
pub ri_cpu_time_qos_utility: u64, | |
pub ri_cpu_time_qos_legacy: u64, | |
pub ri_cpu_time_qos_user_initiated: u64, | |
pub ri_cpu_time_qos_user_interactive: u64, | |
pub ri_billed_system_time: u64, | |
pub ri_serviced_system_time: u64, | |
pub ri_logical_writes: u64, | |
pub ri_lifetime_max_phys_footprint: u64, | |
pub ri_instructions: u64, | |
pub ri_cycles: u64, | |
pub ri_billed_energy: u64, | |
pub ri_serviced_energy: u64, | |
pub ri_interval_max_phys_footprint: u64, | |
pub ri_runnable_time: u64, | |
pub ri_flags: u64, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct rusage_info_v6 { | |
pub ri_uuid: [u8; 16usize], | |
pub ri_user_time: u64, | |
pub ri_system_time: u64, | |
pub ri_pkg_idle_wkups: u64, | |
pub ri_interrupt_wkups: u64, | |
pub ri_pageins: u64, | |
pub ri_wired_size: u64, | |
pub ri_resident_size: u64, | |
pub ri_phys_footprint: u64, | |
pub ri_proc_start_abstime: u64, | |
pub ri_proc_exit_abstime: u64, | |
pub ri_child_user_time: u64, | |
pub ri_child_system_time: u64, | |
pub ri_child_pkg_idle_wkups: u64, | |
pub ri_child_interrupt_wkups: u64, | |
pub ri_child_pageins: u64, | |
pub ri_child_elapsed_abstime: u64, | |
pub ri_diskio_bytesread: u64, | |
pub ri_diskio_byteswritten: u64, | |
pub ri_cpu_time_qos_default: u64, | |
pub ri_cpu_time_qos_maintenance: u64, | |
pub ri_cpu_time_qos_background: u64, | |
pub ri_cpu_time_qos_utility: u64, | |
pub ri_cpu_time_qos_legacy: u64, | |
pub ri_cpu_time_qos_user_initiated: u64, | |
pub ri_cpu_time_qos_user_interactive: u64, | |
pub ri_billed_system_time: u64, | |
pub ri_serviced_system_time: u64, | |
pub ri_logical_writes: u64, | |
pub ri_lifetime_max_phys_footprint: u64, | |
pub ri_instructions: u64, | |
pub ri_cycles: u64, | |
pub ri_billed_energy: u64, | |
pub ri_serviced_energy: u64, | |
pub ri_interval_max_phys_footprint: u64, | |
pub ri_runnable_time: u64, | |
pub ri_flags: u64, | |
pub ri_user_ptime: u64, | |
pub ri_system_ptime: u64, | |
pub ri_pinstructions: u64, | |
pub ri_pcycles: u64, | |
pub ri_energy_nj: u64, | |
pub ri_penergy_nj: u64, | |
pub ri_reserved: [u64; 14usize], | |
} | |
pub type rusage_info_current = rusage_info_v6; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct rlimit { | |
pub rlim_cur: rlim_t, | |
pub rlim_max: rlim_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct proc_rlimit_control_wakeupmon { | |
pub wm_flags: u32, | |
pub wm_rate: i32, | |
} | |
extern "C" { | |
pub fn getpriority(arg1: ::std::os::raw::c_int, arg2: id_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getiopolicy_np( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getrlimit(arg1: ::std::os::raw::c_int, arg2: *mut rlimit) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getrusage(arg1: ::std::os::raw::c_int, arg2: *mut rusage) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn setpriority( | |
arg1: ::std::os::raw::c_int, | |
arg2: id_t, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn setiopolicy_np( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn setrlimit(arg1: ::std::os::raw::c_int, arg2: *const rlimit) -> ::std::os::raw::c_int; | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct _OSUnalignedU16 { | |
pub __val: u16, | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct _OSUnalignedU32 { | |
pub __val: u32, | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct _OSUnalignedU64 { | |
pub __val: u64, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union wait { | |
pub __bindgen_anon_1: wait__bindgen_ty_1, | |
pub __bindgen_anon_2: wait__bindgen_ty_2, | |
pub w_status: ::std::os::raw::c_int, | |
pub w_T: wait__bindgen_ty_1, | |
pub w_S: wait__bindgen_ty_2, | |
} | |
#[repr(C)] | |
#[repr(align(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct wait__bindgen_ty_1 { | |
pub _bitfield_align_1: [u16; 0], | |
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, | |
} | |
impl wait__bindgen_ty_1 { | |
#[inline] | |
pub fn w_Termsig(&self) -> ::std::os::raw::c_uint { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 7u8) as u32) } | |
} | |
#[inline] | |
pub fn set_w_Termsig(&mut self, val: ::std::os::raw::c_uint) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(0usize, 7u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn w_Coredump(&self) -> ::std::os::raw::c_uint { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u32) } | |
} | |
#[inline] | |
pub fn set_w_Coredump(&mut self, val: ::std::os::raw::c_uint) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(7usize, 1u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn w_Retcode(&self) -> ::std::os::raw::c_uint { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_w_Retcode(&mut self, val: ::std::os::raw::c_uint) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(8usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn w_Filler(&self) -> ::std::os::raw::c_uint { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } | |
} | |
#[inline] | |
pub fn set_w_Filler(&mut self, val: ::std::os::raw::c_uint) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(16usize, 16u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn new_bitfield_1( | |
w_Termsig: ::std::os::raw::c_uint, | |
w_Coredump: ::std::os::raw::c_uint, | |
w_Retcode: ::std::os::raw::c_uint, | |
w_Filler: ::std::os::raw::c_uint, | |
) -> __BindgenBitfieldUnit<[u8; 4usize]> { | |
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); | |
__bindgen_bitfield_unit.set(0usize, 7u8, { | |
let w_Termsig: u32 = unsafe { ::std::mem::transmute(w_Termsig) }; | |
w_Termsig as u64 | |
}); | |
__bindgen_bitfield_unit.set(7usize, 1u8, { | |
let w_Coredump: u32 = unsafe { ::std::mem::transmute(w_Coredump) }; | |
w_Coredump as u64 | |
}); | |
__bindgen_bitfield_unit.set(8usize, 8u8, { | |
let w_Retcode: u32 = unsafe { ::std::mem::transmute(w_Retcode) }; | |
w_Retcode as u64 | |
}); | |
__bindgen_bitfield_unit.set(16usize, 16u8, { | |
let w_Filler: u32 = unsafe { ::std::mem::transmute(w_Filler) }; | |
w_Filler as u64 | |
}); | |
__bindgen_bitfield_unit | |
} | |
} | |
#[repr(C)] | |
#[repr(align(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct wait__bindgen_ty_2 { | |
pub _bitfield_align_1: [u16; 0], | |
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, | |
} | |
impl wait__bindgen_ty_2 { | |
#[inline] | |
pub fn w_Stopval(&self) -> ::std::os::raw::c_uint { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_w_Stopval(&mut self, val: ::std::os::raw::c_uint) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(0usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn w_Stopsig(&self) -> ::std::os::raw::c_uint { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_w_Stopsig(&mut self, val: ::std::os::raw::c_uint) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(8usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn w_Filler(&self) -> ::std::os::raw::c_uint { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) } | |
} | |
#[inline] | |
pub fn set_w_Filler(&mut self, val: ::std::os::raw::c_uint) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(16usize, 16u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn new_bitfield_1( | |
w_Stopval: ::std::os::raw::c_uint, | |
w_Stopsig: ::std::os::raw::c_uint, | |
w_Filler: ::std::os::raw::c_uint, | |
) -> __BindgenBitfieldUnit<[u8; 4usize]> { | |
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); | |
__bindgen_bitfield_unit.set(0usize, 8u8, { | |
let w_Stopval: u32 = unsafe { ::std::mem::transmute(w_Stopval) }; | |
w_Stopval as u64 | |
}); | |
__bindgen_bitfield_unit.set(8usize, 8u8, { | |
let w_Stopsig: u32 = unsafe { ::std::mem::transmute(w_Stopsig) }; | |
w_Stopsig as u64 | |
}); | |
__bindgen_bitfield_unit.set(16usize, 16u8, { | |
let w_Filler: u32 = unsafe { ::std::mem::transmute(w_Filler) }; | |
w_Filler as u64 | |
}); | |
__bindgen_bitfield_unit | |
} | |
} | |
extern "C" { | |
pub fn wait(arg1: *mut ::std::os::raw::c_int) -> pid_t; | |
} | |
extern "C" { | |
pub fn waitpid( | |
arg1: pid_t, | |
arg2: *mut ::std::os::raw::c_int, | |
arg3: ::std::os::raw::c_int, | |
) -> pid_t; | |
} | |
extern "C" { | |
pub fn waitid( | |
arg1: idtype_t, | |
arg2: id_t, | |
arg3: *mut siginfo_t, | |
arg4: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wait3( | |
arg1: *mut ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
arg3: *mut rusage, | |
) -> pid_t; | |
} | |
extern "C" { | |
pub fn wait4( | |
arg1: pid_t, | |
arg2: *mut ::std::os::raw::c_int, | |
arg3: ::std::os::raw::c_int, | |
arg4: *mut rusage, | |
) -> pid_t; | |
} | |
extern "C" { | |
pub fn alloca(arg1: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct div_t { | |
pub quot: ::std::os::raw::c_int, | |
pub rem: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ldiv_t { | |
pub quot: ::std::os::raw::c_long, | |
pub rem: ::std::os::raw::c_long, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct lldiv_t { | |
pub quot: ::std::os::raw::c_longlong, | |
pub rem: ::std::os::raw::c_longlong, | |
} | |
extern "C" { | |
pub static mut __mb_cur_max: ::std::os::raw::c_int; | |
} | |
pub type malloc_type_id_t = ::std::os::raw::c_ulonglong; | |
extern "C" { | |
pub fn malloc_type_malloc( | |
size: usize, | |
type_id: malloc_type_id_t, | |
) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn malloc_type_calloc( | |
count: usize, | |
size: usize, | |
type_id: malloc_type_id_t, | |
) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn malloc_type_free(ptr: *mut ::std::os::raw::c_void, type_id: malloc_type_id_t); | |
} | |
extern "C" { | |
pub fn malloc_type_realloc( | |
ptr: *mut ::std::os::raw::c_void, | |
size: usize, | |
type_id: malloc_type_id_t, | |
) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn malloc_type_valloc( | |
size: usize, | |
type_id: malloc_type_id_t, | |
) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn malloc_type_aligned_alloc( | |
alignment: usize, | |
size: usize, | |
type_id: malloc_type_id_t, | |
) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn malloc_type_posix_memalign( | |
memptr: *mut *mut ::std::os::raw::c_void, | |
alignment: usize, | |
size: usize, | |
type_id: malloc_type_id_t, | |
) -> ::std::os::raw::c_int; | |
} | |
pub type malloc_zone_t = _malloc_zone_t; | |
extern "C" { | |
pub fn malloc_type_zone_malloc( | |
zone: *mut malloc_zone_t, | |
size: usize, | |
type_id: malloc_type_id_t, | |
) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn malloc_type_zone_calloc( | |
zone: *mut malloc_zone_t, | |
count: usize, | |
size: usize, | |
type_id: malloc_type_id_t, | |
) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn malloc_type_zone_free( | |
zone: *mut malloc_zone_t, | |
ptr: *mut ::std::os::raw::c_void, | |
type_id: malloc_type_id_t, | |
); | |
} | |
extern "C" { | |
pub fn malloc_type_zone_realloc( | |
zone: *mut malloc_zone_t, | |
ptr: *mut ::std::os::raw::c_void, | |
size: usize, | |
type_id: malloc_type_id_t, | |
) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn malloc_type_zone_valloc( | |
zone: *mut malloc_zone_t, | |
size: usize, | |
type_id: malloc_type_id_t, | |
) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn malloc_type_zone_memalign( | |
zone: *mut malloc_zone_t, | |
alignment: usize, | |
size: usize, | |
type_id: malloc_type_id_t, | |
) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn malloc(__size: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn calloc( | |
__count: ::std::os::raw::c_ulong, | |
__size: ::std::os::raw::c_ulong, | |
) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn free(arg1: *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 valloc(arg1: usize) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn aligned_alloc( | |
__alignment: ::std::os::raw::c_ulong, | |
__size: ::std::os::raw::c_ulong, | |
) -> *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 abort() -> !; | |
} | |
extern "C" { | |
pub fn abs(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn atexit(arg1: ::std::option::Option<unsafe extern "C" fn()>) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn atof(arg1: *const ::std::os::raw::c_char) -> f64; | |
} | |
extern "C" { | |
pub fn atoi(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn atol(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; | |
} | |
extern "C" { | |
pub fn atoll(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_longlong; | |
} | |
extern "C" { | |
pub fn bsearch( | |
__key: *const ::std::os::raw::c_void, | |
__base: *const ::std::os::raw::c_void, | |
__nel: usize, | |
__width: usize, | |
__compar: ::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, | |
>, | |
) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn div(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> div_t; | |
} | |
extern "C" { | |
pub fn exit(arg1: ::std::os::raw::c_int) -> !; | |
} | |
extern "C" { | |
pub fn getenv(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn labs(arg1: ::std::os::raw::c_long) -> ::std::os::raw::c_long; | |
} | |
extern "C" { | |
pub fn ldiv(arg1: ::std::os::raw::c_long, arg2: ::std::os::raw::c_long) -> ldiv_t; | |
} | |
extern "C" { | |
pub fn llabs(arg1: ::std::os::raw::c_longlong) -> ::std::os::raw::c_longlong; | |
} | |
extern "C" { | |
pub fn lldiv(arg1: ::std::os::raw::c_longlong, arg2: ::std::os::raw::c_longlong) -> lldiv_t; | |
} | |
extern "C" { | |
pub fn mblen(__s: *const ::std::os::raw::c_char, __n: usize) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn mbstowcs(arg1: *mut wchar_t, arg2: *const ::std::os::raw::c_char, arg3: usize) -> usize; | |
} | |
extern "C" { | |
pub fn mbtowc( | |
arg1: *mut wchar_t, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: usize, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn qsort( | |
__base: *mut ::std::os::raw::c_void, | |
__nel: usize, | |
__width: usize, | |
__compar: ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: *const ::std::os::raw::c_void, | |
arg2: *const ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int, | |
>, | |
); | |
} | |
extern "C" { | |
pub fn rand() -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn srand(arg1: ::std::os::raw::c_uint); | |
} | |
extern "C" { | |
pub fn strtod( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut *mut ::std::os::raw::c_char, | |
) -> f64; | |
} | |
extern "C" { | |
pub fn strtof( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut *mut ::std::os::raw::c_char, | |
) -> f32; | |
} | |
extern "C" { | |
pub fn strtol( | |
__str: *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 strtold( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut *mut ::std::os::raw::c_char, | |
) -> f64; | |
} | |
extern "C" { | |
pub fn strtoll( | |
__str: *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 strtoul( | |
__str: *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 strtoull( | |
__str: *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 system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wcstombs(arg1: *mut ::std::os::raw::c_char, arg2: *const wchar_t, arg3: usize) -> usize; | |
} | |
extern "C" { | |
pub fn wctomb(arg1: *mut ::std::os::raw::c_char, arg2: wchar_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn _Exit(arg1: ::std::os::raw::c_int) -> !; | |
} | |
extern "C" { | |
pub fn a64l(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long; | |
} | |
extern "C" { | |
pub fn drand48() -> f64; | |
} | |
extern "C" { | |
pub fn ecvt( | |
arg1: f64, | |
arg2: ::std::os::raw::c_int, | |
arg3: *mut ::std::os::raw::c_int, | |
arg4: *mut ::std::os::raw::c_int, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn erand48(arg1: *mut ::std::os::raw::c_ushort) -> f64; | |
} | |
extern "C" { | |
pub fn fcvt( | |
arg1: f64, | |
arg2: ::std::os::raw::c_int, | |
arg3: *mut ::std::os::raw::c_int, | |
arg4: *mut ::std::os::raw::c_int, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn gcvt( | |
arg1: f64, | |
arg2: ::std::os::raw::c_int, | |
arg3: *mut ::std::os::raw::c_char, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn getsubopt( | |
arg1: *mut *mut ::std::os::raw::c_char, | |
arg2: *const *mut ::std::os::raw::c_char, | |
arg3: *mut *mut ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn grantpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn initstate( | |
arg1: ::std::os::raw::c_uint, | |
arg2: *mut ::std::os::raw::c_char, | |
arg3: usize, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn jrand48(arg1: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; | |
} | |
extern "C" { | |
pub fn l64a(arg1: ::std::os::raw::c_long) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn lcong48(arg1: *mut ::std::os::raw::c_ushort); | |
} | |
extern "C" { | |
pub fn lrand48() -> ::std::os::raw::c_long; | |
} | |
extern "C" { | |
pub fn mktemp(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn mkstemp(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn mrand48() -> ::std::os::raw::c_long; | |
} | |
extern "C" { | |
pub fn nrand48(arg1: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long; | |
} | |
extern "C" { | |
pub fn posix_openpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn ptsname(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn ptsname_r( | |
fildes: ::std::os::raw::c_int, | |
buffer: *mut ::std::os::raw::c_char, | |
buflen: usize, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn putenv(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn random() -> ::std::os::raw::c_long; | |
} | |
extern "C" { | |
pub fn rand_r(arg1: *mut ::std::os::raw::c_uint) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
#[link_name = "\u{1}_realpath$DARWIN_EXTSN"] | |
pub fn realpath( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut ::std::os::raw::c_char, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn seed48(arg1: *mut ::std::os::raw::c_ushort) -> *mut ::std::os::raw::c_ushort; | |
} | |
extern "C" { | |
pub fn setenv( | |
__name: *const ::std::os::raw::c_char, | |
__value: *const ::std::os::raw::c_char, | |
__overwrite: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn setkey(arg1: *const ::std::os::raw::c_char); | |
} | |
extern "C" { | |
pub fn setstate(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn srand48(arg1: ::std::os::raw::c_long); | |
} | |
extern "C" { | |
pub fn srandom(arg1: ::std::os::raw::c_uint); | |
} | |
extern "C" { | |
pub fn unlockpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn unsetenv(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; | |
} | |
pub type dev_t = __darwin_dev_t; | |
pub type mode_t = __darwin_mode_t; | |
extern "C" { | |
pub fn arc4random() -> u32; | |
} | |
extern "C" { | |
pub fn arc4random_addrandom(arg1: *mut ::std::os::raw::c_uchar, arg2: ::std::os::raw::c_int); | |
} | |
extern "C" { | |
pub fn arc4random_buf(__buf: *mut ::std::os::raw::c_void, __nbytes: usize); | |
} | |
extern "C" { | |
pub fn arc4random_stir(); | |
} | |
extern "C" { | |
pub fn arc4random_uniform(__upper_bound: u32) -> u32; | |
} | |
extern "C" { | |
pub fn atexit_b(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn bsearch_b( | |
__key: *const ::std::os::raw::c_void, | |
__base: *const ::std::os::raw::c_void, | |
__nel: usize, | |
__width: usize, | |
__compar: *mut ::std::os::raw::c_void, | |
) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn cgetcap( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_int, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn cgetclose() -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn cgetent( | |
arg1: *mut *mut ::std::os::raw::c_char, | |
arg2: *mut *mut ::std::os::raw::c_char, | |
arg3: *const ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn cgetfirst( | |
arg1: *mut *mut ::std::os::raw::c_char, | |
arg2: *mut *mut ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn cgetmatch( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn cgetnext( | |
arg1: *mut *mut ::std::os::raw::c_char, | |
arg2: *mut *mut ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn cgetnum( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: *mut ::std::os::raw::c_long, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn cgetset(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn cgetstr( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: *mut *mut ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn cgetustr( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: *mut *mut ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn daemon( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn devname(arg1: dev_t, arg2: mode_t) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn devname_r( | |
arg1: dev_t, | |
arg2: mode_t, | |
buf: *mut ::std::os::raw::c_char, | |
len: ::std::os::raw::c_int, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn getbsize( | |
arg1: *mut ::std::os::raw::c_int, | |
arg2: *mut ::std::os::raw::c_long, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn getloadavg(arg1: *mut f64, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getprogname() -> *const ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn setprogname(arg1: *const ::std::os::raw::c_char); | |
} | |
extern "C" { | |
pub fn heapsort( | |
__base: *mut ::std::os::raw::c_void, | |
__nel: usize, | |
__width: usize, | |
__compar: ::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 heapsort_b( | |
__base: *mut ::std::os::raw::c_void, | |
__nel: usize, | |
__width: usize, | |
__compar: *mut ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn mergesort( | |
__base: *mut ::std::os::raw::c_void, | |
__nel: usize, | |
__width: usize, | |
__compar: ::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 mergesort_b( | |
__base: *mut ::std::os::raw::c_void, | |
__nel: usize, | |
__width: usize, | |
__compar: *mut ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn psort( | |
__base: *mut ::std::os::raw::c_void, | |
__nel: usize, | |
__width: usize, | |
__compar: ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: *const ::std::os::raw::c_void, | |
arg2: *const ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int, | |
>, | |
); | |
} | |
extern "C" { | |
pub fn psort_b( | |
__base: *mut ::std::os::raw::c_void, | |
__nel: usize, | |
__width: usize, | |
__compar: *mut ::std::os::raw::c_void, | |
); | |
} | |
extern "C" { | |
pub fn psort_r( | |
__base: *mut ::std::os::raw::c_void, | |
__nel: usize, | |
__width: usize, | |
arg1: *mut ::std::os::raw::c_void, | |
__compar: ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: *mut ::std::os::raw::c_void, | |
arg2: *const ::std::os::raw::c_void, | |
arg3: *const ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int, | |
>, | |
); | |
} | |
extern "C" { | |
pub fn qsort_b( | |
__base: *mut ::std::os::raw::c_void, | |
__nel: usize, | |
__width: usize, | |
__compar: *mut ::std::os::raw::c_void, | |
); | |
} | |
extern "C" { | |
pub fn qsort_r( | |
__base: *mut ::std::os::raw::c_void, | |
__nel: usize, | |
__width: usize, | |
arg1: *mut ::std::os::raw::c_void, | |
__compar: ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: *mut ::std::os::raw::c_void, | |
arg2: *const ::std::os::raw::c_void, | |
arg3: *const ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int, | |
>, | |
); | |
} | |
extern "C" { | |
pub fn radixsort( | |
__base: *mut *const ::std::os::raw::c_uchar, | |
__nel: ::std::os::raw::c_int, | |
__table: *const ::std::os::raw::c_uchar, | |
__endbyte: ::std::os::raw::c_uint, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn rpmatch(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sradixsort( | |
__base: *mut *const ::std::os::raw::c_uchar, | |
__nel: ::std::os::raw::c_int, | |
__table: *const ::std::os::raw::c_uchar, | |
__endbyte: ::std::os::raw::c_uint, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sranddev(); | |
} | |
extern "C" { | |
pub fn srandomdev(); | |
} | |
extern "C" { | |
pub fn reallocf( | |
__ptr: *mut ::std::os::raw::c_void, | |
__size: usize, | |
) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn strtonum( | |
__numstr: *const ::std::os::raw::c_char, | |
__minval: ::std::os::raw::c_longlong, | |
__maxval: ::std::os::raw::c_longlong, | |
__errstrp: *mut *const ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_longlong; | |
} | |
extern "C" { | |
pub fn strtoq( | |
__str: *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( | |
__str: *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 static mut suboptarg: *mut ::std::os::raw::c_char; | |
} | |
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 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 memcpy( | |
__dst: *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( | |
__dst: *mut ::std::os::raw::c_void, | |
__src: *const ::std::os::raw::c_void, | |
__len: ::std::os::raw::c_ulong, | |
) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn memset( | |
__b: *mut ::std::os::raw::c_void, | |
__c: ::std::os::raw::c_int, | |
__len: ::std::os::raw::c_ulong, | |
) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn strcat( | |
__s1: *mut ::std::os::raw::c_char, | |
__s2: *const ::std::os::raw::c_char, | |
) -> *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 strcmp( | |
__s1: *const ::std::os::raw::c_char, | |
__s2: *const ::std::os::raw::c_char, | |
) -> ::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 strcpy( | |
__dst: *mut ::std::os::raw::c_char, | |
__src: *const ::std::os::raw::c_char, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn strcspn( | |
__s: *const ::std::os::raw::c_char, | |
__charset: *const ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_ulong; | |
} | |
extern "C" { | |
pub fn strerror(__errnum: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn strlen(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_ulong; | |
} | |
extern "C" { | |
pub fn strncat( | |
__s1: *mut ::std::os::raw::c_char, | |
__s2: *const ::std::os::raw::c_char, | |
__n: ::std::os::raw::c_ulong, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
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 strncpy( | |
__dst: *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 strpbrk( | |
__s: *const ::std::os::raw::c_char, | |
__charset: *const ::std::os::raw::c_char, | |
) -> *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 strspn( | |
__s: *const ::std::os::raw::c_char, | |
__charset: *const ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_ulong; | |
} | |
extern "C" { | |
pub fn strstr( | |
__big: *const ::std::os::raw::c_char, | |
__little: *const ::std::os::raw::c_char, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn strtok( | |
__str: *mut ::std::os::raw::c_char, | |
__sep: *const ::std::os::raw::c_char, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn strxfrm( | |
__s1: *mut ::std::os::raw::c_char, | |
__s2: *const ::std::os::raw::c_char, | |
__n: ::std::os::raw::c_ulong, | |
) -> ::std::os::raw::c_ulong; | |
} | |
extern "C" { | |
pub fn strtok_r( | |
__str: *mut ::std::os::raw::c_char, | |
__sep: *const ::std::os::raw::c_char, | |
__lasts: *mut *mut ::std::os::raw::c_char, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn strerror_r( | |
__errnum: ::std::os::raw::c_int, | |
__strerrbuf: *mut ::std::os::raw::c_char, | |
__buflen: usize, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn strdup(__s1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn memccpy( | |
__dst: *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 stpcpy( | |
__dst: *mut ::std::os::raw::c_char, | |
__src: *const ::std::os::raw::c_char, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn stpncpy( | |
__dst: *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 strndup( | |
__s1: *const ::std::os::raw::c_char, | |
__n: ::std::os::raw::c_ulong, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn strnlen(__s1: *const ::std::os::raw::c_char, __n: usize) -> usize; | |
} | |
extern "C" { | |
pub fn strsignal(__sig: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn memset_s( | |
__s: *mut ::std::os::raw::c_void, | |
__smax: rsize_t, | |
__c: ::std::os::raw::c_int, | |
__n: rsize_t, | |
) -> errno_t; | |
} | |
extern "C" { | |
pub fn memmem( | |
__big: *const ::std::os::raw::c_void, | |
__big_len: usize, | |
__little: *const ::std::os::raw::c_void, | |
__little_len: usize, | |
) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn memset_pattern4( | |
__b: *mut ::std::os::raw::c_void, | |
__pattern4: *const ::std::os::raw::c_void, | |
__len: usize, | |
); | |
} | |
extern "C" { | |
pub fn memset_pattern8( | |
__b: *mut ::std::os::raw::c_void, | |
__pattern8: *const ::std::os::raw::c_void, | |
__len: usize, | |
); | |
} | |
extern "C" { | |
pub fn memset_pattern16( | |
__b: *mut ::std::os::raw::c_void, | |
__pattern16: *const ::std::os::raw::c_void, | |
__len: usize, | |
); | |
} | |
extern "C" { | |
pub fn strcasestr( | |
__big: *const ::std::os::raw::c_char, | |
__little: *const ::std::os::raw::c_char, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn strnstr( | |
__big: *const ::std::os::raw::c_char, | |
__little: *const ::std::os::raw::c_char, | |
__len: usize, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn strlcat( | |
__dst: *mut ::std::os::raw::c_char, | |
__source: *const ::std::os::raw::c_char, | |
__size: ::std::os::raw::c_ulong, | |
) -> ::std::os::raw::c_ulong; | |
} | |
extern "C" { | |
pub fn strlcpy( | |
__dst: *mut ::std::os::raw::c_char, | |
__source: *const ::std::os::raw::c_char, | |
__size: ::std::os::raw::c_ulong, | |
) -> ::std::os::raw::c_ulong; | |
} | |
extern "C" { | |
pub fn strmode(__mode: ::std::os::raw::c_int, __bp: *mut ::std::os::raw::c_char); | |
} | |
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 swab( | |
arg1: *const ::std::os::raw::c_void, | |
arg2: *mut ::std::os::raw::c_void, | |
arg3: isize, | |
); | |
} | |
extern "C" { | |
pub fn timingsafe_bcmp( | |
__b1: *const ::std::os::raw::c_void, | |
__b2: *const ::std::os::raw::c_void, | |
__len: usize, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn strsignal_r( | |
__sig: ::std::os::raw::c_int, | |
__strsignalbuf: *mut ::std::os::raw::c_char, | |
__buflen: usize, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn bcmp( | |
arg1: *const ::std::os::raw::c_void, | |
arg2: *const ::std::os::raw::c_void, | |
arg3: ::std::os::raw::c_ulong, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn bcopy( | |
arg1: *const ::std::os::raw::c_void, | |
arg2: *mut ::std::os::raw::c_void, | |
arg3: usize, | |
); | |
} | |
extern "C" { | |
pub fn bzero(arg1: *mut ::std::os::raw::c_void, arg2: ::std::os::raw::c_ulong); | |
} | |
extern "C" { | |
pub fn index( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn rindex( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn ffs(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn strcasecmp( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn strncasecmp( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_ulong, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn ffsl(arg1: ::std::os::raw::c_long) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn ffsll(arg1: ::std::os::raw::c_longlong) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fls(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn flsl(arg1: ::std::os::raw::c_long) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn flsll(arg1: ::std::os::raw::c_longlong) -> ::std::os::raw::c_int; | |
} | |
pub type _Argument_type_is_not_arithmetic = ::std::os::raw::c_void; | |
pub type clock_t = __darwin_clock_t; | |
pub type time_t = __darwin_time_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct timespec { | |
pub tv_sec: __darwin_time_t, | |
pub tv_nsec: ::std::os::raw::c_long, | |
} | |
#[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: *mut ::std::os::raw::c_char, | |
} | |
extern "C" { | |
pub static mut tzname: [*mut ::std::os::raw::c_char; 0usize]; | |
} | |
extern "C" { | |
pub static mut getdate_err: ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub static mut timezone: ::std::os::raw::c_long; | |
} | |
extern "C" { | |
pub static mut daylight: ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn asctime(arg1: *const tm) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn clock() -> clock_t; | |
} | |
extern "C" { | |
pub fn ctime(arg1: *const time_t) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn difftime(arg1: time_t, arg2: time_t) -> f64; | |
} | |
extern "C" { | |
pub fn getdate(arg1: *const ::std::os::raw::c_char) -> *mut tm; | |
} | |
extern "C" { | |
pub fn gmtime(arg1: *const time_t) -> *mut tm; | |
} | |
extern "C" { | |
pub fn localtime(arg1: *const time_t) -> *mut tm; | |
} | |
extern "C" { | |
pub fn mktime(arg1: *mut tm) -> time_t; | |
} | |
extern "C" { | |
pub fn strftime( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: usize, | |
arg3: *const ::std::os::raw::c_char, | |
arg4: *const tm, | |
) -> usize; | |
} | |
extern "C" { | |
pub fn strptime( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: *mut tm, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn time(arg1: *mut time_t) -> time_t; | |
} | |
extern "C" { | |
pub fn tzset(); | |
} | |
extern "C" { | |
pub fn asctime_r( | |
arg1: *const tm, | |
arg2: *mut ::std::os::raw::c_char, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn ctime_r( | |
arg1: *const time_t, | |
arg2: *mut ::std::os::raw::c_char, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn gmtime_r(arg1: *const time_t, arg2: *mut tm) -> *mut tm; | |
} | |
extern "C" { | |
pub fn localtime_r(arg1: *const time_t, arg2: *mut tm) -> *mut tm; | |
} | |
extern "C" { | |
pub fn posix2time(arg1: time_t) -> time_t; | |
} | |
extern "C" { | |
pub fn tzsetwall(); | |
} | |
extern "C" { | |
pub fn time2posix(arg1: time_t) -> time_t; | |
} | |
extern "C" { | |
pub fn timelocal(arg1: *mut tm) -> time_t; | |
} | |
extern "C" { | |
pub fn timegm(arg1: *mut tm) -> time_t; | |
} | |
extern "C" { | |
pub fn nanosleep(__rqtp: *const timespec, __rmtp: *mut timespec) -> ::std::os::raw::c_int; | |
} | |
pub const clockid_t__CLOCK_REALTIME: clockid_t = 0; | |
pub const clockid_t__CLOCK_MONOTONIC: clockid_t = 6; | |
pub const clockid_t__CLOCK_MONOTONIC_RAW: clockid_t = 4; | |
pub const clockid_t__CLOCK_MONOTONIC_RAW_APPROX: clockid_t = 5; | |
pub const clockid_t__CLOCK_UPTIME_RAW: clockid_t = 8; | |
pub const clockid_t__CLOCK_UPTIME_RAW_APPROX: clockid_t = 9; | |
pub const clockid_t__CLOCK_PROCESS_CPUTIME_ID: clockid_t = 12; | |
pub const clockid_t__CLOCK_THREAD_CPUTIME_ID: clockid_t = 16; | |
pub type clockid_t = ::std::os::raw::c_uint; | |
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_gettime_nsec_np(__clock_id: clockid_t) -> __uint64_t; | |
} | |
extern "C" { | |
pub fn clock_settime(__clock_id: clockid_t, __tp: *const timespec) -> ::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; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct winsize { | |
pub ws_row: ::std::os::raw::c_ushort, | |
pub ws_col: ::std::os::raw::c_ushort, | |
pub ws_xpixel: ::std::os::raw::c_ushort, | |
pub ws_ypixel: ::std::os::raw::c_ushort, | |
} | |
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 ushort = ::std::os::raw::c_ushort; | |
pub type uint = ::std::os::raw::c_uint; | |
pub type u_quad_t = u_int64_t; | |
pub type quad_t = i64; | |
pub type qaddr_t = *mut quad_t; | |
pub type caddr_t = *mut ::std::os::raw::c_char; | |
pub type daddr_t = i32; | |
pub type fixpt_t = u_int32_t; | |
pub type blkcnt_t = __darwin_blkcnt_t; | |
pub type blksize_t = __darwin_blksize_t; | |
pub type gid_t = __darwin_gid_t; | |
pub type in_addr_t = __uint32_t; | |
pub type in_port_t = __uint16_t; | |
pub type ino_t = __darwin_ino_t; | |
pub type ino64_t = __darwin_ino64_t; | |
pub type key_t = __int32_t; | |
pub type nlink_t = __uint16_t; | |
pub type segsz_t = i32; | |
pub type swblk_t = i32; | |
pub type useconds_t = __darwin_useconds_t; | |
pub type suseconds_t = __darwin_suseconds_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct fd_set { | |
pub fds_bits: [__int32_t; 32usize], | |
} | |
extern "C" { | |
pub fn __darwin_check_fd_set_overflow( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_void, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
pub type fd_mask = __int32_t; | |
pub type pthread_cond_t = __darwin_pthread_cond_t; | |
pub type pthread_condattr_t = __darwin_pthread_condattr_t; | |
pub type pthread_mutex_t = __darwin_pthread_mutex_t; | |
pub type pthread_mutexattr_t = __darwin_pthread_mutexattr_t; | |
pub type pthread_once_t = __darwin_pthread_once_t; | |
pub type pthread_rwlock_t = __darwin_pthread_rwlock_t; | |
pub type pthread_rwlockattr_t = __darwin_pthread_rwlockattr_t; | |
pub type pthread_key_t = __darwin_pthread_key_t; | |
pub type fsblkcnt_t = __darwin_fsblkcnt_t; | |
pub type fsfilcnt_t = __darwin_fsfilcnt_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_change: __darwin_time_t, | |
pub pw_class: *mut ::std::os::raw::c_char, | |
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, | |
pub pw_expire: __darwin_time_t, | |
} | |
extern "C" { | |
pub fn getpwuid(arg1: uid_t) -> *mut passwd; | |
} | |
extern "C" { | |
pub fn getpwnam(arg1: *const ::std::os::raw::c_char) -> *mut passwd; | |
} | |
extern "C" { | |
pub fn getpwuid_r( | |
arg1: uid_t, | |
arg2: *mut passwd, | |
arg3: *mut ::std::os::raw::c_char, | |
arg4: usize, | |
arg5: *mut *mut passwd, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getpwnam_r( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut passwd, | |
arg3: *mut ::std::os::raw::c_char, | |
arg4: usize, | |
arg5: *mut *mut passwd, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getpwent() -> *mut passwd; | |
} | |
extern "C" { | |
pub fn setpwent(); | |
} | |
extern "C" { | |
pub fn endpwent(); | |
} | |
pub type uuid_t = __darwin_uuid_t; | |
pub type uuid_string_t = __darwin_uuid_string_t; | |
extern "C" { | |
pub static UUID_NULL: uuid_t; | |
} | |
extern "C" { | |
pub fn uuid_clear(uu: *mut ::std::os::raw::c_uchar); | |
} | |
extern "C" { | |
pub fn uuid_compare( | |
uu1: *mut ::std::os::raw::c_uchar, | |
uu2: *mut ::std::os::raw::c_uchar, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn uuid_copy(dst: *mut ::std::os::raw::c_uchar, src: *mut ::std::os::raw::c_uchar); | |
} | |
extern "C" { | |
pub fn uuid_generate(out: *mut ::std::os::raw::c_uchar); | |
} | |
extern "C" { | |
pub fn uuid_generate_random(out: *mut ::std::os::raw::c_uchar); | |
} | |
extern "C" { | |
pub fn uuid_generate_time(out: *mut ::std::os::raw::c_uchar); | |
} | |
extern "C" { | |
pub fn uuid_is_null(uu: *mut ::std::os::raw::c_uchar) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn uuid_parse( | |
in_: *mut ::std::os::raw::c_char, | |
uu: *mut ::std::os::raw::c_uchar, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn uuid_unparse(uu: *mut ::std::os::raw::c_uchar, out: *mut ::std::os::raw::c_char); | |
} | |
extern "C" { | |
pub fn uuid_unparse_lower(uu: *mut ::std::os::raw::c_uchar, out: *mut ::std::os::raw::c_char); | |
} | |
extern "C" { | |
pub fn uuid_unparse_upper(uu: *mut ::std::os::raw::c_uchar, out: *mut ::std::os::raw::c_char); | |
} | |
extern "C" { | |
pub fn setpassent(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn user_from_uid(arg1: uid_t, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn getpwuuid(arg1: *mut ::std::os::raw::c_uchar) -> *mut passwd; | |
} | |
extern "C" { | |
pub fn getpwuuid_r( | |
arg1: *mut ::std::os::raw::c_uchar, | |
arg2: *mut passwd, | |
arg3: *mut ::std::os::raw::c_char, | |
arg4: usize, | |
arg5: *mut *mut passwd, | |
) -> ::std::os::raw::c_int; | |
} | |
pub type tcflag_t = ::std::os::raw::c_ulong; | |
pub type cc_t = ::std::os::raw::c_uchar; | |
pub type speed_t = ::std::os::raw::c_ulong; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct termios { | |
pub c_iflag: tcflag_t, | |
pub c_oflag: tcflag_t, | |
pub c_cflag: tcflag_t, | |
pub c_lflag: tcflag_t, | |
pub c_cc: [cc_t; 20usize], | |
pub c_ispeed: speed_t, | |
pub c_ospeed: speed_t, | |
} | |
extern "C" { | |
pub fn cfgetispeed(arg1: *const termios) -> speed_t; | |
} | |
extern "C" { | |
pub fn cfgetospeed(arg1: *const termios) -> speed_t; | |
} | |
extern "C" { | |
pub fn cfsetispeed(arg1: *mut termios, arg2: speed_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn cfsetospeed(arg1: *mut termios, arg2: speed_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn tcgetattr(arg1: ::std::os::raw::c_int, arg2: *mut termios) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn tcsetattr( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
arg3: *const termios, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn tcdrain(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn tcflow( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn tcflush( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn tcsendbreak( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn cfmakeraw(arg1: *mut termios); | |
} | |
extern "C" { | |
pub fn cfsetspeed(arg1: *mut termios, arg2: speed_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn tcgetsid(arg1: ::std::os::raw::c_int) -> pid_t; | |
} | |
extern "C" { | |
pub fn login_tty(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn logwtmp( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: *const ::std::os::raw::c_char, | |
); | |
} | |
extern "C" { | |
pub fn opendev( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
arg3: ::std::os::raw::c_int, | |
arg4: *mut *mut ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn openpty( | |
arg1: *mut ::std::os::raw::c_int, | |
arg2: *mut ::std::os::raw::c_int, | |
arg3: *mut ::std::os::raw::c_char, | |
arg4: *mut termios, | |
arg5: *mut winsize, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fparseln( | |
arg1: *mut FILE, | |
arg2: *mut usize, | |
arg3: *mut usize, | |
arg4: *const ::std::os::raw::c_char, | |
arg5: ::std::os::raw::c_int, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn forkpty( | |
arg1: *mut ::std::os::raw::c_int, | |
arg2: *mut ::std::os::raw::c_char, | |
arg3: *mut termios, | |
arg4: *mut winsize, | |
) -> pid_t; | |
} | |
extern "C" { | |
pub fn pidlock( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
arg3: *mut pid_t, | |
arg4: *const ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn ttylock( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
arg3: *mut pid_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn ttyunlock(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn ttyaction( | |
tty: *mut ::std::os::raw::c_char, | |
act: *mut ::std::os::raw::c_char, | |
user: *mut ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn ttymsg( | |
arg1: *mut iovec, | |
arg2: ::std::os::raw::c_int, | |
arg3: *const ::std::os::raw::c_char, | |
arg4: ::std::os::raw::c_int, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
pub type mbstate_t = __darwin_mbstate_t; | |
pub type wctype_t = __darwin_wctype_t; | |
extern "C" { | |
pub fn wctype(arg1: *const ::std::os::raw::c_char) -> wctype_t; | |
} | |
extern "C" { | |
pub fn btowc(arg1: ::std::os::raw::c_int) -> wint_t; | |
} | |
extern "C" { | |
pub fn fgetwc(arg1: *mut FILE) -> wint_t; | |
} | |
extern "C" { | |
pub fn fgetws(arg1: *mut wchar_t, arg2: ::std::os::raw::c_int, arg3: *mut FILE) | |
-> *mut wchar_t; | |
} | |
extern "C" { | |
pub fn fputwc(arg1: wchar_t, arg2: *mut FILE) -> wint_t; | |
} | |
extern "C" { | |
pub fn fputws(arg1: *const wchar_t, arg2: *mut FILE) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fwide(arg1: *mut FILE, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fwprintf(arg1: *mut FILE, arg2: *const wchar_t, ...) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fwscanf(arg1: *mut FILE, arg2: *const wchar_t, ...) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getwc(arg1: *mut FILE) -> wint_t; | |
} | |
extern "C" { | |
pub fn getwchar() -> wint_t; | |
} | |
extern "C" { | |
pub fn mbrlen(arg1: *const ::std::os::raw::c_char, arg2: usize, arg3: *mut mbstate_t) -> usize; | |
} | |
extern "C" { | |
pub fn mbrtowc( | |
arg1: *mut wchar_t, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: usize, | |
arg4: *mut mbstate_t, | |
) -> usize; | |
} | |
extern "C" { | |
pub fn mbsinit(arg1: *const mbstate_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn mbsrtowcs( | |
arg1: *mut wchar_t, | |
arg2: *mut *const ::std::os::raw::c_char, | |
arg3: usize, | |
arg4: *mut mbstate_t, | |
) -> usize; | |
} | |
extern "C" { | |
pub fn putwc(arg1: wchar_t, arg2: *mut FILE) -> wint_t; | |
} | |
extern "C" { | |
pub fn putwchar(arg1: wchar_t) -> wint_t; | |
} | |
extern "C" { | |
pub fn swprintf( | |
arg1: *mut wchar_t, | |
arg2: usize, | |
arg3: *const wchar_t, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn swscanf(arg1: *const wchar_t, arg2: *const wchar_t, ...) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn ungetwc(arg1: wint_t, arg2: *mut FILE) -> wint_t; | |
} | |
extern "C" { | |
pub fn vfwprintf( | |
arg1: *mut FILE, | |
arg2: *const wchar_t, | |
arg3: __darwin_va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vswprintf( | |
arg1: *mut wchar_t, | |
arg2: usize, | |
arg3: *const wchar_t, | |
arg4: __darwin_va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vwprintf(arg1: *const wchar_t, arg2: __darwin_va_list) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wcrtomb(arg1: *mut ::std::os::raw::c_char, arg2: wchar_t, arg3: *mut mbstate_t) | |
-> usize; | |
} | |
extern "C" { | |
pub fn wcscat(arg1: *mut wchar_t, arg2: *const wchar_t) -> *mut wchar_t; | |
} | |
extern "C" { | |
pub fn wcschr( | |
arg1: *const ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
) -> *mut ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wcscmp( | |
arg1: *const ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wcscoll(arg1: *const wchar_t, arg2: *const wchar_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wcscpy(arg1: *mut wchar_t, arg2: *const wchar_t) -> *mut wchar_t; | |
} | |
extern "C" { | |
pub fn wcscspn(arg1: *const wchar_t, arg2: *const wchar_t) -> usize; | |
} | |
extern "C" { | |
pub fn wcsftime( | |
arg1: *mut wchar_t, | |
arg2: usize, | |
arg3: *const wchar_t, | |
arg4: *const tm, | |
) -> usize; | |
} | |
extern "C" { | |
pub fn wcslen(arg1: *const ::std::os::raw::c_int) -> ::std::os::raw::c_ulong; | |
} | |
extern "C" { | |
pub fn wcsncat(arg1: *mut wchar_t, arg2: *const wchar_t, arg3: usize) -> *mut wchar_t; | |
} | |
extern "C" { | |
pub fn wcsncmp( | |
arg1: *const ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_int, | |
arg3: ::std::os::raw::c_ulong, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wcsncpy(arg1: *mut wchar_t, arg2: *const wchar_t, arg3: usize) -> *mut wchar_t; | |
} | |
extern "C" { | |
pub fn wcspbrk(arg1: *const wchar_t, arg2: *const wchar_t) -> *mut wchar_t; | |
} | |
extern "C" { | |
pub fn wcsrchr(arg1: *const wchar_t, arg2: wchar_t) -> *mut wchar_t; | |
} | |
extern "C" { | |
pub fn wcsrtombs( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: *mut *const wchar_t, | |
arg3: usize, | |
arg4: *mut mbstate_t, | |
) -> usize; | |
} | |
extern "C" { | |
pub fn wcsspn(arg1: *const wchar_t, arg2: *const wchar_t) -> usize; | |
} | |
extern "C" { | |
pub fn wcsstr(arg1: *const wchar_t, arg2: *const wchar_t) -> *mut wchar_t; | |
} | |
extern "C" { | |
pub fn wcsxfrm(arg1: *mut wchar_t, arg2: *const wchar_t, arg3: usize) -> usize; | |
} | |
extern "C" { | |
pub fn wctob(arg1: wint_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wcstod(arg1: *const wchar_t, arg2: *mut *mut wchar_t) -> f64; | |
} | |
extern "C" { | |
pub fn wcstok( | |
arg1: *mut wchar_t, | |
arg2: *const wchar_t, | |
arg3: *mut *mut wchar_t, | |
) -> *mut wchar_t; | |
} | |
extern "C" { | |
pub fn wcstol( | |
arg1: *const wchar_t, | |
arg2: *mut *mut wchar_t, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_long; | |
} | |
extern "C" { | |
pub fn wcstoul( | |
arg1: *const wchar_t, | |
arg2: *mut *mut wchar_t, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_ulong; | |
} | |
extern "C" { | |
pub fn wmemchr( | |
arg1: *const ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
arg3: ::std::os::raw::c_ulong, | |
) -> *mut ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wmemcmp( | |
arg1: *const ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_int, | |
arg3: ::std::os::raw::c_ulong, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wmemcpy( | |
arg1: *mut ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_int, | |
arg3: ::std::os::raw::c_ulong, | |
) -> *mut ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wmemmove( | |
arg1: *mut ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_int, | |
arg3: ::std::os::raw::c_ulong, | |
) -> *mut ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wmemset(arg1: *mut wchar_t, arg2: wchar_t, arg3: usize) -> *mut wchar_t; | |
} | |
extern "C" { | |
pub fn wprintf(arg1: *const wchar_t, ...) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wscanf(arg1: *const wchar_t, ...) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wcswidth(arg1: *const wchar_t, arg2: usize) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wcwidth(arg1: wchar_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vfwscanf( | |
arg1: *mut FILE, | |
arg2: *const wchar_t, | |
arg3: __darwin_va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vswscanf( | |
arg1: *const wchar_t, | |
arg2: *const wchar_t, | |
arg3: __darwin_va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vwscanf(arg1: *const wchar_t, arg2: __darwin_va_list) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wcstof(arg1: *const wchar_t, arg2: *mut *mut wchar_t) -> f32; | |
} | |
extern "C" { | |
pub fn wcstold(arg1: *const wchar_t, arg2: *mut *mut wchar_t) -> f64; | |
} | |
extern "C" { | |
pub fn wcstoll( | |
arg1: *const wchar_t, | |
arg2: *mut *mut wchar_t, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_longlong; | |
} | |
extern "C" { | |
pub fn wcstoull( | |
arg1: *const wchar_t, | |
arg2: *mut *mut wchar_t, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_ulonglong; | |
} | |
extern "C" { | |
pub fn mbsnrtowcs( | |
arg1: *mut wchar_t, | |
arg2: *mut *const ::std::os::raw::c_char, | |
arg3: usize, | |
arg4: usize, | |
arg5: *mut mbstate_t, | |
) -> usize; | |
} | |
extern "C" { | |
pub fn wcpcpy(arg1: *mut wchar_t, arg2: *const wchar_t) -> *mut wchar_t; | |
} | |
extern "C" { | |
pub fn wcpncpy(arg1: *mut wchar_t, arg2: *const wchar_t, arg3: usize) -> *mut wchar_t; | |
} | |
extern "C" { | |
pub fn wcsdup(arg1: *const wchar_t) -> *mut wchar_t; | |
} | |
extern "C" { | |
pub fn wcscasecmp(arg1: *const wchar_t, arg2: *const wchar_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wcsncasecmp( | |
arg1: *const wchar_t, | |
arg2: *const wchar_t, | |
n: usize, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wcsnlen(arg1: *const wchar_t, arg2: usize) -> usize; | |
} | |
extern "C" { | |
pub fn wcsnrtombs( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: *mut *const wchar_t, | |
arg3: usize, | |
arg4: usize, | |
arg5: *mut mbstate_t, | |
) -> usize; | |
} | |
extern "C" { | |
pub fn open_wmemstream(__bufp: *mut *mut wchar_t, __sizep: *mut usize) -> *mut FILE; | |
} | |
extern "C" { | |
pub fn fgetwln(arg1: *mut FILE, arg2: *mut usize) -> *mut wchar_t; | |
} | |
extern "C" { | |
pub fn wcslcat(arg1: *mut wchar_t, arg2: *const wchar_t, arg3: usize) -> usize; | |
} | |
extern "C" { | |
pub fn wcslcpy(arg1: *mut wchar_t, arg2: *const wchar_t, arg3: usize) -> usize; | |
} | |
pub type wctrans_t = __darwin_wctrans_t; | |
extern "C" { | |
pub fn nextwctype(arg1: wint_t, arg2: wctype_t) -> wint_t; | |
} | |
extern "C" { | |
pub fn towctrans(arg1: wint_t, arg2: wctrans_t) -> wint_t; | |
} | |
extern "C" { | |
pub fn wctrans(arg1: *const ::std::os::raw::c_char) -> wctrans_t; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct _xlocale { | |
_unused: [u8; 0], | |
} | |
pub type locale_t = *mut _xlocale; | |
extern "C" { | |
pub fn ___mb_cur_max() -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn ___mb_cur_max_l(arg1: locale_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub static _c_locale: locale_t; | |
} | |
extern "C" { | |
pub fn duplocale(arg1: locale_t) -> locale_t; | |
} | |
extern "C" { | |
pub fn freelocale(arg1: locale_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn localeconv_l(arg1: locale_t) -> *mut lconv; | |
} | |
extern "C" { | |
pub fn newlocale( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: locale_t, | |
) -> locale_t; | |
} | |
extern "C" { | |
pub fn querylocale( | |
arg1: ::std::os::raw::c_int, | |
arg2: locale_t, | |
) -> *const ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn uselocale(arg1: locale_t) -> locale_t; | |
} | |
extern "C" { | |
pub fn ___runetype_l(arg1: __darwin_ct_rune_t, arg2: locale_t) -> ::std::os::raw::c_ulong; | |
} | |
extern "C" { | |
pub fn ___tolower_l(arg1: __darwin_ct_rune_t, arg2: locale_t) -> __darwin_ct_rune_t; | |
} | |
extern "C" { | |
pub fn ___toupper_l(arg1: __darwin_ct_rune_t, arg2: locale_t) -> __darwin_ct_rune_t; | |
} | |
extern "C" { | |
pub fn __maskrune_l( | |
arg1: __darwin_ct_rune_t, | |
arg2: ::std::os::raw::c_ulong, | |
arg3: locale_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wctype_l(arg1: *const ::std::os::raw::c_char, arg2: locale_t) -> wctype_t; | |
} | |
extern "C" { | |
pub fn strtoimax_l( | |
nptr: *const ::std::os::raw::c_char, | |
endptr: *mut *mut ::std::os::raw::c_char, | |
base: ::std::os::raw::c_int, | |
arg1: locale_t, | |
) -> intmax_t; | |
} | |
extern "C" { | |
pub fn strtoumax_l( | |
nptr: *const ::std::os::raw::c_char, | |
endptr: *mut *mut ::std::os::raw::c_char, | |
base: ::std::os::raw::c_int, | |
arg1: locale_t, | |
) -> uintmax_t; | |
} | |
extern "C" { | |
pub fn wcstoimax_l( | |
nptr: *const wchar_t, | |
endptr: *mut *mut wchar_t, | |
base: ::std::os::raw::c_int, | |
arg1: locale_t, | |
) -> intmax_t; | |
} | |
extern "C" { | |
pub fn wcstoumax_l( | |
nptr: *const wchar_t, | |
endptr: *mut *mut wchar_t, | |
base: ::std::os::raw::c_int, | |
arg1: locale_t, | |
) -> uintmax_t; | |
} | |
extern "C" { | |
pub fn fprintf_l( | |
arg1: *mut FILE, | |
arg2: locale_t, | |
arg3: *const ::std::os::raw::c_char, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fscanf_l( | |
arg1: *mut FILE, | |
arg2: locale_t, | |
arg3: *const ::std::os::raw::c_char, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn printf_l( | |
arg1: locale_t, | |
arg2: *const ::std::os::raw::c_char, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn scanf_l( | |
arg1: locale_t, | |
arg2: *const ::std::os::raw::c_char, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sprintf_l( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: locale_t, | |
arg3: *const ::std::os::raw::c_char, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sscanf_l( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: locale_t, | |
arg3: *const ::std::os::raw::c_char, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vfprintf_l( | |
arg1: *mut FILE, | |
arg2: locale_t, | |
arg3: *const ::std::os::raw::c_char, | |
arg4: va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vprintf_l( | |
arg1: locale_t, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vsprintf_l( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: locale_t, | |
arg3: *const ::std::os::raw::c_char, | |
arg4: va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn snprintf_l( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: usize, | |
arg3: locale_t, | |
arg4: *const ::std::os::raw::c_char, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vfscanf_l( | |
arg1: *mut FILE, | |
arg2: locale_t, | |
arg3: *const ::std::os::raw::c_char, | |
arg4: va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vscanf_l( | |
arg1: locale_t, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vsnprintf_l( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: usize, | |
arg3: locale_t, | |
arg4: *const ::std::os::raw::c_char, | |
arg5: va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vsscanf_l( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: locale_t, | |
arg3: *const ::std::os::raw::c_char, | |
arg4: va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn dprintf_l( | |
arg1: ::std::os::raw::c_int, | |
arg2: locale_t, | |
arg3: *const ::std::os::raw::c_char, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vdprintf_l( | |
arg1: ::std::os::raw::c_int, | |
arg2: locale_t, | |
arg3: *const ::std::os::raw::c_char, | |
arg4: va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn asprintf_l( | |
arg1: *mut *mut ::std::os::raw::c_char, | |
arg2: locale_t, | |
arg3: *const ::std::os::raw::c_char, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vasprintf_l( | |
arg1: *mut *mut ::std::os::raw::c_char, | |
arg2: locale_t, | |
arg3: *const ::std::os::raw::c_char, | |
arg4: va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn atof_l(arg1: *const ::std::os::raw::c_char, arg2: locale_t) -> f64; | |
} | |
extern "C" { | |
pub fn atoi_l(arg1: *const ::std::os::raw::c_char, arg2: locale_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn atol_l(arg1: *const ::std::os::raw::c_char, arg2: locale_t) -> ::std::os::raw::c_long; | |
} | |
extern "C" { | |
pub fn atoll_l( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: locale_t, | |
) -> ::std::os::raw::c_longlong; | |
} | |
extern "C" { | |
pub fn mblen_l( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: usize, | |
arg3: locale_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn mbstowcs_l( | |
arg1: *mut wchar_t, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: usize, | |
arg4: locale_t, | |
) -> usize; | |
} | |
extern "C" { | |
pub fn mbtowc_l( | |
arg1: *mut wchar_t, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: usize, | |
arg4: locale_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn strtod_l( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut *mut ::std::os::raw::c_char, | |
arg3: locale_t, | |
) -> f64; | |
} | |
extern "C" { | |
pub fn strtof_l( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut *mut ::std::os::raw::c_char, | |
arg3: locale_t, | |
) -> f32; | |
} | |
extern "C" { | |
pub fn strtol_l( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut *mut ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_int, | |
arg4: locale_t, | |
) -> ::std::os::raw::c_long; | |
} | |
extern "C" { | |
pub fn strtold_l( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut *mut ::std::os::raw::c_char, | |
arg3: locale_t, | |
) -> f64; | |
} | |
extern "C" { | |
pub fn strtoll_l( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut *mut ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_int, | |
arg4: locale_t, | |
) -> ::std::os::raw::c_longlong; | |
} | |
extern "C" { | |
pub fn strtoq_l( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut *mut ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_int, | |
arg4: locale_t, | |
) -> ::std::os::raw::c_longlong; | |
} | |
extern "C" { | |
pub fn strtoul_l( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut *mut ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_int, | |
arg4: locale_t, | |
) -> ::std::os::raw::c_ulong; | |
} | |
extern "C" { | |
pub fn strtoull_l( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut *mut ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_int, | |
arg4: locale_t, | |
) -> ::std::os::raw::c_ulonglong; | |
} | |
extern "C" { | |
pub fn strtouq_l( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut *mut ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_int, | |
arg4: locale_t, | |
) -> ::std::os::raw::c_ulonglong; | |
} | |
extern "C" { | |
pub fn wcstombs_l( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: *const wchar_t, | |
arg3: usize, | |
arg4: locale_t, | |
) -> usize; | |
} | |
extern "C" { | |
pub fn wctomb_l( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: wchar_t, | |
arg3: locale_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn strcoll_l( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: locale_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn strxfrm_l( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: usize, | |
arg4: locale_t, | |
) -> usize; | |
} | |
extern "C" { | |
pub fn strcasecmp_l( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: locale_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn strcasestr_l( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: locale_t, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn strncasecmp_l( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: usize, | |
arg4: locale_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn strftime_l( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: usize, | |
arg3: *const ::std::os::raw::c_char, | |
arg4: *const tm, | |
arg5: locale_t, | |
) -> usize; | |
} | |
extern "C" { | |
pub fn strptime_l( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: *mut tm, | |
arg4: locale_t, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn btowc_l(arg1: ::std::os::raw::c_int, arg2: locale_t) -> wint_t; | |
} | |
extern "C" { | |
pub fn fgetwc_l(arg1: *mut FILE, arg2: locale_t) -> wint_t; | |
} | |
extern "C" { | |
pub fn fgetws_l( | |
arg1: *mut wchar_t, | |
arg2: ::std::os::raw::c_int, | |
arg3: *mut FILE, | |
arg4: locale_t, | |
) -> *mut wchar_t; | |
} | |
extern "C" { | |
pub fn fputwc_l(arg1: wchar_t, arg2: *mut FILE, arg3: locale_t) -> wint_t; | |
} | |
extern "C" { | |
pub fn fputws_l(arg1: *const wchar_t, arg2: *mut FILE, arg3: locale_t) | |
-> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fwprintf_l( | |
arg1: *mut FILE, | |
arg2: locale_t, | |
arg3: *const wchar_t, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fwscanf_l( | |
arg1: *mut FILE, | |
arg2: locale_t, | |
arg3: *const wchar_t, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getwc_l(arg1: *mut FILE, arg2: locale_t) -> wint_t; | |
} | |
extern "C" { | |
pub fn getwchar_l(arg1: locale_t) -> wint_t; | |
} | |
extern "C" { | |
pub fn mbrlen_l( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: usize, | |
arg3: *mut mbstate_t, | |
arg4: locale_t, | |
) -> usize; | |
} | |
extern "C" { | |
pub fn mbrtowc_l( | |
arg1: *mut wchar_t, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: usize, | |
arg4: *mut mbstate_t, | |
arg5: locale_t, | |
) -> usize; | |
} | |
extern "C" { | |
pub fn mbsinit_l(arg1: *const mbstate_t, arg2: locale_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn mbsrtowcs_l( | |
arg1: *mut wchar_t, | |
arg2: *mut *const ::std::os::raw::c_char, | |
arg3: usize, | |
arg4: *mut mbstate_t, | |
arg5: locale_t, | |
) -> usize; | |
} | |
extern "C" { | |
pub fn putwc_l(arg1: wchar_t, arg2: *mut FILE, arg3: locale_t) -> wint_t; | |
} | |
extern "C" { | |
pub fn putwchar_l(arg1: wchar_t, arg2: locale_t) -> wint_t; | |
} | |
extern "C" { | |
pub fn swprintf_l( | |
arg1: *mut wchar_t, | |
n: usize, | |
arg2: locale_t, | |
arg3: *const wchar_t, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn swscanf_l( | |
arg1: *const wchar_t, | |
arg2: locale_t, | |
arg3: *const wchar_t, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn ungetwc_l(arg1: wint_t, arg2: *mut FILE, arg3: locale_t) -> wint_t; | |
} | |
extern "C" { | |
pub fn vfwprintf_l( | |
arg1: *mut FILE, | |
arg2: locale_t, | |
arg3: *const wchar_t, | |
arg4: __darwin_va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vswprintf_l( | |
arg1: *mut wchar_t, | |
n: usize, | |
arg2: locale_t, | |
arg3: *const wchar_t, | |
arg4: __darwin_va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vwprintf_l( | |
arg1: locale_t, | |
arg2: *const wchar_t, | |
arg3: __darwin_va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wcrtomb_l( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: wchar_t, | |
arg3: *mut mbstate_t, | |
arg4: locale_t, | |
) -> usize; | |
} | |
extern "C" { | |
pub fn wcscoll_l( | |
arg1: *const wchar_t, | |
arg2: *const wchar_t, | |
arg3: locale_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wcsftime_l( | |
arg1: *mut wchar_t, | |
arg2: usize, | |
arg3: *const wchar_t, | |
arg4: *const tm, | |
arg5: locale_t, | |
) -> usize; | |
} | |
extern "C" { | |
pub fn wcsrtombs_l( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: *mut *const wchar_t, | |
arg3: usize, | |
arg4: *mut mbstate_t, | |
arg5: locale_t, | |
) -> usize; | |
} | |
extern "C" { | |
pub fn wcstod_l(arg1: *const wchar_t, arg2: *mut *mut wchar_t, arg3: locale_t) -> f64; | |
} | |
extern "C" { | |
pub fn wcstol_l( | |
arg1: *const wchar_t, | |
arg2: *mut *mut wchar_t, | |
arg3: ::std::os::raw::c_int, | |
arg4: locale_t, | |
) -> ::std::os::raw::c_long; | |
} | |
extern "C" { | |
pub fn wcstoul_l( | |
arg1: *const wchar_t, | |
arg2: *mut *mut wchar_t, | |
arg3: ::std::os::raw::c_int, | |
arg4: locale_t, | |
) -> ::std::os::raw::c_ulong; | |
} | |
extern "C" { | |
pub fn wcswidth_l(arg1: *const wchar_t, arg2: usize, arg3: locale_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wcsxfrm_l( | |
arg1: *mut wchar_t, | |
arg2: *const wchar_t, | |
arg3: usize, | |
arg4: locale_t, | |
) -> usize; | |
} | |
extern "C" { | |
pub fn wctob_l(arg1: wint_t, arg2: locale_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wcwidth_l(arg1: wchar_t, arg2: locale_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wprintf_l(arg1: locale_t, arg2: *const wchar_t, ...) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wscanf_l(arg1: locale_t, arg2: *const wchar_t, ...) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vfwscanf_l( | |
arg1: *mut FILE, | |
arg2: locale_t, | |
arg3: *const wchar_t, | |
arg4: __darwin_va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vswscanf_l( | |
arg1: *const wchar_t, | |
arg2: locale_t, | |
arg3: *const wchar_t, | |
arg4: __darwin_va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vwscanf_l( | |
arg1: locale_t, | |
arg2: *const wchar_t, | |
arg3: __darwin_va_list, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wcstof_l(arg1: *const wchar_t, arg2: *mut *mut wchar_t, arg3: locale_t) -> f32; | |
} | |
extern "C" { | |
pub fn wcstold_l(arg1: *const wchar_t, arg2: *mut *mut wchar_t, arg3: locale_t) -> f64; | |
} | |
extern "C" { | |
pub fn wcstoll_l( | |
arg1: *const wchar_t, | |
arg2: *mut *mut wchar_t, | |
arg3: ::std::os::raw::c_int, | |
arg4: locale_t, | |
) -> ::std::os::raw::c_longlong; | |
} | |
extern "C" { | |
pub fn wcstoull_l( | |
arg1: *const wchar_t, | |
arg2: *mut *mut wchar_t, | |
arg3: ::std::os::raw::c_int, | |
arg4: locale_t, | |
) -> ::std::os::raw::c_ulonglong; | |
} | |
extern "C" { | |
pub fn mbsnrtowcs_l( | |
arg1: *mut wchar_t, | |
arg2: *mut *const ::std::os::raw::c_char, | |
arg3: usize, | |
arg4: usize, | |
arg5: *mut mbstate_t, | |
arg6: locale_t, | |
) -> usize; | |
} | |
extern "C" { | |
pub fn wcscasecmp_l( | |
arg1: *const wchar_t, | |
arg2: *const wchar_t, | |
arg3: locale_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wcsncasecmp_l( | |
arg1: *const wchar_t, | |
arg2: *const wchar_t, | |
n: usize, | |
arg3: locale_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wcsnrtombs_l( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: *mut *const wchar_t, | |
arg3: usize, | |
arg4: usize, | |
arg5: *mut mbstate_t, | |
arg6: locale_t, | |
) -> usize; | |
} | |
extern "C" { | |
pub fn fgetwln_l(arg1: *mut FILE, arg2: *mut usize, arg3: locale_t) -> *mut wchar_t; | |
} | |
extern "C" { | |
pub fn nextwctype_l(arg1: wint_t, arg2: wctype_t, arg3: locale_t) -> wint_t; | |
} | |
extern "C" { | |
pub fn towctrans_l(arg1: wint_t, arg2: wctrans_t, arg3: locale_t) -> wint_t; | |
} | |
extern "C" { | |
pub fn wctrans_l(arg1: *const ::std::os::raw::c_char, arg2: locale_t) -> wctrans_t; | |
} | |
pub type nl_item = __darwin_nl_item; | |
extern "C" { | |
pub fn nl_langinfo_l(arg1: nl_item, arg2: locale_t) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn strfmon_l( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: usize, | |
arg3: locale_t, | |
arg4: *const ::std::os::raw::c_char, | |
... | |
) -> isize; | |
} | |
pub type regoff_t = __darwin_off_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct regex_t { | |
pub re_magic: ::std::os::raw::c_int, | |
pub re_nsub: usize, | |
pub re_endp: *const ::std::os::raw::c_char, | |
pub re_g: *mut re_guts, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct regmatch_t { | |
pub rm_so: regoff_t, | |
pub rm_eo: regoff_t, | |
} | |
extern "C" { | |
pub fn regcomp_l( | |
arg1: *mut regex_t, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_int, | |
arg4: locale_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn regncomp_l( | |
arg1: *mut regex_t, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: usize, | |
arg4: ::std::os::raw::c_int, | |
arg5: locale_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn regwcomp_l( | |
arg1: *mut regex_t, | |
arg2: *const wchar_t, | |
arg3: ::std::os::raw::c_int, | |
arg4: locale_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn regwnexec_l( | |
arg1: *const regex_t, | |
arg2: *const wchar_t, | |
arg3: usize, | |
arg4: usize, | |
__pmatch: *mut regmatch_t, | |
arg5: ::std::os::raw::c_int, | |
arg6: locale_t, | |
) -> ::std::os::raw::c_int; | |
} | |
pub type xattr_operation_intent_t = ::std::os::raw::c_uint; | |
pub type xattr_flags_t = u64; | |
extern "C" { | |
pub fn xattr_preserve_for_intent( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: xattr_operation_intent_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn xattr_name_with_flags( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: xattr_flags_t, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn xattr_name_without_flags( | |
arg1: *const ::std::os::raw::c_char, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn xattr_flags_from_name(arg1: *const ::std::os::raw::c_char) -> xattr_flags_t; | |
} | |
extern "C" { | |
pub fn xattr_intent_with_flags( | |
arg1: xattr_operation_intent_t, | |
arg2: xattr_flags_t, | |
) -> ::std::os::raw::c_int; | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub struct aiocb { | |
pub aio_fildes: ::std::os::raw::c_int, | |
pub aio_offset: off_t, | |
pub aio_buf: *mut ::std::os::raw::c_void, | |
pub aio_nbytes: usize, | |
pub aio_reqprio: ::std::os::raw::c_int, | |
pub aio_sigevent: sigevent, | |
pub aio_lio_opcode: ::std::os::raw::c_int, | |
} | |
extern "C" { | |
pub fn aio_cancel(fd: ::std::os::raw::c_int, aiocbp: *mut aiocb) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn aio_error(aiocbp: *const aiocb) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn aio_fsync(op: ::std::os::raw::c_int, aiocbp: *mut aiocb) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn aio_read(aiocbp: *mut aiocb) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn aio_return(aiocbp: *mut aiocb) -> isize; | |
} | |
extern "C" { | |
pub fn aio_suspend( | |
aiocblist: *const *const aiocb, | |
nent: ::std::os::raw::c_int, | |
timeoutp: *const timespec, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn aio_write(aiocbp: *mut aiocb) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn lio_listio( | |
mode: ::std::os::raw::c_int, | |
aiocblist: *const *mut aiocb, | |
nent: ::std::os::raw::c_int, | |
sigp: *mut sigevent, | |
) -> ::std::os::raw::c_int; | |
} | |
pub type sa_family_t = __uint8_t; | |
pub type socklen_t = __darwin_socklen_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct iovec { | |
pub iov_base: *mut ::std::os::raw::c_void, | |
pub iov_len: usize, | |
} | |
pub type sae_associd_t = __uint32_t; | |
pub type sae_connid_t = __uint32_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sa_endpoints { | |
pub sae_srcif: ::std::os::raw::c_uint, | |
pub sae_srcaddr: *const sockaddr, | |
pub sae_srcaddrlen: socklen_t, | |
pub sae_dstaddr: *const sockaddr, | |
pub sae_dstaddrlen: socklen_t, | |
} | |
pub type sa_endpoints_t = sa_endpoints; | |
#[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, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct so_np_extensions { | |
pub npx_flags: u_int32_t, | |
pub npx_mask: u_int32_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sockaddr { | |
pub sa_len: __uint8_t, | |
pub sa_family: sa_family_t, | |
pub sa_data: [::std::os::raw::c_char; 14usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __sockaddr_header { | |
pub sa_len: __uint8_t, | |
pub sa_family: sa_family_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sockproto { | |
pub sp_family: __uint16_t, | |
pub sp_protocol: __uint16_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sockaddr_storage { | |
pub ss_len: __uint8_t, | |
pub ss_family: sa_family_t, | |
pub __ss_pad1: [::std::os::raw::c_char; 6usize], | |
pub __ss_align: __int64_t, | |
pub __ss_pad2: [::std::os::raw::c_char; 112usize], | |
} | |
#[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: ::std::os::raw::c_int, | |
pub msg_control: *mut ::std::os::raw::c_void, | |
pub msg_controllen: socklen_t, | |
pub msg_flags: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct cmsghdr { | |
pub cmsg_len: socklen_t, | |
pub cmsg_level: ::std::os::raw::c_int, | |
pub cmsg_type: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sf_hdtr { | |
pub headers: *mut iovec, | |
pub hdr_cnt: ::std::os::raw::c_int, | |
pub trailers: *mut iovec, | |
pub trl_cnt: ::std::os::raw::c_int, | |
} | |
extern "C" { | |
pub fn accept( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut sockaddr, | |
arg3: *mut socklen_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn bind( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const sockaddr, | |
arg3: socklen_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn connect( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const sockaddr, | |
arg3: socklen_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getpeername( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut sockaddr, | |
arg3: *mut socklen_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getsockname( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut sockaddr, | |
arg3: *mut socklen_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getsockopt( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
arg3: ::std::os::raw::c_int, | |
arg4: *mut ::std::os::raw::c_void, | |
arg5: *mut socklen_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn listen( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn recv( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut ::std::os::raw::c_void, | |
arg3: usize, | |
arg4: ::std::os::raw::c_int, | |
) -> isize; | |
} | |
extern "C" { | |
pub fn recvfrom( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut ::std::os::raw::c_void, | |
arg3: usize, | |
arg4: ::std::os::raw::c_int, | |
arg5: *mut sockaddr, | |
arg6: *mut socklen_t, | |
) -> isize; | |
} | |
extern "C" { | |
pub fn recvmsg( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut msghdr, | |
arg3: ::std::os::raw::c_int, | |
) -> isize; | |
} | |
extern "C" { | |
pub fn send( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_void, | |
arg3: usize, | |
arg4: ::std::os::raw::c_int, | |
) -> isize; | |
} | |
extern "C" { | |
pub fn sendmsg( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const msghdr, | |
arg3: ::std::os::raw::c_int, | |
) -> isize; | |
} | |
extern "C" { | |
pub fn sendto( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_void, | |
arg3: usize, | |
arg4: ::std::os::raw::c_int, | |
arg5: *const sockaddr, | |
arg6: socklen_t, | |
) -> isize; | |
} | |
extern "C" { | |
pub fn setsockopt( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
arg3: ::std::os::raw::c_int, | |
arg4: *const ::std::os::raw::c_void, | |
arg5: socklen_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn shutdown( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sockatmark(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn socket( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn socketpair( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
arg3: ::std::os::raw::c_int, | |
arg4: *mut ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sendfile( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
arg3: off_t, | |
arg4: *mut off_t, | |
arg5: *mut sf_hdtr, | |
arg6: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pfctlinput(arg1: ::std::os::raw::c_int, arg2: *mut sockaddr); | |
} | |
extern "C" { | |
pub fn connectx( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const sa_endpoints_t, | |
arg3: sae_associd_t, | |
arg4: ::std::os::raw::c_uint, | |
arg5: *const iovec, | |
arg6: ::std::os::raw::c_uint, | |
arg7: *mut usize, | |
arg8: *mut sae_connid_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn disconnectx( | |
arg1: ::std::os::raw::c_int, | |
arg2: sae_associd_t, | |
arg3: sae_connid_t, | |
) -> ::std::os::raw::c_int; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct in_addr { | |
pub s_addr: in_addr_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sockaddr_in { | |
pub sin_len: __uint8_t, | |
pub sin_family: sa_family_t, | |
pub sin_port: in_port_t, | |
pub sin_addr: in_addr, | |
pub sin_zero: [::std::os::raw::c_char; 8usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ip_opts { | |
pub ip_dst: in_addr, | |
pub ip_opts: [::std::os::raw::c_char; 40usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ip_mreq { | |
pub imr_multiaddr: in_addr, | |
pub imr_interface: in_addr, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ip_mreqn { | |
pub imr_multiaddr: in_addr, | |
pub imr_address: in_addr, | |
pub imr_ifindex: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ip_mreq_source { | |
pub imr_multiaddr: in_addr, | |
pub imr_sourceaddr: in_addr, | |
pub imr_interface: in_addr, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct group_req { | |
pub gr_interface: u32, | |
pub gr_group: sockaddr_storage, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct group_source_req { | |
pub gsr_interface: u32, | |
pub gsr_group: sockaddr_storage, | |
pub gsr_source: sockaddr_storage, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __msfilterreq { | |
pub msfr_ifindex: u32, | |
pub msfr_fmode: u32, | |
pub msfr_nsrcs: u32, | |
pub __msfr_align: u32, | |
pub msfr_group: sockaddr_storage, | |
pub msfr_srcs: *mut sockaddr_storage, | |
} | |
extern "C" { | |
pub fn setipv4sourcefilter( | |
arg1: ::std::os::raw::c_int, | |
arg2: in_addr, | |
arg3: in_addr, | |
arg4: u32, | |
arg5: u32, | |
arg6: *mut in_addr, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getipv4sourcefilter( | |
arg1: ::std::os::raw::c_int, | |
arg2: in_addr, | |
arg3: in_addr, | |
arg4: *mut u32, | |
arg5: *mut u32, | |
arg6: *mut in_addr, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn setsourcefilter( | |
arg1: ::std::os::raw::c_int, | |
arg2: u32, | |
arg3: *mut sockaddr, | |
arg4: socklen_t, | |
arg5: u32, | |
arg6: u32, | |
arg7: *mut sockaddr_storage, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getsourcefilter( | |
arg1: ::std::os::raw::c_int, | |
arg2: u32, | |
arg3: *mut sockaddr, | |
arg4: socklen_t, | |
arg5: *mut u32, | |
arg6: *mut u32, | |
arg7: *mut sockaddr_storage, | |
) -> ::std::os::raw::c_int; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct in_pktinfo { | |
pub ipi_ifindex: ::std::os::raw::c_uint, | |
pub ipi_spec_dst: in_addr, | |
pub ipi_addr: in_addr, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub struct in6_addr { | |
pub __u6_addr: in6_addr__bindgen_ty_1, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union in6_addr__bindgen_ty_1 { | |
pub __u6_addr8: [__uint8_t; 16usize], | |
pub __u6_addr16: [__uint16_t; 8usize], | |
pub __u6_addr32: [__uint32_t; 4usize], | |
} | |
pub type in6_addr_t = in6_addr; | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub struct sockaddr_in6 { | |
pub sin6_len: __uint8_t, | |
pub sin6_family: sa_family_t, | |
pub sin6_port: in_port_t, | |
pub sin6_flowinfo: __uint32_t, | |
pub sin6_addr: in6_addr, | |
pub sin6_scope_id: __uint32_t, | |
} | |
extern "C" { | |
pub static in6addr_any: in6_addr; | |
} | |
extern "C" { | |
pub static in6addr_loopback: in6_addr; | |
} | |
extern "C" { | |
pub static in6addr_nodelocal_allnodes: in6_addr; | |
} | |
extern "C" { | |
pub static in6addr_linklocal_allnodes: in6_addr; | |
} | |
extern "C" { | |
pub static in6addr_linklocal_allrouters: in6_addr; | |
} | |
extern "C" { | |
pub static in6addr_linklocal_allv2routers: in6_addr; | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub struct ipv6_mreq { | |
pub ipv6mr_multiaddr: in6_addr, | |
pub ipv6mr_interface: ::std::os::raw::c_uint, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub struct in6_pktinfo { | |
pub ipi6_addr: in6_addr, | |
pub ipi6_ifindex: ::std::os::raw::c_uint, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub struct ip6_mtuinfo { | |
pub ip6m_addr: sockaddr_in6, | |
pub ip6m_mtu: u32, | |
} | |
extern "C" { | |
pub fn inet6_option_space(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn inet6_option_init( | |
arg1: *mut ::std::os::raw::c_void, | |
arg2: *mut *mut cmsghdr, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn inet6_option_append( | |
arg1: *mut cmsghdr, | |
arg2: *const __uint8_t, | |
arg3: ::std::os::raw::c_int, | |
arg4: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn inet6_option_alloc( | |
arg1: *mut cmsghdr, | |
arg2: ::std::os::raw::c_int, | |
arg3: ::std::os::raw::c_int, | |
arg4: ::std::os::raw::c_int, | |
) -> *mut __uint8_t; | |
} | |
extern "C" { | |
pub fn inet6_option_next( | |
arg1: *const cmsghdr, | |
arg2: *mut *mut __uint8_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn inet6_option_find( | |
arg1: *const cmsghdr, | |
arg2: *mut *mut __uint8_t, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn inet6_rthdr_space(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> usize; | |
} | |
extern "C" { | |
pub fn inet6_rthdr_init( | |
arg1: *mut ::std::os::raw::c_void, | |
arg2: ::std::os::raw::c_int, | |
) -> *mut cmsghdr; | |
} | |
extern "C" { | |
pub fn inet6_rthdr_add( | |
arg1: *mut cmsghdr, | |
arg2: *const in6_addr, | |
arg3: ::std::os::raw::c_uint, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn inet6_rthdr_lasthop( | |
arg1: *mut cmsghdr, | |
arg2: ::std::os::raw::c_uint, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn inet6_rthdr_segments(arg1: *const cmsghdr) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn inet6_rthdr_getaddr(arg1: *mut cmsghdr, arg2: ::std::os::raw::c_int) -> *mut in6_addr; | |
} | |
extern "C" { | |
pub fn inet6_rthdr_getflags( | |
arg1: *const cmsghdr, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn inet6_opt_init( | |
arg1: *mut ::std::os::raw::c_void, | |
arg2: socklen_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn inet6_opt_append( | |
arg1: *mut ::std::os::raw::c_void, | |
arg2: socklen_t, | |
arg3: ::std::os::raw::c_int, | |
arg4: __uint8_t, | |
arg5: socklen_t, | |
arg6: __uint8_t, | |
arg7: *mut *mut ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn inet6_opt_finish( | |
arg1: *mut ::std::os::raw::c_void, | |
arg2: socklen_t, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn inet6_opt_set_val( | |
arg1: *mut ::std::os::raw::c_void, | |
arg2: ::std::os::raw::c_int, | |
arg3: *mut ::std::os::raw::c_void, | |
arg4: socklen_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn inet6_opt_next( | |
arg1: *mut ::std::os::raw::c_void, | |
arg2: socklen_t, | |
arg3: ::std::os::raw::c_int, | |
arg4: *mut __uint8_t, | |
arg5: *mut socklen_t, | |
arg6: *mut *mut ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn inet6_opt_find( | |
arg1: *mut ::std::os::raw::c_void, | |
arg2: socklen_t, | |
arg3: ::std::os::raw::c_int, | |
arg4: __uint8_t, | |
arg5: *mut socklen_t, | |
arg6: *mut *mut ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn inet6_opt_get_val( | |
arg1: *mut ::std::os::raw::c_void, | |
arg2: ::std::os::raw::c_int, | |
arg3: *mut ::std::os::raw::c_void, | |
arg4: socklen_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn inet6_rth_space(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> socklen_t; | |
} | |
extern "C" { | |
pub fn inet6_rth_init( | |
arg1: *mut ::std::os::raw::c_void, | |
arg2: socklen_t, | |
arg3: ::std::os::raw::c_int, | |
arg4: ::std::os::raw::c_int, | |
) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn inet6_rth_add( | |
arg1: *mut ::std::os::raw::c_void, | |
arg2: *const in6_addr, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn inet6_rth_reverse( | |
arg1: *const ::std::os::raw::c_void, | |
arg2: *mut ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn inet6_rth_segments(arg1: *const ::std::os::raw::c_void) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn inet6_rth_getaddr( | |
arg1: *const ::std::os::raw::c_void, | |
arg2: ::std::os::raw::c_int, | |
) -> *mut in6_addr; | |
} | |
extern "C" { | |
pub fn bindresvport( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut sockaddr_in, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn bindresvport_sa( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut sockaddr, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn inet_addr(arg1: *const ::std::os::raw::c_char) -> in_addr_t; | |
} | |
extern "C" { | |
pub fn inet_ntoa(arg1: in_addr) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn inet_ntop( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_void, | |
arg3: *mut ::std::os::raw::c_char, | |
arg4: socklen_t, | |
) -> *const ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn inet_pton( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: *mut ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn ascii2addr( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: *mut ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn addr2ascii( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_void, | |
arg3: ::std::os::raw::c_int, | |
arg4: *mut ::std::os::raw::c_char, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn inet_aton( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut in_addr, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn inet_lnaof(arg1: in_addr) -> in_addr_t; | |
} | |
extern "C" { | |
pub fn inet_makeaddr(arg1: in_addr_t, arg2: in_addr_t) -> in_addr; | |
} | |
extern "C" { | |
pub fn inet_netof(arg1: in_addr) -> in_addr_t; | |
} | |
extern "C" { | |
pub fn inet_network(arg1: *const ::std::os::raw::c_char) -> in_addr_t; | |
} | |
extern "C" { | |
pub fn inet_net_ntop( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_void, | |
arg3: ::std::os::raw::c_int, | |
arg4: *mut ::std::os::raw::c_char, | |
arg5: __darwin_size_t, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn inet_net_pton( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: *mut ::std::os::raw::c_void, | |
arg4: __darwin_size_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn inet_neta( | |
arg1: in_addr_t, | |
arg2: *mut ::std::os::raw::c_char, | |
arg3: __darwin_size_t, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn inet_nsap_addr( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut ::std::os::raw::c_uchar, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_uint; | |
} | |
extern "C" { | |
pub fn inet_nsap_ntoa( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_uchar, | |
arg3: *mut ::std::os::raw::c_char, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct dirent { | |
pub d_ino: __uint64_t, | |
pub d_seekoff: __uint64_t, | |
pub d_reclen: __uint16_t, | |
pub d_namlen: __uint16_t, | |
pub d_type: __uint8_t, | |
pub d_name: [::std::os::raw::c_char; 1024usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct _telldir { | |
_unused: [u8; 0], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct DIR { | |
pub __dd_fd: ::std::os::raw::c_int, | |
pub __dd_loc: ::std::os::raw::c_long, | |
pub __dd_size: ::std::os::raw::c_long, | |
pub __dd_buf: *mut ::std::os::raw::c_char, | |
pub __dd_len: ::std::os::raw::c_int, | |
pub __dd_seek: ::std::os::raw::c_long, | |
pub __padding: ::std::os::raw::c_long, | |
pub __dd_flags: ::std::os::raw::c_int, | |
pub __dd_lock: __darwin_pthread_mutex_t, | |
pub __dd_td: *mut _telldir, | |
} | |
extern "C" { | |
pub fn closedir(arg1: *mut DIR) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn opendir(arg1: *const ::std::os::raw::c_char) -> *mut DIR; | |
} | |
extern "C" { | |
pub fn readdir(arg1: *mut DIR) -> *mut dirent; | |
} | |
extern "C" { | |
pub fn readdir_r( | |
arg1: *mut DIR, | |
arg2: *mut dirent, | |
arg3: *mut *mut dirent, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn rewinddir(arg1: *mut DIR); | |
} | |
extern "C" { | |
pub fn seekdir(arg1: *mut DIR, arg2: ::std::os::raw::c_long); | |
} | |
extern "C" { | |
pub fn telldir(arg1: *mut DIR) -> ::std::os::raw::c_long; | |
} | |
extern "C" { | |
pub fn fdopendir(arg1: ::std::os::raw::c_int) -> *mut DIR; | |
} | |
extern "C" { | |
pub fn alphasort(arg1: *mut *const dirent, arg2: *mut *const dirent) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn dirfd(dirp: *mut DIR) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn scandir( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut *mut *mut dirent, | |
arg3: ::std::option::Option< | |
unsafe extern "C" fn(arg1: *const dirent) -> ::std::os::raw::c_int, | |
>, | |
arg4: ::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 scandir_b( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut *mut *mut dirent, | |
arg3: *mut ::std::os::raw::c_void, | |
arg4: *mut ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
#[link_name = "\u{1}_getdirentries_is_not_available_when_64_bit_inodes_are_in_effect"] | |
pub fn getdirentries( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_int, | |
arg4: *mut ::std::os::raw::c_long, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn __opendir2(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) | |
-> *mut DIR; | |
} | |
#[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, | |
} | |
pub type Dl_info = dl_info; | |
extern "C" { | |
pub fn dladdr(arg1: *const ::std::os::raw::c_void, arg2: *mut Dl_info) | |
-> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn dlclose(__handle: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn dlerror() -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn dlopen( | |
__path: *const ::std::os::raw::c_char, | |
__mode: ::std::os::raw::c_int, | |
) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn dlsym( | |
__handle: *mut ::std::os::raw::c_void, | |
__symbol: *const ::std::os::raw::c_char, | |
) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn dlopen_preflight(__path: *const ::std::os::raw::c_char) -> bool; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct flock { | |
pub l_start: off_t, | |
pub l_len: off_t, | |
pub l_pid: pid_t, | |
pub l_type: ::std::os::raw::c_short, | |
pub l_whence: ::std::os::raw::c_short, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct flocktimeout { | |
pub fl: flock, | |
pub timeout: timespec, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct radvisory { | |
pub ra_offset: off_t, | |
pub ra_count: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct fsignatures { | |
pub fs_file_start: off_t, | |
pub fs_blob_start: *mut ::std::os::raw::c_void, | |
pub fs_blob_size: usize, | |
pub fs_fsignatures_size: usize, | |
pub fs_cdhash: [::std::os::raw::c_char; 20usize], | |
pub fs_hash_type: ::std::os::raw::c_int, | |
} | |
pub type fsignatures_t = fsignatures; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct fsupplement { | |
pub fs_file_start: off_t, | |
pub fs_blob_start: off_t, | |
pub fs_blob_size: usize, | |
pub fs_orig_fd: ::std::os::raw::c_int, | |
} | |
pub type fsupplement_t = fsupplement; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct fchecklv { | |
pub lv_file_start: off_t, | |
pub lv_error_message_size: usize, | |
pub lv_error_message: *mut ::std::os::raw::c_void, | |
} | |
pub type fchecklv_t = fchecklv; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct fgetsigsinfo { | |
pub fg_file_start: off_t, | |
pub fg_info_request: ::std::os::raw::c_int, | |
pub fg_sig_is_platform: ::std::os::raw::c_int, | |
} | |
pub type fgetsigsinfo_t = fgetsigsinfo; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct fstore { | |
pub fst_flags: ::std::os::raw::c_uint, | |
pub fst_posmode: ::std::os::raw::c_int, | |
pub fst_offset: off_t, | |
pub fst_length: off_t, | |
pub fst_bytesalloc: off_t, | |
} | |
pub type fstore_t = fstore; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct fpunchhole { | |
pub fp_flags: ::std::os::raw::c_uint, | |
pub reserved: ::std::os::raw::c_uint, | |
pub fp_offset: off_t, | |
pub fp_length: off_t, | |
} | |
pub type fpunchhole_t = fpunchhole; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ftrimactivefile { | |
pub fta_offset: off_t, | |
pub fta_length: off_t, | |
} | |
pub type ftrimactivefile_t = ftrimactivefile; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct fspecread { | |
pub fsr_flags: ::std::os::raw::c_uint, | |
pub reserved: ::std::os::raw::c_uint, | |
pub fsr_offset: off_t, | |
pub fsr_length: off_t, | |
} | |
pub type fspecread_t = fspecread; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct fattributiontag { | |
pub ft_flags: ::std::os::raw::c_uint, | |
pub ft_hash: ::std::os::raw::c_ulonglong, | |
pub ft_attribution_name: [::std::os::raw::c_char; 255usize], | |
} | |
pub type fattributiontag_t = fattributiontag; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct log2phys { | |
pub l2p_flags: ::std::os::raw::c_uint, | |
pub l2p_contigbytes: off_t, | |
pub l2p_devoffset: off_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct _filesec { | |
_unused: [u8; 0], | |
} | |
pub type filesec_t = *mut _filesec; | |
pub const filesec_property_t_FILESEC_OWNER: filesec_property_t = 1; | |
pub const filesec_property_t_FILESEC_GROUP: filesec_property_t = 2; | |
pub const filesec_property_t_FILESEC_UUID: filesec_property_t = 3; | |
pub const filesec_property_t_FILESEC_MODE: filesec_property_t = 4; | |
pub const filesec_property_t_FILESEC_ACL: filesec_property_t = 5; | |
pub const filesec_property_t_FILESEC_GRPUUID: filesec_property_t = 6; | |
pub const filesec_property_t_FILESEC_ACL_RAW: filesec_property_t = 100; | |
pub const filesec_property_t_FILESEC_ACL_ALLOCSIZE: filesec_property_t = 101; | |
pub type filesec_property_t = ::std::os::raw::c_uint; | |
extern "C" { | |
pub fn open( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn openat( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_int, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn creat(arg1: *const ::std::os::raw::c_char, arg2: mode_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fcntl( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn openx_np( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
arg3: filesec_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn open_dprotected_np( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
arg3: ::std::os::raw::c_int, | |
arg4: ::std::os::raw::c_int, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn openat_dprotected_np( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_int, | |
arg4: ::std::os::raw::c_int, | |
arg5: ::std::os::raw::c_int, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn openat_authenticated_np( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_int, | |
arg4: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn flock(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) | |
-> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn filesec_init() -> filesec_t; | |
} | |
extern "C" { | |
pub fn filesec_dup(arg1: filesec_t) -> filesec_t; | |
} | |
extern "C" { | |
pub fn filesec_free(arg1: filesec_t); | |
} | |
extern "C" { | |
pub fn filesec_get_property( | |
arg1: filesec_t, | |
arg2: filesec_property_t, | |
arg3: *mut ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn filesec_query_property( | |
arg1: filesec_t, | |
arg2: filesec_property_t, | |
arg3: *mut ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn filesec_set_property( | |
arg1: filesec_t, | |
arg2: filesec_property_t, | |
arg3: *const ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn filesec_unset_property( | |
arg1: filesec_t, | |
arg2: filesec_property_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fmtmsg( | |
arg1: ::std::os::raw::c_long, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_int, | |
arg4: *const ::std::os::raw::c_char, | |
arg5: *const ::std::os::raw::c_char, | |
arg6: *const ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fnmatch( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ostat { | |
pub st_dev: __uint16_t, | |
pub st_ino: ino_t, | |
pub st_mode: mode_t, | |
pub st_nlink: nlink_t, | |
pub st_uid: __uint16_t, | |
pub st_gid: __uint16_t, | |
pub st_rdev: __uint16_t, | |
pub st_size: __int32_t, | |
pub st_atimespec: timespec, | |
pub st_mtimespec: timespec, | |
pub st_ctimespec: timespec, | |
pub st_blksize: __int32_t, | |
pub st_blocks: __int32_t, | |
pub st_flags: __uint32_t, | |
pub st_gen: __uint32_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct stat { | |
pub st_dev: dev_t, | |
pub st_mode: mode_t, | |
pub st_nlink: nlink_t, | |
pub st_ino: __darwin_ino64_t, | |
pub st_uid: uid_t, | |
pub st_gid: gid_t, | |
pub st_rdev: dev_t, | |
pub st_atimespec: timespec, | |
pub st_mtimespec: timespec, | |
pub st_ctimespec: timespec, | |
pub st_birthtimespec: timespec, | |
pub st_size: off_t, | |
pub st_blocks: blkcnt_t, | |
pub st_blksize: blksize_t, | |
pub st_flags: __uint32_t, | |
pub st_gen: __uint32_t, | |
pub st_lspare: __int32_t, | |
pub st_qspare: [__int64_t; 2usize], | |
} | |
extern "C" { | |
pub fn chmod(arg1: *const ::std::os::raw::c_char, arg2: mode_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fchmod(arg1: ::std::os::raw::c_int, arg2: mode_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fstat(arg1: ::std::os::raw::c_int, arg2: *mut stat) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn lstat(arg1: *const ::std::os::raw::c_char, arg2: *mut stat) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn mkdir(arg1: *const ::std::os::raw::c_char, arg2: mode_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn mkfifo(arg1: *const ::std::os::raw::c_char, arg2: mode_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn stat(arg1: *const ::std::os::raw::c_char, arg2: *mut stat) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn mknod( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: mode_t, | |
arg3: dev_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn umask(arg1: mode_t) -> mode_t; | |
} | |
extern "C" { | |
pub fn fchmodat( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: mode_t, | |
arg4: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fstatat( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: *mut stat, | |
arg4: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn mkdirat( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: mode_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn mkfifoat( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: mode_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn mknodat( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: mode_t, | |
arg4: dev_t, | |
) -> ::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 utimensat( | |
__fd: ::std::os::raw::c_int, | |
__path: *const ::std::os::raw::c_char, | |
__times: *const timespec, | |
__flag: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn chflags(arg1: *const ::std::os::raw::c_char, arg2: __uint32_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn chmodx_np(arg1: *const ::std::os::raw::c_char, arg2: filesec_t) | |
-> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fchflags(arg1: ::std::os::raw::c_int, arg2: __uint32_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fchmodx_np(arg1: ::std::os::raw::c_int, arg2: filesec_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fstatx_np( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut stat, | |
arg3: filesec_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn lchflags(arg1: *const ::std::os::raw::c_char, arg2: __uint32_t) | |
-> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn lchmod(arg1: *const ::std::os::raw::c_char, arg2: mode_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn lstatx_np( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut stat, | |
arg3: filesec_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn mkdirx_np(arg1: *const ::std::os::raw::c_char, arg2: filesec_t) | |
-> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn mkfifox_np( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: filesec_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn statx_np( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut stat, | |
arg3: filesec_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn umaskx_np(arg1: filesec_t) -> ::std::os::raw::c_int; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct FTW { | |
pub base: ::std::os::raw::c_int, | |
pub level: ::std::os::raw::c_int, | |
} | |
extern "C" { | |
pub fn ftw( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const stat, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int, | |
>, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn nftw( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const stat, | |
arg3: ::std::os::raw::c_int, | |
arg4: *mut FTW, | |
) -> ::std::os::raw::c_int, | |
>, | |
arg3: ::std::os::raw::c_int, | |
arg4: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub struct glob_t { | |
pub __bindgen_anon_1: glob_t__bindgen_ty_1, | |
pub gl_pathc: usize, | |
pub gl_matchc: ::std::os::raw::c_int, | |
pub gl_offs: usize, | |
pub gl_flags: ::std::os::raw::c_int, | |
pub gl_pathv: *mut *mut ::std::os::raw::c_char, | |
pub gl_closedir: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, | |
pub gl_readdir: ::std::option::Option< | |
unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> *mut dirent, | |
>, | |
pub gl_opendir: ::std::option::Option< | |
unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_void, | |
>, | |
pub gl_lstat: ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut stat, | |
) -> ::std::os::raw::c_int, | |
>, | |
pub gl_stat: ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut stat, | |
) -> ::std::os::raw::c_int, | |
>, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union glob_t__bindgen_ty_1 { | |
pub gl_errfunc: ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int, | |
>, | |
pub gl_errblk: *mut ::std::os::raw::c_void, | |
} | |
extern "C" { | |
pub fn glob( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
arg3: ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int, | |
>, | |
arg4: *mut glob_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn glob_b( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
arg3: *mut ::std::os::raw::c_void, | |
arg4: *mut glob_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn globfree(arg1: *mut glob_t); | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct group { | |
pub gr_name: *mut ::std::os::raw::c_char, | |
pub gr_passwd: *mut ::std::os::raw::c_char, | |
pub gr_gid: gid_t, | |
pub gr_mem: *mut *mut ::std::os::raw::c_char, | |
} | |
extern "C" { | |
pub fn getgrgid(arg1: gid_t) -> *mut group; | |
} | |
extern "C" { | |
pub fn getgrnam(arg1: *const ::std::os::raw::c_char) -> *mut group; | |
} | |
extern "C" { | |
pub fn getgrgid_r( | |
arg1: gid_t, | |
arg2: *mut group, | |
arg3: *mut ::std::os::raw::c_char, | |
arg4: usize, | |
arg5: *mut *mut group, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getgrnam_r( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut group, | |
arg3: *mut ::std::os::raw::c_char, | |
arg4: usize, | |
arg5: *mut *mut group, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getgrent() -> *mut group; | |
} | |
extern "C" { | |
pub fn setgrent(); | |
} | |
extern "C" { | |
pub fn endgrent(); | |
} | |
extern "C" { | |
pub fn group_from_gid(arg1: gid_t, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn getgruuid(arg1: *mut ::std::os::raw::c_uchar) -> *mut group; | |
} | |
extern "C" { | |
pub fn getgruuid_r( | |
arg1: *mut ::std::os::raw::c_uchar, | |
arg2: *mut group, | |
arg3: *mut ::std::os::raw::c_char, | |
arg4: usize, | |
arg5: *mut *mut group, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn setgrfile(arg1: *const ::std::os::raw::c_char); | |
} | |
extern "C" { | |
pub fn setgroupent(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
pub type __iconv_bool = bool; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __tag_iconv_t { | |
_unused: [u8; 0], | |
} | |
pub type iconv_t = *mut __tag_iconv_t; | |
extern "C" { | |
pub static mut _libiconv_version: ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn iconv_open( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
) -> iconv_t; | |
} | |
extern "C" { | |
pub fn iconv( | |
arg1: iconv_t, | |
arg2: *mut *mut ::std::os::raw::c_char, | |
arg3: *mut usize, | |
arg4: *mut *mut ::std::os::raw::c_char, | |
arg5: *mut usize, | |
) -> usize; | |
} | |
extern "C" { | |
pub fn iconv_close(arg1: iconv_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn __iconv_get_list( | |
arg1: *mut *mut *mut ::std::os::raw::c_char, | |
arg2: *mut usize, | |
arg3: __iconv_bool, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn __iconv_free_list(arg1: *mut *mut ::std::os::raw::c_char, arg2: usize); | |
} | |
extern "C" { | |
pub fn __iconv( | |
arg1: iconv_t, | |
arg2: *mut *mut ::std::os::raw::c_char, | |
arg3: *mut usize, | |
arg4: *mut *mut ::std::os::raw::c_char, | |
arg5: *mut usize, | |
arg6: __uint32_t, | |
arg7: *mut usize, | |
) -> usize; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct iconv_allocation_t { | |
pub spaceholder: [*mut ::std::os::raw::c_void; 64usize], | |
} | |
extern "C" { | |
pub fn iconv_open_into( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: *mut iconv_allocation_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn libiconv_set_relocation_prefix( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
); | |
} | |
pub type iconv_unicode_char_hook = ::std::option::Option< | |
unsafe extern "C" fn(mbr: ::std::os::raw::c_uint, data: *mut ::std::os::raw::c_void), | |
>; | |
pub type iconv_wide_char_hook = | |
::std::option::Option<unsafe extern "C" fn(wc: wchar_t, data: *mut ::std::os::raw::c_void)>; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct iconv_hooks { | |
pub uc_hook: iconv_unicode_char_hook, | |
pub wc_hook: iconv_wide_char_hook, | |
pub data: *mut ::std::os::raw::c_void, | |
} | |
pub type iconv_unicode_mb_to_uc_fallback = ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: usize, | |
write_replacement: ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: *const ::std::os::raw::c_uint, | |
arg2: usize, | |
arg3: *mut ::std::os::raw::c_void, | |
), | |
>, | |
arg3: *mut ::std::os::raw::c_void, | |
arg4: *mut ::std::os::raw::c_void, | |
), | |
>; | |
pub type iconv_unicode_uc_to_mb_fallback = ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: ::std::os::raw::c_uint, | |
write_replacement: ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: usize, | |
arg3: *mut ::std::os::raw::c_void, | |
), | |
>, | |
arg2: *mut ::std::os::raw::c_void, | |
arg3: *mut ::std::os::raw::c_void, | |
), | |
>; | |
pub type iconv_wchar_mb_to_wc_fallback = ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: usize, | |
write_replacement: ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: *const wchar_t, | |
arg2: usize, | |
arg3: *mut ::std::os::raw::c_void, | |
), | |
>, | |
arg3: *mut ::std::os::raw::c_void, | |
arg4: *mut ::std::os::raw::c_void, | |
), | |
>; | |
pub type iconv_wchar_wc_to_mb_fallback = ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: wchar_t, | |
write_replacement: ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: usize, | |
arg3: *mut ::std::os::raw::c_void, | |
), | |
>, | |
arg2: *mut ::std::os::raw::c_void, | |
arg3: *mut ::std::os::raw::c_void, | |
), | |
>; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct iconv_fallbacks { | |
pub mb_to_uc_fallback: iconv_unicode_mb_to_uc_fallback, | |
pub uc_to_mb_fallback: iconv_unicode_uc_to_mb_fallback, | |
pub mb_to_wc_fallback: iconv_wchar_mb_to_wc_fallback, | |
pub wc_to_mb_fallback: iconv_wchar_wc_to_mb_fallback, | |
pub data: *mut ::std::os::raw::c_void, | |
} | |
extern "C" { | |
pub fn iconvlist( | |
do_one: ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: ::std::os::raw::c_uint, | |
arg2: *const *const ::std::os::raw::c_char, | |
arg3: *mut ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int, | |
>, | |
arg1: *mut ::std::os::raw::c_void, | |
); | |
} | |
extern "C" { | |
pub fn iconv_canonicalize(arg1: *const ::std::os::raw::c_char) | |
-> *const ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn iconvctl( | |
arg1: iconv_t, | |
arg2: ::std::os::raw::c_int, | |
arg3: *mut ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ifaddrs { | |
pub ifa_next: *mut ifaddrs, | |
pub ifa_name: *mut ::std::os::raw::c_char, | |
pub ifa_flags: ::std::os::raw::c_uint, | |
pub ifa_addr: *mut sockaddr, | |
pub ifa_netmask: *mut sockaddr, | |
pub ifa_dstaddr: *mut sockaddr, | |
pub ifa_data: *mut ::std::os::raw::c_void, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ifmaddrs { | |
pub ifma_next: *mut ifmaddrs, | |
pub ifma_name: *mut sockaddr, | |
pub ifma_addr: *mut sockaddr, | |
pub ifma_lladdr: *mut sockaddr, | |
} | |
extern "C" { | |
pub fn getifaddrs(arg1: *mut *mut ifaddrs) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn freeifaddrs(arg1: *mut ifaddrs); | |
} | |
extern "C" { | |
pub fn getifmaddrs(arg1: *mut *mut ifmaddrs) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn freeifmaddrs(arg1: *mut ifmaddrs); | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ttysize { | |
pub ts_lines: ::std::os::raw::c_ushort, | |
pub ts_cols: ::std::os::raw::c_ushort, | |
pub ts_xxx: ::std::os::raw::c_ushort, | |
pub ts_yyy: ::std::os::raw::c_ushort, | |
} | |
extern "C" { | |
pub fn ioctl( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_ulong, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn nl_langinfo(arg1: nl_item) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn basename(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn dirname(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn basename_r( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut ::std::os::raw::c_char, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn dirname_r( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut ::std::os::raw::c_char, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn strfmon( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: usize, | |
arg3: *const ::std::os::raw::c_char, | |
... | |
) -> isize; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct datum { | |
pub dptr: *mut ::std::os::raw::c_void, | |
pub dsize: usize, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct DBM { | |
pub __opaque: [::std::os::raw::c_char; 68usize], | |
} | |
extern "C" { | |
pub fn dbm_clearerr(arg1: *mut DBM) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn dbm_close(arg1: *mut DBM); | |
} | |
extern "C" { | |
pub fn dbm_delete(arg1: *mut DBM, arg2: datum) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn dbm_dirfno(arg1: *mut DBM) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn dbm_error(arg1: *mut DBM) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn dbm_fetch(arg1: *mut DBM, arg2: datum) -> datum; | |
} | |
extern "C" { | |
pub fn dbm_firstkey(arg1: *mut DBM) -> datum; | |
} | |
extern "C" { | |
pub fn dbm_forder(arg1: *mut DBM, arg2: datum) -> ::std::os::raw::c_long; | |
} | |
extern "C" { | |
pub fn dbm_nextkey(arg1: *mut DBM) -> datum; | |
} | |
extern "C" { | |
pub fn dbm_open( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
arg3: mode_t, | |
) -> *mut DBM; | |
} | |
extern "C" { | |
pub fn dbm_store( | |
arg1: *mut DBM, | |
arg2: datum, | |
arg3: datum, | |
arg4: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub static mut h_errno: ::std::os::raw::c_int; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct hostent { | |
pub h_name: *mut ::std::os::raw::c_char, | |
pub h_aliases: *mut *mut ::std::os::raw::c_char, | |
pub h_addrtype: ::std::os::raw::c_int, | |
pub h_length: ::std::os::raw::c_int, | |
pub h_addr_list: *mut *mut ::std::os::raw::c_char, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct netent { | |
pub n_name: *mut ::std::os::raw::c_char, | |
pub n_aliases: *mut *mut ::std::os::raw::c_char, | |
pub n_addrtype: ::std::os::raw::c_int, | |
pub n_net: u32, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct servent { | |
pub s_name: *mut ::std::os::raw::c_char, | |
pub s_aliases: *mut *mut ::std::os::raw::c_char, | |
pub s_port: ::std::os::raw::c_int, | |
pub s_proto: *mut ::std::os::raw::c_char, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct protoent { | |
pub p_name: *mut ::std::os::raw::c_char, | |
pub p_aliases: *mut *mut ::std::os::raw::c_char, | |
pub p_proto: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct addrinfo { | |
pub ai_flags: ::std::os::raw::c_int, | |
pub ai_family: ::std::os::raw::c_int, | |
pub ai_socktype: ::std::os::raw::c_int, | |
pub ai_protocol: ::std::os::raw::c_int, | |
pub ai_addrlen: socklen_t, | |
pub ai_canonname: *mut ::std::os::raw::c_char, | |
pub ai_addr: *mut sockaddr, | |
pub ai_next: *mut addrinfo, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct rpcent { | |
pub r_name: *mut ::std::os::raw::c_char, | |
pub r_aliases: *mut *mut ::std::os::raw::c_char, | |
pub r_number: ::std::os::raw::c_int, | |
} | |
extern "C" { | |
pub fn endhostent(); | |
} | |
extern "C" { | |
pub fn endnetent(); | |
} | |
extern "C" { | |
pub fn endprotoent(); | |
} | |
extern "C" { | |
pub fn endservent(); | |
} | |
extern "C" { | |
pub fn freeaddrinfo(arg1: *mut addrinfo); | |
} | |
extern "C" { | |
pub fn gai_strerror(arg1: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn getaddrinfo( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: *const addrinfo, | |
arg4: *mut *mut addrinfo, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn gethostbyaddr( | |
arg1: *const ::std::os::raw::c_void, | |
arg2: socklen_t, | |
arg3: ::std::os::raw::c_int, | |
) -> *mut hostent; | |
} | |
extern "C" { | |
pub fn gethostbyname(arg1: *const ::std::os::raw::c_char) -> *mut hostent; | |
} | |
extern "C" { | |
pub fn gethostent() -> *mut hostent; | |
} | |
extern "C" { | |
pub fn getnameinfo( | |
arg1: *const sockaddr, | |
arg2: socklen_t, | |
arg3: *mut ::std::os::raw::c_char, | |
arg4: socklen_t, | |
arg5: *mut ::std::os::raw::c_char, | |
arg6: socklen_t, | |
arg7: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getnetbyaddr(arg1: u32, arg2: ::std::os::raw::c_int) -> *mut netent; | |
} | |
extern "C" { | |
pub fn getnetbyname(arg1: *const ::std::os::raw::c_char) -> *mut netent; | |
} | |
extern "C" { | |
pub fn getnetent() -> *mut netent; | |
} | |
extern "C" { | |
pub fn getprotobyname(arg1: *const ::std::os::raw::c_char) -> *mut protoent; | |
} | |
extern "C" { | |
pub fn getprotobynumber(arg1: ::std::os::raw::c_int) -> *mut protoent; | |
} | |
extern "C" { | |
pub fn getprotoent() -> *mut protoent; | |
} | |
extern "C" { | |
pub fn getservbyname( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
) -> *mut servent; | |
} | |
extern "C" { | |
pub fn getservbyport( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
) -> *mut servent; | |
} | |
extern "C" { | |
pub fn getservent() -> *mut servent; | |
} | |
extern "C" { | |
pub fn sethostent(arg1: ::std::os::raw::c_int); | |
} | |
extern "C" { | |
pub fn setnetent(arg1: ::std::os::raw::c_int); | |
} | |
extern "C" { | |
pub fn setprotoent(arg1: ::std::os::raw::c_int); | |
} | |
extern "C" { | |
pub fn setservent(arg1: ::std::os::raw::c_int); | |
} | |
extern "C" { | |
pub fn freehostent(arg1: *mut hostent); | |
} | |
extern "C" { | |
pub fn gethostbyname2( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
) -> *mut hostent; | |
} | |
extern "C" { | |
pub fn getipnodebyaddr( | |
arg1: *const ::std::os::raw::c_void, | |
arg2: usize, | |
arg3: ::std::os::raw::c_int, | |
arg4: *mut ::std::os::raw::c_int, | |
) -> *mut hostent; | |
} | |
extern "C" { | |
pub fn getipnodebyname( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
arg3: ::std::os::raw::c_int, | |
arg4: *mut ::std::os::raw::c_int, | |
) -> *mut hostent; | |
} | |
extern "C" { | |
pub fn getrpcbyname(name: *const ::std::os::raw::c_char) -> *mut rpcent; | |
} | |
extern "C" { | |
pub fn getrpcbynumber(number: ::std::os::raw::c_int) -> *mut rpcent; | |
} | |
extern "C" { | |
pub fn getrpcent() -> *mut rpcent; | |
} | |
extern "C" { | |
pub fn setrpcent(stayopen: ::std::os::raw::c_int); | |
} | |
extern "C" { | |
pub fn endrpcent(); | |
} | |
extern "C" { | |
pub fn herror(arg1: *const ::std::os::raw::c_char); | |
} | |
extern "C" { | |
pub fn hstrerror(arg1: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn innetgr( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: *const ::std::os::raw::c_char, | |
arg4: *const ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getnetgrent( | |
arg1: *mut *mut ::std::os::raw::c_char, | |
arg2: *mut *mut ::std::os::raw::c_char, | |
arg3: *mut *mut ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn endnetgrent(); | |
} | |
extern "C" { | |
pub fn setnetgrent(arg1: *const ::std::os::raw::c_char); | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sockaddr_dl { | |
pub sdl_len: u_char, | |
pub sdl_family: u_char, | |
pub sdl_index: u_short, | |
pub sdl_type: u_char, | |
pub sdl_nlen: u_char, | |
pub sdl_alen: u_char, | |
pub sdl_slen: u_char, | |
pub sdl_data: [::std::os::raw::c_char; 12usize], | |
} | |
extern "C" { | |
pub fn link_addr(arg1: *const ::std::os::raw::c_char, arg2: *mut sockaddr_dl); | |
} | |
extern "C" { | |
pub fn link_ntoa(arg1: *const sockaddr_dl) -> *mut ::std::os::raw::c_char; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct timeval64 { | |
pub tv_sec: __int64_t, | |
pub tv_usec: __int64_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct itimerval { | |
pub it_interval: timeval, | |
pub it_value: timeval, | |
} | |
#[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, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct clockinfo { | |
pub hz: ::std::os::raw::c_int, | |
pub tick: ::std::os::raw::c_int, | |
pub tickadj: ::std::os::raw::c_int, | |
pub stathz: ::std::os::raw::c_int, | |
pub profhz: ::std::os::raw::c_int, | |
} | |
extern "C" { | |
pub fn adjtime(arg1: *const timeval, arg2: *mut timeval) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn futimes(arg1: ::std::os::raw::c_int, arg2: *const timeval) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn lutimes( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const timeval, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn settimeofday(arg1: *const timeval, arg2: *const timezone) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getitimer(arg1: ::std::os::raw::c_int, arg2: *mut itimerval) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn gettimeofday( | |
arg1: *mut timeval, | |
arg2: *mut ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn select( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut fd_set, | |
arg3: *mut fd_set, | |
arg4: *mut fd_set, | |
arg5: *mut timeval, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn setitimer( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const itimerval, | |
arg3: *mut itimerval, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn utimes( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const timeval, | |
) -> ::std::os::raw::c_int; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct net_event_data { | |
pub if_family: u_int32_t, | |
pub if_unit: u_int32_t, | |
pub if_name: [::std::os::raw::c_char; 16usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct timeval32 { | |
pub tv_sec: __int32_t, | |
pub tv_usec: __int32_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct if_data { | |
pub ifi_type: u_char, | |
pub ifi_typelen: u_char, | |
pub ifi_physical: u_char, | |
pub ifi_addrlen: u_char, | |
pub ifi_hdrlen: u_char, | |
pub ifi_recvquota: u_char, | |
pub ifi_xmitquota: u_char, | |
pub ifi_unused1: u_char, | |
pub ifi_mtu: u_int32_t, | |
pub ifi_metric: u_int32_t, | |
pub ifi_baudrate: u_int32_t, | |
pub ifi_ipackets: u_int32_t, | |
pub ifi_ierrors: u_int32_t, | |
pub ifi_opackets: u_int32_t, | |
pub ifi_oerrors: u_int32_t, | |
pub ifi_collisions: u_int32_t, | |
pub ifi_ibytes: u_int32_t, | |
pub ifi_obytes: u_int32_t, | |
pub ifi_imcasts: u_int32_t, | |
pub ifi_omcasts: u_int32_t, | |
pub ifi_iqdrops: u_int32_t, | |
pub ifi_noproto: u_int32_t, | |
pub ifi_recvtiming: u_int32_t, | |
pub ifi_xmittiming: u_int32_t, | |
pub ifi_lastchange: timeval32, | |
pub ifi_unused2: u_int32_t, | |
pub ifi_hwassist: u_int32_t, | |
pub ifi_reserved1: u_int32_t, | |
pub ifi_reserved2: u_int32_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct if_data64 { | |
pub ifi_type: u_char, | |
pub ifi_typelen: u_char, | |
pub ifi_physical: u_char, | |
pub ifi_addrlen: u_char, | |
pub ifi_hdrlen: u_char, | |
pub ifi_recvquota: u_char, | |
pub ifi_xmitquota: u_char, | |
pub ifi_unused1: u_char, | |
pub ifi_mtu: u_int32_t, | |
pub ifi_metric: u_int32_t, | |
pub ifi_baudrate: u_int64_t, | |
pub ifi_ipackets: u_int64_t, | |
pub ifi_ierrors: u_int64_t, | |
pub ifi_opackets: u_int64_t, | |
pub ifi_oerrors: u_int64_t, | |
pub ifi_collisions: u_int64_t, | |
pub ifi_ibytes: u_int64_t, | |
pub ifi_obytes: u_int64_t, | |
pub ifi_imcasts: u_int64_t, | |
pub ifi_omcasts: u_int64_t, | |
pub ifi_iqdrops: u_int64_t, | |
pub ifi_noproto: u_int64_t, | |
pub ifi_recvtiming: u_int32_t, | |
pub ifi_xmittiming: u_int32_t, | |
pub ifi_lastchange: timeval32, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ifqueue { | |
pub ifq_head: *mut ::std::os::raw::c_void, | |
pub ifq_tail: *mut ::std::os::raw::c_void, | |
pub ifq_len: ::std::os::raw::c_int, | |
pub ifq_maxlen: ::std::os::raw::c_int, | |
pub ifq_drops: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct if_clonereq { | |
pub ifcr_total: ::std::os::raw::c_int, | |
pub ifcr_count: ::std::os::raw::c_int, | |
pub ifcr_buffer: *mut ::std::os::raw::c_char, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct if_msghdr { | |
pub ifm_msglen: ::std::os::raw::c_ushort, | |
pub ifm_version: ::std::os::raw::c_uchar, | |
pub ifm_type: ::std::os::raw::c_uchar, | |
pub ifm_addrs: ::std::os::raw::c_int, | |
pub ifm_flags: ::std::os::raw::c_int, | |
pub ifm_index: ::std::os::raw::c_ushort, | |
pub ifm_data: if_data, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ifa_msghdr { | |
pub ifam_msglen: ::std::os::raw::c_ushort, | |
pub ifam_version: ::std::os::raw::c_uchar, | |
pub ifam_type: ::std::os::raw::c_uchar, | |
pub ifam_addrs: ::std::os::raw::c_int, | |
pub ifam_flags: ::std::os::raw::c_int, | |
pub ifam_index: ::std::os::raw::c_ushort, | |
pub ifam_metric: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ifma_msghdr { | |
pub ifmam_msglen: ::std::os::raw::c_ushort, | |
pub ifmam_version: ::std::os::raw::c_uchar, | |
pub ifmam_type: ::std::os::raw::c_uchar, | |
pub ifmam_addrs: ::std::os::raw::c_int, | |
pub ifmam_flags: ::std::os::raw::c_int, | |
pub ifmam_index: ::std::os::raw::c_ushort, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct if_msghdr2 { | |
pub ifm_msglen: u_short, | |
pub ifm_version: u_char, | |
pub ifm_type: u_char, | |
pub ifm_addrs: ::std::os::raw::c_int, | |
pub ifm_flags: ::std::os::raw::c_int, | |
pub ifm_index: u_short, | |
pub ifm_snd_len: ::std::os::raw::c_int, | |
pub ifm_snd_maxlen: ::std::os::raw::c_int, | |
pub ifm_snd_drops: ::std::os::raw::c_int, | |
pub ifm_timer: ::std::os::raw::c_int, | |
pub ifm_data: if_data64, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ifma_msghdr2 { | |
pub ifmam_msglen: u_short, | |
pub ifmam_version: u_char, | |
pub ifmam_type: u_char, | |
pub ifmam_addrs: ::std::os::raw::c_int, | |
pub ifmam_flags: ::std::os::raw::c_int, | |
pub ifmam_index: u_short, | |
pub ifmam_refcount: i32, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ifdevmtu { | |
pub ifdm_current: ::std::os::raw::c_int, | |
pub ifdm_min: ::std::os::raw::c_int, | |
pub ifdm_max: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub struct ifkpi { | |
pub __bindgen_anon_1: ifkpi__bindgen_ty_1, | |
pub ifk_module_id: ::std::os::raw::c_uint, | |
pub ifk_type: ::std::os::raw::c_uint, | |
pub ifk_data: ifkpi__bindgen_ty_1, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Copy, Clone)] | |
pub union ifkpi__bindgen_ty_1 { | |
pub ifk_ptr: *mut ::std::os::raw::c_void, | |
pub ifk_value: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub struct ifreq { | |
pub __bindgen_anon_1: ifreq__bindgen_ty_1, | |
pub ifr_name: [::std::os::raw::c_char; 16usize], | |
pub ifr_ifru: ifreq__bindgen_ty_1, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union ifreq__bindgen_ty_1 { | |
pub ifru_addr: sockaddr, | |
pub ifru_dstaddr: sockaddr, | |
pub ifru_broadaddr: sockaddr, | |
pub ifru_flags: ::std::os::raw::c_short, | |
pub ifru_metric: ::std::os::raw::c_int, | |
pub ifru_mtu: ::std::os::raw::c_int, | |
pub ifru_phys: ::std::os::raw::c_int, | |
pub ifru_media: ::std::os::raw::c_int, | |
pub ifru_intval: ::std::os::raw::c_int, | |
pub ifru_data: caddr_t, | |
pub ifru_devmtu: ifdevmtu, | |
pub ifru_kpi: ifkpi, | |
pub ifru_wake_flags: u_int32_t, | |
pub ifru_route_refcnt: u_int32_t, | |
pub ifru_cap: [::std::os::raw::c_int; 2usize], | |
pub ifru_functional_type: u_int32_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ifaliasreq { | |
pub ifra_name: [::std::os::raw::c_char; 16usize], | |
pub ifra_addr: sockaddr, | |
pub ifra_broadaddr: sockaddr, | |
pub ifra_mask: sockaddr, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct rslvmulti_req { | |
pub sa: *mut sockaddr, | |
pub llsa: *mut *mut sockaddr, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ifmediareq { | |
pub ifm_name: [::std::os::raw::c_char; 16usize], | |
pub ifm_current: ::std::os::raw::c_int, | |
pub ifm_mask: ::std::os::raw::c_int, | |
pub ifm_status: ::std::os::raw::c_int, | |
pub ifm_active: ::std::os::raw::c_int, | |
pub ifm_count: ::std::os::raw::c_int, | |
pub ifm_ulist: *mut ::std::os::raw::c_int, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ifdrv { | |
pub ifd_name: [::std::os::raw::c_char; 16usize], | |
pub ifd_cmd: ::std::os::raw::c_ulong, | |
pub ifd_len: usize, | |
pub ifd_data: *mut ::std::os::raw::c_void, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ifstat { | |
pub ifs_name: [::std::os::raw::c_char; 16usize], | |
pub ascii: [::std::os::raw::c_char; 801usize], | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub struct ifconf { | |
pub __bindgen_anon_1: ifconf__bindgen_ty_1, | |
pub ifc_len: ::std::os::raw::c_int, | |
pub ifc_ifcu: ifconf__bindgen_ty_1, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Copy, Clone)] | |
pub union ifconf__bindgen_ty_1 { | |
pub ifcu_buf: caddr_t, | |
pub ifcu_req: *mut ifreq, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct kev_dl_proto_data { | |
pub link_data: net_event_data, | |
pub proto_family: u_int32_t, | |
pub proto_remaining_count: u_int32_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct if_nameindex { | |
pub if_index: ::std::os::raw::c_uint, | |
pub if_name: *mut ::std::os::raw::c_char, | |
} | |
extern "C" { | |
pub fn if_nametoindex(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_uint; | |
} | |
extern "C" { | |
pub fn if_indextoname( | |
arg1: ::std::os::raw::c_uint, | |
arg2: *mut ::std::os::raw::c_char, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn if_nameindex() -> *mut if_nameindex; | |
} | |
extern "C" { | |
pub fn if_freenameindex(arg1: *mut if_nameindex); | |
} | |
pub type tcp_seq = __uint32_t; | |
pub type tcp_cc = __uint32_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct tcphdr { | |
pub th_sport: ::std::os::raw::c_ushort, | |
pub th_dport: ::std::os::raw::c_ushort, | |
pub th_seq: tcp_seq, | |
pub th_ack: tcp_seq, | |
pub _bitfield_align_1: [u8; 0], | |
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>, | |
pub th_flags: ::std::os::raw::c_uchar, | |
pub th_win: ::std::os::raw::c_ushort, | |
pub th_sum: ::std::os::raw::c_ushort, | |
pub th_urp: ::std::os::raw::c_ushort, | |
} | |
impl tcphdr { | |
#[inline] | |
pub fn th_x2(&self) -> ::std::os::raw::c_uint { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u32) } | |
} | |
#[inline] | |
pub fn set_th_x2(&mut self, val: ::std::os::raw::c_uint) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(0usize, 4u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn th_off(&self) -> ::std::os::raw::c_uint { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 4u8) as u32) } | |
} | |
#[inline] | |
pub fn set_th_off(&mut self, val: ::std::os::raw::c_uint) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(4usize, 4u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn new_bitfield_1( | |
th_x2: ::std::os::raw::c_uint, | |
th_off: ::std::os::raw::c_uint, | |
) -> __BindgenBitfieldUnit<[u8; 1usize]> { | |
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default(); | |
__bindgen_bitfield_unit.set(0usize, 4u8, { | |
let th_x2: u32 = unsafe { ::std::mem::transmute(th_x2) }; | |
th_x2 as u64 | |
}); | |
__bindgen_bitfield_unit.set(4usize, 4u8, { | |
let th_off: u32 = unsafe { ::std::mem::transmute(th_off) }; | |
th_off as u64 | |
}); | |
__bindgen_bitfield_unit | |
} | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct tcp_connection_info { | |
pub tcpi_state: u_int8_t, | |
pub tcpi_snd_wscale: u_int8_t, | |
pub tcpi_rcv_wscale: u_int8_t, | |
pub __pad1: u_int8_t, | |
pub tcpi_options: u_int32_t, | |
pub tcpi_flags: u_int32_t, | |
pub tcpi_rto: u_int32_t, | |
pub tcpi_maxseg: u_int32_t, | |
pub tcpi_snd_ssthresh: u_int32_t, | |
pub tcpi_snd_cwnd: u_int32_t, | |
pub tcpi_snd_wnd: u_int32_t, | |
pub tcpi_snd_sbbytes: u_int32_t, | |
pub tcpi_rcv_wnd: u_int32_t, | |
pub tcpi_rttcur: u_int32_t, | |
pub tcpi_srtt: u_int32_t, | |
pub tcpi_rttvar: u_int32_t, | |
pub _bitfield_align_1: [u32; 0], | |
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, | |
pub tcpi_txpackets: u_int64_t, | |
pub tcpi_txbytes: u_int64_t, | |
pub tcpi_txretransmitbytes: u_int64_t, | |
pub tcpi_rxpackets: u_int64_t, | |
pub tcpi_rxbytes: u_int64_t, | |
pub tcpi_rxoutoforderbytes: u_int64_t, | |
pub tcpi_txretransmitpackets: u_int64_t, | |
} | |
impl tcp_connection_info { | |
#[inline] | |
pub fn tcpi_tfo_cookie_req(&self) -> u_int32_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) } | |
} | |
#[inline] | |
pub fn set_tcpi_tfo_cookie_req(&mut self, val: u_int32_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(0usize, 1u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn tcpi_tfo_cookie_rcv(&self) -> u_int32_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) } | |
} | |
#[inline] | |
pub fn set_tcpi_tfo_cookie_rcv(&mut self, val: u_int32_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(1usize, 1u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn tcpi_tfo_syn_loss(&self) -> u_int32_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u32) } | |
} | |
#[inline] | |
pub fn set_tcpi_tfo_syn_loss(&mut self, val: u_int32_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(2usize, 1u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn tcpi_tfo_syn_data_sent(&self) -> u_int32_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u32) } | |
} | |
#[inline] | |
pub fn set_tcpi_tfo_syn_data_sent(&mut self, val: u_int32_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(3usize, 1u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn tcpi_tfo_syn_data_acked(&self) -> u_int32_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u32) } | |
} | |
#[inline] | |
pub fn set_tcpi_tfo_syn_data_acked(&mut self, val: u_int32_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(4usize, 1u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn tcpi_tfo_syn_data_rcv(&self) -> u_int32_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u32) } | |
} | |
#[inline] | |
pub fn set_tcpi_tfo_syn_data_rcv(&mut self, val: u_int32_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(5usize, 1u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn tcpi_tfo_cookie_req_rcv(&self) -> u_int32_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(6usize, 1u8) as u32) } | |
} | |
#[inline] | |
pub fn set_tcpi_tfo_cookie_req_rcv(&mut self, val: u_int32_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(6usize, 1u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn tcpi_tfo_cookie_sent(&self) -> u_int32_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u32) } | |
} | |
#[inline] | |
pub fn set_tcpi_tfo_cookie_sent(&mut self, val: u_int32_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(7usize, 1u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn tcpi_tfo_cookie_invalid(&self) -> u_int32_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u32) } | |
} | |
#[inline] | |
pub fn set_tcpi_tfo_cookie_invalid(&mut self, val: u_int32_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(8usize, 1u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn tcpi_tfo_cookie_wrong(&self) -> u_int32_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(9usize, 1u8) as u32) } | |
} | |
#[inline] | |
pub fn set_tcpi_tfo_cookie_wrong(&mut self, val: u_int32_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(9usize, 1u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn tcpi_tfo_no_cookie_rcv(&self) -> u_int32_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(10usize, 1u8) as u32) } | |
} | |
#[inline] | |
pub fn set_tcpi_tfo_no_cookie_rcv(&mut self, val: u_int32_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(10usize, 1u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn tcpi_tfo_heuristics_disable(&self) -> u_int32_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(11usize, 1u8) as u32) } | |
} | |
#[inline] | |
pub fn set_tcpi_tfo_heuristics_disable(&mut self, val: u_int32_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(11usize, 1u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn tcpi_tfo_send_blackhole(&self) -> u_int32_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(12usize, 1u8) as u32) } | |
} | |
#[inline] | |
pub fn set_tcpi_tfo_send_blackhole(&mut self, val: u_int32_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(12usize, 1u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn tcpi_tfo_recv_blackhole(&self) -> u_int32_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(13usize, 1u8) as u32) } | |
} | |
#[inline] | |
pub fn set_tcpi_tfo_recv_blackhole(&mut self, val: u_int32_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(13usize, 1u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn tcpi_tfo_onebyte_proxy(&self) -> u_int32_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(14usize, 1u8) as u32) } | |
} | |
#[inline] | |
pub fn set_tcpi_tfo_onebyte_proxy(&mut self, val: u_int32_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(14usize, 1u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn __pad2(&self) -> u_int32_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(15usize, 17u8) as u32) } | |
} | |
#[inline] | |
pub fn set___pad2(&mut self, val: u_int32_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(15usize, 17u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn new_bitfield_1( | |
tcpi_tfo_cookie_req: u_int32_t, | |
tcpi_tfo_cookie_rcv: u_int32_t, | |
tcpi_tfo_syn_loss: u_int32_t, | |
tcpi_tfo_syn_data_sent: u_int32_t, | |
tcpi_tfo_syn_data_acked: u_int32_t, | |
tcpi_tfo_syn_data_rcv: u_int32_t, | |
tcpi_tfo_cookie_req_rcv: u_int32_t, | |
tcpi_tfo_cookie_sent: u_int32_t, | |
tcpi_tfo_cookie_invalid: u_int32_t, | |
tcpi_tfo_cookie_wrong: u_int32_t, | |
tcpi_tfo_no_cookie_rcv: u_int32_t, | |
tcpi_tfo_heuristics_disable: u_int32_t, | |
tcpi_tfo_send_blackhole: u_int32_t, | |
tcpi_tfo_recv_blackhole: u_int32_t, | |
tcpi_tfo_onebyte_proxy: u_int32_t, | |
__pad2: u_int32_t, | |
) -> __BindgenBitfieldUnit<[u8; 4usize]> { | |
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); | |
__bindgen_bitfield_unit.set(0usize, 1u8, { | |
let tcpi_tfo_cookie_req: u32 = unsafe { ::std::mem::transmute(tcpi_tfo_cookie_req) }; | |
tcpi_tfo_cookie_req as u64 | |
}); | |
__bindgen_bitfield_unit.set(1usize, 1u8, { | |
let tcpi_tfo_cookie_rcv: u32 = unsafe { ::std::mem::transmute(tcpi_tfo_cookie_rcv) }; | |
tcpi_tfo_cookie_rcv as u64 | |
}); | |
__bindgen_bitfield_unit.set(2usize, 1u8, { | |
let tcpi_tfo_syn_loss: u32 = unsafe { ::std::mem::transmute(tcpi_tfo_syn_loss) }; | |
tcpi_tfo_syn_loss as u64 | |
}); | |
__bindgen_bitfield_unit.set(3usize, 1u8, { | |
let tcpi_tfo_syn_data_sent: u32 = | |
unsafe { ::std::mem::transmute(tcpi_tfo_syn_data_sent) }; | |
tcpi_tfo_syn_data_sent as u64 | |
}); | |
__bindgen_bitfield_unit.set(4usize, 1u8, { | |
let tcpi_tfo_syn_data_acked: u32 = | |
unsafe { ::std::mem::transmute(tcpi_tfo_syn_data_acked) }; | |
tcpi_tfo_syn_data_acked as u64 | |
}); | |
__bindgen_bitfield_unit.set(5usize, 1u8, { | |
let tcpi_tfo_syn_data_rcv: u32 = | |
unsafe { ::std::mem::transmute(tcpi_tfo_syn_data_rcv) }; | |
tcpi_tfo_syn_data_rcv as u64 | |
}); | |
__bindgen_bitfield_unit.set(6usize, 1u8, { | |
let tcpi_tfo_cookie_req_rcv: u32 = | |
unsafe { ::std::mem::transmute(tcpi_tfo_cookie_req_rcv) }; | |
tcpi_tfo_cookie_req_rcv as u64 | |
}); | |
__bindgen_bitfield_unit.set(7usize, 1u8, { | |
let tcpi_tfo_cookie_sent: u32 = unsafe { ::std::mem::transmute(tcpi_tfo_cookie_sent) }; | |
tcpi_tfo_cookie_sent as u64 | |
}); | |
__bindgen_bitfield_unit.set(8usize, 1u8, { | |
let tcpi_tfo_cookie_invalid: u32 = | |
unsafe { ::std::mem::transmute(tcpi_tfo_cookie_invalid) }; | |
tcpi_tfo_cookie_invalid as u64 | |
}); | |
__bindgen_bitfield_unit.set(9usize, 1u8, { | |
let tcpi_tfo_cookie_wrong: u32 = | |
unsafe { ::std::mem::transmute(tcpi_tfo_cookie_wrong) }; | |
tcpi_tfo_cookie_wrong as u64 | |
}); | |
__bindgen_bitfield_unit.set(10usize, 1u8, { | |
let tcpi_tfo_no_cookie_rcv: u32 = | |
unsafe { ::std::mem::transmute(tcpi_tfo_no_cookie_rcv) }; | |
tcpi_tfo_no_cookie_rcv as u64 | |
}); | |
__bindgen_bitfield_unit.set(11usize, 1u8, { | |
let tcpi_tfo_heuristics_disable: u32 = | |
unsafe { ::std::mem::transmute(tcpi_tfo_heuristics_disable) }; | |
tcpi_tfo_heuristics_disable as u64 | |
}); | |
__bindgen_bitfield_unit.set(12usize, 1u8, { | |
let tcpi_tfo_send_blackhole: u32 = | |
unsafe { ::std::mem::transmute(tcpi_tfo_send_blackhole) }; | |
tcpi_tfo_send_blackhole as u64 | |
}); | |
__bindgen_bitfield_unit.set(13usize, 1u8, { | |
let tcpi_tfo_recv_blackhole: u32 = | |
unsafe { ::std::mem::transmute(tcpi_tfo_recv_blackhole) }; | |
tcpi_tfo_recv_blackhole as u64 | |
}); | |
__bindgen_bitfield_unit.set(14usize, 1u8, { | |
let tcpi_tfo_onebyte_proxy: u32 = | |
unsafe { ::std::mem::transmute(tcpi_tfo_onebyte_proxy) }; | |
tcpi_tfo_onebyte_proxy as u64 | |
}); | |
__bindgen_bitfield_unit.set(15usize, 17u8, { | |
let __pad2: u32 = unsafe { ::std::mem::transmute(__pad2) }; | |
__pad2 as u64 | |
}); | |
__bindgen_bitfield_unit | |
} | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __nl_cat_d { | |
pub __data: *mut ::std::os::raw::c_void, | |
pub __size: ::std::os::raw::c_int, | |
} | |
pub type nl_catd = *mut __nl_cat_d; | |
extern "C" { | |
pub fn catopen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> nl_catd; | |
} | |
extern "C" { | |
pub fn catgets( | |
arg1: nl_catd, | |
arg2: ::std::os::raw::c_int, | |
arg3: ::std::os::raw::c_int, | |
arg4: *const ::std::os::raw::c_char, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn catclose(arg1: nl_catd) -> ::std::os::raw::c_int; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct pollfd { | |
pub fd: ::std::os::raw::c_int, | |
pub events: ::std::os::raw::c_short, | |
pub revents: ::std::os::raw::c_short, | |
} | |
pub type nfds_t = ::std::os::raw::c_uint; | |
extern "C" { | |
pub fn poll( | |
arg1: *mut pollfd, | |
arg2: nfds_t, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sched_param { | |
pub sched_priority: ::std::os::raw::c_int, | |
pub __opaque: [::std::os::raw::c_char; 4usize], | |
} | |
extern "C" { | |
pub fn sched_yield() -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sched_get_priority_min(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sched_get_priority_max(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
pub const qos_class_t_QOS_CLASS_USER_INTERACTIVE: qos_class_t = 33; | |
pub const qos_class_t_QOS_CLASS_USER_INITIATED: qos_class_t = 25; | |
pub const qos_class_t_QOS_CLASS_DEFAULT: qos_class_t = 21; | |
pub const qos_class_t_QOS_CLASS_UTILITY: qos_class_t = 17; | |
pub const qos_class_t_QOS_CLASS_BACKGROUND: qos_class_t = 9; | |
pub const qos_class_t_QOS_CLASS_UNSPECIFIED: qos_class_t = 0; | |
pub type qos_class_t = ::std::os::raw::c_uint; | |
extern "C" { | |
pub fn qos_class_self() -> qos_class_t; | |
} | |
extern "C" { | |
pub fn qos_class_main() -> qos_class_t; | |
} | |
extern "C" { | |
pub fn pthread_attr_set_qos_class_np( | |
__attr: *mut pthread_attr_t, | |
__qos_class: qos_class_t, | |
__relative_priority: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_attr_get_qos_class_np( | |
__attr: *mut pthread_attr_t, | |
__qos_class: *mut qos_class_t, | |
__relative_priority: *mut ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_set_qos_class_self_np( | |
__qos_class: qos_class_t, | |
__relative_priority: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_get_qos_class_np( | |
__pthread: pthread_t, | |
__qos_class: *mut qos_class_t, | |
__relative_priority: *mut ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct pthread_override_s { | |
_unused: [u8; 0], | |
} | |
pub type pthread_override_t = *mut pthread_override_s; | |
extern "C" { | |
pub fn pthread_override_qos_class_start_np( | |
__pthread: pthread_t, | |
__qos_class: qos_class_t, | |
__relative_priority: ::std::os::raw::c_int, | |
) -> pthread_override_t; | |
} | |
extern "C" { | |
pub fn pthread_override_qos_class_end_np( | |
__override: pthread_override_t, | |
) -> ::std::os::raw::c_int; | |
} | |
pub type mach_port_t = __darwin_mach_port_t; | |
extern "C" { | |
pub fn pthread_atfork( | |
arg1: ::std::option::Option<unsafe extern "C" fn()>, | |
arg2: ::std::option::Option<unsafe extern "C" fn()>, | |
arg3: ::std::option::Option<unsafe extern "C" fn()>, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_attr_destroy(arg1: *mut pthread_attr_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_attr_getdetachstate( | |
arg1: *const pthread_attr_t, | |
arg2: *mut ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_attr_getguardsize( | |
arg1: *const pthread_attr_t, | |
arg2: *mut usize, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_attr_getinheritsched( | |
arg1: *const pthread_attr_t, | |
arg2: *mut ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_attr_getschedparam( | |
arg1: *const pthread_attr_t, | |
arg2: *mut sched_param, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_attr_getschedpolicy( | |
arg1: *const pthread_attr_t, | |
arg2: *mut ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_attr_getscope( | |
arg1: *const pthread_attr_t, | |
arg2: *mut ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_attr_getstack( | |
arg1: *const pthread_attr_t, | |
arg2: *mut *mut ::std::os::raw::c_void, | |
arg3: *mut usize, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_attr_getstackaddr( | |
arg1: *const pthread_attr_t, | |
arg2: *mut *mut ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_attr_getstacksize( | |
arg1: *const pthread_attr_t, | |
arg2: *mut usize, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_attr_init(arg1: *mut pthread_attr_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_attr_setdetachstate( | |
arg1: *mut pthread_attr_t, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_attr_setguardsize( | |
arg1: *mut pthread_attr_t, | |
arg2: usize, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_attr_setinheritsched( | |
arg1: *mut pthread_attr_t, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_attr_setschedparam( | |
arg1: *mut pthread_attr_t, | |
arg2: *const sched_param, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_attr_setschedpolicy( | |
arg1: *mut pthread_attr_t, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_attr_setscope( | |
arg1: *mut pthread_attr_t, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_attr_setstack( | |
arg1: *mut pthread_attr_t, | |
arg2: *mut ::std::os::raw::c_void, | |
arg3: usize, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_attr_setstackaddr( | |
arg1: *mut pthread_attr_t, | |
arg2: *mut ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_attr_setstacksize( | |
arg1: *mut pthread_attr_t, | |
arg2: usize, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_cancel(arg1: pthread_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_cond_broadcast(arg1: *mut pthread_cond_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_cond_destroy(arg1: *mut pthread_cond_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_cond_init( | |
arg1: *mut pthread_cond_t, | |
arg2: *const pthread_condattr_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_cond_signal(arg1: *mut pthread_cond_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_cond_timedwait( | |
arg1: *mut pthread_cond_t, | |
arg2: *mut pthread_mutex_t, | |
arg3: *const timespec, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_cond_wait( | |
arg1: *mut pthread_cond_t, | |
arg2: *mut pthread_mutex_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_condattr_destroy(arg1: *mut pthread_condattr_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_condattr_init(arg1: *mut pthread_condattr_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_condattr_getpshared( | |
arg1: *const pthread_condattr_t, | |
arg2: *mut ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_condattr_setpshared( | |
arg1: *mut pthread_condattr_t, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_create( | |
arg1: *mut pthread_t, | |
arg2: *const pthread_attr_t, | |
arg3: ::std::option::Option< | |
unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> *mut ::std::os::raw::c_void, | |
>, | |
arg4: *mut ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_detach(arg1: pthread_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_equal(arg1: pthread_t, arg2: pthread_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_exit(arg1: *mut ::std::os::raw::c_void) -> !; | |
} | |
extern "C" { | |
pub fn pthread_getconcurrency() -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_getschedparam( | |
arg1: pthread_t, | |
arg2: *mut ::std::os::raw::c_int, | |
arg3: *mut sched_param, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_getspecific(arg1: pthread_key_t) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn pthread_join( | |
arg1: pthread_t, | |
arg2: *mut *mut ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_key_create( | |
arg1: *mut pthread_key_t, | |
arg2: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_key_delete(arg1: pthread_key_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_mutex_destroy(arg1: *mut pthread_mutex_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_mutex_getprioceiling( | |
arg1: *const pthread_mutex_t, | |
arg2: *mut ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_mutex_init( | |
arg1: *mut pthread_mutex_t, | |
arg2: *const pthread_mutexattr_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_mutex_lock(arg1: *mut pthread_mutex_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_mutex_setprioceiling( | |
arg1: *mut pthread_mutex_t, | |
arg2: ::std::os::raw::c_int, | |
arg3: *mut ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_mutex_trylock(arg1: *mut pthread_mutex_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_mutex_unlock(arg1: *mut pthread_mutex_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_mutexattr_destroy(arg1: *mut pthread_mutexattr_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_mutexattr_getprioceiling( | |
arg1: *const pthread_mutexattr_t, | |
arg2: *mut ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_mutexattr_getprotocol( | |
arg1: *const pthread_mutexattr_t, | |
arg2: *mut ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_mutexattr_getpshared( | |
arg1: *const pthread_mutexattr_t, | |
arg2: *mut ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_mutexattr_gettype( | |
arg1: *const pthread_mutexattr_t, | |
arg2: *mut ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_mutexattr_getpolicy_np( | |
arg1: *const pthread_mutexattr_t, | |
arg2: *mut ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_mutexattr_init(arg1: *mut pthread_mutexattr_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_mutexattr_setprioceiling( | |
arg1: *mut pthread_mutexattr_t, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_mutexattr_setprotocol( | |
arg1: *mut pthread_mutexattr_t, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_mutexattr_setpshared( | |
arg1: *mut pthread_mutexattr_t, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_mutexattr_settype( | |
arg1: *mut pthread_mutexattr_t, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_mutexattr_setpolicy_np( | |
arg1: *mut pthread_mutexattr_t, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_once( | |
arg1: *mut pthread_once_t, | |
arg2: ::std::option::Option<unsafe extern "C" fn()>, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_rwlock_destroy(arg1: *mut pthread_rwlock_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_rwlock_init( | |
arg1: *mut pthread_rwlock_t, | |
arg2: *const pthread_rwlockattr_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_rwlock_rdlock(arg1: *mut pthread_rwlock_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_rwlock_tryrdlock(arg1: *mut pthread_rwlock_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_rwlock_trywrlock(arg1: *mut pthread_rwlock_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_rwlock_wrlock(arg1: *mut pthread_rwlock_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_rwlock_unlock(arg1: *mut pthread_rwlock_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_rwlockattr_destroy(arg1: *mut pthread_rwlockattr_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_rwlockattr_getpshared( | |
arg1: *const pthread_rwlockattr_t, | |
arg2: *mut ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_rwlockattr_init(arg1: *mut pthread_rwlockattr_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_rwlockattr_setpshared( | |
arg1: *mut pthread_rwlockattr_t, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_self() -> pthread_t; | |
} | |
extern "C" { | |
pub fn pthread_setcancelstate( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_setcanceltype( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_setconcurrency(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_setschedparam( | |
arg1: pthread_t, | |
arg2: ::std::os::raw::c_int, | |
arg3: *const sched_param, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_setspecific( | |
arg1: pthread_key_t, | |
arg2: *const ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_testcancel(); | |
} | |
extern "C" { | |
pub fn pthread_is_threaded_np() -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_threadid_np(arg1: pthread_t, arg2: *mut __uint64_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_getname_np( | |
arg1: pthread_t, | |
arg2: *mut ::std::os::raw::c_char, | |
arg3: usize, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_setname_np(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_main_np() -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_mach_thread_np(arg1: pthread_t) -> mach_port_t; | |
} | |
extern "C" { | |
pub fn pthread_get_stacksize_np(arg1: pthread_t) -> usize; | |
} | |
extern "C" { | |
pub fn pthread_get_stackaddr_np(arg1: pthread_t) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn pthread_cond_signal_thread_np( | |
arg1: *mut pthread_cond_t, | |
arg2: pthread_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_cond_timedwait_relative_np( | |
arg1: *mut pthread_cond_t, | |
arg2: *mut pthread_mutex_t, | |
arg3: *const timespec, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_create_suspended_np( | |
arg1: *mut pthread_t, | |
arg2: *const pthread_attr_t, | |
arg3: ::std::option::Option< | |
unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> *mut ::std::os::raw::c_void, | |
>, | |
arg4: *mut ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_from_mach_thread_np(arg1: mach_port_t) -> pthread_t; | |
} | |
extern "C" { | |
pub fn pthread_yield_np(); | |
} | |
extern "C" { | |
pub fn pthread_jit_write_protect_np(enabled: ::std::os::raw::c_int); | |
} | |
extern "C" { | |
pub fn pthread_jit_write_protect_supported_np() -> ::std::os::raw::c_int; | |
} | |
pub type pthread_jit_write_callback_t = ::std::option::Option< | |
unsafe extern "C" fn(ctx: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, | |
>; | |
extern "C" { | |
pub fn pthread_jit_write_with_callback_np( | |
callback: pthread_jit_write_callback_t, | |
ctx: *mut ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_jit_write_freeze_callbacks_np(); | |
} | |
extern "C" { | |
pub fn pthread_cpu_number_np(cpu_number_out: *mut usize) -> ::std::os::raw::c_int; | |
} | |
pub type posix_spawnattr_t = *mut ::std::os::raw::c_void; | |
pub type posix_spawn_file_actions_t = *mut ::std::os::raw::c_void; | |
extern "C" { | |
pub fn posix_spawn( | |
arg1: *mut pid_t, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: *const posix_spawn_file_actions_t, | |
arg4: *const posix_spawnattr_t, | |
__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 posix_spawnp( | |
arg1: *mut pid_t, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: *const posix_spawn_file_actions_t, | |
arg4: *const posix_spawnattr_t, | |
__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 posix_spawn_file_actions_addclose( | |
arg1: *mut posix_spawn_file_actions_t, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_spawn_file_actions_adddup2( | |
arg1: *mut posix_spawn_file_actions_t, | |
arg2: ::std::os::raw::c_int, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_spawn_file_actions_addopen( | |
arg1: *mut posix_spawn_file_actions_t, | |
arg2: ::std::os::raw::c_int, | |
arg3: *const ::std::os::raw::c_char, | |
arg4: ::std::os::raw::c_int, | |
arg5: mode_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_spawn_file_actions_destroy( | |
arg1: *mut posix_spawn_file_actions_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_spawn_file_actions_init( | |
arg1: *mut posix_spawn_file_actions_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_spawnattr_destroy(arg1: *mut posix_spawnattr_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_spawnattr_getsigdefault( | |
arg1: *const posix_spawnattr_t, | |
arg2: *mut sigset_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_spawnattr_getflags( | |
arg1: *const posix_spawnattr_t, | |
arg2: *mut ::std::os::raw::c_short, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_spawnattr_getpgroup( | |
arg1: *const posix_spawnattr_t, | |
arg2: *mut pid_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_spawnattr_getsigmask( | |
arg1: *const posix_spawnattr_t, | |
arg2: *mut sigset_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_spawnattr_init(arg1: *mut posix_spawnattr_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_spawnattr_setsigdefault( | |
arg1: *mut posix_spawnattr_t, | |
arg2: *const sigset_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_spawnattr_setflags( | |
arg1: *mut posix_spawnattr_t, | |
arg2: ::std::os::raw::c_short, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_spawnattr_setpgroup( | |
arg1: *mut posix_spawnattr_t, | |
arg2: pid_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_spawnattr_setsigmask( | |
arg1: *mut posix_spawnattr_t, | |
arg2: *const sigset_t, | |
) -> ::std::os::raw::c_int; | |
} | |
pub type boolean_t = ::std::os::raw::c_int; | |
pub type natural_t = __darwin_natural_t; | |
pub type integer_t = ::std::os::raw::c_int; | |
pub type vm_offset_t = usize; | |
pub type vm_size_t = usize; | |
pub type mach_vm_address_t = u64; | |
pub type mach_vm_offset_t = u64; | |
pub type mach_vm_size_t = u64; | |
pub type vm_map_offset_t = u64; | |
pub type vm_map_address_t = u64; | |
pub type vm_map_size_t = u64; | |
pub type vm32_offset_t = u32; | |
pub type vm32_address_t = u32; | |
pub type vm32_size_t = u32; | |
pub type mach_port_context_t = vm_offset_t; | |
pub type mach_port_name_t = natural_t; | |
pub type mach_port_name_array_t = *mut mach_port_name_t; | |
pub type mach_port_array_t = *mut mach_port_t; | |
pub type mach_port_right_t = natural_t; | |
pub type mach_port_type_t = natural_t; | |
pub type mach_port_type_array_t = *mut mach_port_type_t; | |
pub type mach_port_urefs_t = natural_t; | |
pub type mach_port_delta_t = integer_t; | |
pub type mach_port_seqno_t = natural_t; | |
pub type mach_port_mscount_t = natural_t; | |
pub type mach_port_msgcount_t = natural_t; | |
pub type mach_port_rights_t = natural_t; | |
pub type mach_port_srights_t = ::std::os::raw::c_uint; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_port_status { | |
pub mps_pset: mach_port_rights_t, | |
pub mps_seqno: mach_port_seqno_t, | |
pub mps_mscount: mach_port_mscount_t, | |
pub mps_qlimit: mach_port_msgcount_t, | |
pub mps_msgcount: mach_port_msgcount_t, | |
pub mps_sorights: mach_port_rights_t, | |
pub mps_srights: boolean_t, | |
pub mps_pdrequest: boolean_t, | |
pub mps_nsrequest: boolean_t, | |
pub mps_flags: natural_t, | |
} | |
pub type mach_port_status_t = mach_port_status; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_port_limits { | |
pub mpl_qlimit: mach_port_msgcount_t, | |
} | |
pub type mach_port_limits_t = mach_port_limits; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_port_info_ext { | |
pub mpie_status: mach_port_status_t, | |
pub mpie_boost_cnt: mach_port_msgcount_t, | |
pub reserved: [u32; 6usize], | |
} | |
pub type mach_port_info_ext_t = mach_port_info_ext; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_port_guard_info { | |
pub mpgi_guard: u64, | |
} | |
pub type mach_port_guard_info_t = mach_port_guard_info; | |
pub type mach_port_info_t = *mut integer_t; | |
pub type mach_port_flavor_t = ::std::os::raw::c_int; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_port_qos { | |
pub _bitfield_align_1: [u32; 0], | |
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, | |
pub len: natural_t, | |
} | |
impl mach_port_qos { | |
#[inline] | |
pub fn name(&self) -> ::std::os::raw::c_uint { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) } | |
} | |
#[inline] | |
pub fn set_name(&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 prealloc(&self) -> ::std::os::raw::c_uint { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) } | |
} | |
#[inline] | |
pub fn set_prealloc(&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 pad1(&self) -> boolean_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 30u8) as u32) } | |
} | |
#[inline] | |
pub fn set_pad1(&mut self, val: boolean_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(2usize, 30u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn new_bitfield_1( | |
name: ::std::os::raw::c_uint, | |
prealloc: ::std::os::raw::c_uint, | |
pad1: boolean_t, | |
) -> __BindgenBitfieldUnit<[u8; 4usize]> { | |
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); | |
__bindgen_bitfield_unit.set(0usize, 1u8, { | |
let name: u32 = unsafe { ::std::mem::transmute(name) }; | |
name as u64 | |
}); | |
__bindgen_bitfield_unit.set(1usize, 1u8, { | |
let prealloc: u32 = unsafe { ::std::mem::transmute(prealloc) }; | |
prealloc as u64 | |
}); | |
__bindgen_bitfield_unit.set(2usize, 30u8, { | |
let pad1: u32 = unsafe { ::std::mem::transmute(pad1) }; | |
pad1 as u64 | |
}); | |
__bindgen_bitfield_unit | |
} | |
} | |
pub type mach_port_qos_t = mach_port_qos; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_service_port_info { | |
pub mspi_string_name: [::std::os::raw::c_char; 255usize], | |
pub mspi_domain_type: u8, | |
} | |
pub type mach_service_port_info_data_t = mach_service_port_info; | |
pub type mach_service_port_info_t = *mut mach_service_port_info; | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub struct mach_port_options { | |
pub __bindgen_anon_1: mach_port_options__bindgen_ty_1, | |
pub flags: u32, | |
pub mpl: mach_port_limits_t, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union mach_port_options__bindgen_ty_1 { | |
pub reserved: [u64; 2usize], | |
pub work_interval_port: mach_port_name_t, | |
pub service_port_info: mach_service_port_info_t, | |
pub service_port_name: mach_port_name_t, | |
} | |
pub type mach_port_options_t = mach_port_options; | |
pub type mach_port_options_ptr_t = *mut mach_port_options_t; | |
pub const mach_port_guard_exception_codes_kGUARD_EXC_DESTROY: mach_port_guard_exception_codes = 1; | |
pub const mach_port_guard_exception_codes_kGUARD_EXC_MOD_REFS: mach_port_guard_exception_codes = 2; | |
pub const mach_port_guard_exception_codes_kGUARD_EXC_INVALID_OPTIONS: | |
mach_port_guard_exception_codes = 3; | |
pub const mach_port_guard_exception_codes_kGUARD_EXC_SET_CONTEXT: mach_port_guard_exception_codes = | |
4; | |
pub const mach_port_guard_exception_codes_kGUARD_EXC_THREAD_SET_STATE: | |
mach_port_guard_exception_codes = 5; | |
pub const mach_port_guard_exception_codes_kGUARD_EXC_EXCEPTION_BEHAVIOR_ENFORCE: | |
mach_port_guard_exception_codes = 6; | |
pub const mach_port_guard_exception_codes_kGUARD_EXC_UNGUARDED: mach_port_guard_exception_codes = 8; | |
pub const mach_port_guard_exception_codes_kGUARD_EXC_INCORRECT_GUARD: | |
mach_port_guard_exception_codes = 16; | |
pub const mach_port_guard_exception_codes_kGUARD_EXC_IMMOVABLE: mach_port_guard_exception_codes = | |
32; | |
pub const mach_port_guard_exception_codes_kGUARD_EXC_STRICT_REPLY: mach_port_guard_exception_codes = | |
64; | |
pub const mach_port_guard_exception_codes_kGUARD_EXC_MSG_FILTERED: mach_port_guard_exception_codes = | |
128; | |
pub const mach_port_guard_exception_codes_kGUARD_EXC_INVALID_RIGHT: | |
mach_port_guard_exception_codes = 256; | |
pub const mach_port_guard_exception_codes_kGUARD_EXC_INVALID_NAME: mach_port_guard_exception_codes = | |
512; | |
pub const mach_port_guard_exception_codes_kGUARD_EXC_INVALID_VALUE: | |
mach_port_guard_exception_codes = 1024; | |
pub const mach_port_guard_exception_codes_kGUARD_EXC_INVALID_ARGUMENT: | |
mach_port_guard_exception_codes = 2048; | |
pub const mach_port_guard_exception_codes_kGUARD_EXC_RIGHT_EXISTS: mach_port_guard_exception_codes = | |
4096; | |
pub const mach_port_guard_exception_codes_kGUARD_EXC_KERN_NO_SPACE: | |
mach_port_guard_exception_codes = 8192; | |
pub const mach_port_guard_exception_codes_kGUARD_EXC_KERN_FAILURE: mach_port_guard_exception_codes = | |
16384; | |
pub const mach_port_guard_exception_codes_kGUARD_EXC_KERN_RESOURCE: | |
mach_port_guard_exception_codes = 32768; | |
pub const mach_port_guard_exception_codes_kGUARD_EXC_SEND_INVALID_REPLY: | |
mach_port_guard_exception_codes = 65536; | |
pub const mach_port_guard_exception_codes_kGUARD_EXC_SEND_INVALID_VOUCHER: | |
mach_port_guard_exception_codes = 131072; | |
pub const mach_port_guard_exception_codes_kGUARD_EXC_SEND_INVALID_RIGHT: | |
mach_port_guard_exception_codes = 262144; | |
pub const mach_port_guard_exception_codes_kGUARD_EXC_RCV_INVALID_NAME: | |
mach_port_guard_exception_codes = 524288; | |
pub const mach_port_guard_exception_codes_kGUARD_EXC_RCV_GUARDED_DESC: | |
mach_port_guard_exception_codes = 1048576; | |
pub const mach_port_guard_exception_codes_kGUARD_EXC_MOD_REFS_NON_FATAL: | |
mach_port_guard_exception_codes = 2097152; | |
pub const mach_port_guard_exception_codes_kGUARD_EXC_IMMOVABLE_NON_FATAL: | |
mach_port_guard_exception_codes = 4194304; | |
pub const mach_port_guard_exception_codes_kGUARD_EXC_REQUIRE_REPLY_PORT_SEMANTICS: | |
mach_port_guard_exception_codes = 8388608; | |
pub type mach_port_guard_exception_codes = ::std::os::raw::c_uint; | |
pub type kern_return_t = ::std::os::raw::c_int; | |
pub type mach_msg_timeout_t = natural_t; | |
pub type mach_msg_bits_t = ::std::os::raw::c_uint; | |
pub type mach_msg_size_t = natural_t; | |
pub type mach_msg_id_t = integer_t; | |
pub type mach_msg_priority_t = ::std::os::raw::c_uint; | |
pub type mach_msg_type_name_t = ::std::os::raw::c_uint; | |
pub type mach_msg_copy_options_t = ::std::os::raw::c_uint; | |
pub type mach_msg_guard_flags_t = ::std::os::raw::c_uint; | |
pub type mach_msg_descriptor_type_t = ::std::os::raw::c_uint; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_msg_type_descriptor_t { | |
pub pad1: natural_t, | |
pub pad2: mach_msg_size_t, | |
pub _bitfield_align_1: [u32; 0], | |
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, | |
} | |
impl mach_msg_type_descriptor_t { | |
#[inline] | |
pub fn pad3(&self) -> ::std::os::raw::c_uint { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 24u8) as u32) } | |
} | |
#[inline] | |
pub fn set_pad3(&mut self, val: ::std::os::raw::c_uint) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(0usize, 24u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn type_(&self) -> mach_msg_descriptor_type_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(24usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_type(&mut self, val: mach_msg_descriptor_type_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(24usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn new_bitfield_1( | |
pad3: ::std::os::raw::c_uint, | |
type_: mach_msg_descriptor_type_t, | |
) -> __BindgenBitfieldUnit<[u8; 4usize]> { | |
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); | |
__bindgen_bitfield_unit.set(0usize, 24u8, { | |
let pad3: u32 = unsafe { ::std::mem::transmute(pad3) }; | |
pad3 as u64 | |
}); | |
__bindgen_bitfield_unit.set(24usize, 8u8, { | |
let type_: u32 = unsafe { ::std::mem::transmute(type_) }; | |
type_ as u64 | |
}); | |
__bindgen_bitfield_unit | |
} | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_msg_port_descriptor_t { | |
pub name: mach_port_t, | |
pub pad1: mach_msg_size_t, | |
pub _bitfield_align_1: [u16; 0], | |
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, | |
} | |
impl mach_msg_port_descriptor_t { | |
#[inline] | |
pub fn pad2(&self) -> ::std::os::raw::c_uint { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } | |
} | |
#[inline] | |
pub fn set_pad2(&mut self, val: ::std::os::raw::c_uint) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(0usize, 16u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn disposition(&self) -> mach_msg_type_name_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_disposition(&mut self, val: mach_msg_type_name_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(16usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn type_(&self) -> mach_msg_descriptor_type_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(24usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_type(&mut self, val: mach_msg_descriptor_type_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(24usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn new_bitfield_1( | |
pad2: ::std::os::raw::c_uint, | |
disposition: mach_msg_type_name_t, | |
type_: mach_msg_descriptor_type_t, | |
) -> __BindgenBitfieldUnit<[u8; 4usize]> { | |
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); | |
__bindgen_bitfield_unit.set(0usize, 16u8, { | |
let pad2: u32 = unsafe { ::std::mem::transmute(pad2) }; | |
pad2 as u64 | |
}); | |
__bindgen_bitfield_unit.set(16usize, 8u8, { | |
let disposition: u32 = unsafe { ::std::mem::transmute(disposition) }; | |
disposition as u64 | |
}); | |
__bindgen_bitfield_unit.set(24usize, 8u8, { | |
let type_: u32 = unsafe { ::std::mem::transmute(type_) }; | |
type_ as u64 | |
}); | |
__bindgen_bitfield_unit | |
} | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_msg_ool_descriptor32_t { | |
pub address: u32, | |
pub size: mach_msg_size_t, | |
pub _bitfield_align_1: [u8; 0], | |
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, | |
} | |
impl mach_msg_ool_descriptor32_t { | |
#[inline] | |
pub fn deallocate(&self) -> boolean_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_deallocate(&mut self, val: boolean_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(0usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn copy(&self) -> mach_msg_copy_options_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_copy(&mut self, val: mach_msg_copy_options_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(8usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn pad1(&self) -> ::std::os::raw::c_uint { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_pad1(&mut self, val: ::std::os::raw::c_uint) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(16usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn type_(&self) -> mach_msg_descriptor_type_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(24usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_type(&mut self, val: mach_msg_descriptor_type_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(24usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn new_bitfield_1( | |
deallocate: boolean_t, | |
copy: mach_msg_copy_options_t, | |
pad1: ::std::os::raw::c_uint, | |
type_: mach_msg_descriptor_type_t, | |
) -> __BindgenBitfieldUnit<[u8; 4usize]> { | |
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); | |
__bindgen_bitfield_unit.set(0usize, 8u8, { | |
let deallocate: u32 = unsafe { ::std::mem::transmute(deallocate) }; | |
deallocate as u64 | |
}); | |
__bindgen_bitfield_unit.set(8usize, 8u8, { | |
let copy: u32 = unsafe { ::std::mem::transmute(copy) }; | |
copy as u64 | |
}); | |
__bindgen_bitfield_unit.set(16usize, 8u8, { | |
let pad1: u32 = unsafe { ::std::mem::transmute(pad1) }; | |
pad1 as u64 | |
}); | |
__bindgen_bitfield_unit.set(24usize, 8u8, { | |
let type_: u32 = unsafe { ::std::mem::transmute(type_) }; | |
type_ as u64 | |
}); | |
__bindgen_bitfield_unit | |
} | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_msg_ool_descriptor64_t { | |
pub address: u64, | |
pub _bitfield_align_1: [u8; 0], | |
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, | |
pub size: mach_msg_size_t, | |
} | |
impl mach_msg_ool_descriptor64_t { | |
#[inline] | |
pub fn deallocate(&self) -> boolean_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_deallocate(&mut self, val: boolean_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(0usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn copy(&self) -> mach_msg_copy_options_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_copy(&mut self, val: mach_msg_copy_options_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(8usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn pad1(&self) -> ::std::os::raw::c_uint { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_pad1(&mut self, val: ::std::os::raw::c_uint) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(16usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn type_(&self) -> mach_msg_descriptor_type_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(24usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_type(&mut self, val: mach_msg_descriptor_type_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(24usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn new_bitfield_1( | |
deallocate: boolean_t, | |
copy: mach_msg_copy_options_t, | |
pad1: ::std::os::raw::c_uint, | |
type_: mach_msg_descriptor_type_t, | |
) -> __BindgenBitfieldUnit<[u8; 4usize]> { | |
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); | |
__bindgen_bitfield_unit.set(0usize, 8u8, { | |
let deallocate: u32 = unsafe { ::std::mem::transmute(deallocate) }; | |
deallocate as u64 | |
}); | |
__bindgen_bitfield_unit.set(8usize, 8u8, { | |
let copy: u32 = unsafe { ::std::mem::transmute(copy) }; | |
copy as u64 | |
}); | |
__bindgen_bitfield_unit.set(16usize, 8u8, { | |
let pad1: u32 = unsafe { ::std::mem::transmute(pad1) }; | |
pad1 as u64 | |
}); | |
__bindgen_bitfield_unit.set(24usize, 8u8, { | |
let type_: u32 = unsafe { ::std::mem::transmute(type_) }; | |
type_ as u64 | |
}); | |
__bindgen_bitfield_unit | |
} | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_msg_ool_descriptor_t { | |
pub address: *mut ::std::os::raw::c_void, | |
pub _bitfield_align_1: [u8; 0], | |
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, | |
pub size: mach_msg_size_t, | |
} | |
impl mach_msg_ool_descriptor_t { | |
#[inline] | |
pub fn deallocate(&self) -> boolean_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_deallocate(&mut self, val: boolean_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(0usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn copy(&self) -> mach_msg_copy_options_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_copy(&mut self, val: mach_msg_copy_options_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(8usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn pad1(&self) -> ::std::os::raw::c_uint { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_pad1(&mut self, val: ::std::os::raw::c_uint) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(16usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn type_(&self) -> mach_msg_descriptor_type_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(24usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_type(&mut self, val: mach_msg_descriptor_type_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(24usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn new_bitfield_1( | |
deallocate: boolean_t, | |
copy: mach_msg_copy_options_t, | |
pad1: ::std::os::raw::c_uint, | |
type_: mach_msg_descriptor_type_t, | |
) -> __BindgenBitfieldUnit<[u8; 4usize]> { | |
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); | |
__bindgen_bitfield_unit.set(0usize, 8u8, { | |
let deallocate: u32 = unsafe { ::std::mem::transmute(deallocate) }; | |
deallocate as u64 | |
}); | |
__bindgen_bitfield_unit.set(8usize, 8u8, { | |
let copy: u32 = unsafe { ::std::mem::transmute(copy) }; | |
copy as u64 | |
}); | |
__bindgen_bitfield_unit.set(16usize, 8u8, { | |
let pad1: u32 = unsafe { ::std::mem::transmute(pad1) }; | |
pad1 as u64 | |
}); | |
__bindgen_bitfield_unit.set(24usize, 8u8, { | |
let type_: u32 = unsafe { ::std::mem::transmute(type_) }; | |
type_ as u64 | |
}); | |
__bindgen_bitfield_unit | |
} | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_msg_ool_ports_descriptor32_t { | |
pub address: u32, | |
pub count: mach_msg_size_t, | |
pub _bitfield_align_1: [u8; 0], | |
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, | |
} | |
impl mach_msg_ool_ports_descriptor32_t { | |
#[inline] | |
pub fn deallocate(&self) -> boolean_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_deallocate(&mut self, val: boolean_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(0usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn copy(&self) -> mach_msg_copy_options_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_copy(&mut self, val: mach_msg_copy_options_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(8usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn disposition(&self) -> mach_msg_type_name_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_disposition(&mut self, val: mach_msg_type_name_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(16usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn type_(&self) -> mach_msg_descriptor_type_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(24usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_type(&mut self, val: mach_msg_descriptor_type_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(24usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn new_bitfield_1( | |
deallocate: boolean_t, | |
copy: mach_msg_copy_options_t, | |
disposition: mach_msg_type_name_t, | |
type_: mach_msg_descriptor_type_t, | |
) -> __BindgenBitfieldUnit<[u8; 4usize]> { | |
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); | |
__bindgen_bitfield_unit.set(0usize, 8u8, { | |
let deallocate: u32 = unsafe { ::std::mem::transmute(deallocate) }; | |
deallocate as u64 | |
}); | |
__bindgen_bitfield_unit.set(8usize, 8u8, { | |
let copy: u32 = unsafe { ::std::mem::transmute(copy) }; | |
copy as u64 | |
}); | |
__bindgen_bitfield_unit.set(16usize, 8u8, { | |
let disposition: u32 = unsafe { ::std::mem::transmute(disposition) }; | |
disposition as u64 | |
}); | |
__bindgen_bitfield_unit.set(24usize, 8u8, { | |
let type_: u32 = unsafe { ::std::mem::transmute(type_) }; | |
type_ as u64 | |
}); | |
__bindgen_bitfield_unit | |
} | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_msg_ool_ports_descriptor64_t { | |
pub address: u64, | |
pub _bitfield_align_1: [u8; 0], | |
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, | |
pub count: mach_msg_size_t, | |
} | |
impl mach_msg_ool_ports_descriptor64_t { | |
#[inline] | |
pub fn deallocate(&self) -> boolean_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_deallocate(&mut self, val: boolean_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(0usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn copy(&self) -> mach_msg_copy_options_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_copy(&mut self, val: mach_msg_copy_options_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(8usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn disposition(&self) -> mach_msg_type_name_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_disposition(&mut self, val: mach_msg_type_name_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(16usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn type_(&self) -> mach_msg_descriptor_type_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(24usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_type(&mut self, val: mach_msg_descriptor_type_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(24usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn new_bitfield_1( | |
deallocate: boolean_t, | |
copy: mach_msg_copy_options_t, | |
disposition: mach_msg_type_name_t, | |
type_: mach_msg_descriptor_type_t, | |
) -> __BindgenBitfieldUnit<[u8; 4usize]> { | |
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); | |
__bindgen_bitfield_unit.set(0usize, 8u8, { | |
let deallocate: u32 = unsafe { ::std::mem::transmute(deallocate) }; | |
deallocate as u64 | |
}); | |
__bindgen_bitfield_unit.set(8usize, 8u8, { | |
let copy: u32 = unsafe { ::std::mem::transmute(copy) }; | |
copy as u64 | |
}); | |
__bindgen_bitfield_unit.set(16usize, 8u8, { | |
let disposition: u32 = unsafe { ::std::mem::transmute(disposition) }; | |
disposition as u64 | |
}); | |
__bindgen_bitfield_unit.set(24usize, 8u8, { | |
let type_: u32 = unsafe { ::std::mem::transmute(type_) }; | |
type_ as u64 | |
}); | |
__bindgen_bitfield_unit | |
} | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_msg_ool_ports_descriptor_t { | |
pub address: *mut ::std::os::raw::c_void, | |
pub _bitfield_align_1: [u8; 0], | |
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, | |
pub count: mach_msg_size_t, | |
} | |
impl mach_msg_ool_ports_descriptor_t { | |
#[inline] | |
pub fn deallocate(&self) -> boolean_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_deallocate(&mut self, val: boolean_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(0usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn copy(&self) -> mach_msg_copy_options_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_copy(&mut self, val: mach_msg_copy_options_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(8usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn disposition(&self) -> mach_msg_type_name_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_disposition(&mut self, val: mach_msg_type_name_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(16usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn type_(&self) -> mach_msg_descriptor_type_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(24usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_type(&mut self, val: mach_msg_descriptor_type_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(24usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn new_bitfield_1( | |
deallocate: boolean_t, | |
copy: mach_msg_copy_options_t, | |
disposition: mach_msg_type_name_t, | |
type_: mach_msg_descriptor_type_t, | |
) -> __BindgenBitfieldUnit<[u8; 4usize]> { | |
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); | |
__bindgen_bitfield_unit.set(0usize, 8u8, { | |
let deallocate: u32 = unsafe { ::std::mem::transmute(deallocate) }; | |
deallocate as u64 | |
}); | |
__bindgen_bitfield_unit.set(8usize, 8u8, { | |
let copy: u32 = unsafe { ::std::mem::transmute(copy) }; | |
copy as u64 | |
}); | |
__bindgen_bitfield_unit.set(16usize, 8u8, { | |
let disposition: u32 = unsafe { ::std::mem::transmute(disposition) }; | |
disposition as u64 | |
}); | |
__bindgen_bitfield_unit.set(24usize, 8u8, { | |
let type_: u32 = unsafe { ::std::mem::transmute(type_) }; | |
type_ as u64 | |
}); | |
__bindgen_bitfield_unit | |
} | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_msg_guarded_port_descriptor32_t { | |
pub context: u32, | |
pub name: mach_port_name_t, | |
pub _bitfield_align_1: [u16; 0], | |
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, | |
} | |
impl mach_msg_guarded_port_descriptor32_t { | |
#[inline] | |
pub fn flags(&self) -> mach_msg_guard_flags_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } | |
} | |
#[inline] | |
pub fn set_flags(&mut self, val: mach_msg_guard_flags_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(0usize, 16u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn disposition(&self) -> mach_msg_type_name_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_disposition(&mut self, val: mach_msg_type_name_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(16usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn type_(&self) -> mach_msg_descriptor_type_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(24usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_type(&mut self, val: mach_msg_descriptor_type_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(24usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn new_bitfield_1( | |
flags: mach_msg_guard_flags_t, | |
disposition: mach_msg_type_name_t, | |
type_: mach_msg_descriptor_type_t, | |
) -> __BindgenBitfieldUnit<[u8; 4usize]> { | |
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); | |
__bindgen_bitfield_unit.set(0usize, 16u8, { | |
let flags: u32 = unsafe { ::std::mem::transmute(flags) }; | |
flags as u64 | |
}); | |
__bindgen_bitfield_unit.set(16usize, 8u8, { | |
let disposition: u32 = unsafe { ::std::mem::transmute(disposition) }; | |
disposition as u64 | |
}); | |
__bindgen_bitfield_unit.set(24usize, 8u8, { | |
let type_: u32 = unsafe { ::std::mem::transmute(type_) }; | |
type_ as u64 | |
}); | |
__bindgen_bitfield_unit | |
} | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_msg_guarded_port_descriptor64_t { | |
pub context: u64, | |
pub _bitfield_align_1: [u8; 0], | |
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, | |
pub name: mach_port_name_t, | |
} | |
impl mach_msg_guarded_port_descriptor64_t { | |
#[inline] | |
pub fn flags(&self) -> mach_msg_guard_flags_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } | |
} | |
#[inline] | |
pub fn set_flags(&mut self, val: mach_msg_guard_flags_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(0usize, 16u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn disposition(&self) -> mach_msg_type_name_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_disposition(&mut self, val: mach_msg_type_name_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(16usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn type_(&self) -> mach_msg_descriptor_type_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(24usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_type(&mut self, val: mach_msg_descriptor_type_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(24usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn new_bitfield_1( | |
flags: mach_msg_guard_flags_t, | |
disposition: mach_msg_type_name_t, | |
type_: mach_msg_descriptor_type_t, | |
) -> __BindgenBitfieldUnit<[u8; 4usize]> { | |
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); | |
__bindgen_bitfield_unit.set(0usize, 16u8, { | |
let flags: u32 = unsafe { ::std::mem::transmute(flags) }; | |
flags as u64 | |
}); | |
__bindgen_bitfield_unit.set(16usize, 8u8, { | |
let disposition: u32 = unsafe { ::std::mem::transmute(disposition) }; | |
disposition as u64 | |
}); | |
__bindgen_bitfield_unit.set(24usize, 8u8, { | |
let type_: u32 = unsafe { ::std::mem::transmute(type_) }; | |
type_ as u64 | |
}); | |
__bindgen_bitfield_unit | |
} | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_msg_guarded_port_descriptor_t { | |
pub context: mach_port_context_t, | |
pub _bitfield_align_1: [u8; 0], | |
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>, | |
pub name: mach_port_name_t, | |
} | |
impl mach_msg_guarded_port_descriptor_t { | |
#[inline] | |
pub fn flags(&self) -> mach_msg_guard_flags_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) } | |
} | |
#[inline] | |
pub fn set_flags(&mut self, val: mach_msg_guard_flags_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(0usize, 16u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn disposition(&self) -> mach_msg_type_name_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_disposition(&mut self, val: mach_msg_type_name_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(16usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn type_(&self) -> mach_msg_descriptor_type_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(24usize, 8u8) as u32) } | |
} | |
#[inline] | |
pub fn set_type(&mut self, val: mach_msg_descriptor_type_t) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(24usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn new_bitfield_1( | |
flags: mach_msg_guard_flags_t, | |
disposition: mach_msg_type_name_t, | |
type_: mach_msg_descriptor_type_t, | |
) -> __BindgenBitfieldUnit<[u8; 4usize]> { | |
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default(); | |
__bindgen_bitfield_unit.set(0usize, 16u8, { | |
let flags: u32 = unsafe { ::std::mem::transmute(flags) }; | |
flags as u64 | |
}); | |
__bindgen_bitfield_unit.set(16usize, 8u8, { | |
let disposition: u32 = unsafe { ::std::mem::transmute(disposition) }; | |
disposition as u64 | |
}); | |
__bindgen_bitfield_unit.set(24usize, 8u8, { | |
let type_: u32 = unsafe { ::std::mem::transmute(type_) }; | |
type_ as u64 | |
}); | |
__bindgen_bitfield_unit | |
} | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union mach_msg_descriptor_t { | |
pub port: mach_msg_port_descriptor_t, | |
pub out_of_line: mach_msg_ool_descriptor_t, | |
pub ool_ports: mach_msg_ool_ports_descriptor_t, | |
pub type_: mach_msg_type_descriptor_t, | |
pub guarded_port: mach_msg_guarded_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_msg_body_t { | |
pub msgh_descriptor_count: mach_msg_size_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_msg_header_t { | |
pub msgh_bits: mach_msg_bits_t, | |
pub msgh_size: mach_msg_size_t, | |
pub msgh_remote_port: mach_port_t, | |
pub msgh_local_port: mach_port_t, | |
pub msgh_voucher_port: mach_port_name_t, | |
pub msgh_id: mach_msg_id_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_msg_base_t { | |
pub header: mach_msg_header_t, | |
pub body: mach_msg_body_t, | |
} | |
pub type mach_msg_trailer_type_t = ::std::os::raw::c_uint; | |
pub type mach_msg_trailer_size_t = ::std::os::raw::c_uint; | |
pub type mach_msg_trailer_info_t = *mut ::std::os::raw::c_char; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_msg_trailer_t { | |
pub msgh_trailer_type: mach_msg_trailer_type_t, | |
pub msgh_trailer_size: mach_msg_trailer_size_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_msg_seqno_trailer_t { | |
pub msgh_trailer_type: mach_msg_trailer_type_t, | |
pub msgh_trailer_size: mach_msg_trailer_size_t, | |
pub msgh_seqno: mach_port_seqno_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct security_token_t { | |
pub val: [::std::os::raw::c_uint; 2usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_msg_security_trailer_t { | |
pub msgh_trailer_type: mach_msg_trailer_type_t, | |
pub msgh_trailer_size: mach_msg_trailer_size_t, | |
pub msgh_seqno: mach_port_seqno_t, | |
pub msgh_sender: security_token_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct audit_token_t { | |
pub val: [::std::os::raw::c_uint; 8usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_msg_audit_trailer_t { | |
pub msgh_trailer_type: mach_msg_trailer_type_t, | |
pub msgh_trailer_size: mach_msg_trailer_size_t, | |
pub msgh_seqno: mach_port_seqno_t, | |
pub msgh_sender: security_token_t, | |
pub msgh_audit: audit_token_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_msg_context_trailer_t { | |
pub msgh_trailer_type: mach_msg_trailer_type_t, | |
pub msgh_trailer_size: mach_msg_trailer_size_t, | |
pub msgh_seqno: mach_port_seqno_t, | |
pub msgh_sender: security_token_t, | |
pub msgh_audit: audit_token_t, | |
pub msgh_context: mach_port_context_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct msg_labels_t { | |
pub sender: mach_port_name_t, | |
} | |
pub type mach_msg_filter_id = ::std::os::raw::c_int; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_msg_mac_trailer_t { | |
pub msgh_trailer_type: mach_msg_trailer_type_t, | |
pub msgh_trailer_size: mach_msg_trailer_size_t, | |
pub msgh_seqno: mach_port_seqno_t, | |
pub msgh_sender: security_token_t, | |
pub msgh_audit: audit_token_t, | |
pub msgh_context: mach_port_context_t, | |
pub msgh_ad: mach_msg_filter_id, | |
pub msgh_labels: msg_labels_t, | |
} | |
pub type mach_msg_max_trailer_t = mach_msg_mac_trailer_t; | |
pub type mach_msg_format_0_trailer_t = mach_msg_security_trailer_t; | |
extern "C" { | |
pub static KERNEL_SECURITY_TOKEN: security_token_t; | |
} | |
extern "C" { | |
pub static KERNEL_AUDIT_TOKEN: audit_token_t; | |
} | |
pub type mach_msg_options_t = integer_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_msg_empty_send_t { | |
pub header: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_msg_empty_rcv_t { | |
pub header: mach_msg_header_t, | |
pub trailer: mach_msg_trailer_t, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union mach_msg_empty_t { | |
pub send: mach_msg_empty_send_t, | |
pub rcv: mach_msg_empty_rcv_t, | |
} | |
pub type mach_msg_type_size_t = natural_t; | |
pub type mach_msg_type_number_t = natural_t; | |
pub type mach_msg_option_t = integer_t; | |
pub type mach_msg_return_t = kern_return_t; | |
extern "C" { | |
pub fn mach_msg_overwrite( | |
msg: *mut mach_msg_header_t, | |
option: mach_msg_option_t, | |
send_size: mach_msg_size_t, | |
rcv_size: mach_msg_size_t, | |
rcv_name: mach_port_name_t, | |
timeout: mach_msg_timeout_t, | |
notify: mach_port_name_t, | |
rcv_msg: *mut mach_msg_header_t, | |
rcv_limit: mach_msg_size_t, | |
) -> mach_msg_return_t; | |
} | |
extern "C" { | |
pub fn mach_msg( | |
msg: *mut mach_msg_header_t, | |
option: mach_msg_option_t, | |
send_size: mach_msg_size_t, | |
rcv_size: mach_msg_size_t, | |
rcv_name: mach_port_name_t, | |
timeout: mach_msg_timeout_t, | |
notify: mach_port_name_t, | |
) -> mach_msg_return_t; | |
} | |
extern "C" { | |
pub fn mach_voucher_deallocate(voucher: mach_port_name_t) -> kern_return_t; | |
} | |
pub type pointer_t = vm_offset_t; | |
pub type vm_address_t = vm_offset_t; | |
pub type addr64_t = u64; | |
pub type reg64_t = u32; | |
pub type ppnum_t = u32; | |
pub type vm_map_t = mach_port_t; | |
pub type vm_map_read_t = mach_port_t; | |
pub type vm_map_inspect_t = mach_port_t; | |
pub type upl_t = mach_port_t; | |
pub type vm_named_entry_t = mach_port_t; | |
pub type vm_object_offset_t = u64; | |
pub type vm_object_size_t = u64; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_vm_range { | |
pub min_address: mach_vm_offset_t, | |
pub max_address: mach_vm_offset_t, | |
} | |
pub type mach_vm_range_t = *mut mach_vm_range; | |
pub const mach_vm_range_flavor_t_MACH_VM_RANGE_FLAVOR_INVALID: mach_vm_range_flavor_t = 0; | |
pub const mach_vm_range_flavor_t_MACH_VM_RANGE_FLAVOR_V1: mach_vm_range_flavor_t = 1; | |
pub type mach_vm_range_flavor_t = u32; | |
pub const mach_vm_range_flags_t_MACH_VM_RANGE_NONE: mach_vm_range_flags_t = 0; | |
pub type mach_vm_range_flags_t = u64; | |
pub const mach_vm_range_tag_t_MACH_VM_RANGE_DEFAULT: mach_vm_range_tag_t = 0; | |
pub const mach_vm_range_tag_t_MACH_VM_RANGE_DATA: mach_vm_range_tag_t = 1; | |
pub const mach_vm_range_tag_t_MACH_VM_RANGE_FIXED: mach_vm_range_tag_t = 2; | |
pub type mach_vm_range_tag_t = u16; | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_vm_range_recipe_v1_t { | |
pub _bitfield_align_1: [u8; 0], | |
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>, | |
pub range: mach_vm_range, | |
} | |
impl mach_vm_range_recipe_v1_t { | |
#[inline] | |
pub fn flags(&self) -> mach_vm_range_flags_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 48u8) as u64) } | |
} | |
#[inline] | |
pub fn set_flags(&mut self, val: mach_vm_range_flags_t) { | |
unsafe { | |
let val: u64 = ::std::mem::transmute(val); | |
self._bitfield_1.set(0usize, 48u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn range_tag(&self) -> mach_vm_range_tag_t { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(48usize, 8u8) as u16) } | |
} | |
#[inline] | |
pub fn set_range_tag(&mut self, val: mach_vm_range_tag_t) { | |
unsafe { | |
let val: u16 = ::std::mem::transmute(val); | |
self._bitfield_1.set(48usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn vm_tag(&self) -> u8 { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(56usize, 8u8) as u8) } | |
} | |
#[inline] | |
pub fn set_vm_tag(&mut self, val: u8) { | |
unsafe { | |
let val: u8 = ::std::mem::transmute(val); | |
self._bitfield_1.set(56usize, 8u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn new_bitfield_1( | |
flags: mach_vm_range_flags_t, | |
range_tag: mach_vm_range_tag_t, | |
vm_tag: u8, | |
) -> __BindgenBitfieldUnit<[u8; 8usize]> { | |
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default(); | |
__bindgen_bitfield_unit.set(0usize, 48u8, { | |
let flags: u64 = unsafe { ::std::mem::transmute(flags) }; | |
flags as u64 | |
}); | |
__bindgen_bitfield_unit.set(48usize, 8u8, { | |
let range_tag: u16 = unsafe { ::std::mem::transmute(range_tag) }; | |
range_tag as u64 | |
}); | |
__bindgen_bitfield_unit.set(56usize, 8u8, { | |
let vm_tag: u8 = unsafe { ::std::mem::transmute(vm_tag) }; | |
vm_tag as u64 | |
}); | |
__bindgen_bitfield_unit | |
} | |
} | |
pub type mach_vm_range_recipe_t = mach_vm_range_recipe_v1_t; | |
pub type mach_vm_range_recipes_raw_t = *mut u8; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct arm_state_hdr { | |
pub flavor: u32, | |
pub count: u32, | |
} | |
pub type arm_state_hdr_t = arm_state_hdr; | |
pub type arm_thread_state_t = __darwin_arm_thread_state; | |
pub type arm_thread_state32_t = __darwin_arm_thread_state; | |
pub type arm_thread_state64_t = __darwin_arm_thread_state64; | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub struct arm_unified_thread_state { | |
pub __bindgen_anon_1: arm_unified_thread_state__bindgen_ty_1, | |
pub ash: arm_state_hdr_t, | |
pub uts: arm_unified_thread_state__bindgen_ty_1, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union arm_unified_thread_state__bindgen_ty_1 { | |
pub ts_32: arm_thread_state32_t, | |
pub ts_64: arm_thread_state64_t, | |
} | |
pub type arm_unified_thread_state_t = arm_unified_thread_state; | |
pub type arm_vfp_state_t = __darwin_arm_vfp_state; | |
pub type arm_neon_state_t = __darwin_arm_neon_state; | |
pub type arm_neon_state32_t = __darwin_arm_neon_state; | |
pub type arm_neon_state64_t = __darwin_arm_neon_state64; | |
pub type arm_exception_state_t = __darwin_arm_exception_state; | |
pub type arm_exception_state32_t = __darwin_arm_exception_state; | |
pub type arm_exception_state64_t = __darwin_arm_exception_state64; | |
pub type arm_debug_state32_t = __darwin_arm_debug_state32; | |
pub type arm_debug_state64_t = __darwin_arm_debug_state64; | |
pub type arm_pagein_state_t = __arm_pagein_state; | |
pub type arm_debug_state_t = __arm_legacy_debug_state; | |
pub type thread_state_t = *mut natural_t; | |
pub type thread_state_data_t = [natural_t; 1296usize]; | |
pub type thread_state_flavor_t = ::std::os::raw::c_int; | |
pub type thread_state_flavor_array_t = *mut thread_state_flavor_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ipc_info_space { | |
pub iis_genno_mask: natural_t, | |
pub iis_table_size: natural_t, | |
pub iis_table_next: natural_t, | |
pub iis_tree_size: natural_t, | |
pub iis_tree_small: natural_t, | |
pub iis_tree_hash: natural_t, | |
} | |
pub type ipc_info_space_t = ipc_info_space; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ipc_info_space_basic { | |
pub iisb_genno_mask: natural_t, | |
pub iisb_table_size: natural_t, | |
pub iisb_table_next: natural_t, | |
pub iisb_table_inuse: natural_t, | |
pub iisb_reserved: [natural_t; 2usize], | |
} | |
pub type ipc_info_space_basic_t = ipc_info_space_basic; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ipc_info_name { | |
pub iin_name: mach_port_name_t, | |
pub iin_collision: integer_t, | |
pub iin_type: mach_port_type_t, | |
pub iin_urefs: mach_port_urefs_t, | |
pub iin_object: natural_t, | |
pub iin_next: natural_t, | |
pub iin_hash: natural_t, | |
} | |
pub type ipc_info_name_t = ipc_info_name; | |
pub type ipc_info_name_array_t = *mut ipc_info_name_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ipc_info_tree_name { | |
pub iitn_name: ipc_info_name_t, | |
pub iitn_lchild: mach_port_name_t, | |
pub iitn_rchild: mach_port_name_t, | |
} | |
pub type ipc_info_tree_name_t = ipc_info_tree_name; | |
pub type ipc_info_tree_name_array_t = *mut ipc_info_tree_name_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ipc_info_port { | |
pub iip_port_object: natural_t, | |
pub iip_receiver_object: natural_t, | |
} | |
pub type ipc_info_port_t = ipc_info_port; | |
pub type exception_handler_info_array_t = *mut ipc_info_port_t; | |
pub type exception_type_t = ::std::os::raw::c_int; | |
pub type exception_data_type_t = integer_t; | |
pub type mach_exception_data_type_t = i64; | |
pub type exception_behavior_t = ::std::os::raw::c_int; | |
pub type exception_data_t = *mut exception_data_type_t; | |
pub type mach_exception_data_t = *mut mach_exception_data_type_t; | |
pub type exception_mask_t = ::std::os::raw::c_uint; | |
pub type exception_mask_array_t = *mut exception_mask_t; | |
pub type exception_behavior_array_t = *mut exception_behavior_t; | |
pub type exception_flavor_array_t = *mut thread_state_flavor_t; | |
pub type exception_port_array_t = *mut mach_port_t; | |
pub type exception_port_info_array_t = *mut ipc_info_port_t; | |
pub type mach_exception_code_t = mach_exception_data_type_t; | |
pub type mach_exception_subcode_t = mach_exception_data_type_t; | |
pub type cpu_type_t = integer_t; | |
pub type cpu_subtype_t = integer_t; | |
pub type cpu_threadtype_t = integer_t; | |
extern "C" { | |
pub fn posix_spawnattr_getbinpref_np( | |
arg1: *const posix_spawnattr_t, | |
arg2: usize, | |
arg3: *mut cpu_type_t, | |
arg4: *mut usize, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_spawnattr_getarchpref_np( | |
arg1: *const posix_spawnattr_t, | |
arg2: usize, | |
arg3: *mut cpu_type_t, | |
arg4: *mut cpu_subtype_t, | |
arg5: *mut usize, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_spawnattr_setauditsessionport_np( | |
arg1: *mut posix_spawnattr_t, | |
arg2: mach_port_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_spawnattr_setbinpref_np( | |
arg1: *mut posix_spawnattr_t, | |
arg2: usize, | |
arg3: *mut cpu_type_t, | |
arg4: *mut usize, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_spawnattr_setarchpref_np( | |
arg1: *mut posix_spawnattr_t, | |
arg2: usize, | |
arg3: *mut cpu_type_t, | |
arg4: *mut cpu_subtype_t, | |
arg5: *mut usize, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_spawnattr_setexceptionports_np( | |
arg1: *mut posix_spawnattr_t, | |
arg2: exception_mask_t, | |
arg3: mach_port_t, | |
arg4: exception_behavior_t, | |
arg5: thread_state_flavor_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_spawnattr_setspecialport_np( | |
arg1: *mut posix_spawnattr_t, | |
arg2: mach_port_t, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_spawnattr_setnosmt_np(attr: *const posix_spawnattr_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_spawnattr_set_csm_np( | |
attr: *const posix_spawnattr_t, | |
flags: u32, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_spawn_file_actions_addinherit_np( | |
arg1: *mut posix_spawn_file_actions_t, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_spawn_file_actions_addchdir_np( | |
arg1: *mut posix_spawn_file_actions_t, | |
arg2: *const ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_spawn_file_actions_addfchdir_np( | |
arg1: *mut posix_spawn_file_actions_t, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_spawnattr_set_qos_class_np( | |
__attr: *mut posix_spawnattr_t, | |
__qos_class: qos_class_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_spawnattr_get_qos_class_np( | |
__attr: *const posix_spawnattr_t, | |
__qos_class: *mut qos_class_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn _pthread_mutex_enable_legacy_mode(); | |
} | |
extern "C" { | |
pub fn pthread_create_from_mach_thread( | |
arg1: *mut pthread_t, | |
arg2: *const pthread_attr_t, | |
arg3: ::std::option::Option< | |
unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> *mut ::std::os::raw::c_void, | |
>, | |
arg4: *mut ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn regcomp( | |
arg1: *mut regex_t, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn regerror( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const regex_t, | |
arg3: *mut ::std::os::raw::c_char, | |
arg4: usize, | |
) -> usize; | |
} | |
extern "C" { | |
pub fn regexec( | |
arg1: *const regex_t, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: usize, | |
__pmatch: *mut regmatch_t, | |
arg4: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn regfree(arg1: *mut regex_t); | |
} | |
extern "C" { | |
pub fn regncomp( | |
arg1: *mut regex_t, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: usize, | |
arg4: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn regnexec( | |
arg1: *const regex_t, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: usize, | |
arg4: usize, | |
__pmatch: *mut regmatch_t, | |
arg5: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn regwcomp( | |
arg1: *mut regex_t, | |
arg2: *const wchar_t, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn regwexec( | |
arg1: *const regex_t, | |
arg2: *const wchar_t, | |
arg3: usize, | |
__pmatch: *mut regmatch_t, | |
arg4: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn regwncomp( | |
arg1: *mut regex_t, | |
arg2: *const wchar_t, | |
arg3: usize, | |
arg4: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn regwnexec( | |
arg1: *const regex_t, | |
arg2: *const wchar_t, | |
arg3: usize, | |
arg4: usize, | |
__pmatch: *mut regmatch_t, | |
arg5: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct entry { | |
pub key: *mut ::std::os::raw::c_char, | |
pub data: *mut ::std::os::raw::c_void, | |
} | |
pub type ENTRY = entry; | |
pub const ACTION_FIND: ACTION = 0; | |
pub const ACTION_ENTER: ACTION = 1; | |
pub type ACTION = ::std::os::raw::c_uint; | |
pub const VISIT_preorder: VISIT = 0; | |
pub const VISIT_postorder: VISIT = 1; | |
pub const VISIT_endorder: VISIT = 2; | |
pub const VISIT_leaf: VISIT = 3; | |
pub type VISIT = ::std::os::raw::c_uint; | |
extern "C" { | |
pub fn hcreate(arg1: usize) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn hdestroy(); | |
} | |
extern "C" { | |
pub fn hsearch(arg1: ENTRY, arg2: ACTION) -> *mut ENTRY; | |
} | |
extern "C" { | |
pub fn insque(arg1: *mut ::std::os::raw::c_void, arg2: *mut ::std::os::raw::c_void); | |
} | |
extern "C" { | |
pub fn lfind( | |
arg1: *const ::std::os::raw::c_void, | |
arg2: *const ::std::os::raw::c_void, | |
arg3: *mut usize, | |
arg4: usize, | |
arg5: ::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, | |
>, | |
) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn lsearch( | |
arg1: *const ::std::os::raw::c_void, | |
arg2: *mut ::std::os::raw::c_void, | |
arg3: *mut usize, | |
arg4: usize, | |
arg5: ::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, | |
>, | |
) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn remque(arg1: *mut ::std::os::raw::c_void); | |
} | |
extern "C" { | |
pub fn tdelete( | |
arg1: *const ::std::os::raw::c_void, | |
arg2: *mut *mut ::std::os::raw::c_void, | |
arg3: ::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, | |
>, | |
) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn tfind( | |
arg1: *const ::std::os::raw::c_void, | |
arg2: *const *mut ::std::os::raw::c_void, | |
arg3: ::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, | |
>, | |
) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn tsearch( | |
arg1: *const ::std::os::raw::c_void, | |
arg2: *mut *mut ::std::os::raw::c_void, | |
arg3: ::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, | |
>, | |
) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn twalk( | |
arg1: *const ::std::os::raw::c_void, | |
arg2: ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: *const ::std::os::raw::c_void, | |
arg2: VISIT, | |
arg3: ::std::os::raw::c_int, | |
), | |
>, | |
); | |
} | |
pub type sem_t = ::std::os::raw::c_int; | |
extern "C" { | |
pub fn sem_close(arg1: *mut sem_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sem_destroy(arg1: *mut sem_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sem_getvalue( | |
arg1: *mut sem_t, | |
arg2: *mut ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sem_init( | |
arg1: *mut sem_t, | |
arg2: ::std::os::raw::c_int, | |
arg3: ::std::os::raw::c_uint, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sem_open( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
... | |
) -> *mut sem_t; | |
} | |
extern "C" { | |
pub fn sem_post(arg1: *mut sem_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sem_trywait(arg1: *mut sem_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sem_unlink(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sem_wait(arg1: *mut sem_t) -> ::std::os::raw::c_int; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ipc_perm { | |
pub uid: uid_t, | |
pub gid: gid_t, | |
pub cuid: uid_t, | |
pub cgid: gid_t, | |
pub mode: mode_t, | |
pub _seq: ::std::os::raw::c_ushort, | |
pub _key: key_t, | |
} | |
extern "C" { | |
pub fn ftok(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> key_t; | |
} | |
extern "C" { | |
pub fn mlockall(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn munlockall() -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn mlock(arg1: *const ::std::os::raw::c_void, arg2: usize) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn mmap( | |
arg1: *mut ::std::os::raw::c_void, | |
arg2: usize, | |
arg3: ::std::os::raw::c_int, | |
arg4: ::std::os::raw::c_int, | |
arg5: ::std::os::raw::c_int, | |
arg6: off_t, | |
) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn mprotect( | |
arg1: *mut ::std::os::raw::c_void, | |
arg2: usize, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn msync( | |
arg1: *mut ::std::os::raw::c_void, | |
arg2: usize, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn munlock(arg1: *const ::std::os::raw::c_void, arg2: usize) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn munmap(arg1: *mut ::std::os::raw::c_void, arg2: usize) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn shm_open( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn shm_unlink(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn posix_madvise( | |
arg1: *mut ::std::os::raw::c_void, | |
arg2: usize, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn madvise( | |
arg1: *mut ::std::os::raw::c_void, | |
arg2: usize, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn mincore( | |
arg1: *const ::std::os::raw::c_void, | |
arg2: usize, | |
arg3: *mut ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn minherit( | |
arg1: *mut ::std::os::raw::c_void, | |
arg2: usize, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
pub type msgqnum_t = ::std::os::raw::c_ulong; | |
pub type msglen_t = ::std::os::raw::c_ulong; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __msqid_ds_new { | |
pub msg_perm: ipc_perm, | |
pub msg_first: __int32_t, | |
pub msg_last: __int32_t, | |
pub msg_cbytes: msglen_t, | |
pub msg_qnum: msgqnum_t, | |
pub msg_qbytes: msglen_t, | |
pub msg_lspid: pid_t, | |
pub msg_lrpid: pid_t, | |
pub msg_stime: time_t, | |
pub msg_pad1: __int32_t, | |
pub msg_rtime: time_t, | |
pub msg_pad2: __int32_t, | |
pub msg_ctime: time_t, | |
pub msg_pad3: __int32_t, | |
pub msg_pad4: [__int32_t; 4usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct msg { | |
pub msg_next: *mut msg, | |
pub msg_type: ::std::os::raw::c_long, | |
pub msg_ts: ::std::os::raw::c_ushort, | |
pub msg_spot: ::std::os::raw::c_short, | |
pub label: *mut label, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mymsg { | |
pub mtype: ::std::os::raw::c_long, | |
pub mtext: [::std::os::raw::c_char; 1usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct msginfo { | |
pub msgmax: ::std::os::raw::c_int, | |
pub msgmni: ::std::os::raw::c_int, | |
pub msgmnb: ::std::os::raw::c_int, | |
pub msgtql: ::std::os::raw::c_int, | |
pub msgssz: ::std::os::raw::c_int, | |
pub msgseg: ::std::os::raw::c_int, | |
} | |
extern "C" { | |
pub fn msgsys(arg1: ::std::os::raw::c_int, ...) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn msgctl( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
arg3: *mut __msqid_ds_new, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn msgget(arg1: key_t, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn msgrcv( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut ::std::os::raw::c_void, | |
arg3: usize, | |
arg4: ::std::os::raw::c_long, | |
arg5: ::std::os::raw::c_int, | |
) -> isize; | |
} | |
extern "C" { | |
pub fn msgsnd( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_void, | |
arg3: usize, | |
arg4: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pselect( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut fd_set, | |
arg3: *mut fd_set, | |
arg4: *mut fd_set, | |
arg5: *const timespec, | |
arg6: *const sigset_t, | |
) -> ::std::os::raw::c_int; | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __semid_ds_new { | |
pub sem_perm: ipc_perm, | |
pub sem_base: __int32_t, | |
pub sem_nsems: ::std::os::raw::c_ushort, | |
pub sem_otime: time_t, | |
pub sem_pad1: __int32_t, | |
pub sem_ctime: time_t, | |
pub sem_pad2: __int32_t, | |
pub sem_pad3: [__int32_t; 4usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sem { | |
pub semval: ::std::os::raw::c_ushort, | |
pub sempid: pid_t, | |
pub semncnt: ::std::os::raw::c_ushort, | |
pub semzcnt: ::std::os::raw::c_ushort, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sembuf { | |
pub sem_num: ::std::os::raw::c_ushort, | |
pub sem_op: ::std::os::raw::c_short, | |
pub sem_flg: ::std::os::raw::c_short, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union semun { | |
pub val: ::std::os::raw::c_int, | |
pub buf: *mut __semid_ds_new, | |
pub array: *mut ::std::os::raw::c_ushort, | |
} | |
pub type semun_t = semun; | |
extern "C" { | |
pub fn semsys(arg1: ::std::os::raw::c_int, ...) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn semctl( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
arg3: ::std::os::raw::c_int, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn semget( | |
arg1: key_t, | |
arg2: ::std::os::raw::c_int, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn semop( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut sembuf, | |
arg3: usize, | |
) -> ::std::os::raw::c_int; | |
} | |
pub type shmatt_t = ::std::os::raw::c_ushort; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __shmid_ds_new { | |
pub shm_perm: ipc_perm, | |
pub shm_segsz: usize, | |
pub shm_lpid: pid_t, | |
pub shm_cpid: pid_t, | |
pub shm_nattch: shmatt_t, | |
pub shm_atime: time_t, | |
pub shm_dtime: time_t, | |
pub shm_ctime: time_t, | |
pub shm_internal: *mut ::std::os::raw::c_void, | |
} | |
extern "C" { | |
pub fn shmsys(arg1: ::std::os::raw::c_int, ...) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn shmat( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_void, | |
arg3: ::std::os::raw::c_int, | |
) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn shmctl( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
arg3: *mut __shmid_ds_new, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn shmdt(arg1: *const ::std::os::raw::c_void) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn shmget(arg1: key_t, arg2: usize, arg3: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct statvfs { | |
pub f_bsize: ::std::os::raw::c_ulong, | |
pub f_frsize: ::std::os::raw::c_ulong, | |
pub f_blocks: fsblkcnt_t, | |
pub f_bfree: fsblkcnt_t, | |
pub f_bavail: fsblkcnt_t, | |
pub f_files: fsfilcnt_t, | |
pub f_ffree: fsfilcnt_t, | |
pub f_favail: fsfilcnt_t, | |
pub f_fsid: ::std::os::raw::c_ulong, | |
pub f_flag: ::std::os::raw::c_ulong, | |
pub f_namemax: ::std::os::raw::c_ulong, | |
} | |
extern "C" { | |
pub fn fstatvfs(arg1: ::std::os::raw::c_int, arg2: *mut statvfs) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn statvfs( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut statvfs, | |
) -> ::std::os::raw::c_int; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct tms { | |
pub tms_utime: clock_t, | |
pub tms_stime: clock_t, | |
pub tms_cutime: clock_t, | |
pub tms_cstime: clock_t, | |
} | |
extern "C" { | |
pub fn times(arg1: *mut tms) -> clock_t; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct fsid { | |
pub val: [i32; 2usize], | |
} | |
pub type fsid_t = fsid; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct fsobj_id { | |
pub fid_objno: u_int32_t, | |
pub fid_generation: u_int32_t, | |
} | |
pub type fsobj_id_t = fsobj_id; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct secure_boot_cryptex_args { | |
pub sbc_version: u_int32_t, | |
pub sbc_4cc: u_int32_t, | |
pub sbc_authentic_manifest_fd: ::std::os::raw::c_int, | |
pub sbc_user_manifest_fd: ::std::os::raw::c_int, | |
pub sbc_payload_fd: ::std::os::raw::c_int, | |
pub sbc_flags: u_int64_t, | |
} | |
pub type secure_boot_cryptex_args_t = secure_boot_cryptex_args; | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union graft_args { | |
pub max_size: [u_int8_t; 512usize], | |
pub sbc_args: secure_boot_cryptex_args_t, | |
} | |
pub type graftdmg_args_un = graft_args; | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union guid_t { | |
pub g_guid: [::std::os::raw::c_uchar; 16usize], | |
pub g_guid_asint: [::std::os::raw::c_uint; 4usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mount { | |
_unused: [u8; 0], | |
} | |
pub type mount_t = *mut mount; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __darwin_ucontext64 { | |
pub uc_onstack: ::std::os::raw::c_int, | |
pub uc_sigmask: __darwin_sigset_t, | |
pub uc_stack: __darwin_sigaltstack, | |
pub uc_link: *mut __darwin_ucontext64, | |
pub uc_mcsize: __darwin_size_t, | |
pub uc_mcontext64: *mut __darwin_mcontext64, | |
} | |
pub type ucontext64_t = __darwin_ucontext64; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct vnode { | |
_unused: [u8; 0], | |
} | |
pub type vnode_t = *mut vnode; | |
pub const uio_rw_UIO_READ: uio_rw = 0; | |
pub const uio_rw_UIO_WRITE: uio_rw = 1; | |
pub type uio_rw = ::std::os::raw::c_uint; | |
extern "C" { | |
pub fn readv( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const iovec, | |
arg3: ::std::os::raw::c_int, | |
) -> isize; | |
} | |
extern "C" { | |
pub fn writev( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const iovec, | |
arg3: ::std::os::raw::c_int, | |
) -> isize; | |
} | |
extern "C" { | |
pub fn preadv( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const iovec, | |
arg3: ::std::os::raw::c_int, | |
arg4: off_t, | |
) -> isize; | |
} | |
extern "C" { | |
pub fn pwritev( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const iovec, | |
arg3: ::std::os::raw::c_int, | |
arg4: off_t, | |
) -> isize; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sockaddr_un { | |
pub sun_len: ::std::os::raw::c_uchar, | |
pub sun_family: sa_family_t, | |
pub sun_path: [::std::os::raw::c_char; 104usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct utsname { | |
pub sysname: [::std::os::raw::c_char; 256usize], | |
pub nodename: [::std::os::raw::c_char; 256usize], | |
pub release: [::std::os::raw::c_char; 256usize], | |
pub version: [::std::os::raw::c_char; 256usize], | |
pub machine: [::std::os::raw::c_char; 256usize], | |
} | |
extern "C" { | |
pub fn uname(arg1: *mut utsname) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getxattr( | |
path: *const ::std::os::raw::c_char, | |
name: *const ::std::os::raw::c_char, | |
value: *mut ::std::os::raw::c_void, | |
size: usize, | |
position: u_int32_t, | |
options: ::std::os::raw::c_int, | |
) -> isize; | |
} | |
extern "C" { | |
pub fn fgetxattr( | |
fd: ::std::os::raw::c_int, | |
name: *const ::std::os::raw::c_char, | |
value: *mut ::std::os::raw::c_void, | |
size: usize, | |
position: u_int32_t, | |
options: ::std::os::raw::c_int, | |
) -> isize; | |
} | |
extern "C" { | |
pub fn setxattr( | |
path: *const ::std::os::raw::c_char, | |
name: *const ::std::os::raw::c_char, | |
value: *const ::std::os::raw::c_void, | |
size: usize, | |
position: u_int32_t, | |
options: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fsetxattr( | |
fd: ::std::os::raw::c_int, | |
name: *const ::std::os::raw::c_char, | |
value: *const ::std::os::raw::c_void, | |
size: usize, | |
position: u_int32_t, | |
options: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn removexattr( | |
path: *const ::std::os::raw::c_char, | |
name: *const ::std::os::raw::c_char, | |
options: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fremovexattr( | |
fd: ::std::os::raw::c_int, | |
name: *const ::std::os::raw::c_char, | |
options: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn listxattr( | |
path: *const ::std::os::raw::c_char, | |
namebuff: *mut ::std::os::raw::c_char, | |
size: usize, | |
options: ::std::os::raw::c_int, | |
) -> isize; | |
} | |
extern "C" { | |
pub fn flistxattr( | |
fd: ::std::os::raw::c_int, | |
namebuff: *mut ::std::os::raw::c_char, | |
size: usize, | |
options: ::std::os::raw::c_int, | |
) -> isize; | |
} | |
extern "C" { | |
pub fn closelog(); | |
} | |
extern "C" { | |
pub fn openlog( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
arg3: ::std::os::raw::c_int, | |
); | |
} | |
extern "C" { | |
pub fn setlogmask(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn syslog(arg1: ::std::os::raw::c_int, arg2: *const ::std::os::raw::c_char, ...); | |
} | |
extern "C" { | |
pub fn vsyslog( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: __darwin_va_list, | |
); | |
} | |
extern "C" { | |
pub fn ulimit(arg1: ::std::os::raw::c_int, ...) -> ::std::os::raw::c_long; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct accessx_descriptor { | |
pub ad_name_offset: ::std::os::raw::c_uint, | |
pub ad_flags: ::std::os::raw::c_int, | |
pub ad_pad: [::std::os::raw::c_int; 2usize], | |
} | |
extern "C" { | |
pub fn getattrlistbulk( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut ::std::os::raw::c_void, | |
arg3: *mut ::std::os::raw::c_void, | |
arg4: usize, | |
arg5: u64, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getattrlistat( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: *mut ::std::os::raw::c_void, | |
arg4: *mut ::std::os::raw::c_void, | |
arg5: usize, | |
arg6: ::std::os::raw::c_ulong, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn setattrlistat( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: *mut ::std::os::raw::c_void, | |
arg4: *mut ::std::os::raw::c_void, | |
arg5: usize, | |
arg6: u32, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn freadlink( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut ::std::os::raw::c_char, | |
arg3: usize, | |
) -> isize; | |
} | |
extern "C" { | |
pub fn faccessat( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_int, | |
arg4: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fchownat( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: uid_t, | |
arg4: gid_t, | |
arg5: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn linkat( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_int, | |
arg4: *const ::std::os::raw::c_char, | |
arg5: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn readlinkat( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: *mut ::std::os::raw::c_char, | |
arg4: usize, | |
) -> isize; | |
} | |
extern "C" { | |
pub fn symlinkat( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
arg3: *const ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn unlinkat( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn _exit(arg1: ::std::os::raw::c_int) -> !; | |
} | |
extern "C" { | |
pub fn access( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn alarm(arg1: ::std::os::raw::c_uint) -> ::std::os::raw::c_uint; | |
} | |
extern "C" { | |
pub fn chdir(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn chown( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: uid_t, | |
arg3: gid_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn close(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn dup(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn dup2(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn execl( | |
__path: *const ::std::os::raw::c_char, | |
__arg0: *const ::std::os::raw::c_char, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn execle( | |
__path: *const ::std::os::raw::c_char, | |
__arg0: *const ::std::os::raw::c_char, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn execlp( | |
__file: *const ::std::os::raw::c_char, | |
__arg0: *const ::std::os::raw::c_char, | |
... | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn execv( | |
__path: *const ::std::os::raw::c_char, | |
__argv: *const *mut ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn execve( | |
__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 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 fork() -> pid_t; | |
} | |
extern "C" { | |
pub fn fpathconf( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_long; | |
} | |
extern "C" { | |
pub fn getcwd(arg1: *mut ::std::os::raw::c_char, arg2: usize) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn getegid() -> gid_t; | |
} | |
extern "C" { | |
pub fn geteuid() -> uid_t; | |
} | |
extern "C" { | |
pub fn getgid() -> gid_t; | |
} | |
extern "C" { | |
pub fn getgroups(arg1: ::std::os::raw::c_int, arg2: *mut gid_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getlogin() -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn getpgrp() -> pid_t; | |
} | |
extern "C" { | |
pub fn getpid() -> pid_t; | |
} | |
extern "C" { | |
pub fn getppid() -> pid_t; | |
} | |
extern "C" { | |
pub fn getuid() -> uid_t; | |
} | |
extern "C" { | |
pub fn isatty(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn link( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn lseek(arg1: ::std::os::raw::c_int, arg2: off_t, arg3: ::std::os::raw::c_int) -> off_t; | |
} | |
extern "C" { | |
pub fn pathconf( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_long; | |
} | |
extern "C" { | |
pub fn pause() -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pipe(arg1: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn read( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut ::std::os::raw::c_void, | |
arg3: usize, | |
) -> isize; | |
} | |
extern "C" { | |
pub fn rmdir(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn setgid(arg1: gid_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn setpgid(arg1: pid_t, arg2: pid_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn setsid() -> pid_t; | |
} | |
extern "C" { | |
pub fn setuid(arg1: uid_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sleep(arg1: ::std::os::raw::c_uint) -> ::std::os::raw::c_uint; | |
} | |
extern "C" { | |
pub fn sysconf(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_long; | |
} | |
extern "C" { | |
pub fn tcgetpgrp(arg1: ::std::os::raw::c_int) -> pid_t; | |
} | |
extern "C" { | |
pub fn tcsetpgrp(arg1: ::std::os::raw::c_int, arg2: pid_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn ttyname(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn ttyname_r( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut ::std::os::raw::c_char, | |
arg3: usize, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn unlink(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn write( | |
__fd: ::std::os::raw::c_int, | |
__buf: *const ::std::os::raw::c_void, | |
__nbyte: usize, | |
) -> isize; | |
} | |
extern "C" { | |
pub fn confstr( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut ::std::os::raw::c_char, | |
arg3: usize, | |
) -> usize; | |
} | |
extern "C" { | |
pub fn getopt( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const *mut ::std::os::raw::c_char, | |
arg3: *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 brk(arg1: *const ::std::os::raw::c_void) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn chroot(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn crypt( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn encrypt(arg1: *mut ::std::os::raw::c_char, arg2: ::std::os::raw::c_int); | |
} | |
extern "C" { | |
pub fn fchdir(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn gethostid() -> ::std::os::raw::c_long; | |
} | |
extern "C" { | |
pub fn getpgid(arg1: pid_t) -> pid_t; | |
} | |
extern "C" { | |
pub fn getsid(arg1: pid_t) -> pid_t; | |
} | |
extern "C" { | |
pub fn getdtablesize() -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getpagesize() -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getpass(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn getwd(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn lchown( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: uid_t, | |
arg3: gid_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn lockf( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
arg3: off_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn nice(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pread( | |
__fd: ::std::os::raw::c_int, | |
__buf: *mut ::std::os::raw::c_void, | |
__nbyte: usize, | |
__offset: off_t, | |
) -> isize; | |
} | |
extern "C" { | |
pub fn pwrite( | |
__fd: ::std::os::raw::c_int, | |
__buf: *const ::std::os::raw::c_void, | |
__nbyte: usize, | |
__offset: off_t, | |
) -> isize; | |
} | |
extern "C" { | |
pub fn sbrk(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn setpgrp() -> pid_t; | |
} | |
extern "C" { | |
pub fn setregid(arg1: gid_t, arg2: gid_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn setreuid(arg1: uid_t, arg2: uid_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sync(); | |
} | |
extern "C" { | |
pub fn truncate(arg1: *const ::std::os::raw::c_char, arg2: off_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn ualarm(arg1: useconds_t, arg2: useconds_t) -> useconds_t; | |
} | |
extern "C" { | |
pub fn usleep(arg1: useconds_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn vfork() -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fsync(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn ftruncate(arg1: ::std::os::raw::c_int, arg2: off_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getlogin_r(arg1: *mut ::std::os::raw::c_char, arg2: usize) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fchown(arg1: ::std::os::raw::c_int, arg2: uid_t, arg3: gid_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn gethostname(arg1: *mut ::std::os::raw::c_char, arg2: usize) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn readlink( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut ::std::os::raw::c_char, | |
arg3: usize, | |
) -> isize; | |
} | |
extern "C" { | |
pub fn setegid(arg1: gid_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn seteuid(arg1: uid_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn symlink( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn accessx_np( | |
arg1: *const accessx_descriptor, | |
arg2: usize, | |
arg3: *mut ::std::os::raw::c_int, | |
arg4: uid_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn acct(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn add_profil( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: usize, | |
arg3: ::std::os::raw::c_ulong, | |
arg4: ::std::os::raw::c_uint, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn endusershell(); | |
} | |
extern "C" { | |
pub fn execvP( | |
__file: *const ::std::os::raw::c_char, | |
__searchpath: *const ::std::os::raw::c_char, | |
__argv: *const *mut ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fflagstostr(arg1: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn getdomainname( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getgrouplist( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
arg3: *mut ::std::os::raw::c_int, | |
arg4: *mut ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn gethostuuid( | |
arg1: *mut ::std::os::raw::c_uchar, | |
arg2: *const timespec, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getmode(arg1: *const ::std::os::raw::c_void, arg2: mode_t) -> mode_t; | |
} | |
extern "C" { | |
pub fn getpeereid( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut uid_t, | |
arg3: *mut gid_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getsgroups_np( | |
arg1: *mut ::std::os::raw::c_int, | |
arg2: *mut ::std::os::raw::c_uchar, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getusershell() -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn getwgroups_np( | |
arg1: *mut ::std::os::raw::c_int, | |
arg2: *mut ::std::os::raw::c_uchar, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn initgroups( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn issetugid() -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn mkdtemp(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn mkpath_np(path: *const ::std::os::raw::c_char, omode: mode_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn mkpathat_np( | |
dfd: ::std::os::raw::c_int, | |
path: *const ::std::os::raw::c_char, | |
omode: mode_t, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn mkstemps( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn mkostemp( | |
path: *mut ::std::os::raw::c_char, | |
oflags: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn mkostemps( | |
path: *mut ::std::os::raw::c_char, | |
slen: ::std::os::raw::c_int, | |
oflags: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn mkstemp_dprotected_np( | |
path: *mut ::std::os::raw::c_char, | |
dpclass: ::std::os::raw::c_int, | |
dpflags: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn mkdtempat_np( | |
dfd: ::std::os::raw::c_int, | |
path: *mut ::std::os::raw::c_char, | |
) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn mkstempsat_np( | |
dfd: ::std::os::raw::c_int, | |
path: *mut ::std::os::raw::c_char, | |
slen: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn mkostempsat_np( | |
dfd: ::std::os::raw::c_int, | |
path: *mut ::std::os::raw::c_char, | |
slen: ::std::os::raw::c_int, | |
oflags: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn nfssvc( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut ::std::os::raw::c_void, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn profil( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: usize, | |
arg3: ::std::os::raw::c_ulong, | |
arg4: ::std::os::raw::c_uint, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_setugid_np(arg1: uid_t, arg2: gid_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn pthread_getugid_np(arg1: *mut uid_t, arg2: *mut gid_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn reboot(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn revoke(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn rcmd( | |
arg1: *mut *mut ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
arg3: *const ::std::os::raw::c_char, | |
arg4: *const ::std::os::raw::c_char, | |
arg5: *const ::std::os::raw::c_char, | |
arg6: *mut ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn rcmd_af( | |
arg1: *mut *mut ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
arg3: *const ::std::os::raw::c_char, | |
arg4: *const ::std::os::raw::c_char, | |
arg5: *const ::std::os::raw::c_char, | |
arg6: *mut ::std::os::raw::c_int, | |
arg7: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn rresvport(arg1: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn rresvport_af( | |
arg1: *mut ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn iruserok( | |
arg1: ::std::os::raw::c_ulong, | |
arg2: ::std::os::raw::c_int, | |
arg3: *const ::std::os::raw::c_char, | |
arg4: *const ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn iruserok_sa( | |
arg1: *const ::std::os::raw::c_void, | |
arg2: ::std::os::raw::c_int, | |
arg3: ::std::os::raw::c_int, | |
arg4: *const ::std::os::raw::c_char, | |
arg5: *const ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn ruserok( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
arg3: *const ::std::os::raw::c_char, | |
arg4: *const ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn setdomainname( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn setgroups(arg1: ::std::os::raw::c_int, arg2: *const gid_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sethostid(arg1: ::std::os::raw::c_long); | |
} | |
extern "C" { | |
pub fn sethostname( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn setlogin(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn setmode(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_void; | |
} | |
extern "C" { | |
pub fn setrgid(arg1: gid_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn setruid(arg1: uid_t) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn setsgroups_np( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut ::std::os::raw::c_uchar, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn setusershell(); | |
} | |
extern "C" { | |
pub fn setwgroups_np( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut ::std::os::raw::c_uchar, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn strtofflags( | |
arg1: *mut *mut ::std::os::raw::c_char, | |
arg2: *mut ::std::os::raw::c_ulong, | |
arg3: *mut ::std::os::raw::c_ulong, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn swapon(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn ttyslot() -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn undelete(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn unwhiteout(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn syscall(arg1: ::std::os::raw::c_int, ...) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fgetattrlist( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut ::std::os::raw::c_void, | |
arg3: *mut ::std::os::raw::c_void, | |
arg4: usize, | |
arg5: ::std::os::raw::c_uint, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fsetattrlist( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut ::std::os::raw::c_void, | |
arg3: *mut ::std::os::raw::c_void, | |
arg4: usize, | |
arg5: ::std::os::raw::c_uint, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getattrlist( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut ::std::os::raw::c_void, | |
arg3: *mut ::std::os::raw::c_void, | |
arg4: usize, | |
arg5: ::std::os::raw::c_uint, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn setattrlist( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut ::std::os::raw::c_void, | |
arg3: *mut ::std::os::raw::c_void, | |
arg4: usize, | |
arg5: ::std::os::raw::c_uint, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn exchangedata( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const ::std::os::raw::c_char, | |
arg3: ::std::os::raw::c_uint, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getdirentriesattr( | |
arg1: ::std::os::raw::c_int, | |
arg2: *mut ::std::os::raw::c_void, | |
arg3: *mut ::std::os::raw::c_void, | |
arg4: usize, | |
arg5: *mut ::std::os::raw::c_uint, | |
arg6: *mut ::std::os::raw::c_uint, | |
arg7: *mut ::std::os::raw::c_uint, | |
arg8: ::std::os::raw::c_uint, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn searchfs( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut fssearchblock, | |
arg3: *mut ::std::os::raw::c_ulong, | |
arg4: ::std::os::raw::c_uint, | |
arg5: ::std::os::raw::c_uint, | |
arg6: *mut searchstate, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fsctl( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_ulong, | |
arg3: *mut ::std::os::raw::c_void, | |
arg4: ::std::os::raw::c_uint, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn ffsctl( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_ulong, | |
arg3: *mut ::std::os::raw::c_void, | |
arg4: ::std::os::raw::c_uint, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fsync_volume_np( | |
arg1: ::std::os::raw::c_int, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn sync_volume_np( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub static mut optreset: ::std::os::raw::c_int; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct utimbuf { | |
pub actime: time_t, | |
pub modtime: time_t, | |
} | |
extern "C" { | |
pub fn utime( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *const utimbuf, | |
) -> ::std::os::raw::c_int; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct utmpx { | |
pub ut_user: [::std::os::raw::c_char; 256usize], | |
pub ut_id: [::std::os::raw::c_char; 4usize], | |
pub ut_line: [::std::os::raw::c_char; 32usize], | |
pub ut_pid: pid_t, | |
pub ut_type: ::std::os::raw::c_short, | |
pub ut_tv: timeval, | |
pub ut_host: [::std::os::raw::c_char; 256usize], | |
pub ut_pad: [__uint32_t; 16usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct lastlogx { | |
pub ll_tv: timeval, | |
pub ll_line: [::std::os::raw::c_char; 32usize], | |
pub ll_host: [::std::os::raw::c_char; 256usize], | |
} | |
extern "C" { | |
pub fn endutxent(); | |
} | |
extern "C" { | |
pub fn endutxent_wtmp(); | |
} | |
extern "C" { | |
pub fn getlastlogx(arg1: uid_t, arg2: *mut lastlogx) -> *mut lastlogx; | |
} | |
extern "C" { | |
pub fn getlastlogxbyname( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut lastlogx, | |
) -> *mut lastlogx; | |
} | |
extern "C" { | |
pub fn getutxent() -> *mut utmpx; | |
} | |
extern "C" { | |
pub fn getutxent_wtmp() -> *mut utmpx; | |
} | |
extern "C" { | |
pub fn getutxid(arg1: *const utmpx) -> *mut utmpx; | |
} | |
extern "C" { | |
pub fn getutxline(arg1: *const utmpx) -> *mut utmpx; | |
} | |
extern "C" { | |
pub fn pututxline(arg1: *const utmpx) -> *mut utmpx; | |
} | |
extern "C" { | |
pub fn setutxent(); | |
} | |
extern "C" { | |
pub fn setutxent_wtmp(arg1: ::std::os::raw::c_int); | |
} | |
extern "C" { | |
pub fn utmpxname(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wtmpxname(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct wordexp_t { | |
pub we_wordc: usize, | |
pub we_wordv: *mut *mut ::std::os::raw::c_char, | |
pub we_offs: usize, | |
} | |
extern "C" { | |
pub fn wordexp( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut wordexp_t, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn wordfree(arg1: *mut wordexp_t); | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ether_header { | |
pub ether_dhost: [u_char; 6usize], | |
pub ether_shost: [u_char; 6usize], | |
pub ether_type: u_short, | |
} | |
pub type ether_header_t = ether_header; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ether_addr { | |
pub octet: [u_char; 6usize], | |
} | |
pub type ether_addr_t = ether_addr; | |
extern "C" { | |
pub fn ether_hostton( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut ether_addr, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn ether_line( | |
arg1: *const ::std::os::raw::c_char, | |
arg2: *mut ether_addr, | |
arg3: *mut ::std::os::raw::c_char, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn ether_ntoa(arg1: *const ether_addr) -> *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn ether_aton(arg1: *const ::std::os::raw::c_char) -> *mut ether_addr; | |
} | |
extern "C" { | |
pub fn ether_ntohost( | |
arg1: *mut ::std::os::raw::c_char, | |
arg2: *const ether_addr, | |
) -> ::std::os::raw::c_int; | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct if_cellular_status_v1 { | |
pub valid_bitmask: u_int32_t, | |
pub link_quality_metric: u_int32_t, | |
pub ul_effective_bandwidth: u_int32_t, | |
pub ul_max_bandwidth: u_int32_t, | |
pub ul_min_latency: u_int32_t, | |
pub ul_effective_latency: u_int32_t, | |
pub ul_max_latency: u_int32_t, | |
pub ul_retxt_level: u_int32_t, | |
pub ul_bytes_lost: u_int32_t, | |
pub ul_min_queue_size: u_int32_t, | |
pub ul_avg_queue_size: u_int32_t, | |
pub ul_max_queue_size: u_int32_t, | |
pub dl_effective_bandwidth: u_int32_t, | |
pub dl_max_bandwidth: u_int32_t, | |
pub config_inactivity_time: u_int32_t, | |
pub config_backoff_time: u_int32_t, | |
pub mss_recommended: u_int16_t, | |
pub reserved_1: u_int16_t, | |
pub reserved_2: u_int32_t, | |
pub reserved_3: u_int64_t, | |
pub reserved_4: u_int64_t, | |
pub reserved_5: u_int64_t, | |
pub reserved_6: u_int64_t, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub struct if_cellular_status { | |
pub if_cell_u: if_cellular_status__bindgen_ty_1, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union if_cellular_status__bindgen_ty_1 { | |
pub if_status_v1: if_cellular_status_v1, | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct if_wifi_status_v1 { | |
pub valid_bitmask: u_int32_t, | |
pub link_quality_metric: u_int32_t, | |
pub ul_effective_bandwidth: u_int32_t, | |
pub ul_max_bandwidth: u_int32_t, | |
pub ul_min_latency: u_int32_t, | |
pub ul_effective_latency: u_int32_t, | |
pub ul_max_latency: u_int32_t, | |
pub ul_retxt_level: u_int32_t, | |
pub ul_bytes_lost: u_int32_t, | |
pub ul_error_rate: u_int32_t, | |
pub dl_effective_bandwidth: u_int32_t, | |
pub dl_max_bandwidth: u_int32_t, | |
pub dl_min_latency: u_int32_t, | |
pub dl_effective_latency: u_int32_t, | |
pub dl_max_latency: u_int32_t, | |
pub dl_error_rate: u_int32_t, | |
pub config_frequency: u_int32_t, | |
pub config_multicast_rate: u_int32_t, | |
pub scan_count: u_int32_t, | |
pub scan_duration: u_int32_t, | |
pub reserved_1: u_int64_t, | |
pub reserved_2: u_int64_t, | |
pub reserved_3: u_int64_t, | |
pub reserved_4: u_int64_t, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub struct if_wifi_status { | |
pub if_wifi_u: if_wifi_status__bindgen_ty_1, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union if_wifi_status__bindgen_ty_1 { | |
pub if_status_v1: if_wifi_status_v1, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub struct if_link_status { | |
pub __bindgen_anon_1: if_link_status__bindgen_ty_1, | |
pub ifsr_version: u_int32_t, | |
pub ifsr_len: u_int32_t, | |
pub ifsr_u: if_link_status__bindgen_ty_1, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union if_link_status__bindgen_ty_1 { | |
pub ifsr_cell: if_cellular_status, | |
pub ifsr_wifi: if_wifi_status, | |
} | |
pub const ifnet_interface_advisory_version_IF_INTERFACE_ADVISORY_VERSION_1: | |
ifnet_interface_advisory_version = 1; | |
pub const ifnet_interface_advisory_version_IF_INTERFACE_ADVISORY_VERSION_2: | |
ifnet_interface_advisory_version = 2; | |
pub const ifnet_interface_advisory_version_IF_INTERFACE_ADVISORY_VERSION_CURRENT: | |
ifnet_interface_advisory_version = 2; | |
pub type ifnet_interface_advisory_version = u8; | |
pub const ifnet_interface_advisory_direction_IF_INTERFACE_ADVISORY_DIRECTION_TX: | |
ifnet_interface_advisory_direction = 1; | |
pub const ifnet_interface_advisory_direction_IF_INTERFACE_ADVISORY_DIRECTION_RX: | |
ifnet_interface_advisory_direction = 2; | |
pub type ifnet_interface_advisory_direction = u8; | |
pub const ifnet_interface_advisory_interface_type_IF_INTERFACE_ADVISORY_INTERFACE_TYPE_WIFI: | |
ifnet_interface_advisory_interface_type = 1; | |
pub const ifnet_interface_advisory_interface_type_IF_INTERFACE_ADVISORY_INTERFACE_TYPE_CELL: | |
ifnet_interface_advisory_interface_type = 2; | |
pub type ifnet_interface_advisory_interface_type = u8; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ifnet_interface_advisory_header { | |
pub version: ifnet_interface_advisory_version, | |
pub direction: ifnet_interface_advisory_direction, | |
pub interface_type: ifnet_interface_advisory_interface_type, | |
pub reserved: u8, | |
} | |
pub const ifnet_interface_advisory_rate_trend_IF_INTERFACE_ADVISORY_RATE_SUGGESTION_RAMP_UP: | |
ifnet_interface_advisory_rate_trend = 2147483647; | |
pub const ifnet_interface_advisory_rate_trend_IF_INTERFACE_ADVISORY_RATE_SUGGESTION_RAMP_DOWN: | |
ifnet_interface_advisory_rate_trend = -2147483648; | |
pub const ifnet_interface_advisory_rate_trend_IF_INTERFACE_ADVISORY_RATE_SUGGESTION_RAMP_NEUTRAL: | |
ifnet_interface_advisory_rate_trend = 0; | |
pub type ifnet_interface_advisory_rate_trend = i32; | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ifnet_interface_advisory_capacity { | |
pub rate_trend_suggestion: ifnet_interface_advisory_rate_trend, | |
pub timestamp: u64, | |
pub max_bandwidth: u64, | |
pub total_byte_count: u64, | |
pub average_throughput: u64, | |
pub flushable_queue_size: u32, | |
pub non_flushable_queue_size: u32, | |
pub average_delay: u32, | |
} | |
pub const ifnet_interface_advisory_wifi_freq_band_IF_INTERFACE_ADVISORY_FREQ_BAND_NOT_AVAIL: | |
ifnet_interface_advisory_wifi_freq_band = 0; | |
pub const ifnet_interface_advisory_wifi_freq_band_IF_INTERFACE_ADVISORY_FREQ_BAND_WIFI_24GHZ: | |
ifnet_interface_advisory_wifi_freq_band = 1; | |
pub const ifnet_interface_advisory_wifi_freq_band_IF_INTERFACE_ADVISORY_FREQ_BAND_WIFI_5GHZ: | |
ifnet_interface_advisory_wifi_freq_band = 2; | |
pub const ifnet_interface_advisory_wifi_freq_band_IF_INTERFACE_ADVISORY_FREQ_BAND_WIFI_6GHZ: | |
ifnet_interface_advisory_wifi_freq_band = 3; | |
pub type ifnet_interface_advisory_wifi_freq_band = u8; | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ifnet_interface_advisory_wifi_context { | |
pub frequency_band: ifnet_interface_advisory_wifi_freq_band, | |
pub intermittent_state: u8, | |
pub estimated_intermittent_period: u16, | |
pub single_outage_period: u16, | |
pub bt_coex: u8, | |
pub quality_score_delay: u8, | |
pub quality_score_loss: u8, | |
pub quality_score_channel: u8, | |
pub radio_coex: u8, | |
pub wlan_duty_cycle: u16, | |
pub wifi_observed_tx_bitrate: [u32; 6usize], | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ifnet_interface_advisory_cell_context { | |
pub radio_access_technology: u8, | |
pub reference_signal_level: i16, | |
pub signal_level: i16, | |
pub signal_quality: i8, | |
pub uplink_bler: u8, | |
pub downlink_bler: u8, | |
pub bandwidth_limitation_indication: u8, | |
pub cdrx_state: u8, | |
pub cdrx_cycle: u16, | |
pub estimated_outage_period: u16, | |
pub outage_state: u8, | |
pub __pad: u8, | |
} | |
#[repr(C)] | |
#[repr(align(8))] | |
#[derive(Copy, Clone)] | |
pub struct ifnet_interface_advisory { | |
pub __bindgen_anon_1: ifnet_interface_advisory__bindgen_ty_1, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union ifnet_interface_advisory__bindgen_ty_1 { | |
pub __bindgen_anon_1: ifnet_interface_advisory__bindgen_ty_1__bindgen_ty_1, | |
pub __bindgen_anon_2: ifnet_interface_advisory__bindgen_ty_1__bindgen_ty_2, | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ifnet_interface_advisory__bindgen_ty_1__bindgen_ty_1 { | |
pub version: u8, | |
pub direction: u8, | |
pub _reserved: u16, | |
pub rate_trend_suggestion: i32, | |
pub timestamp: u64, | |
pub max_bandwidth: u64, | |
pub total_byte_count: u64, | |
pub average_throughput: u64, | |
pub flushable_queue_size: u32, | |
pub non_flushable_queue_size: u32, | |
pub average_delay: u32, | |
pub frequency_band: u8, | |
pub intermittent_state: u8, | |
pub estimated_intermittent_period: u16, | |
pub single_outage_period: u16, | |
pub bt_coex: u8, | |
pub quality_score_delay: u8, | |
pub quality_score_loss: u8, | |
pub quality_score_channel: u8, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub struct ifnet_interface_advisory__bindgen_ty_1__bindgen_ty_2 { | |
pub __bindgen_anon_1: ifnet_interface_advisory__bindgen_ty_1__bindgen_ty_2__bindgen_ty_1, | |
pub header: ifnet_interface_advisory_header, | |
pub capacity: ifnet_interface_advisory_capacity, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union ifnet_interface_advisory__bindgen_ty_1__bindgen_ty_2__bindgen_ty_1 { | |
pub wifi_context: ifnet_interface_advisory_wifi_context, | |
pub cell_context: ifnet_interface_advisory_cell_context, | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ifnet_traffic_descriptor_common { | |
pub itd_type: u8, | |
pub _reserved: u8, | |
pub itd_len: u16, | |
pub itd_flags: u32, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub struct ifnet_ip_addr { | |
pub __bindgen_anon_1: ifnet_ip_addr__bindgen_ty_1, | |
} | |
#[repr(C, packed)] | |
#[derive(Copy, Clone)] | |
pub union ifnet_ip_addr__bindgen_ty_1 { | |
pub addr8: [u8; 16usize], | |
pub addr16: [u16; 8usize], | |
pub addr32: [u32; 4usize], | |
} | |
#[repr(C, packed)] | |
#[derive(Copy, Clone)] | |
pub struct ifnet_traffic_descriptor_inet { | |
pub inet_common: ifnet_traffic_descriptor_common, | |
pub inet_mask: u8, | |
pub inet_ipver: u8, | |
pub inet_proto: u8, | |
pub _reserved: u8, | |
pub inet_laddr: ifnet_ip_addr, | |
pub inet_raddr: ifnet_ip_addr, | |
pub inet_lport: u16, | |
pub inet_rport: u16, | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ifnet_traffic_rule_action { | |
pub ra_type: u8, | |
pub _reserved: u8, | |
pub ra_len: u16, | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ifnet_traffic_rule_action_steer { | |
pub ras_common: ifnet_traffic_rule_action, | |
pub ras_qset_id: u64, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sadb_msg { | |
pub sadb_msg_version: u_int8_t, | |
pub sadb_msg_type: u_int8_t, | |
pub sadb_msg_errno: u_int8_t, | |
pub sadb_msg_satype: u_int8_t, | |
pub sadb_msg_len: u_int16_t, | |
pub sadb_msg_reserved: u_int16_t, | |
pub sadb_msg_seq: u_int32_t, | |
pub sadb_msg_pid: u_int32_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sadb_ext { | |
pub sadb_ext_len: u_int16_t, | |
pub sadb_ext_type: u_int16_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sadb_sa { | |
pub sadb_sa_len: u_int16_t, | |
pub sadb_sa_exttype: u_int16_t, | |
pub sadb_sa_spi: u_int32_t, | |
pub sadb_sa_replay: u_int8_t, | |
pub sadb_sa_state: u_int8_t, | |
pub sadb_sa_auth: u_int8_t, | |
pub sadb_sa_encrypt: u_int8_t, | |
pub sadb_sa_flags: u_int32_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sadb_lifetime { | |
pub sadb_lifetime_len: u_int16_t, | |
pub sadb_lifetime_exttype: u_int16_t, | |
pub sadb_lifetime_allocations: u_int32_t, | |
pub sadb_lifetime_bytes: u_int64_t, | |
pub sadb_lifetime_addtime: u_int64_t, | |
pub sadb_lifetime_usetime: u_int64_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sadb_address { | |
pub sadb_address_len: u_int16_t, | |
pub sadb_address_exttype: u_int16_t, | |
pub sadb_address_proto: u_int8_t, | |
pub sadb_address_prefixlen: u_int8_t, | |
pub sadb_address_reserved: u_int16_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sadb_key { | |
pub sadb_key_len: u_int16_t, | |
pub sadb_key_exttype: u_int16_t, | |
pub sadb_key_bits: u_int16_t, | |
pub sadb_key_reserved: u_int16_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sadb_ident { | |
pub sadb_ident_len: u_int16_t, | |
pub sadb_ident_exttype: u_int16_t, | |
pub sadb_ident_type: u_int16_t, | |
pub sadb_ident_reserved: u_int16_t, | |
pub sadb_ident_id: u_int64_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sadb_sens { | |
pub sadb_sens_len: u_int16_t, | |
pub sadb_sens_exttype: u_int16_t, | |
pub sadb_sens_dpd: u_int32_t, | |
pub sadb_sens_sens_level: u_int8_t, | |
pub sadb_sens_sens_len: u_int8_t, | |
pub sadb_sens_integ_level: u_int8_t, | |
pub sadb_sens_integ_len: u_int8_t, | |
pub sadb_sens_reserved: u_int32_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sadb_prop { | |
pub sadb_prop_len: u_int16_t, | |
pub sadb_prop_exttype: u_int16_t, | |
pub sadb_prop_replay: u_int8_t, | |
pub sadb_prop_reserved: [u_int8_t; 3usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sadb_comb { | |
pub sadb_comb_auth: u_int8_t, | |
pub sadb_comb_encrypt: u_int8_t, | |
pub sadb_comb_flags: u_int16_t, | |
pub sadb_comb_auth_minbits: u_int16_t, | |
pub sadb_comb_auth_maxbits: u_int16_t, | |
pub sadb_comb_encrypt_minbits: u_int16_t, | |
pub sadb_comb_encrypt_maxbits: u_int16_t, | |
pub sadb_comb_reserved: u_int32_t, | |
pub sadb_comb_soft_allocations: u_int32_t, | |
pub sadb_comb_hard_allocations: u_int32_t, | |
pub sadb_comb_soft_bytes: u_int64_t, | |
pub sadb_comb_hard_bytes: u_int64_t, | |
pub sadb_comb_soft_addtime: u_int64_t, | |
pub sadb_comb_hard_addtime: u_int64_t, | |
pub sadb_comb_soft_usetime: u_int64_t, | |
pub sadb_comb_hard_usetime: u_int64_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sadb_supported { | |
pub sadb_supported_len: u_int16_t, | |
pub sadb_supported_exttype: u_int16_t, | |
pub sadb_supported_reserved: u_int32_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sadb_alg { | |
pub sadb_alg_id: u_int8_t, | |
pub sadb_alg_ivlen: u_int8_t, | |
pub sadb_alg_minbits: u_int16_t, | |
pub sadb_alg_maxbits: u_int16_t, | |
pub sadb_alg_reserved: u_int16_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sadb_spirange { | |
pub sadb_spirange_len: u_int16_t, | |
pub sadb_spirange_exttype: u_int16_t, | |
pub sadb_spirange_min: u_int32_t, | |
pub sadb_spirange_max: u_int32_t, | |
pub sadb_spirange_reserved: u_int32_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sadb_x_kmprivate { | |
pub sadb_x_kmprivate_len: u_int16_t, | |
pub sadb_x_kmprivate_exttype: u_int16_t, | |
pub sadb_x_kmprivate_reserved: u_int32_t, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub struct sadb_x_sa2 { | |
pub __bindgen_anon_1: sadb_x_sa2__bindgen_ty_1, | |
pub __bindgen_anon_2: sadb_x_sa2__bindgen_ty_2, | |
pub sadb_x_sa2_len: u_int16_t, | |
pub sadb_x_sa2_exttype: u_int16_t, | |
pub sadb_x_sa2_mode: u_int8_t, | |
pub sadb_x_sa2_sequence: u_int32_t, | |
pub sadb_x_sa2_reqid: u_int32_t, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union sadb_x_sa2__bindgen_ty_1 { | |
pub sadb_x_sa2_reserved1: u_int8_t, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union sadb_x_sa2__bindgen_ty_2 { | |
pub sadb_x_sa2_reserved2: u_int16_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sadb_x_policy { | |
pub sadb_x_policy_len: u_int16_t, | |
pub sadb_x_policy_exttype: u_int16_t, | |
pub sadb_x_policy_type: u_int16_t, | |
pub sadb_x_policy_dir: u_int8_t, | |
pub sadb_x_policy_reserved: u_int8_t, | |
pub sadb_x_policy_id: u_int32_t, | |
pub sadb_x_policy_reserved2: u_int32_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sadb_x_ipsecrequest { | |
pub sadb_x_ipsecrequest_len: u_int16_t, | |
pub sadb_x_ipsecrequest_proto: u_int16_t, | |
pub sadb_x_ipsecrequest_mode: u_int8_t, | |
pub sadb_x_ipsecrequest_level: u_int8_t, | |
pub sadb_x_ipsecrequest_reqid: u_int16_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sadb_session_id { | |
pub sadb_session_id_len: u_int16_t, | |
pub sadb_session_id_exttype: u_int16_t, | |
pub sadb_session_id_v: [u_int64_t; 2usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sastat { | |
pub spi: u_int32_t, | |
pub created: u_int32_t, | |
pub lft_c: sadb_lifetime, | |
} | |
#[repr(C)] | |
#[repr(align(8))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct sadb_sastat { | |
pub sadb_sastat_len: u_int16_t, | |
pub sadb_sastat_exttype: u_int16_t, | |
pub sadb_sastat_dir: u_int32_t, | |
pub sadb_sastat_reserved: u_int32_t, | |
pub sadb_sastat_list_len: u_int32_t, | |
} | |
#[repr(C, packed)] | |
#[derive(Copy, Clone)] | |
pub struct icmp6_hdr { | |
pub __bindgen_anon_1: icmp6_hdr__bindgen_ty_1, | |
pub icmp6_type: u_int8_t, | |
pub icmp6_code: u_int8_t, | |
pub icmp6_cksum: u_int16_t, | |
pub icmp6_dataun: icmp6_hdr__bindgen_ty_1, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union icmp6_hdr__bindgen_ty_1 { | |
pub icmp6_un_data32: [u_int32_t; 1usize], | |
pub icmp6_un_data16: [u_int16_t; 2usize], | |
pub icmp6_un_data8: [u_int8_t; 4usize], | |
} | |
#[repr(C, packed)] | |
#[derive(Copy, Clone)] | |
pub struct mld_hdr { | |
pub mld_icmp6_hdr: icmp6_hdr, | |
pub mld_addr: in6_addr, | |
} | |
#[repr(C, packed)] | |
#[derive(Copy, Clone)] | |
pub struct nd_router_solicit { | |
pub nd_rs_hdr: icmp6_hdr, | |
} | |
#[repr(C, packed)] | |
#[derive(Copy, Clone)] | |
pub struct nd_router_advert { | |
pub nd_ra_hdr: icmp6_hdr, | |
pub nd_ra_reachable: u_int32_t, | |
pub nd_ra_retransmit: u_int32_t, | |
} | |
#[repr(C, packed)] | |
#[derive(Copy, Clone)] | |
pub struct nd_neighbor_solicit { | |
pub nd_ns_hdr: icmp6_hdr, | |
pub nd_ns_target: in6_addr, | |
} | |
#[repr(C, packed)] | |
#[derive(Copy, Clone)] | |
pub struct nd_neighbor_advert { | |
pub nd_na_hdr: icmp6_hdr, | |
pub nd_na_target: in6_addr, | |
} | |
#[repr(C, packed)] | |
#[derive(Copy, Clone)] | |
pub struct nd_redirect { | |
pub nd_rd_hdr: icmp6_hdr, | |
pub nd_rd_target: in6_addr, | |
pub nd_rd_dst: in6_addr, | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct nd_opt_hdr { | |
pub nd_opt_type: u_int8_t, | |
pub nd_opt_len: u_int8_t, | |
} | |
#[repr(C, packed)] | |
#[derive(Copy, Clone)] | |
pub struct nd_opt_prefix_info { | |
pub nd_opt_pi_type: u_int8_t, | |
pub nd_opt_pi_len: u_int8_t, | |
pub nd_opt_pi_prefix_len: u_int8_t, | |
pub nd_opt_pi_flags_reserved: u_int8_t, | |
pub nd_opt_pi_valid_time: u_int32_t, | |
pub nd_opt_pi_preferred_time: u_int32_t, | |
pub nd_opt_pi_reserved2: u_int32_t, | |
pub nd_opt_pi_prefix: in6_addr, | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct nd_opt_nonce { | |
pub nd_opt_nonce_type: u_int8_t, | |
pub nd_opt_nonce_len: u_int8_t, | |
pub nd_opt_nonce: [u_int8_t; 6usize], | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct nd_opt_rd_hdr { | |
pub nd_opt_rh_type: u_int8_t, | |
pub nd_opt_rh_len: u_int8_t, | |
pub nd_opt_rh_reserved1: u_int16_t, | |
pub nd_opt_rh_reserved2: u_int32_t, | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct nd_opt_mtu { | |
pub nd_opt_mtu_type: u_int8_t, | |
pub nd_opt_mtu_len: u_int8_t, | |
pub nd_opt_mtu_reserved: u_int16_t, | |
pub nd_opt_mtu_mtu: u_int32_t, | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct nd_opt_route_info { | |
pub nd_opt_rti_type: u_int8_t, | |
pub nd_opt_rti_len: u_int8_t, | |
pub nd_opt_rti_prefixlen: u_int8_t, | |
pub nd_opt_rti_flags: u_int8_t, | |
pub nd_opt_rti_lifetime: u_int32_t, | |
} | |
#[repr(C, packed)] | |
#[derive(Copy, Clone)] | |
pub struct nd_opt_rdnss { | |
pub nd_opt_rdnss_type: u_int8_t, | |
pub nd_opt_rdnss_len: u_int8_t, | |
pub nd_opt_rdnss_reserved: u_int16_t, | |
pub nd_opt_rdnss_lifetime: u_int32_t, | |
pub nd_opt_rdnss_addr: [in6_addr; 1usize], | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct nd_opt_dnssl { | |
pub nd_opt_dnssl_type: u_int8_t, | |
pub nd_opt_dnssl_len: u_int8_t, | |
pub nd_opt_dnssl_reserved: u_int16_t, | |
pub nd_opt_dnssl_lifetime: u_int32_t, | |
pub nd_opt_dnssl_domains: [u_int8_t; 8usize], | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct nd_opt_pref64 { | |
pub nd_opt_pref64_type: u_int8_t, | |
pub nd_opt_pref64_len: u_int8_t, | |
pub nd_opt_pref64_scaled_lifetime_plc: u_int16_t, | |
pub nd_opt_pref64_prefix: [u_int32_t; 3usize], | |
} | |
#[repr(C, packed)] | |
#[derive(Copy, Clone)] | |
pub struct icmp6_namelookup { | |
pub icmp6_nl_hdr: icmp6_hdr, | |
pub icmp6_nl_nonce: [u_int8_t; 8usize], | |
pub icmp6_nl_ttl: i32, | |
} | |
#[repr(C, packed)] | |
#[derive(Copy, Clone)] | |
pub struct icmp6_nodeinfo { | |
pub icmp6_ni_hdr: icmp6_hdr, | |
pub icmp6_ni_nonce: [u_int8_t; 8usize], | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ni_reply_fqdn { | |
pub ni_fqdn_ttl: u_int32_t, | |
pub ni_fqdn_namelen: u_int8_t, | |
pub ni_fqdn_name: [u_int8_t; 3usize], | |
} | |
#[repr(C, packed)] | |
#[derive(Copy, Clone)] | |
pub struct icmp6_router_renum { | |
pub rr_hdr: icmp6_hdr, | |
pub rr_segnum: u_int8_t, | |
pub rr_flags: u_int8_t, | |
pub rr_maxdelay: u_int16_t, | |
pub rr_reserved: u_int32_t, | |
} | |
#[repr(C, packed)] | |
#[derive(Copy, Clone)] | |
pub struct rr_pco_match { | |
pub rpm_code: u_int8_t, | |
pub rpm_len: u_int8_t, | |
pub rpm_ordinal: u_int8_t, | |
pub rpm_matchlen: u_int8_t, | |
pub rpm_minlen: u_int8_t, | |
pub rpm_maxlen: u_int8_t, | |
pub rpm_reserved: u_int16_t, | |
pub rpm_prefix: in6_addr, | |
} | |
#[repr(C, packed)] | |
#[derive(Copy, Clone)] | |
pub struct rr_pco_use { | |
pub rpu_uselen: u_int8_t, | |
pub rpu_keeplen: u_int8_t, | |
pub rpu_ramask: u_int8_t, | |
pub rpu_raflags: u_int8_t, | |
pub rpu_vltime: u_int32_t, | |
pub rpu_pltime: u_int32_t, | |
pub rpu_flags: u_int32_t, | |
pub rpu_prefix: in6_addr, | |
} | |
#[repr(C, packed)] | |
#[derive(Copy, Clone)] | |
pub struct rr_result { | |
pub rrr_flags: u_int16_t, | |
pub rrr_ordinal: u_int8_t, | |
pub rrr_matchedlen: u_int8_t, | |
pub rrr_ifid: u_int32_t, | |
pub rrr_prefix: in6_addr, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct icmp6_filter { | |
pub icmp6_filt: [u_int32_t; 8usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct icmp6errstat { | |
pub icp6errs_dst_unreach_noroute: u_quad_t, | |
pub icp6errs_dst_unreach_admin: u_quad_t, | |
pub icp6errs_dst_unreach_beyondscope: u_quad_t, | |
pub icp6errs_dst_unreach_addr: u_quad_t, | |
pub icp6errs_dst_unreach_noport: u_quad_t, | |
pub icp6errs_packet_too_big: u_quad_t, | |
pub icp6errs_time_exceed_transit: u_quad_t, | |
pub icp6errs_time_exceed_reassembly: u_quad_t, | |
pub icp6errs_paramprob_header: u_quad_t, | |
pub icp6errs_paramprob_nextheader: u_quad_t, | |
pub icp6errs_paramprob_option: u_quad_t, | |
pub icp6errs_redirect: u_quad_t, | |
pub icp6errs_unknown: u_quad_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct icmp6stat { | |
pub icp6s_error: u_quad_t, | |
pub icp6s_canterror: u_quad_t, | |
pub icp6s_toofreq: u_quad_t, | |
pub icp6s_outhist: [u_quad_t; 256usize], | |
pub icp6s_badcode: u_quad_t, | |
pub icp6s_tooshort: u_quad_t, | |
pub icp6s_checksum: u_quad_t, | |
pub icp6s_badlen: u_quad_t, | |
pub icp6s_reflect: u_quad_t, | |
pub icp6s_inhist: [u_quad_t; 256usize], | |
pub icp6s_nd_toomanyopt: u_quad_t, | |
pub icp6s_outerrhist: icmp6errstat, | |
pub icp6s_pmtuchg: u_quad_t, | |
pub icp6s_nd_badopt: u_quad_t, | |
pub icp6s_badns: u_quad_t, | |
pub icp6s_badna: u_quad_t, | |
pub icp6s_badrs: u_quad_t, | |
pub icp6s_badra: u_quad_t, | |
pub icp6s_badredirect: u_quad_t, | |
pub icp6s_rfc6980_drop: u_quad_t, | |
pub icp6s_badpkttoobig: u_quad_t, | |
} | |
pub type so_gen_t = u_quad_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct xsockbuf { | |
pub sb_cc: u_int32_t, | |
pub sb_hiwat: u_int32_t, | |
pub sb_mbcnt: u_int32_t, | |
pub sb_mbmax: u_int32_t, | |
pub sb_lowat: i32, | |
pub sb_flags: ::std::os::raw::c_short, | |
pub sb_timeo: ::std::os::raw::c_short, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct xsocket { | |
pub xso_len: u_int32_t, | |
pub xso_so: u_int32_t, | |
pub so_type: ::std::os::raw::c_short, | |
pub so_options: ::std::os::raw::c_short, | |
pub so_linger: ::std::os::raw::c_short, | |
pub so_state: ::std::os::raw::c_short, | |
pub so_pcb: u_int32_t, | |
pub xso_protocol: ::std::os::raw::c_int, | |
pub xso_family: ::std::os::raw::c_int, | |
pub so_qlen: ::std::os::raw::c_short, | |
pub so_incqlen: ::std::os::raw::c_short, | |
pub so_qlimit: ::std::os::raw::c_short, | |
pub so_timeo: ::std::os::raw::c_short, | |
pub so_error: u_short, | |
pub so_pgid: pid_t, | |
pub so_oobmark: u_int32_t, | |
pub so_rcv: xsockbuf, | |
pub so_snd: xsockbuf, | |
pub so_uid: uid_t, | |
} | |
pub const so_tracker_action_SO_TRACKER_ACTION_INVALID: so_tracker_action = 0; | |
pub const so_tracker_action_SO_TRACKER_ACTION_ADD: so_tracker_action = 1; | |
pub const so_tracker_action_SO_TRACKER_ACTION_DUMP_BY_APP: so_tracker_action = 2; | |
pub const so_tracker_action_SO_TRACKER_ACTION_DUMP_ALL: so_tracker_action = 3; | |
pub const so_tracker_action_SO_TRACKER_ACTION_DUMP_MAX: so_tracker_action = 4; | |
pub type so_tracker_action = ::std::os::raw::c_uint; | |
pub const so_tracker_attribute_SO_TRACKER_ATTRIBUTE_INVALID: so_tracker_attribute = 0; | |
pub const so_tracker_attribute_SO_TRACKER_ATTRIBUTE_ADDRESS_FAMILY: so_tracker_attribute = 1; | |
pub const so_tracker_attribute_SO_TRACKER_ATTRIBUTE_ADDRESS: so_tracker_attribute = 2; | |
pub const so_tracker_attribute_SO_TRACKER_ATTRIBUTE_APP_UUID: so_tracker_attribute = 3; | |
pub const so_tracker_attribute_SO_TRACKER_ATTRIBUTE_DOMAIN: so_tracker_attribute = 4; | |
pub const so_tracker_attribute_SO_TRACKER_ATTRIBUTE_DOMAIN_OWNER: so_tracker_attribute = 5; | |
pub const so_tracker_attribute_SO_TRACKER_ATTRIBUTE_FLAGS: so_tracker_attribute = 6; | |
pub const so_tracker_attribute_SO_TRACKER_ATTRIBUTE_DUMP_ENTRY: so_tracker_attribute = 7; | |
pub const so_tracker_attribute_SO_TRACKER_ATTRIBUTE_MEMORY_USED: so_tracker_attribute = 8; | |
pub const so_tracker_attribute_SO_TRACKER_ATTRIBUTE_MAX: so_tracker_attribute = 9; | |
pub type so_tracker_attribute = ::std::os::raw::c_uint; | |
extern "C" { | |
pub fn tracker_action( | |
action: ::std::os::raw::c_int, | |
buffer: *mut ::std::os::raw::c_char, | |
buffer_size: usize, | |
) -> ::std::os::raw::c_int; | |
} | |
pub type inp_gen_t = u_quad_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct in_addr_4in6 { | |
pub ia46_pad32: [u_int32_t; 3usize], | |
pub ia46_addr4: in_addr, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct _inpcb_list_entry { | |
pub le_next: u_int32_t, | |
pub le_prev: u_int32_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct inpcbinfo { | |
_unused: [u8; 0], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct inpcbport { | |
_unused: [u8; 0], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mbuf { | |
_unused: [u8; 0], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ip6_pktopts { | |
_unused: [u8; 0], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ip6_moptions { | |
_unused: [u8; 0], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct inpcbpolicy { | |
_unused: [u8; 0], | |
} | |
#[repr(C, packed(4))] | |
#[derive(Copy, Clone)] | |
pub struct inpcb { | |
pub __bindgen_anon_1: inpcb__bindgen_ty_1, | |
pub __bindgen_anon_2: inpcb__bindgen_ty_2, | |
pub __bindgen_anon_3: inpcb__bindgen_ty_3, | |
pub __bindgen_anon_4: inpcb__bindgen_ty_4, | |
pub __bindgen_anon_5: inpcb__bindgen_ty_5, | |
pub inp_hash: _inpcb_list_entry, | |
pub reserved1: in_addr, | |
pub reserved2: in_addr, | |
pub inp_fport: u_short, | |
pub inp_lport: u_short, | |
pub inp_list: _inpcb_list_entry, | |
pub inp_ppcb: u_int32_t, | |
pub inp_pcbinfo: u_int32_t, | |
pub inp_socket: u_int32_t, | |
pub nat_owner: u_char, | |
pub nat_cookie: u_int32_t, | |
pub inp_portlist: _inpcb_list_entry, | |
pub inp_phd: u_int32_t, | |
pub inp_gencnt: inp_gen_t, | |
pub inp_flags: ::std::os::raw::c_int, | |
pub inp_flow: u_int32_t, | |
pub inp_vflag: u_char, | |
pub inp_ip_ttl: u_char, | |
pub inp_ip_p: u_char, | |
pub inp_dependfaddr: inpcb__bindgen_ty_1, | |
pub inp_dependladdr: inpcb__bindgen_ty_2, | |
pub inp_dependroute: inpcb__bindgen_ty_3, | |
pub inp_depend4: inpcb__bindgen_ty_4, | |
pub inp_depend6: inpcb__bindgen_ty_5, | |
pub hash_element: ::std::os::raw::c_int, | |
pub inp_saved_ppcb: u_int32_t, | |
pub inp_sp: u_int32_t, | |
pub reserved: [u_int32_t; 3usize], | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union inpcb__bindgen_ty_1 { | |
pub inp46_foreign: in_addr_4in6, | |
pub inp6_foreign: in6_addr, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union inpcb__bindgen_ty_2 { | |
pub inp46_local: in_addr_4in6, | |
pub inp6_local: in6_addr, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union inpcb__bindgen_ty_3 { | |
pub inp4_route: [u_char; 20usize], | |
pub inp6_route: [u_char; 32usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct inpcb__bindgen_ty_4 { | |
pub inp4_ip_tos: u_char, | |
pub inp4_options: u_int32_t, | |
pub inp4_moptions: u_int32_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct inpcb__bindgen_ty_5 { | |
pub inp6_options: u_int32_t, | |
pub inp6_hlim: u_int8_t, | |
pub unused_uint8_1: u_int8_t, | |
pub unused_uint16_1: ushort, | |
pub inp6_outputopts: u_int32_t, | |
pub inp6_moptions: u_int32_t, | |
pub inp6_icmp6filt: u_int32_t, | |
pub inp6_cksum: ::std::os::raw::c_int, | |
pub inp6_ifindex: u_short, | |
pub inp6_hops: ::std::os::raw::c_short, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Copy, Clone)] | |
pub struct xinpcb { | |
pub xi_len: u_int32_t, | |
pub xi_inp: inpcb, | |
pub xi_socket: xsocket, | |
pub xi_alignment_hack: u_quad_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct xinpgen { | |
pub xig_len: u_int32_t, | |
pub xig_count: u_int, | |
pub xig_gen: inp_gen_t, | |
pub xig_sogen: so_gen_t, | |
} | |
pub type n_short = __uint16_t; | |
pub type n_long = __uint32_t; | |
pub type n_time = __uint32_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ip { | |
pub _bitfield_align_1: [u8; 0], | |
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>, | |
pub ip_tos: u_char, | |
pub ip_len: u_short, | |
pub ip_id: u_short, | |
pub ip_off: u_short, | |
pub ip_ttl: u_char, | |
pub ip_p: u_char, | |
pub ip_sum: u_short, | |
pub ip_src: in_addr, | |
pub ip_dst: in_addr, | |
} | |
impl ip { | |
#[inline] | |
pub fn ip_hl(&self) -> u_int { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u32) } | |
} | |
#[inline] | |
pub fn set_ip_hl(&mut self, val: u_int) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(0usize, 4u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn ip_v(&self) -> u_int { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 4u8) as u32) } | |
} | |
#[inline] | |
pub fn set_ip_v(&mut self, val: u_int) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(4usize, 4u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn new_bitfield_1(ip_hl: u_int, ip_v: u_int) -> __BindgenBitfieldUnit<[u8; 1usize]> { | |
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default(); | |
__bindgen_bitfield_unit.set(0usize, 4u8, { | |
let ip_hl: u32 = unsafe { ::std::mem::transmute(ip_hl) }; | |
ip_hl as u64 | |
}); | |
__bindgen_bitfield_unit.set(4usize, 4u8, { | |
let ip_v: u32 = unsafe { ::std::mem::transmute(ip_v) }; | |
ip_v as u64 | |
}); | |
__bindgen_bitfield_unit | |
} | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub struct ip_timestamp { | |
pub ipt_code: u_char, | |
pub ipt_len: u_char, | |
pub ipt_ptr: u_char, | |
pub _bitfield_align_1: [u8; 0], | |
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>, | |
pub ipt_timestamp: ip_timestamp_ipt_timestamp, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union ip_timestamp_ipt_timestamp { | |
pub ipt_time: [n_long; 1usize], | |
pub ipt_ta: [ip_timestamp_ipt_timestamp_ipt_ta; 1usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ip_timestamp_ipt_timestamp_ipt_ta { | |
pub ipt_addr: in_addr, | |
pub ipt_time: n_long, | |
} | |
impl ip_timestamp { | |
#[inline] | |
pub fn ipt_flg(&self) -> u_int { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u32) } | |
} | |
#[inline] | |
pub fn set_ipt_flg(&mut self, val: u_int) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(0usize, 4u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn ipt_oflw(&self) -> u_int { | |
unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 4u8) as u32) } | |
} | |
#[inline] | |
pub fn set_ipt_oflw(&mut self, val: u_int) { | |
unsafe { | |
let val: u32 = ::std::mem::transmute(val); | |
self._bitfield_1.set(4usize, 4u8, val as u64) | |
} | |
} | |
#[inline] | |
pub fn new_bitfield_1(ipt_flg: u_int, ipt_oflw: u_int) -> __BindgenBitfieldUnit<[u8; 1usize]> { | |
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default(); | |
__bindgen_bitfield_unit.set(0usize, 4u8, { | |
let ipt_flg: u32 = unsafe { ::std::mem::transmute(ipt_flg) }; | |
ipt_flg as u64 | |
}); | |
__bindgen_bitfield_unit.set(4usize, 4u8, { | |
let ipt_oflw: u32 = unsafe { ::std::mem::transmute(ipt_oflw) }; | |
ipt_oflw as u64 | |
}); | |
__bindgen_bitfield_unit | |
} | |
} | |
#[repr(C, packed)] | |
#[derive(Copy, Clone)] | |
pub struct ip6_hdr { | |
pub __bindgen_anon_1: ip6_hdr__bindgen_ty_1, | |
pub ip6_ctlun: ip6_hdr__bindgen_ty_1, | |
pub ip6_src: in6_addr, | |
pub ip6_dst: in6_addr, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union ip6_hdr__bindgen_ty_1 { | |
pub ip6_un1: ip6_hdr__bindgen_ty_1_ip6_hdrctl, | |
pub ip6_un2_vfc: u_int8_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ip6_hdr__bindgen_ty_1_ip6_hdrctl { | |
pub ip6_un1_flow: u_int32_t, | |
pub ip6_un1_plen: u_int16_t, | |
pub ip6_un1_nxt: u_int8_t, | |
pub ip6_un1_hlim: u_int8_t, | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ip6_ext { | |
pub ip6e_nxt: u_int8_t, | |
pub ip6e_len: u_int8_t, | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ip6_hbh { | |
pub ip6h_nxt: u_int8_t, | |
pub ip6h_len: u_int8_t, | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ip6_dest { | |
pub ip6d_nxt: u_int8_t, | |
pub ip6d_len: u_int8_t, | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ip6_opt { | |
pub ip6o_type: u_int8_t, | |
pub ip6o_len: u_int8_t, | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ip6_opt_jumbo { | |
pub ip6oj_type: u_int8_t, | |
pub ip6oj_len: u_int8_t, | |
pub ip6oj_jumbo_len: [u_int8_t; 4usize], | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ip6_opt_nsap { | |
pub ip6on_type: u_int8_t, | |
pub ip6on_len: u_int8_t, | |
pub ip6on_src_nsap_len: u_int8_t, | |
pub ip6on_dst_nsap_len: u_int8_t, | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ip6_opt_tunnel { | |
pub ip6ot_type: u_int8_t, | |
pub ip6ot_len: u_int8_t, | |
pub ip6ot_encap_limit: u_int8_t, | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ip6_opt_router { | |
pub ip6or_type: u_int8_t, | |
pub ip6or_len: u_int8_t, | |
pub ip6or_value: [u_int8_t; 2usize], | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ip6_rthdr { | |
pub ip6r_nxt: u_int8_t, | |
pub ip6r_len: u_int8_t, | |
pub ip6r_type: u_int8_t, | |
pub ip6r_segleft: u_int8_t, | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ip6_rthdr0 { | |
pub ip6r0_nxt: u_int8_t, | |
pub ip6r0_len: u_int8_t, | |
pub ip6r0_type: u_int8_t, | |
pub ip6r0_segleft: u_int8_t, | |
pub ip6r0_reserved: u_int32_t, | |
} | |
#[repr(C, packed)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ip6_frag { | |
pub ip6f_nxt: u_int8_t, | |
pub ip6f_reserved: u_int8_t, | |
pub ip6f_offlg: u_int16_t, | |
pub ip6f_ident: u_int32_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct icmp_ra_addr { | |
pub ira_addr: u_int32_t, | |
pub ira_preference: u_int32_t, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub struct icmp { | |
pub __bindgen_anon_1: icmp__bindgen_ty_1, | |
pub __bindgen_anon_2: icmp__bindgen_ty_2, | |
pub icmp_type: u_char, | |
pub icmp_code: u_char, | |
pub icmp_cksum: u_short, | |
pub icmp_hun: icmp__bindgen_ty_1, | |
pub icmp_dun: icmp__bindgen_ty_2, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union icmp__bindgen_ty_1 { | |
pub ih_pptr: u_char, | |
pub ih_gwaddr: in_addr, | |
pub ih_idseq: icmp__bindgen_ty_1_ih_idseq, | |
pub ih_void: ::std::os::raw::c_int, | |
pub ih_pmtu: icmp__bindgen_ty_1_ih_pmtu, | |
pub ih_rtradv: icmp__bindgen_ty_1_ih_rtradv, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct icmp__bindgen_ty_1_ih_idseq { | |
pub icd_id: n_short, | |
pub icd_seq: n_short, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct icmp__bindgen_ty_1_ih_pmtu { | |
pub ipm_void: n_short, | |
pub ipm_nextmtu: n_short, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct icmp__bindgen_ty_1_ih_rtradv { | |
pub irt_num_addrs: u_char, | |
pub irt_wpa: u_char, | |
pub irt_lifetime: u_int16_t, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union icmp__bindgen_ty_2 { | |
pub id_ts: icmp__bindgen_ty_2_id_ts, | |
pub id_ip: icmp__bindgen_ty_2_id_ip, | |
pub id_radv: icmp_ra_addr, | |
pub id_mask: u_int32_t, | |
pub id_data: [::std::os::raw::c_char; 1usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct icmp__bindgen_ty_2_id_ts { | |
pub its_otime: n_time, | |
pub its_rtime: n_time, | |
pub its_ttime: n_time, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct icmp__bindgen_ty_2_id_ip { | |
pub idi_ip: ip, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct tseg_qent { | |
_unused: [u8; 0], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct tsegqe_head { | |
pub lh_first: u_int32_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct tcpcb { | |
pub t_segq: tsegqe_head, | |
pub t_dupacks: ::std::os::raw::c_int, | |
pub unused: u_int32_t, | |
pub t_timer: [::std::os::raw::c_int; 4usize], | |
pub t_inpcb: u_int32_t, | |
pub t_state: ::std::os::raw::c_int, | |
pub t_flags: u_int, | |
pub t_force: ::std::os::raw::c_int, | |
pub snd_una: tcp_seq, | |
pub snd_max: tcp_seq, | |
pub snd_nxt: tcp_seq, | |
pub snd_up: tcp_seq, | |
pub snd_wl1: tcp_seq, | |
pub snd_wl2: tcp_seq, | |
pub iss: tcp_seq, | |
pub irs: tcp_seq, | |
pub rcv_nxt: tcp_seq, | |
pub rcv_adv: tcp_seq, | |
pub rcv_wnd: u_int32_t, | |
pub rcv_up: tcp_seq, | |
pub snd_wnd: u_int32_t, | |
pub snd_cwnd: u_int32_t, | |
pub snd_ssthresh: u_int32_t, | |
pub t_maxopd: u_int, | |
pub t_rcvtime: u_int32_t, | |
pub t_starttime: u_int32_t, | |
pub t_rtttime: ::std::os::raw::c_int, | |
pub t_rtseq: tcp_seq, | |
pub t_rxtcur: ::std::os::raw::c_int, | |
pub t_maxseg: u_int, | |
pub t_srtt: ::std::os::raw::c_int, | |
pub t_rttvar: ::std::os::raw::c_int, | |
pub t_rxtshift: ::std::os::raw::c_int, | |
pub t_rttmin: u_int, | |
pub t_rttupdated: u_int32_t, | |
pub max_sndwnd: u_int32_t, | |
pub t_softerror: ::std::os::raw::c_int, | |
pub t_oobflags: ::std::os::raw::c_char, | |
pub t_iobc: ::std::os::raw::c_char, | |
pub snd_scale: u_char, | |
pub rcv_scale: u_char, | |
pub request_r_scale: u_char, | |
pub requested_s_scale: u_char, | |
pub ts_recent: u_int32_t, | |
pub ts_recent_age: u_int32_t, | |
pub last_ack_sent: tcp_seq, | |
pub cc_send: tcp_cc, | |
pub cc_recv: tcp_cc, | |
pub snd_recover: tcp_seq, | |
pub snd_cwnd_prev: u_int32_t, | |
pub snd_ssthresh_prev: u_int32_t, | |
pub t_badrxtwin: u_int32_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct tcpstat { | |
pub tcps_connattempt: u_int32_t, | |
pub tcps_accepts: u_int32_t, | |
pub tcps_connects: u_int32_t, | |
pub tcps_drops: u_int32_t, | |
pub tcps_conndrops: u_int32_t, | |
pub tcps_closed: u_int32_t, | |
pub tcps_segstimed: u_int32_t, | |
pub tcps_rttupdated: u_int32_t, | |
pub tcps_delack: u_int32_t, | |
pub tcps_timeoutdrop: u_int32_t, | |
pub tcps_rexmttimeo: u_int32_t, | |
pub tcps_persisttimeo: u_int32_t, | |
pub tcps_keeptimeo: u_int32_t, | |
pub tcps_keepprobe: u_int32_t, | |
pub tcps_keepdrops: u_int32_t, | |
pub tcps_sndtotal: u_int32_t, | |
pub tcps_sndpack: u_int32_t, | |
pub tcps_sndbyte: u_int32_t, | |
pub tcps_sndrexmitpack: u_int32_t, | |
pub tcps_sndrexmitbyte: u_int32_t, | |
pub tcps_sndacks: u_int32_t, | |
pub tcps_sndprobe: u_int32_t, | |
pub tcps_sndurg: u_int32_t, | |
pub tcps_sndwinup: u_int32_t, | |
pub tcps_sndctrl: u_int32_t, | |
pub tcps_rcvtotal: u_int32_t, | |
pub tcps_rcvpack: u_int32_t, | |
pub tcps_rcvbyte: u_int32_t, | |
pub tcps_rcvbadsum: u_int32_t, | |
pub tcps_rcvbadoff: u_int32_t, | |
pub tcps_rcvmemdrop: u_int32_t, | |
pub tcps_rcvshort: u_int32_t, | |
pub tcps_rcvduppack: u_int32_t, | |
pub tcps_rcvdupbyte: u_int32_t, | |
pub tcps_rcvpartduppack: u_int32_t, | |
pub tcps_rcvpartdupbyte: u_int32_t, | |
pub tcps_rcvoopack: u_int32_t, | |
pub tcps_rcvoobyte: u_int32_t, | |
pub tcps_rcvpackafterwin: u_int32_t, | |
pub tcps_rcvbyteafterwin: u_int32_t, | |
pub tcps_rcvafterclose: u_int32_t, | |
pub tcps_rcvwinprobe: u_int32_t, | |
pub tcps_rcvdupack: u_int32_t, | |
pub tcps_rcvacktoomuch: u_int32_t, | |
pub tcps_rcvackpack: u_int32_t, | |
pub tcps_rcvackbyte: u_int32_t, | |
pub tcps_rcvwinupd: u_int32_t, | |
pub tcps_pawsdrop: u_int32_t, | |
pub tcps_predack: u_int32_t, | |
pub tcps_preddat: u_int32_t, | |
pub tcps_pcbcachemiss: u_int32_t, | |
pub tcps_cachedrtt: u_int32_t, | |
pub tcps_cachedrttvar: u_int32_t, | |
pub tcps_cachedssthresh: u_int32_t, | |
pub tcps_usedrtt: u_int32_t, | |
pub tcps_usedrttvar: u_int32_t, | |
pub tcps_usedssthresh: u_int32_t, | |
pub tcps_persistdrop: u_int32_t, | |
pub tcps_badsyn: u_int32_t, | |
pub tcps_mturesent: u_int32_t, | |
pub tcps_listendrop: u_int32_t, | |
pub tcps_synchallenge: u_int32_t, | |
pub tcps_rstchallenge: u_int32_t, | |
pub tcps_minmssdrops: u_int32_t, | |
pub tcps_sndrexmitbad: u_int32_t, | |
pub tcps_badrst: u_int32_t, | |
pub tcps_sc_added: u_int32_t, | |
pub tcps_sc_retransmitted: u_int32_t, | |
pub tcps_sc_dupsyn: u_int32_t, | |
pub tcps_sc_dropped: u_int32_t, | |
pub tcps_sc_completed: u_int32_t, | |
pub tcps_sc_bucketoverflow: u_int32_t, | |
pub tcps_sc_cacheoverflow: u_int32_t, | |
pub tcps_sc_reset: u_int32_t, | |
pub tcps_sc_stale: u_int32_t, | |
pub tcps_sc_aborted: u_int32_t, | |
pub tcps_sc_badack: u_int32_t, | |
pub tcps_sc_unreach: u_int32_t, | |
pub tcps_sc_zonefail: u_int32_t, | |
pub tcps_sc_sendcookie: u_int32_t, | |
pub tcps_sc_recvcookie: u_int32_t, | |
pub tcps_hc_added: u_int32_t, | |
pub tcps_hc_bucketoverflow: u_int32_t, | |
pub tcps_sack_recovery_episode: u_int32_t, | |
pub tcps_sack_rexmits: u_int32_t, | |
pub tcps_sack_rexmit_bytes: u_int32_t, | |
pub tcps_sack_rcv_blocks: u_int32_t, | |
pub tcps_sack_send_blocks: u_int32_t, | |
pub tcps_sack_sboverflow: u_int32_t, | |
pub tcps_bg_rcvtotal: u_int32_t, | |
pub tcps_rxtfindrop: u_int32_t, | |
pub tcps_fcholdpacket: u_int32_t, | |
pub tcps_limited_txt: u_int32_t, | |
pub tcps_early_rexmt: u_int32_t, | |
pub tcps_sack_ackadv: u_int32_t, | |
pub tcps_rcv_swcsum: u_int32_t, | |
pub tcps_rcv_swcsum_bytes: u_int32_t, | |
pub tcps_rcv6_swcsum: u_int32_t, | |
pub tcps_rcv6_swcsum_bytes: u_int32_t, | |
pub tcps_snd_swcsum: u_int32_t, | |
pub tcps_snd_swcsum_bytes: u_int32_t, | |
pub tcps_snd6_swcsum: u_int32_t, | |
pub tcps_snd6_swcsum_bytes: u_int32_t, | |
pub tcps_unused_1: u_int32_t, | |
pub tcps_unused_2: u_int32_t, | |
pub tcps_unused_3: u_int32_t, | |
pub tcps_invalid_mpcap: u_int32_t, | |
pub tcps_invalid_joins: u_int32_t, | |
pub tcps_mpcap_fallback: u_int32_t, | |
pub tcps_join_fallback: u_int32_t, | |
pub tcps_estab_fallback: u_int32_t, | |
pub tcps_invalid_opt: u_int32_t, | |
pub tcps_mp_outofwin: u_int32_t, | |
pub tcps_mp_reducedwin: u_int32_t, | |
pub tcps_mp_badcsum: u_int32_t, | |
pub tcps_mp_oodata: u_int32_t, | |
pub tcps_mp_switches: u_int32_t, | |
pub tcps_mp_rcvtotal: u_int32_t, | |
pub tcps_mp_rcvbytes: u_int32_t, | |
pub tcps_mp_sndpacks: u_int32_t, | |
pub tcps_mp_sndbytes: u_int32_t, | |
pub tcps_join_rxmts: u_int32_t, | |
pub tcps_tailloss_rto: u_int32_t, | |
pub tcps_reordered_pkts: u_int32_t, | |
pub tcps_recovered_pkts: u_int32_t, | |
pub tcps_pto: u_int32_t, | |
pub tcps_rto_after_pto: u_int32_t, | |
pub tcps_tlp_recovery: u_int32_t, | |
pub tcps_tlp_recoverlastpkt: u_int32_t, | |
pub tcps_ecn_client_success: u_int32_t, | |
pub tcps_ecn_recv_ece: u_int32_t, | |
pub tcps_ecn_sent_ece: u_int32_t, | |
pub tcps_detect_reordering: u_int32_t, | |
pub tcps_delay_recovery: u_int32_t, | |
pub tcps_avoid_rxmt: u_int32_t, | |
pub tcps_unnecessary_rxmt: u_int32_t, | |
pub tcps_nostretchack: u_int32_t, | |
pub tcps_rescue_rxmt: u_int32_t, | |
pub tcps_pto_in_recovery: u_int32_t, | |
pub tcps_pmtudbh_reverted: u_int32_t, | |
pub tcps_dsack_disable: u_int32_t, | |
pub tcps_dsack_ackloss: u_int32_t, | |
pub tcps_dsack_badrexmt: u_int32_t, | |
pub tcps_dsack_sent: u_int32_t, | |
pub tcps_dsack_recvd: u_int32_t, | |
pub tcps_dsack_recvd_old: u_int32_t, | |
pub tcps_mp_sel_symtomsd: u_int32_t, | |
pub tcps_mp_sel_rtt: u_int32_t, | |
pub tcps_mp_sel_rto: u_int32_t, | |
pub tcps_mp_sel_peer: u_int32_t, | |
pub tcps_mp_num_probes: u_int32_t, | |
pub tcps_mp_verdowngrade: u_int32_t, | |
pub tcps_drop_after_sleep: u_int32_t, | |
pub tcps_probe_if: u_int32_t, | |
pub tcps_probe_if_conflict: u_int32_t, | |
pub tcps_ecn_client_setup: u_int32_t, | |
pub tcps_ecn_server_setup: u_int32_t, | |
pub tcps_ecn_server_success: u_int32_t, | |
pub tcps_ecn_ace_syn_not_ect: u_int32_t, | |
pub tcps_ecn_ace_syn_ect1: u_int32_t, | |
pub tcps_ecn_ace_syn_ect0: u_int32_t, | |
pub tcps_ecn_ace_syn_ce: u_int32_t, | |
pub tcps_ecn_lost_synack: u_int32_t, | |
pub tcps_ecn_lost_syn: u_int32_t, | |
pub tcps_ecn_not_supported: u_int32_t, | |
pub tcps_ecn_recv_ce: u_int32_t, | |
pub tcps_ecn_ace_recv_ce: u_int32_t, | |
pub tcps_ecn_conn_recv_ce: u_int32_t, | |
pub tcps_ecn_conn_recv_ece: u_int32_t, | |
pub tcps_ecn_conn_plnoce: u_int32_t, | |
pub tcps_ecn_conn_pl_ce: u_int32_t, | |
pub tcps_ecn_conn_nopl_ce: u_int32_t, | |
pub tcps_ecn_fallback_synloss: u_int32_t, | |
pub tcps_ecn_fallback_reorder: u_int32_t, | |
pub tcps_ecn_fallback_ce: u_int32_t, | |
pub tcps_tfo_syn_data_rcv: u_int32_t, | |
pub tcps_tfo_cookie_req_rcv: u_int32_t, | |
pub tcps_tfo_cookie_sent: u_int32_t, | |
pub tcps_tfo_cookie_invalid: u_int32_t, | |
pub tcps_tfo_cookie_req: u_int32_t, | |
pub tcps_tfo_cookie_rcv: u_int32_t, | |
pub tcps_tfo_syn_data_sent: u_int32_t, | |
pub tcps_tfo_syn_data_acked: u_int32_t, | |
pub tcps_tfo_syn_loss: u_int32_t, | |
pub tcps_tfo_blackhole: u_int32_t, | |
pub tcps_tfo_cookie_wrong: u_int32_t, | |
pub tcps_tfo_no_cookie_rcv: u_int32_t, | |
pub tcps_tfo_heuristics_disable: u_int32_t, | |
pub tcps_tfo_sndblackhole: u_int32_t, | |
pub tcps_mss_to_default: u_int32_t, | |
pub tcps_mss_to_medium: u_int32_t, | |
pub tcps_mss_to_low: u_int32_t, | |
pub tcps_ecn_fallback_droprst: u_int32_t, | |
pub tcps_ecn_fallback_droprxmt: u_int32_t, | |
pub tcps_ecn_fallback_synrst: u_int32_t, | |
pub tcps_mptcp_rcvmemdrop: u_int32_t, | |
pub tcps_mptcp_rcvduppack: u_int32_t, | |
pub tcps_mptcp_rcvpackafterwin: u_int32_t, | |
pub tcps_timer_drift_le_1_ms: u_int32_t, | |
pub tcps_timer_drift_le_10_ms: u_int32_t, | |
pub tcps_timer_drift_le_20_ms: u_int32_t, | |
pub tcps_timer_drift_le_50_ms: u_int32_t, | |
pub tcps_timer_drift_le_100_ms: u_int32_t, | |
pub tcps_timer_drift_le_200_ms: u_int32_t, | |
pub tcps_timer_drift_le_500_ms: u_int32_t, | |
pub tcps_timer_drift_le_1000_ms: u_int32_t, | |
pub tcps_timer_drift_gt_1000_ms: u_int32_t, | |
pub tcps_mptcp_handover_attempt: u_int32_t, | |
pub tcps_mptcp_interactive_attempt: u_int32_t, | |
pub tcps_mptcp_aggregate_attempt: u_int32_t, | |
pub tcps_mptcp_fp_handover_attempt: u_int32_t, | |
pub tcps_mptcp_fp_interactive_attempt: u_int32_t, | |
pub tcps_mptcp_fp_aggregate_attempt: u_int32_t, | |
pub tcps_mptcp_heuristic_fallback: u_int32_t, | |
pub tcps_mptcp_fp_heuristic_fallback: u_int32_t, | |
pub tcps_mptcp_handover_success_wifi: u_int32_t, | |
pub tcps_mptcp_handover_success_cell: u_int32_t, | |
pub tcps_mptcp_interactive_success: u_int32_t, | |
pub tcps_mptcp_aggregate_success: u_int32_t, | |
pub tcps_mptcp_fp_handover_success_wifi: u_int32_t, | |
pub tcps_mptcp_fp_handover_success_cell: u_int32_t, | |
pub tcps_mptcp_fp_interactive_success: u_int32_t, | |
pub tcps_mptcp_fp_aggregate_success: u_int32_t, | |
pub tcps_mptcp_handover_cell_from_wifi: u_int32_t, | |
pub tcps_mptcp_handover_wifi_from_cell: u_int32_t, | |
pub tcps_mptcp_interactive_cell_from_wifi: u_int32_t, | |
pub tcps_mptcp_handover_cell_bytes: u_int64_t, | |
pub tcps_mptcp_interactive_cell_bytes: u_int64_t, | |
pub tcps_mptcp_aggregate_cell_bytes: u_int64_t, | |
pub tcps_mptcp_handover_all_bytes: u_int64_t, | |
pub tcps_mptcp_interactive_all_bytes: u_int64_t, | |
pub tcps_mptcp_aggregate_all_bytes: u_int64_t, | |
pub tcps_mptcp_back_to_wifi: u_int32_t, | |
pub tcps_mptcp_wifi_proxy: u_int32_t, | |
pub tcps_mptcp_cell_proxy: u_int32_t, | |
pub tcps_ka_offload_drops: u_int32_t, | |
pub tcps_mptcp_triggered_cell: u_int32_t, | |
pub tcps_fin_timeout_drops: u_int32_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct tcpstat_local { | |
pub badformat: u_int64_t, | |
pub unspecv6: u_int64_t, | |
pub synfin: u_int64_t, | |
pub badformatipsec: u_int64_t, | |
pub noconnnolist: u_int64_t, | |
pub noconnlist: u_int64_t, | |
pub listbadsyn: u_int64_t, | |
pub icmp6unreach: u_int64_t, | |
pub deprecate6: u_int64_t, | |
pub ooopacket: u_int64_t, | |
pub rstinsynrcv: u_int64_t, | |
pub dospacket: u_int64_t, | |
pub cleanup: u_int64_t, | |
pub synwindow: u_int64_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Copy, Clone)] | |
pub struct xtcpcb { | |
pub xt_len: u_int32_t, | |
pub xt_inp: inpcb, | |
pub xt_tp: tcpcb, | |
pub xt_socket: xsocket, | |
pub xt_alignment_hack: u_quad_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct udphdr { | |
pub uh_sport: u_short, | |
pub uh_dport: u_short, | |
pub uh_ulen: u_short, | |
pub uh_sum: u_short, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct vm_statistics { | |
pub free_count: natural_t, | |
pub active_count: natural_t, | |
pub inactive_count: natural_t, | |
pub wire_count: natural_t, | |
pub zero_fill_count: natural_t, | |
pub reactivations: natural_t, | |
pub pageins: natural_t, | |
pub pageouts: natural_t, | |
pub faults: natural_t, | |
pub cow_faults: natural_t, | |
pub lookups: natural_t, | |
pub hits: natural_t, | |
pub purgeable_count: natural_t, | |
pub purges: natural_t, | |
pub speculative_count: natural_t, | |
} | |
pub type vm_statistics_t = *mut vm_statistics; | |
pub type vm_statistics_data_t = vm_statistics; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct vm_statistics64 { | |
pub free_count: natural_t, | |
pub active_count: natural_t, | |
pub inactive_count: natural_t, | |
pub wire_count: natural_t, | |
pub zero_fill_count: u64, | |
pub reactivations: u64, | |
pub pageins: u64, | |
pub pageouts: u64, | |
pub faults: u64, | |
pub cow_faults: u64, | |
pub lookups: u64, | |
pub hits: u64, | |
pub purges: u64, | |
pub purgeable_count: natural_t, | |
pub speculative_count: natural_t, | |
pub decompressions: u64, | |
pub compressions: u64, | |
pub swapins: u64, | |
pub swapouts: u64, | |
pub compressor_page_count: natural_t, | |
pub throttled_count: natural_t, | |
pub external_page_count: natural_t, | |
pub internal_page_count: natural_t, | |
pub total_uncompressed_pages_in_compressor: u64, | |
} | |
pub type vm_statistics64_t = *mut vm_statistics64; | |
pub type vm_statistics64_data_t = vm_statistics64; | |
extern "C" { | |
pub fn vm_stats( | |
info: *mut ::std::os::raw::c_void, | |
count: *mut ::std::os::raw::c_uint, | |
) -> kern_return_t; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct vm_extmod_statistics { | |
pub task_for_pid_count: i64, | |
pub task_for_pid_caller_count: i64, | |
pub thread_creation_count: i64, | |
pub thread_creation_caller_count: i64, | |
pub thread_set_state_count: i64, | |
pub thread_set_state_caller_count: i64, | |
} | |
pub type vm_extmod_statistics_t = *mut vm_extmod_statistics; | |
pub type vm_extmod_statistics_data_t = vm_extmod_statistics; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct vm_purgeable_stat { | |
pub count: u64, | |
pub size: u64, | |
} | |
pub type vm_purgeable_stat_t = vm_purgeable_stat; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct vm_purgeable_info { | |
pub fifo_data: [vm_purgeable_stat_t; 8usize], | |
pub obsolete_data: vm_purgeable_stat_t, | |
pub lifo_data: [vm_purgeable_stat_t; 8usize], | |
} | |
pub type vm_purgeable_info_t = *mut vm_purgeable_info; | |
pub const virtual_memory_guard_exception_codes_kGUARD_EXC_DEALLOC_GAP: | |
virtual_memory_guard_exception_codes = 1; | |
pub const virtual_memory_guard_exception_codes_kGUARD_EXC_RECLAIM_COPYIO_FAILURE: | |
virtual_memory_guard_exception_codes = 2; | |
pub const virtual_memory_guard_exception_codes_kGUARD_EXC_RECLAIM_INDEX_FAILURE: | |
virtual_memory_guard_exception_codes = 4; | |
pub const virtual_memory_guard_exception_codes_kGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE: | |
virtual_memory_guard_exception_codes = 8; | |
pub type virtual_memory_guard_exception_codes = ::std::os::raw::c_uint; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct time_value { | |
pub seconds: integer_t, | |
pub microseconds: integer_t, | |
} | |
pub type time_value_t = time_value; | |
pub type host_info_t = *mut integer_t; | |
pub type host_info64_t = *mut integer_t; | |
pub type host_info_data_t = [integer_t; 1024usize]; | |
pub type kernel_version_t = [::std::os::raw::c_char; 512usize]; | |
pub type kernel_boot_info_t = [::std::os::raw::c_char; 4096usize]; | |
pub type host_flavor_t = integer_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct host_can_has_debugger_info { | |
pub can_has_debugger: boolean_t, | |
} | |
pub type host_can_has_debugger_info_data_t = host_can_has_debugger_info; | |
pub type host_can_has_debugger_info_t = *mut host_can_has_debugger_info; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct host_basic_info { | |
pub max_cpus: integer_t, | |
pub avail_cpus: integer_t, | |
pub memory_size: natural_t, | |
pub cpu_type: cpu_type_t, | |
pub cpu_subtype: cpu_subtype_t, | |
pub cpu_threadtype: cpu_threadtype_t, | |
pub physical_cpu: integer_t, | |
pub physical_cpu_max: integer_t, | |
pub logical_cpu: integer_t, | |
pub logical_cpu_max: integer_t, | |
pub max_mem: u64, | |
} | |
pub type host_basic_info_data_t = host_basic_info; | |
pub type host_basic_info_t = *mut host_basic_info; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct host_sched_info { | |
pub min_timeout: integer_t, | |
pub min_quantum: integer_t, | |
} | |
pub type host_sched_info_data_t = host_sched_info; | |
pub type host_sched_info_t = *mut host_sched_info; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct kernel_resource_sizes { | |
pub task: natural_t, | |
pub thread: natural_t, | |
pub port: natural_t, | |
pub memory_region: natural_t, | |
pub memory_object: natural_t, | |
} | |
pub type kernel_resource_sizes_data_t = kernel_resource_sizes; | |
pub type kernel_resource_sizes_t = *mut kernel_resource_sizes; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct host_priority_info { | |
pub kernel_priority: integer_t, | |
pub system_priority: integer_t, | |
pub server_priority: integer_t, | |
pub user_priority: integer_t, | |
pub depress_priority: integer_t, | |
pub idle_priority: integer_t, | |
pub minimum_priority: integer_t, | |
pub maximum_priority: integer_t, | |
} | |
pub type host_priority_info_data_t = host_priority_info; | |
pub type host_priority_info_t = *mut host_priority_info; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct host_load_info { | |
pub avenrun: [integer_t; 3usize], | |
pub mach_factor: [integer_t; 3usize], | |
} | |
pub type host_load_info_data_t = host_load_info; | |
pub type host_load_info_t = *mut host_load_info; | |
pub type host_purgable_info_data_t = vm_purgeable_info; | |
pub type host_purgable_info_t = *mut vm_purgeable_info; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct host_cpu_load_info { | |
pub cpu_ticks: [natural_t; 4usize], | |
} | |
pub type host_cpu_load_info_data_t = host_cpu_load_info; | |
pub type host_cpu_load_info_t = *mut host_cpu_load_info; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct host_preferred_user_arch { | |
pub cpu_type: cpu_type_t, | |
pub cpu_subtype: cpu_subtype_t, | |
} | |
pub type host_preferred_user_arch_data_t = host_preferred_user_arch; | |
pub type host_preferred_user_arch_t = *mut host_preferred_user_arch; | |
pub type vm_prot_t = ::std::os::raw::c_int; | |
pub type vm_sync_t = ::std::os::raw::c_uint; | |
pub type memory_object_offset_t = ::std::os::raw::c_ulonglong; | |
pub type memory_object_size_t = ::std::os::raw::c_ulonglong; | |
pub type memory_object_cluster_size_t = natural_t; | |
pub type memory_object_fault_info_t = *mut natural_t; | |
pub type vm_object_id_t = ::std::os::raw::c_ulonglong; | |
pub type memory_object_t = mach_port_t; | |
pub type memory_object_control_t = mach_port_t; | |
pub type memory_object_array_t = *mut memory_object_t; | |
pub type memory_object_name_t = mach_port_t; | |
pub type memory_object_default_t = mach_port_t; | |
pub type memory_object_copy_strategy_t = ::std::os::raw::c_int; | |
pub type memory_object_return_t = ::std::os::raw::c_int; | |
pub type memory_object_info_t = *mut ::std::os::raw::c_int; | |
pub type memory_object_flavor_t = ::std::os::raw::c_int; | |
pub type memory_object_info_data_t = [::std::os::raw::c_int; 1024usize]; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct memory_object_perf_info { | |
pub cluster_size: memory_object_cluster_size_t, | |
pub may_cache: boolean_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct memory_object_attr_info { | |
pub copy_strategy: memory_object_copy_strategy_t, | |
pub cluster_size: memory_object_cluster_size_t, | |
pub may_cache_object: boolean_t, | |
pub temporary: boolean_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct memory_object_behave_info { | |
pub copy_strategy: memory_object_copy_strategy_t, | |
pub temporary: boolean_t, | |
pub invalidate: boolean_t, | |
pub silent_overwrite: boolean_t, | |
pub advisory_pageout: boolean_t, | |
} | |
pub type memory_object_behave_info_t = *mut memory_object_behave_info; | |
pub type memory_object_behave_info_data_t = memory_object_behave_info; | |
pub type memory_object_perf_info_t = *mut memory_object_perf_info; | |
pub type memory_object_perf_info_data_t = memory_object_perf_info; | |
pub type memory_object_attr_info_t = *mut memory_object_attr_info; | |
pub type memory_object_attr_info_data_t = memory_object_attr_info; | |
pub type mach_voucher_t = mach_port_t; | |
pub type mach_voucher_name_t = mach_port_name_t; | |
pub type mach_voucher_name_array_t = *mut mach_voucher_name_t; | |
pub type ipc_voucher_t = mach_voucher_t; | |
pub type mach_voucher_selector_t = u32; | |
pub type mach_voucher_attr_key_t = u32; | |
pub type mach_voucher_attr_key_array_t = *mut mach_voucher_attr_key_t; | |
pub type mach_voucher_attr_content_t = *mut u8; | |
pub type mach_voucher_attr_content_size_t = u32; | |
pub type mach_voucher_attr_command_t = u32; | |
pub type mach_voucher_attr_recipe_command_t = u32; | |
pub type mach_voucher_attr_recipe_command_array_t = *mut mach_voucher_attr_recipe_command_t; | |
#[repr(C, packed)] | |
pub struct mach_voucher_attr_recipe_data { | |
pub key: mach_voucher_attr_key_t, | |
pub command: mach_voucher_attr_recipe_command_t, | |
pub previous_voucher: mach_voucher_name_t, | |
pub content_size: mach_voucher_attr_content_size_t, | |
pub content: __IncompleteArrayField<u8>, | |
} | |
pub type mach_voucher_attr_recipe_data_t = mach_voucher_attr_recipe_data; | |
pub type mach_voucher_attr_recipe_t = *mut mach_voucher_attr_recipe_data_t; | |
pub type mach_voucher_attr_recipe_size_t = mach_msg_type_number_t; | |
pub type mach_voucher_attr_raw_recipe_t = *mut u8; | |
pub type mach_voucher_attr_raw_recipe_array_t = mach_voucher_attr_raw_recipe_t; | |
pub type mach_voucher_attr_raw_recipe_size_t = mach_msg_type_number_t; | |
pub type mach_voucher_attr_raw_recipe_array_size_t = mach_msg_type_number_t; | |
pub type mach_voucher_attr_manager_t = mach_port_t; | |
pub type mach_voucher_attr_control_t = mach_port_t; | |
pub type ipc_voucher_attr_manager_t = mach_port_t; | |
pub type ipc_voucher_attr_control_t = mach_port_t; | |
pub type mach_voucher_attr_value_handle_t = u64; | |
pub type mach_voucher_attr_value_handle_array_t = *mut mach_voucher_attr_value_handle_t; | |
pub type mach_voucher_attr_value_handle_array_size_t = mach_msg_type_number_t; | |
pub type mach_voucher_attr_value_reference_t = u32; | |
pub type mach_voucher_attr_value_flags_t = u32; | |
pub type mach_voucher_attr_control_flags_t = u32; | |
pub type mach_voucher_attr_importance_refs = u32; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct processor_cpu_stat { | |
pub irq_ex_cnt: u32, | |
pub ipi_cnt: u32, | |
pub timer_cnt: u32, | |
pub undef_ex_cnt: u32, | |
pub unaligned_cnt: u32, | |
pub vfp_cnt: u32, | |
pub vfp_shortv_cnt: u32, | |
pub data_ex_cnt: u32, | |
pub instr_ex_cnt: u32, | |
} | |
pub type processor_cpu_stat_data_t = processor_cpu_stat; | |
pub type processor_cpu_stat_t = *mut processor_cpu_stat; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct processor_cpu_stat64 { | |
pub irq_ex_cnt: u64, | |
pub ipi_cnt: u64, | |
pub timer_cnt: u64, | |
pub undef_ex_cnt: u64, | |
pub unaligned_cnt: u64, | |
pub vfp_cnt: u64, | |
pub vfp_shortv_cnt: u64, | |
pub data_ex_cnt: u64, | |
pub instr_ex_cnt: u64, | |
pub pmi_cnt: u64, | |
} | |
pub type processor_cpu_stat64_data_t = processor_cpu_stat64; | |
pub type processor_cpu_stat64_t = *mut processor_cpu_stat64; | |
pub type processor_info_t = *mut integer_t; | |
pub type processor_info_array_t = *mut integer_t; | |
pub type processor_info_data_t = [integer_t; 1024usize]; | |
pub type processor_set_info_t = *mut integer_t; | |
pub type processor_set_info_data_t = [integer_t; 1024usize]; | |
pub type processor_flavor_t = ::std::os::raw::c_int; | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub struct processor_basic_info { | |
pub __bindgen_anon_1: processor_basic_info__bindgen_ty_1, | |
pub cpu_type: cpu_type_t, | |
pub cpu_subtype: cpu_subtype_t, | |
pub running: boolean_t, | |
pub slot_num: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union processor_basic_info__bindgen_ty_1 { | |
pub is_master: boolean_t, | |
pub is_main: boolean_t, | |
} | |
pub type processor_basic_info_data_t = processor_basic_info; | |
pub type processor_basic_info_t = *mut processor_basic_info; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct processor_cpu_load_info { | |
pub cpu_ticks: [::std::os::raw::c_uint; 4usize], | |
} | |
pub type processor_cpu_load_info_data_t = processor_cpu_load_info; | |
pub type processor_cpu_load_info_t = *mut processor_cpu_load_info; | |
pub type processor_set_flavor_t = ::std::os::raw::c_int; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct processor_set_basic_info { | |
pub processor_count: ::std::os::raw::c_int, | |
pub default_policy: ::std::os::raw::c_int, | |
} | |
pub type processor_set_basic_info_data_t = processor_set_basic_info; | |
pub type processor_set_basic_info_t = *mut processor_set_basic_info; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct processor_set_load_info { | |
pub task_count: ::std::os::raw::c_int, | |
pub thread_count: ::std::os::raw::c_int, | |
pub load_average: integer_t, | |
pub mach_factor: integer_t, | |
} | |
pub type processor_set_load_info_data_t = processor_set_load_info; | |
pub type processor_set_load_info_t = *mut processor_set_load_info; | |
pub type policy_t = ::std::os::raw::c_int; | |
pub type policy_info_t = *mut integer_t; | |
pub type policy_base_t = *mut integer_t; | |
pub type policy_limit_t = *mut integer_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct policy_timeshare_base { | |
pub base_priority: integer_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct policy_timeshare_limit { | |
pub max_priority: integer_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct policy_timeshare_info { | |
pub max_priority: integer_t, | |
pub base_priority: integer_t, | |
pub cur_priority: integer_t, | |
pub depressed: boolean_t, | |
pub depress_priority: integer_t, | |
} | |
pub type policy_timeshare_base_t = *mut policy_timeshare_base; | |
pub type policy_timeshare_limit_t = *mut policy_timeshare_limit; | |
pub type policy_timeshare_info_t = *mut policy_timeshare_info; | |
pub type policy_timeshare_base_data_t = policy_timeshare_base; | |
pub type policy_timeshare_limit_data_t = policy_timeshare_limit; | |
pub type policy_timeshare_info_data_t = policy_timeshare_info; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct policy_rr_base { | |
pub base_priority: integer_t, | |
pub quantum: integer_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct policy_rr_limit { | |
pub max_priority: integer_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct policy_rr_info { | |
pub max_priority: integer_t, | |
pub base_priority: integer_t, | |
pub quantum: integer_t, | |
pub depressed: boolean_t, | |
pub depress_priority: integer_t, | |
} | |
pub type policy_rr_base_t = *mut policy_rr_base; | |
pub type policy_rr_limit_t = *mut policy_rr_limit; | |
pub type policy_rr_info_t = *mut policy_rr_info; | |
pub type policy_rr_base_data_t = policy_rr_base; | |
pub type policy_rr_limit_data_t = policy_rr_limit; | |
pub type policy_rr_info_data_t = policy_rr_info; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct policy_fifo_base { | |
pub base_priority: integer_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct policy_fifo_limit { | |
pub max_priority: integer_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct policy_fifo_info { | |
pub max_priority: integer_t, | |
pub base_priority: integer_t, | |
pub depressed: boolean_t, | |
pub depress_priority: integer_t, | |
} | |
pub type policy_fifo_base_t = *mut policy_fifo_base; | |
pub type policy_fifo_limit_t = *mut policy_fifo_limit; | |
pub type policy_fifo_info_t = *mut policy_fifo_info; | |
pub type policy_fifo_base_data_t = policy_fifo_base; | |
pub type policy_fifo_limit_data_t = policy_fifo_limit; | |
pub type policy_fifo_info_data_t = policy_fifo_info; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct policy_bases { | |
pub ts: policy_timeshare_base_data_t, | |
pub rr: policy_rr_base_data_t, | |
pub fifo: policy_fifo_base_data_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct policy_limits { | |
pub ts: policy_timeshare_limit_data_t, | |
pub rr: policy_rr_limit_data_t, | |
pub fifo: policy_fifo_limit_data_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct policy_infos { | |
pub ts: policy_timeshare_info_data_t, | |
pub rr: policy_rr_info_data_t, | |
pub fifo: policy_fifo_info_data_t, | |
} | |
pub type policy_base_data_t = policy_bases; | |
pub type policy_limit_data_t = policy_limits; | |
pub type policy_info_data_t = policy_infos; | |
pub type task_flavor_t = natural_t; | |
pub type task_info_t = *mut integer_t; | |
pub type task_info_data_t = [integer_t; 1024usize]; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct task_basic_info_32 { | |
pub suspend_count: integer_t, | |
pub virtual_size: natural_t, | |
pub resident_size: natural_t, | |
pub user_time: time_value_t, | |
pub system_time: time_value_t, | |
pub policy: policy_t, | |
} | |
pub type task_basic_info_32_data_t = task_basic_info_32; | |
pub type task_basic_info_32_t = *mut task_basic_info_32; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct task_basic_info_64 { | |
pub suspend_count: integer_t, | |
pub virtual_size: mach_vm_size_t, | |
pub resident_size: mach_vm_size_t, | |
pub user_time: time_value_t, | |
pub system_time: time_value_t, | |
pub policy: policy_t, | |
} | |
pub type task_basic_info_64_data_t = task_basic_info_64; | |
pub type task_basic_info_64_t = *mut task_basic_info_64; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct task_basic_info { | |
pub suspend_count: integer_t, | |
pub virtual_size: vm_size_t, | |
pub resident_size: vm_size_t, | |
pub user_time: time_value_t, | |
pub system_time: time_value_t, | |
pub policy: policy_t, | |
} | |
pub type task_basic_info_data_t = task_basic_info; | |
pub type task_basic_info_t = *mut task_basic_info; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct task_events_info { | |
pub faults: integer_t, | |
pub pageins: integer_t, | |
pub cow_faults: integer_t, | |
pub messages_sent: integer_t, | |
pub messages_received: integer_t, | |
pub syscalls_mach: integer_t, | |
pub syscalls_unix: integer_t, | |
pub csw: integer_t, | |
} | |
pub type task_events_info_data_t = task_events_info; | |
pub type task_events_info_t = *mut task_events_info; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct task_thread_times_info { | |
pub user_time: time_value_t, | |
pub system_time: time_value_t, | |
} | |
pub type task_thread_times_info_data_t = task_thread_times_info; | |
pub type task_thread_times_info_t = *mut task_thread_times_info; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct task_absolutetime_info { | |
pub total_user: u64, | |
pub total_system: u64, | |
pub threads_user: u64, | |
pub threads_system: u64, | |
} | |
pub type task_absolutetime_info_data_t = task_absolutetime_info; | |
pub type task_absolutetime_info_t = *mut task_absolutetime_info; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct task_kernelmemory_info { | |
pub total_palloc: u64, | |
pub total_pfree: u64, | |
pub total_salloc: u64, | |
pub total_sfree: u64, | |
} | |
pub type task_kernelmemory_info_data_t = task_kernelmemory_info; | |
pub type task_kernelmemory_info_t = *mut task_kernelmemory_info; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct task_affinity_tag_info { | |
pub set_count: integer_t, | |
pub min: integer_t, | |
pub max: integer_t, | |
pub task_count: integer_t, | |
} | |
pub type task_affinity_tag_info_data_t = task_affinity_tag_info; | |
pub type task_affinity_tag_info_t = *mut task_affinity_tag_info; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct task_dyld_info { | |
pub all_image_info_addr: mach_vm_address_t, | |
pub all_image_info_size: mach_vm_size_t, | |
pub all_image_info_format: integer_t, | |
} | |
pub type task_dyld_info_data_t = task_dyld_info; | |
pub type task_dyld_info_t = *mut task_dyld_info; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct task_basic_info_64_2 { | |
pub suspend_count: integer_t, | |
pub virtual_size: mach_vm_size_t, | |
pub resident_size: mach_vm_size_t, | |
pub user_time: time_value_t, | |
pub system_time: time_value_t, | |
pub policy: policy_t, | |
} | |
pub type task_basic_info_64_2_data_t = task_basic_info_64_2; | |
pub type task_basic_info_64_2_t = *mut task_basic_info_64_2; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct task_extmod_info { | |
pub task_uuid: [::std::os::raw::c_uchar; 16usize], | |
pub extmod_statistics: vm_extmod_statistics_data_t, | |
} | |
pub type task_extmod_info_data_t = task_extmod_info; | |
pub type task_extmod_info_t = *mut task_extmod_info; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_task_basic_info { | |
pub virtual_size: mach_vm_size_t, | |
pub resident_size: mach_vm_size_t, | |
pub resident_size_max: mach_vm_size_t, | |
pub user_time: time_value_t, | |
pub system_time: time_value_t, | |
pub policy: policy_t, | |
pub suspend_count: integer_t, | |
} | |
pub type mach_task_basic_info_data_t = mach_task_basic_info; | |
pub type mach_task_basic_info_t = *mut mach_task_basic_info; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct task_power_info { | |
pub total_user: u64, | |
pub total_system: u64, | |
pub task_interrupt_wakeups: u64, | |
pub task_platform_idle_wakeups: u64, | |
pub task_timer_wakeups_bin_1: u64, | |
pub task_timer_wakeups_bin_2: u64, | |
} | |
pub type task_power_info_data_t = task_power_info; | |
pub type task_power_info_t = *mut task_power_info; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct task_vm_info { | |
pub virtual_size: mach_vm_size_t, | |
pub region_count: integer_t, | |
pub page_size: integer_t, | |
pub resident_size: mach_vm_size_t, | |
pub resident_size_peak: mach_vm_size_t, | |
pub device: mach_vm_size_t, | |
pub device_peak: mach_vm_size_t, | |
pub internal: mach_vm_size_t, | |
pub internal_peak: mach_vm_size_t, | |
pub external: mach_vm_size_t, | |
pub external_peak: mach_vm_size_t, | |
pub reusable: mach_vm_size_t, | |
pub reusable_peak: mach_vm_size_t, | |
pub purgeable_volatile_pmap: mach_vm_size_t, | |
pub purgeable_volatile_resident: mach_vm_size_t, | |
pub purgeable_volatile_virtual: mach_vm_size_t, | |
pub compressed: mach_vm_size_t, | |
pub compressed_peak: mach_vm_size_t, | |
pub compressed_lifetime: mach_vm_size_t, | |
pub phys_footprint: mach_vm_size_t, | |
pub min_address: mach_vm_address_t, | |
pub max_address: mach_vm_address_t, | |
pub ledger_phys_footprint_peak: i64, | |
pub ledger_purgeable_nonvolatile: i64, | |
pub ledger_purgeable_novolatile_compressed: i64, | |
pub ledger_purgeable_volatile: i64, | |
pub ledger_purgeable_volatile_compressed: i64, | |
pub ledger_tag_network_nonvolatile: i64, | |
pub ledger_tag_network_nonvolatile_compressed: i64, | |
pub ledger_tag_network_volatile: i64, | |
pub ledger_tag_network_volatile_compressed: i64, | |
pub ledger_tag_media_footprint: i64, | |
pub ledger_tag_media_footprint_compressed: i64, | |
pub ledger_tag_media_nofootprint: i64, | |
pub ledger_tag_media_nofootprint_compressed: i64, | |
pub ledger_tag_graphics_footprint: i64, | |
pub ledger_tag_graphics_footprint_compressed: i64, | |
pub ledger_tag_graphics_nofootprint: i64, | |
pub ledger_tag_graphics_nofootprint_compressed: i64, | |
pub ledger_tag_neural_footprint: i64, | |
pub ledger_tag_neural_footprint_compressed: i64, | |
pub ledger_tag_neural_nofootprint: i64, | |
pub ledger_tag_neural_nofootprint_compressed: i64, | |
pub limit_bytes_remaining: u64, | |
pub decompressions: integer_t, | |
pub ledger_swapins: i64, | |
} | |
pub type task_vm_info_data_t = task_vm_info; | |
pub type task_vm_info_t = *mut task_vm_info; | |
pub type task_purgable_info_t = vm_purgeable_info; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct task_trace_memory_info { | |
pub user_memory_address: u64, | |
pub buffer_size: u64, | |
pub mailbox_array_size: u64, | |
} | |
pub type task_trace_memory_info_data_t = task_trace_memory_info; | |
pub type task_trace_memory_info_t = *mut task_trace_memory_info; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct task_wait_state_info { | |
pub total_wait_state_time: u64, | |
pub total_wait_sfi_state_time: u64, | |
pub _reserved: [u32; 4usize], | |
} | |
pub type task_wait_state_info_data_t = task_wait_state_info; | |
pub type task_wait_state_info_t = *mut task_wait_state_info; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct gpu_energy_data { | |
pub task_gpu_utilisation: u64, | |
pub task_gpu_stat_reserved0: u64, | |
pub task_gpu_stat_reserved1: u64, | |
pub task_gpu_stat_reserved2: u64, | |
} | |
pub type gpu_energy_data_t = *mut gpu_energy_data; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct task_power_info_v2 { | |
pub cpu_energy: task_power_info_data_t, | |
pub gpu_energy: gpu_energy_data, | |
pub task_energy: u64, | |
pub task_ptime: u64, | |
pub task_pset_switches: u64, | |
} | |
pub type task_power_info_v2_data_t = task_power_info_v2; | |
pub type task_power_info_v2_t = *mut task_power_info_v2; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct task_flags_info { | |
pub flags: u32, | |
} | |
pub type task_flags_info_data_t = task_flags_info; | |
pub type task_flags_info_t = *mut task_flags_info; | |
pub type task_exc_guard_behavior_t = u32; | |
pub type task_corpse_forking_behavior_t = u32; | |
pub type task_inspect_flavor_t = natural_t; | |
pub const task_inspect_flavor_TASK_INSPECT_BASIC_COUNTS: task_inspect_flavor = 1; | |
pub type task_inspect_flavor = ::std::os::raw::c_uint; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct task_inspect_basic_counts { | |
pub instructions: u64, | |
pub cycles: u64, | |
} | |
pub type task_inspect_basic_counts_data_t = task_inspect_basic_counts; | |
pub type task_inspect_basic_counts_t = *mut task_inspect_basic_counts; | |
pub type task_inspect_info_t = *mut integer_t; | |
pub type task_policy_flavor_t = natural_t; | |
pub type task_policy_t = *mut integer_t; | |
pub const task_role_TASK_RENICED: task_role = -1; | |
pub const task_role_TASK_UNSPECIFIED: task_role = 0; | |
pub const task_role_TASK_FOREGROUND_APPLICATION: task_role = 1; | |
pub const task_role_TASK_BACKGROUND_APPLICATION: task_role = 2; | |
pub const task_role_TASK_CONTROL_APPLICATION: task_role = 3; | |
pub const task_role_TASK_GRAPHICS_SERVER: task_role = 4; | |
pub const task_role_TASK_THROTTLE_APPLICATION: task_role = 5; | |
pub const task_role_TASK_NONUI_APPLICATION: task_role = 6; | |
pub const task_role_TASK_DEFAULT_APPLICATION: task_role = 7; | |
pub const task_role_TASK_DARWINBG_APPLICATION: task_role = 8; | |
pub type task_role = ::std::os::raw::c_int; | |
pub use self::task_role as task_role_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct task_category_policy { | |
pub role: task_role_t, | |
} | |
pub type task_category_policy_data_t = task_category_policy; | |
pub type task_category_policy_t = *mut task_category_policy; | |
pub const task_latency_qos_LATENCY_QOS_TIER_UNSPECIFIED: task_latency_qos = 0; | |
pub const task_latency_qos_LATENCY_QOS_TIER_0: task_latency_qos = 16711681; | |
pub const task_latency_qos_LATENCY_QOS_TIER_1: task_latency_qos = 16711682; | |
pub const task_latency_qos_LATENCY_QOS_TIER_2: task_latency_qos = 16711683; | |
pub const task_latency_qos_LATENCY_QOS_TIER_3: task_latency_qos = 16711684; | |
pub const task_latency_qos_LATENCY_QOS_TIER_4: task_latency_qos = 16711685; | |
pub const task_latency_qos_LATENCY_QOS_TIER_5: task_latency_qos = 16711686; | |
pub type task_latency_qos = ::std::os::raw::c_uint; | |
pub type task_latency_qos_t = integer_t; | |
pub const task_throughput_qos_THROUGHPUT_QOS_TIER_UNSPECIFIED: task_throughput_qos = 0; | |
pub const task_throughput_qos_THROUGHPUT_QOS_TIER_0: task_throughput_qos = 16646145; | |
pub const task_throughput_qos_THROUGHPUT_QOS_TIER_1: task_throughput_qos = 16646146; | |
pub const task_throughput_qos_THROUGHPUT_QOS_TIER_2: task_throughput_qos = 16646147; | |
pub const task_throughput_qos_THROUGHPUT_QOS_TIER_3: task_throughput_qos = 16646148; | |
pub const task_throughput_qos_THROUGHPUT_QOS_TIER_4: task_throughput_qos = 16646149; | |
pub const task_throughput_qos_THROUGHPUT_QOS_TIER_5: task_throughput_qos = 16646150; | |
pub type task_throughput_qos = ::std::os::raw::c_uint; | |
pub type task_throughput_qos_t = integer_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct task_qos_policy { | |
pub task_latency_qos_tier: task_latency_qos_t, | |
pub task_throughput_qos_tier: task_throughput_qos_t, | |
} | |
pub type task_qos_policy_t = *mut task_qos_policy; | |
pub type task_special_port_t = ::std::os::raw::c_int; | |
pub type thread_flavor_t = natural_t; | |
pub type thread_info_t = *mut integer_t; | |
pub type thread_info_data_t = [integer_t; 32usize]; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct thread_basic_info { | |
pub user_time: time_value_t, | |
pub system_time: time_value_t, | |
pub cpu_usage: integer_t, | |
pub policy: policy_t, | |
pub run_state: integer_t, | |
pub flags: integer_t, | |
pub suspend_count: integer_t, | |
pub sleep_time: integer_t, | |
} | |
pub type thread_basic_info_data_t = thread_basic_info; | |
pub type thread_basic_info_t = *mut thread_basic_info; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct thread_identifier_info { | |
pub thread_id: u64, | |
pub thread_handle: u64, | |
pub dispatch_qaddr: u64, | |
} | |
pub type thread_identifier_info_data_t = thread_identifier_info; | |
pub type thread_identifier_info_t = *mut thread_identifier_info; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct thread_extended_info { | |
pub pth_user_time: u64, | |
pub pth_system_time: u64, | |
pub pth_cpu_usage: i32, | |
pub pth_policy: i32, | |
pub pth_run_state: i32, | |
pub pth_flags: i32, | |
pub pth_sleep_time: i32, | |
pub pth_curpri: i32, | |
pub pth_priority: i32, | |
pub pth_maxpriority: i32, | |
pub pth_name: [::std::os::raw::c_char; 64usize], | |
} | |
pub type thread_extended_info_data_t = thread_extended_info; | |
pub type thread_extended_info_t = *mut thread_extended_info; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct io_stat_entry { | |
pub count: u64, | |
pub size: u64, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct io_stat_info { | |
pub disk_reads: io_stat_entry, | |
pub io_priority: [io_stat_entry; 4usize], | |
pub paging: io_stat_entry, | |
pub metadata: io_stat_entry, | |
pub total_io: io_stat_entry, | |
} | |
pub type io_stat_info_t = *mut io_stat_info; | |
pub type thread_policy_flavor_t = natural_t; | |
pub type thread_policy_t = *mut integer_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct thread_standard_policy { | |
pub no_data: natural_t, | |
} | |
pub type thread_standard_policy_data_t = thread_standard_policy; | |
pub type thread_standard_policy_t = *mut thread_standard_policy; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct thread_extended_policy { | |
pub timeshare: boolean_t, | |
} | |
pub type thread_extended_policy_data_t = thread_extended_policy; | |
pub type thread_extended_policy_t = *mut thread_extended_policy; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct thread_time_constraint_policy { | |
pub period: u32, | |
pub computation: u32, | |
pub constraint: u32, | |
pub preemptible: boolean_t, | |
} | |
pub type thread_time_constraint_policy_data_t = thread_time_constraint_policy; | |
pub type thread_time_constraint_policy_t = *mut thread_time_constraint_policy; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct thread_precedence_policy { | |
pub importance: integer_t, | |
} | |
pub type thread_precedence_policy_data_t = thread_precedence_policy; | |
pub type thread_precedence_policy_t = *mut thread_precedence_policy; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct thread_affinity_policy { | |
pub affinity_tag: integer_t, | |
} | |
pub type thread_affinity_policy_data_t = thread_affinity_policy; | |
pub type thread_affinity_policy_t = *mut thread_affinity_policy; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct thread_background_policy { | |
pub priority: integer_t, | |
} | |
pub type thread_background_policy_data_t = thread_background_policy; | |
pub type thread_background_policy_t = *mut thread_background_policy; | |
pub type thread_latency_qos_t = integer_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct thread_latency_qos_policy { | |
pub thread_latency_qos_tier: thread_latency_qos_t, | |
} | |
pub type thread_latency_qos_policy_data_t = thread_latency_qos_policy; | |
pub type thread_latency_qos_policy_t = *mut thread_latency_qos_policy; | |
pub type thread_throughput_qos_t = integer_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct thread_throughput_qos_policy { | |
pub thread_throughput_qos_tier: thread_throughput_qos_t, | |
} | |
pub type thread_throughput_qos_policy_data_t = thread_throughput_qos_policy; | |
pub type thread_throughput_qos_policy_t = *mut thread_throughput_qos_policy; | |
pub type alarm_type_t = ::std::os::raw::c_int; | |
pub type sleep_type_t = ::std::os::raw::c_int; | |
pub type clock_id_t = ::std::os::raw::c_int; | |
pub type clock_flavor_t = ::std::os::raw::c_int; | |
pub type clock_attr_t = *mut ::std::os::raw::c_int; | |
pub type clock_res_t = ::std::os::raw::c_int; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_timespec { | |
pub tv_sec: ::std::os::raw::c_uint, | |
pub tv_nsec: clock_res_t, | |
} | |
pub type mach_timespec_t = mach_timespec; | |
pub type vm_machine_attribute_t = ::std::os::raw::c_uint; | |
pub type vm_machine_attribute_val_t = ::std::os::raw::c_int; | |
pub type vm_inherit_t = ::std::os::raw::c_uint; | |
pub type vm_purgable_t = ::std::os::raw::c_int; | |
pub type vm_behavior_t = ::std::os::raw::c_int; | |
extern "C" { | |
pub static mut vm_page_size: vm_size_t; | |
} | |
extern "C" { | |
pub static mut vm_page_mask: vm_size_t; | |
} | |
extern "C" { | |
pub static mut vm_page_shift: ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub static mut vm_kernel_page_size: vm_size_t; | |
} | |
extern "C" { | |
pub static mut vm_kernel_page_mask: vm_size_t; | |
} | |
extern "C" { | |
pub static mut vm_kernel_page_shift: ::std::os::raw::c_int; | |
} | |
pub type vm32_object_id_t = u32; | |
pub type vm_region_info_t = *mut ::std::os::raw::c_int; | |
pub type vm_region_info_64_t = *mut ::std::os::raw::c_int; | |
pub type vm_region_recurse_info_t = *mut ::std::os::raw::c_int; | |
pub type vm_region_recurse_info_64_t = *mut ::std::os::raw::c_int; | |
pub type vm_region_flavor_t = ::std::os::raw::c_int; | |
pub type vm_region_info_data_t = [::std::os::raw::c_int; 1024usize]; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct vm_region_basic_info_64 { | |
pub protection: vm_prot_t, | |
pub max_protection: vm_prot_t, | |
pub inheritance: vm_inherit_t, | |
pub shared: boolean_t, | |
pub reserved: boolean_t, | |
pub offset: memory_object_offset_t, | |
pub behavior: vm_behavior_t, | |
pub user_wired_count: ::std::os::raw::c_ushort, | |
} | |
pub type vm_region_basic_info_64_t = *mut vm_region_basic_info_64; | |
pub type vm_region_basic_info_data_64_t = vm_region_basic_info_64; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct vm_region_basic_info { | |
pub protection: vm_prot_t, | |
pub max_protection: vm_prot_t, | |
pub inheritance: vm_inherit_t, | |
pub shared: boolean_t, | |
pub reserved: boolean_t, | |
pub offset: u32, | |
pub behavior: vm_behavior_t, | |
pub user_wired_count: ::std::os::raw::c_ushort, | |
} | |
pub type vm_region_basic_info_t = *mut vm_region_basic_info; | |
pub type vm_region_basic_info_data_t = vm_region_basic_info; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct vm_region_extended_info { | |
pub protection: vm_prot_t, | |
pub user_tag: ::std::os::raw::c_uint, | |
pub pages_resident: ::std::os::raw::c_uint, | |
pub pages_shared_now_private: ::std::os::raw::c_uint, | |
pub pages_swapped_out: ::std::os::raw::c_uint, | |
pub pages_dirtied: ::std::os::raw::c_uint, | |
pub ref_count: ::std::os::raw::c_uint, | |
pub shadow_depth: ::std::os::raw::c_ushort, | |
pub external_pager: ::std::os::raw::c_uchar, | |
pub share_mode: ::std::os::raw::c_uchar, | |
pub pages_reusable: ::std::os::raw::c_uint, | |
} | |
pub type vm_region_extended_info_t = *mut vm_region_extended_info; | |
pub type vm_region_extended_info_data_t = vm_region_extended_info; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct vm_region_top_info { | |
pub obj_id: ::std::os::raw::c_uint, | |
pub ref_count: ::std::os::raw::c_uint, | |
pub private_pages_resident: ::std::os::raw::c_uint, | |
pub shared_pages_resident: ::std::os::raw::c_uint, | |
pub share_mode: ::std::os::raw::c_uchar, | |
} | |
pub type vm_region_top_info_t = *mut vm_region_top_info; | |
pub type vm_region_top_info_data_t = vm_region_top_info; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct vm_region_submap_info { | |
pub protection: vm_prot_t, | |
pub max_protection: vm_prot_t, | |
pub inheritance: vm_inherit_t, | |
pub offset: u32, | |
pub user_tag: ::std::os::raw::c_uint, | |
pub pages_resident: ::std::os::raw::c_uint, | |
pub pages_shared_now_private: ::std::os::raw::c_uint, | |
pub pages_swapped_out: ::std::os::raw::c_uint, | |
pub pages_dirtied: ::std::os::raw::c_uint, | |
pub ref_count: ::std::os::raw::c_uint, | |
pub shadow_depth: ::std::os::raw::c_ushort, | |
pub external_pager: ::std::os::raw::c_uchar, | |
pub share_mode: ::std::os::raw::c_uchar, | |
pub is_submap: boolean_t, | |
pub behavior: vm_behavior_t, | |
pub object_id: vm32_object_id_t, | |
pub user_wired_count: ::std::os::raw::c_ushort, | |
} | |
pub type vm_region_submap_info_t = *mut vm_region_submap_info; | |
pub type vm_region_submap_info_data_t = vm_region_submap_info; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct vm_region_submap_info_64 { | |
pub protection: vm_prot_t, | |
pub max_protection: vm_prot_t, | |
pub inheritance: vm_inherit_t, | |
pub offset: memory_object_offset_t, | |
pub user_tag: ::std::os::raw::c_uint, | |
pub pages_resident: ::std::os::raw::c_uint, | |
pub pages_shared_now_private: ::std::os::raw::c_uint, | |
pub pages_swapped_out: ::std::os::raw::c_uint, | |
pub pages_dirtied: ::std::os::raw::c_uint, | |
pub ref_count: ::std::os::raw::c_uint, | |
pub shadow_depth: ::std::os::raw::c_ushort, | |
pub external_pager: ::std::os::raw::c_uchar, | |
pub share_mode: ::std::os::raw::c_uchar, | |
pub is_submap: boolean_t, | |
pub behavior: vm_behavior_t, | |
pub object_id: vm32_object_id_t, | |
pub user_wired_count: ::std::os::raw::c_ushort, | |
pub pages_reusable: ::std::os::raw::c_uint, | |
pub object_id_full: vm_object_id_t, | |
} | |
pub type vm_region_submap_info_64_t = *mut vm_region_submap_info_64; | |
pub type vm_region_submap_info_data_64_t = vm_region_submap_info_64; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct vm_region_submap_short_info_64 { | |
pub protection: vm_prot_t, | |
pub max_protection: vm_prot_t, | |
pub inheritance: vm_inherit_t, | |
pub offset: memory_object_offset_t, | |
pub user_tag: ::std::os::raw::c_uint, | |
pub ref_count: ::std::os::raw::c_uint, | |
pub shadow_depth: ::std::os::raw::c_ushort, | |
pub external_pager: ::std::os::raw::c_uchar, | |
pub share_mode: ::std::os::raw::c_uchar, | |
pub is_submap: boolean_t, | |
pub behavior: vm_behavior_t, | |
pub object_id: vm32_object_id_t, | |
pub user_wired_count: ::std::os::raw::c_ushort, | |
} | |
pub type vm_region_submap_short_info_64_t = *mut vm_region_submap_short_info_64; | |
pub type vm_region_submap_short_info_data_64_t = vm_region_submap_short_info_64; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_vm_read_entry { | |
pub address: mach_vm_address_t, | |
pub size: mach_vm_size_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct vm_read_entry { | |
pub address: vm_address_t, | |
pub size: vm_size_t, | |
} | |
pub type mach_vm_read_entry_t = [mach_vm_read_entry; 256usize]; | |
pub type vm_read_entry_t = [vm_read_entry; 256usize]; | |
pub type vm_page_info_t = *mut ::std::os::raw::c_int; | |
pub type vm_page_info_data_t = [::std::os::raw::c_int; 0usize]; | |
pub type vm_page_info_flavor_t = ::std::os::raw::c_int; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct vm_page_info_basic { | |
pub disposition: ::std::os::raw::c_int, | |
pub ref_count: ::std::os::raw::c_int, | |
pub object_id: vm_object_id_t, | |
pub offset: memory_object_offset_t, | |
pub depth: ::std::os::raw::c_int, | |
pub __pad: ::std::os::raw::c_int, | |
} | |
pub type vm_page_info_basic_t = *mut vm_page_info_basic; | |
pub type vm_page_info_basic_data_t = vm_page_info_basic; | |
pub type kmod_t = ::std::os::raw::c_int; | |
pub type kmod_start_func_t = ::std::option::Option< | |
unsafe extern "C" fn(ki: *mut kmod_info, data: *mut ::std::os::raw::c_void) -> kern_return_t, | |
>; | |
pub type kmod_stop_func_t = ::std::option::Option< | |
unsafe extern "C" fn(ki: *mut kmod_info, data: *mut ::std::os::raw::c_void) -> kern_return_t, | |
>; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct kmod_reference { | |
pub next: *mut kmod_reference, | |
pub info: *mut kmod_info, | |
} | |
pub type kmod_reference_t = kmod_reference; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct kmod_info { | |
pub next: *mut kmod_info, | |
pub info_version: i32, | |
pub id: u32, | |
pub name: [::std::os::raw::c_char; 64usize], | |
pub version: [::std::os::raw::c_char; 64usize], | |
pub reference_count: i32, | |
pub reference_list: *mut kmod_reference_t, | |
pub address: vm_address_t, | |
pub size: vm_size_t, | |
pub hdr_size: vm_size_t, | |
pub start: kmod_start_func_t, | |
pub stop: kmod_stop_func_t, | |
} | |
pub type kmod_info_t = kmod_info; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct kmod_info_32_v1 { | |
pub next_addr: u32, | |
pub info_version: i32, | |
pub id: u32, | |
pub name: [u8; 64usize], | |
pub version: [u8; 64usize], | |
pub reference_count: i32, | |
pub reference_list_addr: u32, | |
pub address: u32, | |
pub size: u32, | |
pub hdr_size: u32, | |
pub start_addr: u32, | |
pub stop_addr: u32, | |
} | |
pub type kmod_info_32_v1_t = kmod_info_32_v1; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct kmod_info_64_v1 { | |
pub next_addr: u64, | |
pub info_version: i32, | |
pub id: u32, | |
pub name: [u8; 64usize], | |
pub version: [u8; 64usize], | |
pub reference_count: i32, | |
pub reference_list_addr: u64, | |
pub address: u64, | |
pub size: u64, | |
pub hdr_size: u64, | |
pub start_addr: u64, | |
pub stop_addr: u64, | |
} | |
pub type kmod_info_64_v1_t = kmod_info_64_v1; | |
pub type kmod_args_t = *mut ::std::os::raw::c_void; | |
pub type kmod_control_flavor_t = ::std::os::raw::c_int; | |
pub type kmod_info_array_t = *mut kmod_info_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct dyld_kernel_image_info { | |
pub uuid: uuid_t, | |
pub fsobjid: fsobj_id_t, | |
pub fsid: fsid_t, | |
pub load_addr: u64, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct dyld_kernel_process_info { | |
pub cache_image_info: dyld_kernel_image_info, | |
pub timestamp: u64, | |
pub imageCount: u32, | |
pub initialImageCount: u32, | |
pub dyldState: u8, | |
pub no_cache: boolean_t, | |
pub private_cache: boolean_t, | |
} | |
pub type dyld_kernel_image_info_t = dyld_kernel_image_info; | |
pub type dyld_kernel_process_info_t = dyld_kernel_process_info; | |
pub type dyld_kernel_image_info_array_t = *mut dyld_kernel_image_info_t; | |
pub type task_t = mach_port_t; | |
pub type task_name_t = mach_port_t; | |
pub type task_policy_set_t = mach_port_t; | |
pub type task_policy_get_t = mach_port_t; | |
pub type task_inspect_t = mach_port_t; | |
pub type task_read_t = mach_port_t; | |
pub type task_suspension_token_t = mach_port_t; | |
pub type thread_t = mach_port_t; | |
pub type thread_act_t = mach_port_t; | |
pub type thread_inspect_t = mach_port_t; | |
pub type thread_read_t = mach_port_t; | |
pub type ipc_space_t = mach_port_t; | |
pub type ipc_space_read_t = mach_port_t; | |
pub type ipc_space_inspect_t = mach_port_t; | |
pub type coalition_t = mach_port_t; | |
pub type host_t = mach_port_t; | |
pub type host_priv_t = mach_port_t; | |
pub type host_security_t = mach_port_t; | |
pub type processor_t = mach_port_t; | |
pub type processor_set_t = mach_port_t; | |
pub type processor_set_control_t = mach_port_t; | |
pub type semaphore_t = mach_port_t; | |
pub type lock_set_t = mach_port_t; | |
pub type ledger_t = mach_port_t; | |
pub type alarm_t = mach_port_t; | |
pub type clock_serv_t = mach_port_t; | |
pub type clock_ctrl_t = mach_port_t; | |
pub type arcade_register_t = mach_port_t; | |
pub type ipc_eventlink_t = mach_port_t; | |
pub type eventlink_port_pair_t = [mach_port_t; 2usize]; | |
pub type task_id_token_t = mach_port_t; | |
pub type kcdata_object_t = mach_port_t; | |
pub type processor_set_name_t = processor_set_t; | |
pub type clock_reply_t = mach_port_t; | |
pub type bootstrap_t = mach_port_t; | |
pub type mem_entry_name_port_t = mach_port_t; | |
pub type exception_handler_t = mach_port_t; | |
pub type exception_handler_array_t = *mut exception_handler_t; | |
pub type vm_task_entry_t = mach_port_t; | |
pub type io_main_t = mach_port_t; | |
pub type UNDServerRef = mach_port_t; | |
pub type mach_eventlink_t = mach_port_t; | |
pub type exception_handler_info_t = ipc_info_port_t; | |
pub type task_array_t = *mut task_t; | |
pub type thread_array_t = *mut thread_t; | |
pub type processor_set_array_t = *mut processor_set_t; | |
pub type processor_set_name_array_t = *mut processor_set_t; | |
pub type processor_array_t = *mut processor_t; | |
pub type thread_act_array_t = *mut thread_act_t; | |
pub type ledger_array_t = *mut ledger_t; | |
pub type task_port_t = task_t; | |
pub type task_port_array_t = task_array_t; | |
pub type thread_port_t = thread_t; | |
pub type thread_port_array_t = thread_array_t; | |
pub type ipc_space_port_t = ipc_space_t; | |
pub type host_name_t = host_t; | |
pub type host_name_port_t = host_t; | |
pub type processor_set_port_t = processor_set_t; | |
pub type processor_set_name_port_t = processor_set_t; | |
pub type processor_set_name_port_array_t = processor_set_array_t; | |
pub type processor_set_control_port_t = processor_set_t; | |
pub type processor_port_t = processor_t; | |
pub type processor_port_array_t = processor_array_t; | |
pub type thread_act_port_t = thread_act_t; | |
pub type thread_act_port_array_t = thread_act_array_t; | |
pub type semaphore_port_t = semaphore_t; | |
pub type lock_set_port_t = lock_set_t; | |
pub type ledger_port_t = ledger_t; | |
pub type ledger_port_array_t = ledger_array_t; | |
pub type alarm_port_t = alarm_t; | |
pub type clock_serv_port_t = clock_serv_t; | |
pub type clock_ctrl_port_t = clock_ctrl_t; | |
pub type exception_port_t = exception_handler_t; | |
pub type exception_port_arrary_t = exception_handler_array_t; | |
pub type vfs_path_t = [::std::os::raw::c_char; 4096usize]; | |
pub type nspace_path_t = [::std::os::raw::c_char; 8192usize]; | |
pub type nspace_name_t = [::std::os::raw::c_char; 8192usize]; | |
pub type mach_task_flavor_t = ::std::os::raw::c_uint; | |
pub type mach_thread_flavor_t = ::std::os::raw::c_uint; | |
pub type ledger_item_t = natural_t; | |
pub type ledger_amount_t = i64; | |
pub type emulation_vector_t = *mut mach_vm_offset_t; | |
pub type user_subsystem_t = *mut ::std::os::raw::c_char; | |
pub type labelstr_t = *mut ::std::os::raw::c_char; | |
pub type bank_action_t = u32; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct proc_persona_info { | |
pub unique_pid: u64, | |
pub pid: i32, | |
pub flags: u32, | |
pub pidversion: u32, | |
pub persona_id: u32, | |
pub uid: u32, | |
pub gid: u32, | |
pub macho_uuid: [u8; 16usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct persona_token { | |
pub originator: proc_persona_info, | |
pub proximate: proc_persona_info, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct persona_modify_info { | |
pub persona_id: u32, | |
pub unique_pid: u64, | |
} | |
pub type bitstr_t = ::std::os::raw::c_uchar; | |
extern "C" { | |
pub fn _NSGetArgv() -> *mut *mut *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn _NSGetArgc() -> *mut ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn _NSGetEnviron() -> *mut *mut *mut ::std::os::raw::c_char; | |
} | |
extern "C" { | |
pub fn _NSGetProgname() -> *mut *mut ::std::os::raw::c_char; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_header_64 { | |
_unused: [u8; 0], | |
} | |
extern "C" { | |
pub fn _NSGetMachExecuteHeader() -> *mut mach_header_64; | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub struct FTS { | |
pub __bindgen_anon_1: FTS__bindgen_ty_1, | |
pub fts_cur: *mut _ftsent, | |
pub fts_child: *mut _ftsent, | |
pub fts_array: *mut *mut _ftsent, | |
pub fts_dev: dev_t, | |
pub fts_path: *mut ::std::os::raw::c_char, | |
pub fts_rfd: ::std::os::raw::c_int, | |
pub fts_pathlen: ::std::os::raw::c_int, | |
pub fts_nitems: ::std::os::raw::c_int, | |
pub __bindgen_padding_0: u32, | |
pub fts_options: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union FTS__bindgen_ty_1 { | |
pub fts_compar: ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>, | |
pub fts_compar_b: *mut ::std::os::raw::c_void, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct _ftsent { | |
pub fts_cycle: *mut _ftsent, | |
pub fts_parent: *mut _ftsent, | |
pub fts_link: *mut _ftsent, | |
pub fts_number: ::std::os::raw::c_long, | |
pub fts_pointer: *mut ::std::os::raw::c_void, | |
pub fts_accpath: *mut ::std::os::raw::c_char, | |
pub fts_path: *mut ::std::os::raw::c_char, | |
pub fts_errno: ::std::os::raw::c_int, | |
pub fts_symfd: ::std::os::raw::c_int, | |
pub fts_pathlen: ::std::os::raw::c_ushort, | |
pub fts_namelen: ::std::os::raw::c_ushort, | |
pub fts_ino: ino_t, | |
pub fts_dev: dev_t, | |
pub fts_nlink: nlink_t, | |
pub fts_level: ::std::os::raw::c_short, | |
pub fts_info: ::std::os::raw::c_ushort, | |
pub fts_flags: ::std::os::raw::c_ushort, | |
pub fts_instr: ::std::os::raw::c_ushort, | |
pub fts_statp: *mut stat, | |
pub fts_name: [::std::os::raw::c_char; 1usize], | |
} | |
pub type FTSENT = _ftsent; | |
extern "C" { | |
pub fn fts_children(arg1: *mut FTS, arg2: ::std::os::raw::c_int) -> *mut FTSENT; | |
} | |
extern "C" { | |
pub fn fts_close(arg1: *mut FTS) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn fts_open( | |
arg1: *const *mut ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
arg3: ::std::option::Option< | |
unsafe extern "C" fn( | |
arg1: *mut *const FTSENT, | |
arg2: *mut *const FTSENT, | |
) -> ::std::os::raw::c_int, | |
>, | |
) -> *mut FTS; | |
} | |
extern "C" { | |
pub fn fts_open_b( | |
arg1: *const *mut ::std::os::raw::c_char, | |
arg2: ::std::os::raw::c_int, | |
arg3: *mut ::std::os::raw::c_void, | |
) -> *mut FTS; | |
} | |
extern "C" { | |
pub fn fts_read(arg1: *mut FTS) -> *mut FTSENT; | |
} | |
extern "C" { | |
pub fn fts_set( | |
arg1: *mut FTS, | |
arg2: *mut FTSENT, | |
arg3: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct option { | |
pub name: *const ::std::os::raw::c_char, | |
pub has_arg: ::std::os::raw::c_int, | |
pub flag: *mut ::std::os::raw::c_int, | |
pub val: ::std::os::raw::c_int, | |
} | |
extern "C" { | |
pub fn getopt_long( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const *mut ::std::os::raw::c_char, | |
arg3: *const ::std::os::raw::c_char, | |
arg4: *const option, | |
arg5: *mut ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn getopt_long_only( | |
arg1: ::std::os::raw::c_int, | |
arg2: *const *mut ::std::os::raw::c_char, | |
arg3: *const ::std::os::raw::c_char, | |
arg4: *const option, | |
arg5: *mut ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
pub type UInt8 = ::std::os::raw::c_uchar; | |
pub type SInt8 = ::std::os::raw::c_schar; | |
pub type UInt16 = ::std::os::raw::c_ushort; | |
pub type SInt16 = ::std::os::raw::c_short; | |
pub type UInt32 = ::std::os::raw::c_uint; | |
pub type SInt32 = ::std::os::raw::c_int; | |
#[repr(C, packed(2))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct wide { | |
pub lo: UInt32, | |
pub hi: SInt32, | |
} | |
#[repr(C, packed(2))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct UnsignedWide { | |
pub lo: UInt32, | |
pub hi: UInt32, | |
} | |
pub type SInt64 = ::std::os::raw::c_longlong; | |
pub type UInt64 = ::std::os::raw::c_ulonglong; | |
pub type Fixed = SInt32; | |
pub type FixedPtr = *mut Fixed; | |
pub type Fract = SInt32; | |
pub type FractPtr = *mut Fract; | |
pub type UnsignedFixed = UInt32; | |
pub type UnsignedFixedPtr = *mut UnsignedFixed; | |
pub type ShortFixed = ::std::os::raw::c_short; | |
pub type ShortFixedPtr = *mut ShortFixed; | |
pub type Float32 = f32; | |
pub type Float64 = f64; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct Float80 { | |
pub exp: SInt16, | |
pub man: [UInt16; 4usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct Float96 { | |
pub exp: [SInt16; 2usize], | |
pub man: [UInt16; 4usize], | |
} | |
#[repr(C, packed(2))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct Float32Point { | |
pub x: Float32, | |
pub y: Float32, | |
} | |
pub type Ptr = *mut ::std::os::raw::c_char; | |
pub type Handle = *mut Ptr; | |
pub type Size = ::std::os::raw::c_long; | |
pub type OSErr = SInt16; | |
pub type OSStatus = SInt32; | |
pub type LogicalAddress = *mut ::std::os::raw::c_void; | |
pub type ConstLogicalAddress = *const ::std::os::raw::c_void; | |
pub type PhysicalAddress = *mut ::std::os::raw::c_void; | |
pub type BytePtr = *mut UInt8; | |
pub type ByteCount = ::std::os::raw::c_ulong; | |
pub type ByteOffset = ::std::os::raw::c_ulong; | |
pub type Duration = SInt32; | |
pub type AbsoluteTime = UnsignedWide; | |
pub type OptionBits = UInt32; | |
pub type ItemCount = ::std::os::raw::c_ulong; | |
pub type PBVersion = UInt32; | |
pub type ScriptCode = SInt16; | |
pub type LangCode = SInt16; | |
pub type RegionCode = SInt16; | |
pub type FourCharCode = UInt32; | |
pub type OSType = FourCharCode; | |
pub type ResType = FourCharCode; | |
pub type OSTypePtr = *mut OSType; | |
pub type ResTypePtr = *mut ResType; | |
pub type Boolean = ::std::os::raw::c_uchar; | |
pub type ProcPtr = ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_long>; | |
pub type Register68kProcPtr = ::std::option::Option<unsafe extern "C" fn()>; | |
pub type UniversalProcPtr = ProcPtr; | |
pub type ProcHandle = *mut ProcPtr; | |
pub type UniversalProcHandle = *mut UniversalProcPtr; | |
pub type PRefCon = *mut ::std::os::raw::c_void; | |
pub type URefCon = *mut ::std::os::raw::c_void; | |
pub type SRefCon = *mut ::std::os::raw::c_void; | |
pub const noErr: _bindgen_ty_3 = 0; | |
pub type _bindgen_ty_3 = ::std::os::raw::c_uint; | |
pub const kNilOptions: _bindgen_ty_4 = 0; | |
pub type _bindgen_ty_4 = ::std::os::raw::c_uint; | |
pub const kVariableLengthArray: _bindgen_ty_5 = 1; | |
pub type _bindgen_ty_5 = ::std::os::raw::c_uint; | |
pub const kUnknownType: _bindgen_ty_6 = 1061109567; | |
pub type _bindgen_ty_6 = ::std::os::raw::c_uint; | |
pub type UnicodeScalarValue = UInt32; | |
pub type UTF32Char = UInt32; | |
pub type UniChar = UInt16; | |
pub type UTF16Char = UInt16; | |
pub type UTF8Char = UInt8; | |
pub type UniCharPtr = *mut UniChar; | |
pub type UniCharCount = ::std::os::raw::c_ulong; | |
pub type UniCharCountPtr = *mut UniCharCount; | |
pub type Str255 = [::std::os::raw::c_uchar; 256usize]; | |
pub type Str63 = [::std::os::raw::c_uchar; 64usize]; | |
pub type Str32 = [::std::os::raw::c_uchar; 33usize]; | |
pub type Str31 = [::std::os::raw::c_uchar; 32usize]; | |
pub type Str27 = [::std::os::raw::c_uchar; 28usize]; | |
pub type Str15 = [::std::os::raw::c_uchar; 16usize]; | |
pub type Str32Field = [::std::os::raw::c_uchar; 34usize]; | |
pub type StrFileName = Str63; | |
pub type StringPtr = *mut ::std::os::raw::c_uchar; | |
pub type StringHandle = *mut StringPtr; | |
pub type ConstStringPtr = *const ::std::os::raw::c_uchar; | |
pub type ConstStr255Param = *const ::std::os::raw::c_uchar; | |
pub type ConstStr63Param = *const ::std::os::raw::c_uchar; | |
pub type ConstStr32Param = *const ::std::os::raw::c_uchar; | |
pub type ConstStr31Param = *const ::std::os::raw::c_uchar; | |
pub type ConstStr27Param = *const ::std::os::raw::c_uchar; | |
pub type ConstStr15Param = *const ::std::os::raw::c_uchar; | |
pub type ConstStrFileNameParam = ConstStr63Param; | |
#[repr(C, packed(2))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct ProcessSerialNumber { | |
pub highLongOfPSN: UInt32, | |
pub lowLongOfPSN: UInt32, | |
} | |
pub type ProcessSerialNumberPtr = *mut ProcessSerialNumber; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct Point { | |
pub v: ::std::os::raw::c_short, | |
pub h: ::std::os::raw::c_short, | |
} | |
pub type PointPtr = *mut Point; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct Rect { | |
pub top: ::std::os::raw::c_short, | |
pub left: ::std::os::raw::c_short, | |
pub bottom: ::std::os::raw::c_short, | |
pub right: ::std::os::raw::c_short, | |
} | |
pub type RectPtr = *mut Rect; | |
#[repr(C, packed(2))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct FixedPoint { | |
pub x: Fixed, | |
pub y: Fixed, | |
} | |
#[repr(C, packed(2))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct FixedRect { | |
pub left: Fixed, | |
pub top: Fixed, | |
pub right: Fixed, | |
pub bottom: Fixed, | |
} | |
pub type CharParameter = ::std::os::raw::c_short; | |
pub const normal: _bindgen_ty_7 = 0; | |
pub const bold: _bindgen_ty_7 = 1; | |
pub const italic: _bindgen_ty_7 = 2; | |
pub const underline: _bindgen_ty_7 = 4; | |
pub const outline: _bindgen_ty_7 = 8; | |
pub const shadow: _bindgen_ty_7 = 16; | |
pub const condense: _bindgen_ty_7 = 32; | |
pub const extend: _bindgen_ty_7 = 64; | |
pub type _bindgen_ty_7 = ::std::os::raw::c_uint; | |
pub type Style = ::std::os::raw::c_uchar; | |
pub type StyleParameter = ::std::os::raw::c_short; | |
pub type StyleField = Style; | |
pub type TimeValue = SInt32; | |
pub type TimeScale = SInt32; | |
pub type CompTimeValue = wide; | |
pub type TimeValue64 = SInt64; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct TimeBaseRecord { | |
_unused: [u8; 0], | |
} | |
pub type TimeBase = *mut TimeBaseRecord; | |
#[repr(C, packed(2))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct TimeRecord { | |
pub value: CompTimeValue, | |
pub scale: TimeScale, | |
pub base: TimeBase, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct NumVersion { | |
pub nonRelRev: UInt8, | |
pub stage: UInt8, | |
pub minorAndBugRev: UInt8, | |
pub majorRev: UInt8, | |
} | |
pub const developStage: _bindgen_ty_8 = 32; | |
pub const alphaStage: _bindgen_ty_8 = 64; | |
pub const betaStage: _bindgen_ty_8 = 96; | |
pub const finalStage: _bindgen_ty_8 = 128; | |
pub type _bindgen_ty_8 = ::std::os::raw::c_uint; | |
#[repr(C, packed(2))] | |
#[derive(Copy, Clone)] | |
pub union NumVersionVariant { | |
pub parts: NumVersion, | |
pub whole: UInt32, | |
} | |
pub type NumVersionVariantPtr = *mut NumVersionVariant; | |
pub type NumVersionVariantHandle = *mut NumVersionVariantPtr; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct VersRec { | |
pub numericVersion: NumVersion, | |
pub countryCode: ::std::os::raw::c_short, | |
pub shortVersion: Str255, | |
pub reserved: Str255, | |
} | |
pub type VersRecPtr = *mut VersRec; | |
pub type VersRecHndl = *mut VersRecPtr; | |
pub type Byte = UInt8; | |
pub type SignedByte = SInt8; | |
pub type WidePtr = *mut wide; | |
pub type UnsignedWidePtr = *mut UnsignedWide; | |
pub type extended80 = Float80; | |
pub type extended96 = Float96; | |
pub type VHSelect = SInt8; | |
extern "C" { | |
pub fn Debugger(); | |
} | |
extern "C" { | |
pub fn DebugStr(debuggerMsg: ConstStr255Param); | |
} | |
extern "C" { | |
pub fn SysBreak(); | |
} | |
extern "C" { | |
pub fn SysBreakStr(debuggerMsg: ConstStr255Param); | |
} | |
extern "C" { | |
pub fn SysBreakFunc(debuggerMsg: ConstStr255Param); | |
} | |
pub const OSUnknownByteOrder: _bindgen_ty_9 = 0; | |
pub const OSLittleEndian: _bindgen_ty_9 = 1; | |
pub const OSBigEndian: _bindgen_ty_9 = 2; | |
pub type _bindgen_ty_9 = ::std::os::raw::c_uint; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct NDR_record_t { | |
pub mig_vers: ::std::os::raw::c_uchar, | |
pub if_vers: ::std::os::raw::c_uchar, | |
pub reserved1: ::std::os::raw::c_uchar, | |
pub mig_encoding: ::std::os::raw::c_uchar, | |
pub int_rep: ::std::os::raw::c_uchar, | |
pub char_rep: ::std::os::raw::c_uchar, | |
pub float_rep: ::std::os::raw::c_uchar, | |
pub reserved2: ::std::os::raw::c_uchar, | |
} | |
extern "C" { | |
pub static mut NDR_record: NDR_record_t; | |
} | |
pub type notify_port_t = mach_port_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_port_deleted_notification_t { | |
pub not_header: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub not_port: mach_port_name_t, | |
pub trailer: mach_msg_format_0_trailer_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_send_possible_notification_t { | |
pub not_header: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub not_port: mach_port_name_t, | |
pub trailer: mach_msg_format_0_trailer_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_port_destroyed_notification_t { | |
pub not_header: mach_msg_header_t, | |
pub not_body: mach_msg_body_t, | |
pub not_port: mach_msg_port_descriptor_t, | |
pub trailer: mach_msg_format_0_trailer_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_no_senders_notification_t { | |
pub not_header: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub not_count: mach_msg_type_number_t, | |
pub trailer: mach_msg_format_0_trailer_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_send_once_notification_t { | |
pub not_header: mach_msg_header_t, | |
pub trailer: mach_msg_format_0_trailer_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_dead_name_notification_t { | |
pub not_header: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub not_port: mach_port_name_t, | |
pub trailer: mach_msg_format_0_trailer_t, | |
} | |
pub type mig_stub_routine_t = ::std::option::Option< | |
unsafe extern "C" fn(InHeadP: *mut mach_msg_header_t, OutHeadP: *mut mach_msg_header_t), | |
>; | |
pub type mig_routine_t = mig_stub_routine_t; | |
pub type mig_server_routine_t = | |
::std::option::Option<unsafe extern "C" fn(InHeadP: *mut mach_msg_header_t) -> mig_routine_t>; | |
pub type mig_impl_routine_t = ::std::option::Option<unsafe extern "C" fn() -> kern_return_t>; | |
pub type routine_arg_descriptor = mach_msg_type_descriptor_t; | |
pub type routine_arg_descriptor_t = *mut mach_msg_type_descriptor_t; | |
pub type mig_routine_arg_descriptor_t = *mut mach_msg_type_descriptor_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct routine_descriptor { | |
pub impl_routine: mig_impl_routine_t, | |
pub stub_routine: mig_stub_routine_t, | |
pub argc: ::std::os::raw::c_uint, | |
pub descr_count: ::std::os::raw::c_uint, | |
pub arg_descr: routine_arg_descriptor_t, | |
pub max_reply_msg: ::std::os::raw::c_uint, | |
} | |
pub type routine_descriptor_t = *mut routine_descriptor; | |
pub type mig_routine_descriptor = routine_descriptor; | |
pub type mig_routine_descriptor_t = *mut mig_routine_descriptor; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mig_subsystem { | |
pub server: mig_server_routine_t, | |
pub start: mach_msg_id_t, | |
pub end: mach_msg_id_t, | |
pub maxsize: mach_msg_size_t, | |
pub reserved: vm_address_t, | |
pub routine: [mig_routine_descriptor; 1usize], | |
} | |
pub type mig_subsystem_t = *mut mig_subsystem; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mig_symtab { | |
pub ms_routine_name: *mut ::std::os::raw::c_char, | |
pub ms_routine_number: ::std::os::raw::c_int, | |
pub ms_routine: ::std::option::Option<unsafe extern "C" fn()>, | |
} | |
pub type mig_symtab_t = mig_symtab; | |
extern "C" { | |
pub fn mig_get_reply_port() -> mach_port_t; | |
} | |
extern "C" { | |
pub fn mig_dealloc_reply_port(reply_port: mach_port_t); | |
} | |
extern "C" { | |
pub fn mig_put_reply_port(reply_port: mach_port_t); | |
} | |
extern "C" { | |
pub fn mig_strncpy( | |
dest: *mut ::std::os::raw::c_char, | |
src: *const ::std::os::raw::c_char, | |
len: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn mig_strncpy_zerofill( | |
dest: *mut ::std::os::raw::c_char, | |
src: *const ::std::os::raw::c_char, | |
len: ::std::os::raw::c_int, | |
) -> ::std::os::raw::c_int; | |
} | |
extern "C" { | |
pub fn mig_allocate(arg1: *mut vm_address_t, arg2: vm_size_t); | |
} | |
extern "C" { | |
pub fn mig_deallocate(arg1: vm_address_t, arg2: vm_size_t); | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mig_reply_error_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
extern "C" { | |
pub fn clock_set_time(clock_ctrl: clock_ctrl_t, new_time: mach_timespec_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn clock_set_attributes( | |
clock_ctrl: clock_ctrl_t, | |
flavor: clock_flavor_t, | |
clock_attr: clock_attr_t, | |
clock_attrCnt: mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__clock_set_time_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub new_time: mach_timespec_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__clock_set_attributes_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub flavor: clock_flavor_t, | |
pub clock_attrCnt: mach_msg_type_number_t, | |
pub clock_attr: [::std::os::raw::c_int; 1usize], | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union __RequestUnion__clock_priv_subsystem { | |
pub Request_clock_set_time: __Request__clock_set_time_t, | |
pub Request_clock_set_attributes: __Request__clock_set_attributes_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__clock_set_time_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__clock_set_attributes_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union __ReplyUnion__clock_priv_subsystem { | |
pub Reply_clock_set_time: __Reply__clock_set_time_t, | |
pub Reply_clock_set_attributes: __Reply__clock_set_attributes_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_vm_info_region { | |
pub vir_start: mach_vm_offset_t, | |
pub vir_end: mach_vm_offset_t, | |
pub vir_object: mach_vm_offset_t, | |
pub vir_offset: memory_object_offset_t, | |
pub vir_needs_copy: boolean_t, | |
pub vir_protection: vm_prot_t, | |
pub vir_max_protection: vm_prot_t, | |
pub vir_inheritance: vm_inherit_t, | |
pub vir_wired_count: natural_t, | |
pub vir_user_wired_count: natural_t, | |
} | |
pub type mach_vm_info_region_t = mach_vm_info_region; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct vm_info_region_64 { | |
pub vir_start: natural_t, | |
pub vir_end: natural_t, | |
pub vir_object: natural_t, | |
pub vir_offset: memory_object_offset_t, | |
pub vir_needs_copy: boolean_t, | |
pub vir_protection: vm_prot_t, | |
pub vir_max_protection: vm_prot_t, | |
pub vir_inheritance: vm_inherit_t, | |
pub vir_wired_count: natural_t, | |
pub vir_user_wired_count: natural_t, | |
} | |
pub type vm_info_region_64_t = vm_info_region_64; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct vm_info_region { | |
pub vir_start: natural_t, | |
pub vir_end: natural_t, | |
pub vir_object: natural_t, | |
pub vir_offset: natural_t, | |
pub vir_needs_copy: boolean_t, | |
pub vir_protection: vm_prot_t, | |
pub vir_max_protection: vm_prot_t, | |
pub vir_inheritance: vm_inherit_t, | |
pub vir_wired_count: natural_t, | |
pub vir_user_wired_count: natural_t, | |
} | |
pub type vm_info_region_t = vm_info_region; | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct vm_info_object { | |
pub vio_object: natural_t, | |
pub vio_size: natural_t, | |
pub vio_ref_count: ::std::os::raw::c_uint, | |
pub vio_resident_page_count: ::std::os::raw::c_uint, | |
pub vio_absent_count: ::std::os::raw::c_uint, | |
pub vio_copy: natural_t, | |
pub vio_shadow: natural_t, | |
pub vio_shadow_offset: natural_t, | |
pub vio_paging_offset: natural_t, | |
pub vio_copy_strategy: memory_object_copy_strategy_t, | |
pub vio_last_alloc: vm_offset_t, | |
pub vio_paging_in_progress: ::std::os::raw::c_uint, | |
pub vio_pager_created: boolean_t, | |
pub vio_pager_initialized: boolean_t, | |
pub vio_pager_ready: boolean_t, | |
pub vio_can_persist: boolean_t, | |
pub vio_internal: boolean_t, | |
pub vio_temporary: boolean_t, | |
pub vio_alive: boolean_t, | |
pub vio_purgable: boolean_t, | |
pub vio_purgable_volatile: boolean_t, | |
} | |
pub type vm_info_object_t = vm_info_object; | |
pub type vm_info_object_array_t = *mut vm_info_object_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct zone_name { | |
pub zn_name: [::std::os::raw::c_char; 80usize], | |
} | |
pub type zone_name_t = zone_name; | |
pub type zone_name_array_t = *mut zone_name_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct zone_info { | |
pub zi_count: integer_t, | |
pub zi_cur_size: vm_size_t, | |
pub zi_max_size: vm_size_t, | |
pub zi_elem_size: vm_size_t, | |
pub zi_alloc_size: vm_size_t, | |
pub zi_pageable: integer_t, | |
pub zi_sleepable: integer_t, | |
pub zi_exhaustible: integer_t, | |
pub zi_collectable: integer_t, | |
} | |
pub type zone_info_t = zone_info; | |
pub type zone_info_array_t = *mut zone_info_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_zone_name { | |
pub mzn_name: [::std::os::raw::c_char; 80usize], | |
} | |
pub type mach_zone_name_t = mach_zone_name; | |
pub type mach_zone_name_array_t = *mut mach_zone_name_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_zone_info_data { | |
pub mzi_count: u64, | |
pub mzi_cur_size: u64, | |
pub mzi_max_size: u64, | |
pub mzi_elem_size: u64, | |
pub mzi_alloc_size: u64, | |
pub mzi_sum_size: u64, | |
pub mzi_exhaustible: u64, | |
pub mzi_collectable: u64, | |
} | |
pub type mach_zone_info_t = mach_zone_info_data; | |
pub type mach_zone_info_array_t = *mut mach_zone_info_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct task_zone_info_data { | |
pub tzi_count: u64, | |
pub tzi_cur_size: u64, | |
pub tzi_max_size: u64, | |
pub tzi_elem_size: u64, | |
pub tzi_alloc_size: u64, | |
pub tzi_sum_size: u64, | |
pub tzi_exhaustible: u64, | |
pub tzi_collectable: u64, | |
pub tzi_caller_acct: u64, | |
pub tzi_task_alloc: u64, | |
pub tzi_task_free: u64, | |
} | |
pub type task_zone_info_t = task_zone_info_data; | |
pub type task_zone_info_array_t = *mut task_zone_info_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_memory_info { | |
pub flags: u64, | |
pub site: u64, | |
pub size: u64, | |
pub free: u64, | |
pub largest: u64, | |
pub collectable_bytes: u64, | |
pub mapped: u64, | |
pub peak: u64, | |
pub tag: u16, | |
pub zone: u16, | |
pub _resvA: [u16; 2usize], | |
pub _resv: [u64; 3usize], | |
pub name: [::std::os::raw::c_char; 80usize], | |
} | |
pub type mach_memory_info_t = mach_memory_info; | |
pub type mach_memory_info_array_t = *mut mach_memory_info_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct zone_btrecord { | |
pub ref_count: u32, | |
pub operation_type: u32, | |
pub bt: [u64; 15usize], | |
} | |
pub type zone_btrecord_t = zone_btrecord; | |
pub type zone_btrecord_array_t = *mut zone_btrecord_t; | |
pub type page_address_array_t = *mut vm_offset_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct hash_info_bucket { | |
pub hib_count: natural_t, | |
} | |
pub type hash_info_bucket_t = hash_info_bucket; | |
pub type hash_info_bucket_array_t = *mut hash_info_bucket_t; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct lockgroup_info { | |
pub lockgroup_name: [::std::os::raw::c_char; 64usize], | |
pub lockgroup_attr: u64, | |
pub lock_spin_cnt: u64, | |
pub lock_spin_util_cnt: u64, | |
pub lock_spin_held_cnt: u64, | |
pub lock_spin_miss_cnt: u64, | |
pub lock_spin_held_max: u64, | |
pub lock_spin_held_cum: u64, | |
pub lock_mtx_cnt: u64, | |
pub lock_mtx_util_cnt: u64, | |
pub lock_mtx_held_cnt: u64, | |
pub lock_mtx_miss_cnt: u64, | |
pub lock_mtx_wait_cnt: u64, | |
pub lock_mtx_held_max: u64, | |
pub lock_mtx_held_cum: u64, | |
pub lock_mtx_wait_max: u64, | |
pub lock_mtx_wait_cum: u64, | |
pub lock_rw_cnt: u64, | |
pub lock_rw_util_cnt: u64, | |
pub lock_rw_held_cnt: u64, | |
pub lock_rw_miss_cnt: u64, | |
pub lock_rw_wait_cnt: u64, | |
pub lock_rw_held_max: u64, | |
pub lock_rw_held_cum: u64, | |
pub lock_rw_wait_max: u64, | |
pub lock_rw_wait_cum: u64, | |
} | |
pub type lockgroup_info_t = lockgroup_info; | |
pub type lockgroup_info_array_t = *mut lockgroup_info_t; | |
pub type symtab_name_t = [::std::os::raw::c_char; 32usize]; | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_core_details { | |
pub gzip_offset: u64, | |
pub gzip_length: u64, | |
pub core_name: [::std::os::raw::c_char; 16usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_core_fileheader { | |
pub signature: u64, | |
pub log_offset: u64, | |
pub log_length: u64, | |
pub num_files: u64, | |
pub files: [mach_core_details; 16usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_core_details_v2 { | |
pub flags: u64, | |
pub offset: u64, | |
pub length: u64, | |
pub core_name: [::std::os::raw::c_char; 16usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct mach_core_fileheader_base { | |
pub signature: u64, | |
pub version: u32, | |
} | |
#[repr(C)] | |
#[derive(Debug)] | |
pub struct mach_core_fileheader_v2 { | |
pub signature: u64, | |
pub version: u32, | |
pub flags: u64, | |
pub pub_key_offset: u64, | |
pub pub_key_length: u16, | |
pub log_offset: u64, | |
pub log_length: u64, | |
pub num_files: u64, | |
pub files: __IncompleteArrayField<mach_core_details_v2>, | |
} | |
pub type kobject_description_t = [::std::os::raw::c_char; 512usize]; | |
extern "C" { | |
pub fn host_get_boot_info( | |
host_priv: host_priv_t, | |
boot_info: *mut ::std::os::raw::c_char, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn host_reboot(host_priv: host_priv_t, options: ::std::os::raw::c_int) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn host_priv_statistics( | |
host_priv: host_priv_t, | |
flavor: host_flavor_t, | |
host_info_out: host_info_t, | |
host_info_outCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn host_default_memory_manager( | |
host_priv: host_priv_t, | |
default_manager: *mut memory_object_default_t, | |
cluster_size: memory_object_cluster_size_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn vm_wire( | |
host_priv: host_priv_t, | |
task: vm_map_t, | |
address: vm_address_t, | |
size: vm_size_t, | |
desired_access: vm_prot_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_wire( | |
host_priv: host_priv_t, | |
thread: thread_act_t, | |
wired: boolean_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn vm_allocate_cpm( | |
host_priv: host_priv_t, | |
task: vm_map_t, | |
address: *mut vm_address_t, | |
size: vm_size_t, | |
flags: ::std::os::raw::c_int, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn host_processors( | |
host_priv: host_priv_t, | |
out_processor_list: *mut processor_array_t, | |
out_processor_listCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn host_get_clock_control( | |
host_priv: host_priv_t, | |
clock_id: clock_id_t, | |
clock_ctrl: *mut clock_ctrl_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn kmod_create( | |
host_priv: host_priv_t, | |
info: vm_address_t, | |
module: *mut kmod_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn kmod_destroy(host_priv: host_priv_t, module: kmod_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn kmod_control( | |
host_priv: host_priv_t, | |
module: kmod_t, | |
flavor: kmod_control_flavor_t, | |
data: *mut kmod_args_t, | |
dataCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn host_get_special_port( | |
host_priv: host_priv_t, | |
node: ::std::os::raw::c_int, | |
which: ::std::os::raw::c_int, | |
port: *mut mach_port_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn host_set_special_port( | |
host_priv: host_priv_t, | |
which: ::std::os::raw::c_int, | |
port: mach_port_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn host_set_exception_ports( | |
host_priv: host_priv_t, | |
exception_mask: exception_mask_t, | |
new_port: mach_port_t, | |
behavior: exception_behavior_t, | |
new_flavor: thread_state_flavor_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn host_get_exception_ports( | |
host_priv: host_priv_t, | |
exception_mask: exception_mask_t, | |
masks: exception_mask_array_t, | |
masksCnt: *mut mach_msg_type_number_t, | |
old_handlers: exception_handler_array_t, | |
old_behaviors: exception_behavior_array_t, | |
old_flavors: exception_flavor_array_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn host_swap_exception_ports( | |
host_priv: host_priv_t, | |
exception_mask: exception_mask_t, | |
new_port: mach_port_t, | |
behavior: exception_behavior_t, | |
new_flavor: thread_state_flavor_t, | |
masks: exception_mask_array_t, | |
masksCnt: *mut mach_msg_type_number_t, | |
old_handlerss: exception_handler_array_t, | |
old_behaviors: exception_behavior_array_t, | |
old_flavors: exception_flavor_array_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn mach_vm_wire( | |
host_priv: host_priv_t, | |
task: vm_map_t, | |
address: mach_vm_address_t, | |
size: mach_vm_size_t, | |
desired_access: vm_prot_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn host_processor_sets( | |
host_priv: host_priv_t, | |
processor_sets: *mut processor_set_name_array_t, | |
processor_setsCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn host_processor_set_priv( | |
host_priv: host_priv_t, | |
set_name: processor_set_name_t, | |
set: *mut processor_set_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn host_set_UNDServer(host: host_priv_t, server: UNDServerRef) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn host_get_UNDServer(host: host_priv_t, server: *mut UNDServerRef) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn kext_request( | |
host_priv: host_priv_t, | |
user_log_flags: u32, | |
request_data: vm_offset_t, | |
request_dataCnt: mach_msg_type_number_t, | |
response_data: *mut vm_offset_t, | |
response_dataCnt: *mut mach_msg_type_number_t, | |
log_data: *mut vm_offset_t, | |
log_dataCnt: *mut mach_msg_type_number_t, | |
op_result: *mut kern_return_t, | |
) -> kern_return_t; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__host_get_boot_info_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__host_reboot_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub options: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__host_priv_statistics_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub flavor: host_flavor_t, | |
pub host_info_outCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__host_default_memory_manager_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub default_manager: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub cluster_size: memory_object_cluster_size_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__vm_wire_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub task: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub address: vm_address_t, | |
pub size: vm_size_t, | |
pub desired_access: vm_prot_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_wire_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub thread: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub wired: boolean_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__vm_allocate_cpm_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub task: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub address: vm_address_t, | |
pub size: vm_size_t, | |
pub flags: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__host_processors_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__host_get_clock_control_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub clock_id: clock_id_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__kmod_create_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub info: vm_address_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__kmod_destroy_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub module: kmod_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__kmod_control_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub data: mach_msg_ool_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub module: kmod_t, | |
pub flavor: kmod_control_flavor_t, | |
pub dataCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__host_get_special_port_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub node: ::std::os::raw::c_int, | |
pub which: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__host_set_special_port_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub port: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub which: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__host_set_exception_ports_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub new_port: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub exception_mask: exception_mask_t, | |
pub behavior: exception_behavior_t, | |
pub new_flavor: thread_state_flavor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__host_get_exception_ports_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub exception_mask: exception_mask_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__host_swap_exception_ports_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub new_port: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub exception_mask: exception_mask_t, | |
pub behavior: exception_behavior_t, | |
pub new_flavor: thread_state_flavor_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__mach_vm_wire_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub task: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub address: mach_vm_address_t, | |
pub size: mach_vm_size_t, | |
pub desired_access: vm_prot_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__host_processor_sets_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__host_processor_set_priv_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub set_name: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__host_set_UNDServer_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub server: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__host_get_UNDServer_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__kext_request_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub request_data: mach_msg_ool_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub user_log_flags: u32, | |
pub request_dataCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union __RequestUnion__host_priv_subsystem { | |
pub Request_host_get_boot_info: __Request__host_get_boot_info_t, | |
pub Request_host_reboot: __Request__host_reboot_t, | |
pub Request_host_priv_statistics: __Request__host_priv_statistics_t, | |
pub Request_host_default_memory_manager: __Request__host_default_memory_manager_t, | |
pub Request_vm_wire: __Request__vm_wire_t, | |
pub Request_thread_wire: __Request__thread_wire_t, | |
pub Request_vm_allocate_cpm: __Request__vm_allocate_cpm_t, | |
pub Request_host_processors: __Request__host_processors_t, | |
pub Request_host_get_clock_control: __Request__host_get_clock_control_t, | |
pub Request_kmod_create: __Request__kmod_create_t, | |
pub Request_kmod_destroy: __Request__kmod_destroy_t, | |
pub Request_kmod_control: __Request__kmod_control_t, | |
pub Request_host_get_special_port: __Request__host_get_special_port_t, | |
pub Request_host_set_special_port: __Request__host_set_special_port_t, | |
pub Request_host_set_exception_ports: __Request__host_set_exception_ports_t, | |
pub Request_host_get_exception_ports: __Request__host_get_exception_ports_t, | |
pub Request_host_swap_exception_ports: __Request__host_swap_exception_ports_t, | |
pub Request_mach_vm_wire: __Request__mach_vm_wire_t, | |
pub Request_host_processor_sets: __Request__host_processor_sets_t, | |
pub Request_host_processor_set_priv: __Request__host_processor_set_priv_t, | |
pub Request_host_set_UNDServer: __Request__host_set_UNDServer_t, | |
pub Request_host_get_UNDServer: __Request__host_get_UNDServer_t, | |
pub Request_kext_request: __Request__kext_request_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__host_get_boot_info_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
pub boot_infoOffset: mach_msg_type_number_t, | |
pub boot_infoCnt: mach_msg_type_number_t, | |
pub boot_info: [::std::os::raw::c_char; 4096usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__host_reboot_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__host_priv_statistics_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
pub host_info_outCnt: mach_msg_type_number_t, | |
pub host_info_out: [integer_t; 68usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__host_default_memory_manager_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub default_manager: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__vm_wire_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_wire_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__vm_allocate_cpm_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
pub address: vm_address_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__host_processors_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub out_processor_list: mach_msg_ool_ports_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub out_processor_listCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__host_get_clock_control_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub clock_ctrl: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__kmod_create_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
pub module: kmod_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__kmod_destroy_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__kmod_control_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub data: mach_msg_ool_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub dataCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__host_get_special_port_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub port: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__host_set_special_port_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__host_set_exception_ports_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__host_get_exception_ports_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub old_handlers: [mach_msg_port_descriptor_t; 32usize], | |
pub NDR: NDR_record_t, | |
pub masksCnt: mach_msg_type_number_t, | |
pub masks: [exception_mask_t; 32usize], | |
pub old_behaviors: [exception_behavior_t; 32usize], | |
pub old_flavors: [thread_state_flavor_t; 32usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__host_swap_exception_ports_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub old_handlerss: [mach_msg_port_descriptor_t; 32usize], | |
pub NDR: NDR_record_t, | |
pub masksCnt: mach_msg_type_number_t, | |
pub masks: [exception_mask_t; 32usize], | |
pub old_behaviors: [exception_behavior_t; 32usize], | |
pub old_flavors: [thread_state_flavor_t; 32usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__mach_vm_wire_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__host_processor_sets_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub processor_sets: mach_msg_ool_ports_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub processor_setsCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__host_processor_set_priv_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub set: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__host_set_UNDServer_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__host_get_UNDServer_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub server: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__kext_request_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub response_data: mach_msg_ool_descriptor_t, | |
pub log_data: mach_msg_ool_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub response_dataCnt: mach_msg_type_number_t, | |
pub log_dataCnt: mach_msg_type_number_t, | |
pub op_result: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union __ReplyUnion__host_priv_subsystem { | |
pub Reply_host_get_boot_info: __Reply__host_get_boot_info_t, | |
pub Reply_host_reboot: __Reply__host_reboot_t, | |
pub Reply_host_priv_statistics: __Reply__host_priv_statistics_t, | |
pub Reply_host_default_memory_manager: __Reply__host_default_memory_manager_t, | |
pub Reply_vm_wire: __Reply__vm_wire_t, | |
pub Reply_thread_wire: __Reply__thread_wire_t, | |
pub Reply_vm_allocate_cpm: __Reply__vm_allocate_cpm_t, | |
pub Reply_host_processors: __Reply__host_processors_t, | |
pub Reply_host_get_clock_control: __Reply__host_get_clock_control_t, | |
pub Reply_kmod_create: __Reply__kmod_create_t, | |
pub Reply_kmod_destroy: __Reply__kmod_destroy_t, | |
pub Reply_kmod_control: __Reply__kmod_control_t, | |
pub Reply_host_get_special_port: __Reply__host_get_special_port_t, | |
pub Reply_host_set_special_port: __Reply__host_set_special_port_t, | |
pub Reply_host_set_exception_ports: __Reply__host_set_exception_ports_t, | |
pub Reply_host_get_exception_ports: __Reply__host_get_exception_ports_t, | |
pub Reply_host_swap_exception_ports: __Reply__host_swap_exception_ports_t, | |
pub Reply_mach_vm_wire: __Reply__mach_vm_wire_t, | |
pub Reply_host_processor_sets: __Reply__host_processor_sets_t, | |
pub Reply_host_processor_set_priv: __Reply__host_processor_set_priv_t, | |
pub Reply_host_set_UNDServer: __Reply__host_set_UNDServer_t, | |
pub Reply_host_get_UNDServer: __Reply__host_get_UNDServer_t, | |
pub Reply_kext_request: __Reply__kext_request_t, | |
} | |
extern "C" { | |
pub fn host_security_create_task_token( | |
host_security: host_security_t, | |
parent_task: task_t, | |
sec_token: security_token_t, | |
audit_token: audit_token_t, | |
host: host_t, | |
ledgers: ledger_array_t, | |
ledgersCnt: mach_msg_type_number_t, | |
inherit_memory: boolean_t, | |
child_task: *mut task_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn host_security_set_task_token( | |
host_security: host_security_t, | |
target_task: task_t, | |
sec_token: security_token_t, | |
audit_token: audit_token_t, | |
host: host_t, | |
) -> kern_return_t; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__host_security_create_task_token_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub parent_task: mach_msg_port_descriptor_t, | |
pub host: mach_msg_port_descriptor_t, | |
pub ledgers: mach_msg_ool_ports_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub sec_token: security_token_t, | |
pub audit_token: audit_token_t, | |
pub ledgersCnt: mach_msg_type_number_t, | |
pub inherit_memory: boolean_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__host_security_set_task_token_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub target_task: mach_msg_port_descriptor_t, | |
pub host: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub sec_token: security_token_t, | |
pub audit_token: audit_token_t, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union __RequestUnion__host_security_subsystem { | |
pub Request_host_security_create_task_token: __Request__host_security_create_task_token_t, | |
pub Request_host_security_set_task_token: __Request__host_security_set_task_token_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__host_security_create_task_token_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub child_task: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__host_security_set_task_token_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union __ReplyUnion__host_security_subsystem { | |
pub Reply_host_security_create_task_token: __Reply__host_security_create_task_token_t, | |
pub Reply_host_security_set_task_token: __Reply__host_security_set_task_token_t, | |
} | |
extern "C" { | |
pub fn processor_start(processor: processor_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn processor_exit(processor: processor_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn processor_info( | |
processor: processor_t, | |
flavor: processor_flavor_t, | |
host: *mut host_t, | |
processor_info_out: processor_info_t, | |
processor_info_outCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn processor_control( | |
processor: processor_t, | |
processor_cmd: processor_info_t, | |
processor_cmdCnt: mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn processor_assign( | |
processor: processor_t, | |
new_set: processor_set_t, | |
wait: boolean_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn processor_get_assignment( | |
processor: processor_t, | |
assigned_set: *mut processor_set_name_t, | |
) -> kern_return_t; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__processor_start_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__processor_exit_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__processor_info_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub flavor: processor_flavor_t, | |
pub processor_info_outCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__processor_control_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub processor_cmdCnt: mach_msg_type_number_t, | |
pub processor_cmd: [integer_t; 20usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__processor_assign_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub new_set: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub wait: boolean_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__processor_get_assignment_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union __RequestUnion__processor_subsystem { | |
pub Request_processor_start: __Request__processor_start_t, | |
pub Request_processor_exit: __Request__processor_exit_t, | |
pub Request_processor_info: __Request__processor_info_t, | |
pub Request_processor_control: __Request__processor_control_t, | |
pub Request_processor_assign: __Request__processor_assign_t, | |
pub Request_processor_get_assignment: __Request__processor_get_assignment_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__processor_start_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__processor_exit_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__processor_info_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub host: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub processor_info_outCnt: mach_msg_type_number_t, | |
pub processor_info_out: [integer_t; 20usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__processor_control_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__processor_assign_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__processor_get_assignment_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub assigned_set: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union __ReplyUnion__processor_subsystem { | |
pub Reply_processor_start: __Reply__processor_start_t, | |
pub Reply_processor_exit: __Reply__processor_exit_t, | |
pub Reply_processor_info: __Reply__processor_info_t, | |
pub Reply_processor_control: __Reply__processor_control_t, | |
pub Reply_processor_assign: __Reply__processor_assign_t, | |
pub Reply_processor_get_assignment: __Reply__processor_get_assignment_t, | |
} | |
extern "C" { | |
pub fn processor_set_statistics( | |
pset: processor_set_name_t, | |
flavor: processor_set_flavor_t, | |
info_out: processor_set_info_t, | |
info_outCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn processor_set_destroy(set: processor_set_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn processor_set_max_priority( | |
processor_set: processor_set_t, | |
max_priority: ::std::os::raw::c_int, | |
change_threads: boolean_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn processor_set_policy_enable( | |
processor_set: processor_set_t, | |
policy: ::std::os::raw::c_int, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn processor_set_policy_disable( | |
processor_set: processor_set_t, | |
policy: ::std::os::raw::c_int, | |
change_threads: boolean_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn processor_set_tasks( | |
processor_set: processor_set_t, | |
task_list: *mut task_array_t, | |
task_listCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn processor_set_threads( | |
processor_set: processor_set_t, | |
thread_list: *mut thread_act_array_t, | |
thread_listCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn processor_set_policy_control( | |
pset: processor_set_t, | |
flavor: processor_set_flavor_t, | |
policy_info: processor_set_info_t, | |
policy_infoCnt: mach_msg_type_number_t, | |
change: boolean_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn processor_set_stack_usage( | |
pset: processor_set_t, | |
ltotal: *mut ::std::os::raw::c_uint, | |
space: *mut vm_size_t, | |
resident: *mut vm_size_t, | |
maxusage: *mut vm_size_t, | |
maxstack: *mut vm_offset_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn processor_set_info( | |
set_name: processor_set_name_t, | |
flavor: ::std::os::raw::c_int, | |
host: *mut host_t, | |
info_out: processor_set_info_t, | |
info_outCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn processor_set_tasks_with_flavor( | |
processor_set: processor_set_t, | |
flavor: mach_task_flavor_t, | |
task_list: *mut task_array_t, | |
task_listCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__processor_set_statistics_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub flavor: processor_set_flavor_t, | |
pub info_outCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__processor_set_destroy_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__processor_set_max_priority_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub max_priority: ::std::os::raw::c_int, | |
pub change_threads: boolean_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__processor_set_policy_enable_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub policy: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__processor_set_policy_disable_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub policy: ::std::os::raw::c_int, | |
pub change_threads: boolean_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__processor_set_tasks_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__processor_set_threads_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__processor_set_policy_control_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub flavor: processor_set_flavor_t, | |
pub policy_infoCnt: mach_msg_type_number_t, | |
pub policy_info: [integer_t; 5usize], | |
pub change: boolean_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__processor_set_stack_usage_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__processor_set_info_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub flavor: ::std::os::raw::c_int, | |
pub info_outCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__processor_set_tasks_with_flavor_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub flavor: mach_task_flavor_t, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union __RequestUnion__processor_set_subsystem { | |
pub Request_processor_set_statistics: __Request__processor_set_statistics_t, | |
pub Request_processor_set_destroy: __Request__processor_set_destroy_t, | |
pub Request_processor_set_max_priority: __Request__processor_set_max_priority_t, | |
pub Request_processor_set_policy_enable: __Request__processor_set_policy_enable_t, | |
pub Request_processor_set_policy_disable: __Request__processor_set_policy_disable_t, | |
pub Request_processor_set_tasks: __Request__processor_set_tasks_t, | |
pub Request_processor_set_threads: __Request__processor_set_threads_t, | |
pub Request_processor_set_policy_control: __Request__processor_set_policy_control_t, | |
pub Request_processor_set_stack_usage: __Request__processor_set_stack_usage_t, | |
pub Request_processor_set_info: __Request__processor_set_info_t, | |
pub Request_processor_set_tasks_with_flavor: __Request__processor_set_tasks_with_flavor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__processor_set_statistics_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
pub info_outCnt: mach_msg_type_number_t, | |
pub info_out: [integer_t; 5usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__processor_set_destroy_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__processor_set_max_priority_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__processor_set_policy_enable_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__processor_set_policy_disable_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__processor_set_tasks_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub task_list: mach_msg_ool_ports_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub task_listCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__processor_set_threads_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub thread_list: mach_msg_ool_ports_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub thread_listCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__processor_set_policy_control_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__processor_set_stack_usage_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
pub ltotal: ::std::os::raw::c_uint, | |
pub space: vm_size_t, | |
pub resident: vm_size_t, | |
pub maxusage: vm_size_t, | |
pub maxstack: vm_offset_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__processor_set_info_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub host: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub info_outCnt: mach_msg_type_number_t, | |
pub info_out: [integer_t; 5usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__processor_set_tasks_with_flavor_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub task_list: mach_msg_ool_ports_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub task_listCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union __ReplyUnion__processor_set_subsystem { | |
pub Reply_processor_set_statistics: __Reply__processor_set_statistics_t, | |
pub Reply_processor_set_destroy: __Reply__processor_set_destroy_t, | |
pub Reply_processor_set_max_priority: __Reply__processor_set_max_priority_t, | |
pub Reply_processor_set_policy_enable: __Reply__processor_set_policy_enable_t, | |
pub Reply_processor_set_policy_disable: __Reply__processor_set_policy_disable_t, | |
pub Reply_processor_set_tasks: __Reply__processor_set_tasks_t, | |
pub Reply_processor_set_threads: __Reply__processor_set_threads_t, | |
pub Reply_processor_set_policy_control: __Reply__processor_set_policy_control_t, | |
pub Reply_processor_set_stack_usage: __Reply__processor_set_stack_usage_t, | |
pub Reply_processor_set_info: __Reply__processor_set_info_t, | |
pub Reply_processor_set_tasks_with_flavor: __Reply__processor_set_tasks_with_flavor_t, | |
} | |
pub type sync_policy_t = ::std::os::raw::c_int; | |
extern "C" { | |
pub fn semaphore_signal(semaphore: semaphore_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn semaphore_signal_all(semaphore: semaphore_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn semaphore_wait(semaphore: semaphore_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn semaphore_timedwait(semaphore: semaphore_t, wait_time: mach_timespec_t) | |
-> kern_return_t; | |
} | |
extern "C" { | |
pub fn semaphore_timedwait_signal( | |
wait_semaphore: semaphore_t, | |
signal_semaphore: semaphore_t, | |
wait_time: mach_timespec_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn semaphore_wait_signal( | |
wait_semaphore: semaphore_t, | |
signal_semaphore: semaphore_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn semaphore_signal_thread(semaphore: semaphore_t, thread: thread_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_create( | |
target_task: task_t, | |
ledgers: ledger_array_t, | |
ledgersCnt: mach_msg_type_number_t, | |
inherit_memory: boolean_t, | |
child_task: *mut task_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_terminate(target_task: task_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_threads( | |
target_task: task_inspect_t, | |
act_list: *mut thread_act_array_t, | |
act_listCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn mach_ports_register( | |
target_task: task_t, | |
init_port_set: mach_port_array_t, | |
init_port_setCnt: mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn mach_ports_lookup( | |
target_task: task_t, | |
init_port_set: *mut mach_port_array_t, | |
init_port_setCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_info( | |
target_task: task_name_t, | |
flavor: task_flavor_t, | |
task_info_out: task_info_t, | |
task_info_outCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_set_info( | |
target_task: task_t, | |
flavor: task_flavor_t, | |
task_info_in: task_info_t, | |
task_info_inCnt: mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_suspend(target_task: task_read_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_resume(target_task: task_read_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_get_special_port( | |
task: task_inspect_t, | |
which_port: ::std::os::raw::c_int, | |
special_port: *mut mach_port_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_set_special_port( | |
task: task_t, | |
which_port: ::std::os::raw::c_int, | |
special_port: mach_port_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_create(parent_task: task_t, child_act: *mut thread_act_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_create_running( | |
parent_task: task_t, | |
flavor: thread_state_flavor_t, | |
new_state: thread_state_t, | |
new_stateCnt: mach_msg_type_number_t, | |
child_act: *mut thread_act_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_set_exception_ports( | |
task: task_t, | |
exception_mask: exception_mask_t, | |
new_port: mach_port_t, | |
behavior: exception_behavior_t, | |
new_flavor: thread_state_flavor_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_get_exception_ports( | |
task: task_t, | |
exception_mask: exception_mask_t, | |
masks: exception_mask_array_t, | |
masksCnt: *mut mach_msg_type_number_t, | |
old_handlers: exception_handler_array_t, | |
old_behaviors: exception_behavior_array_t, | |
old_flavors: exception_flavor_array_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_swap_exception_ports( | |
task: task_t, | |
exception_mask: exception_mask_t, | |
new_port: mach_port_t, | |
behavior: exception_behavior_t, | |
new_flavor: thread_state_flavor_t, | |
masks: exception_mask_array_t, | |
masksCnt: *mut mach_msg_type_number_t, | |
old_handlers: exception_handler_array_t, | |
old_behaviors: exception_behavior_array_t, | |
old_flavors: exception_flavor_array_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn lock_set_create( | |
task: task_t, | |
new_lock_set: *mut lock_set_t, | |
n_ulocks: ::std::os::raw::c_int, | |
policy: ::std::os::raw::c_int, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn lock_set_destroy(task: task_t, lock_set: lock_set_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn semaphore_create( | |
task: task_t, | |
semaphore: *mut semaphore_t, | |
policy: ::std::os::raw::c_int, | |
value: ::std::os::raw::c_int, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn semaphore_destroy(task: task_t, semaphore: semaphore_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_policy_set( | |
task: task_policy_set_t, | |
flavor: task_policy_flavor_t, | |
policy_info: task_policy_t, | |
policy_infoCnt: mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_policy_get( | |
task: task_policy_get_t, | |
flavor: task_policy_flavor_t, | |
policy_info: task_policy_t, | |
policy_infoCnt: *mut mach_msg_type_number_t, | |
get_default: *mut boolean_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_sample(task: task_t, reply: mach_port_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_policy( | |
task: task_t, | |
policy: policy_t, | |
base: policy_base_t, | |
baseCnt: mach_msg_type_number_t, | |
set_limit: boolean_t, | |
change: boolean_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_set_emulation( | |
target_port: task_t, | |
routine_entry_pt: vm_address_t, | |
routine_number: ::std::os::raw::c_int, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_get_emulation_vector( | |
task: task_t, | |
vector_start: *mut ::std::os::raw::c_int, | |
emulation_vector: *mut emulation_vector_t, | |
emulation_vectorCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_set_emulation_vector( | |
task: task_t, | |
vector_start: ::std::os::raw::c_int, | |
emulation_vector: emulation_vector_t, | |
emulation_vectorCnt: mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_set_ras_pc( | |
target_task: task_t, | |
basepc: vm_address_t, | |
boundspc: vm_address_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_zone_info( | |
target_task: task_inspect_t, | |
names: *mut mach_zone_name_array_t, | |
namesCnt: *mut mach_msg_type_number_t, | |
info: *mut task_zone_info_array_t, | |
infoCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_assign( | |
task: task_t, | |
new_set: processor_set_t, | |
assign_threads: boolean_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_assign_default(task: task_t, assign_threads: boolean_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_get_assignment( | |
task: task_inspect_t, | |
assigned_set: *mut processor_set_name_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_set_policy( | |
task: task_t, | |
pset: processor_set_t, | |
policy: policy_t, | |
base: policy_base_t, | |
baseCnt: mach_msg_type_number_t, | |
limit: policy_limit_t, | |
limitCnt: mach_msg_type_number_t, | |
change: boolean_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_get_state( | |
task: task_read_t, | |
flavor: thread_state_flavor_t, | |
old_state: thread_state_t, | |
old_stateCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_set_state( | |
task: task_t, | |
flavor: thread_state_flavor_t, | |
new_state: thread_state_t, | |
new_stateCnt: mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_set_phys_footprint_limit( | |
task: task_t, | |
new_limit: ::std::os::raw::c_int, | |
old_limit: *mut ::std::os::raw::c_int, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_suspend2( | |
target_task: task_read_t, | |
suspend_token: *mut task_suspension_token_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_resume2(suspend_token: task_suspension_token_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_purgable_info( | |
task: task_inspect_t, | |
stats: *mut task_purgable_info_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_get_mach_voucher( | |
task: task_read_t, | |
which: mach_voucher_selector_t, | |
voucher: *mut ipc_voucher_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_set_mach_voucher(task: task_t, voucher: ipc_voucher_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_swap_mach_voucher( | |
task: task_t, | |
new_voucher: ipc_voucher_t, | |
old_voucher: *mut ipc_voucher_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_generate_corpse( | |
task: task_read_t, | |
corpse_task_port: *mut mach_port_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_map_corpse_info( | |
task: task_t, | |
corspe_task: task_read_t, | |
kcd_addr_begin: *mut vm_address_t, | |
kcd_size: *mut u32, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_register_dyld_image_infos( | |
task: task_t, | |
dyld_images: dyld_kernel_image_info_array_t, | |
dyld_imagesCnt: mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_unregister_dyld_image_infos( | |
task: task_t, | |
dyld_images: dyld_kernel_image_info_array_t, | |
dyld_imagesCnt: mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_get_dyld_image_infos( | |
task: task_read_t, | |
dyld_images: *mut dyld_kernel_image_info_array_t, | |
dyld_imagesCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_register_dyld_shared_cache_image_info( | |
task: task_t, | |
dyld_cache_image: dyld_kernel_image_info_t, | |
no_cache: boolean_t, | |
private_cache: boolean_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_register_dyld_set_dyld_state(task: task_t, dyld_state: u8) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_register_dyld_get_process_state( | |
task: task_t, | |
dyld_process_state: *mut dyld_kernel_process_info_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_map_corpse_info_64( | |
task: task_t, | |
corspe_task: task_read_t, | |
kcd_addr_begin: *mut mach_vm_address_t, | |
kcd_size: *mut mach_vm_size_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_inspect( | |
task: task_inspect_t, | |
flavor: task_inspect_flavor_t, | |
info_out: task_inspect_info_t, | |
info_outCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_get_exc_guard_behavior( | |
task: task_inspect_t, | |
behavior: *mut task_exc_guard_behavior_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_set_exc_guard_behavior( | |
task: task_t, | |
behavior: task_exc_guard_behavior_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_dyld_process_info_notify_register( | |
target_task: task_read_t, | |
notify: mach_port_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_create_identity_token(task: task_t, token: *mut task_id_token_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_identity_token_get_task_port( | |
token: task_id_token_t, | |
flavor: task_flavor_t, | |
task_port: *mut mach_port_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_dyld_process_info_notify_deregister( | |
target_task: task_read_t, | |
notify: mach_port_name_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_get_exception_ports_info( | |
port: mach_port_t, | |
exception_mask: exception_mask_t, | |
masks: exception_mask_array_t, | |
masksCnt: *mut mach_msg_type_number_t, | |
old_handlers_info: exception_handler_info_array_t, | |
old_behaviors: exception_behavior_array_t, | |
old_flavors: exception_flavor_array_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_test_sync_upcall(task: task_t, port: mach_port_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_set_corpse_forking_behavior( | |
task: task_t, | |
behavior: task_corpse_forking_behavior_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_test_async_upcall_propagation( | |
task: task_t, | |
port: mach_port_t, | |
qos: ::std::os::raw::c_int, | |
iotier: ::std::os::raw::c_int, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_map_kcdata_object_64( | |
task: task_t, | |
kcdata_object: kcdata_object_t, | |
kcd_addr_begin: *mut mach_vm_address_t, | |
kcd_size: *mut mach_vm_size_t, | |
) -> kern_return_t; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_create_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub ledgers: mach_msg_ool_ports_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub ledgersCnt: mach_msg_type_number_t, | |
pub inherit_memory: boolean_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_terminate_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_threads_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__mach_ports_register_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub init_port_set: mach_msg_ool_ports_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub init_port_setCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__mach_ports_lookup_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_info_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub flavor: task_flavor_t, | |
pub task_info_outCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_set_info_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub flavor: task_flavor_t, | |
pub task_info_inCnt: mach_msg_type_number_t, | |
pub task_info_in: [integer_t; 90usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_suspend_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_resume_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_get_special_port_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub which_port: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_set_special_port_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub special_port: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub which_port: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_create_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_create_running_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub flavor: thread_state_flavor_t, | |
pub new_stateCnt: mach_msg_type_number_t, | |
pub new_state: [natural_t; 1296usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_set_exception_ports_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub new_port: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub exception_mask: exception_mask_t, | |
pub behavior: exception_behavior_t, | |
pub new_flavor: thread_state_flavor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_get_exception_ports_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub exception_mask: exception_mask_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_swap_exception_ports_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub new_port: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub exception_mask: exception_mask_t, | |
pub behavior: exception_behavior_t, | |
pub new_flavor: thread_state_flavor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__lock_set_create_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub n_ulocks: ::std::os::raw::c_int, | |
pub policy: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__lock_set_destroy_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub lock_set: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__semaphore_create_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub policy: ::std::os::raw::c_int, | |
pub value: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__semaphore_destroy_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub semaphore: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_policy_set_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub flavor: task_policy_flavor_t, | |
pub policy_infoCnt: mach_msg_type_number_t, | |
pub policy_info: [integer_t; 16usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_policy_get_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub flavor: task_policy_flavor_t, | |
pub policy_infoCnt: mach_msg_type_number_t, | |
pub get_default: boolean_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_sample_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub reply: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_policy_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub policy: policy_t, | |
pub baseCnt: mach_msg_type_number_t, | |
pub base: [integer_t; 5usize], | |
pub set_limit: boolean_t, | |
pub change: boolean_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_set_emulation_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub routine_entry_pt: vm_address_t, | |
pub routine_number: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_get_emulation_vector_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_set_emulation_vector_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub emulation_vector: mach_msg_ool_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub vector_start: ::std::os::raw::c_int, | |
pub emulation_vectorCnt: mach_msg_type_number_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_set_ras_pc_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub basepc: vm_address_t, | |
pub boundspc: vm_address_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_zone_info_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_assign_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub new_set: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub assign_threads: boolean_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_assign_default_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub assign_threads: boolean_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_get_assignment_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_set_policy_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub pset: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub policy: policy_t, | |
pub baseCnt: mach_msg_type_number_t, | |
pub base: [integer_t; 5usize], | |
pub limitCnt: mach_msg_type_number_t, | |
pub limit: [integer_t; 1usize], | |
pub change: boolean_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_get_state_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub flavor: thread_state_flavor_t, | |
pub old_stateCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_set_state_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub flavor: thread_state_flavor_t, | |
pub new_stateCnt: mach_msg_type_number_t, | |
pub new_state: [natural_t; 1296usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_set_phys_footprint_limit_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub new_limit: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_suspend2_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_resume2_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_purgable_info_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_get_mach_voucher_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub which: mach_voucher_selector_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_set_mach_voucher_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub voucher: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_swap_mach_voucher_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub new_voucher: mach_msg_port_descriptor_t, | |
pub old_voucher: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_generate_corpse_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_map_corpse_info_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub corspe_task: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_register_dyld_image_infos_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub dyld_images: mach_msg_ool_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub dyld_imagesCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_unregister_dyld_image_infos_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub dyld_images: mach_msg_ool_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub dyld_imagesCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_get_dyld_image_infos_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_register_dyld_shared_cache_image_info_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub dyld_cache_image: dyld_kernel_image_info_t, | |
pub no_cache: boolean_t, | |
pub private_cache: boolean_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_register_dyld_set_dyld_state_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub dyld_state: u8, | |
pub dyld_statePad: [::std::os::raw::c_char; 3usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_register_dyld_get_process_state_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_map_corpse_info_64_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub corspe_task: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_inspect_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub flavor: task_inspect_flavor_t, | |
pub info_outCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_get_exc_guard_behavior_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_set_exc_guard_behavior_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub behavior: task_exc_guard_behavior_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_dyld_process_info_notify_register_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub notify: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_create_identity_token_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_identity_token_get_task_port_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub flavor: task_flavor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_dyld_process_info_notify_deregister_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub notify: mach_port_name_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_get_exception_ports_info_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub exception_mask: exception_mask_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_test_sync_upcall_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub port: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_set_corpse_forking_behavior_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub behavior: task_corpse_forking_behavior_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_test_async_upcall_propagation_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub port: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub qos: ::std::os::raw::c_int, | |
pub iotier: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_map_kcdata_object_64_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub kcdata_object: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union __RequestUnion__task_subsystem { | |
pub Request_task_create: __Request__task_create_t, | |
pub Request_task_terminate: __Request__task_terminate_t, | |
pub Request_task_threads: __Request__task_threads_t, | |
pub Request_mach_ports_register: __Request__mach_ports_register_t, | |
pub Request_mach_ports_lookup: __Request__mach_ports_lookup_t, | |
pub Request_task_info: __Request__task_info_t, | |
pub Request_task_set_info: __Request__task_set_info_t, | |
pub Request_task_suspend: __Request__task_suspend_t, | |
pub Request_task_resume: __Request__task_resume_t, | |
pub Request_task_get_special_port: __Request__task_get_special_port_t, | |
pub Request_task_set_special_port: __Request__task_set_special_port_t, | |
pub Request_thread_create: __Request__thread_create_t, | |
pub Request_thread_create_running: __Request__thread_create_running_t, | |
pub Request_task_set_exception_ports: __Request__task_set_exception_ports_t, | |
pub Request_task_get_exception_ports: __Request__task_get_exception_ports_t, | |
pub Request_task_swap_exception_ports: __Request__task_swap_exception_ports_t, | |
pub Request_lock_set_create: __Request__lock_set_create_t, | |
pub Request_lock_set_destroy: __Request__lock_set_destroy_t, | |
pub Request_semaphore_create: __Request__semaphore_create_t, | |
pub Request_semaphore_destroy: __Request__semaphore_destroy_t, | |
pub Request_task_policy_set: __Request__task_policy_set_t, | |
pub Request_task_policy_get: __Request__task_policy_get_t, | |
pub Request_task_sample: __Request__task_sample_t, | |
pub Request_task_policy: __Request__task_policy_t, | |
pub Request_task_set_emulation: __Request__task_set_emulation_t, | |
pub Request_task_get_emulation_vector: __Request__task_get_emulation_vector_t, | |
pub Request_task_set_emulation_vector: __Request__task_set_emulation_vector_t, | |
pub Request_task_set_ras_pc: __Request__task_set_ras_pc_t, | |
pub Request_task_zone_info: __Request__task_zone_info_t, | |
pub Request_task_assign: __Request__task_assign_t, | |
pub Request_task_assign_default: __Request__task_assign_default_t, | |
pub Request_task_get_assignment: __Request__task_get_assignment_t, | |
pub Request_task_set_policy: __Request__task_set_policy_t, | |
pub Request_task_get_state: __Request__task_get_state_t, | |
pub Request_task_set_state: __Request__task_set_state_t, | |
pub Request_task_set_phys_footprint_limit: __Request__task_set_phys_footprint_limit_t, | |
pub Request_task_suspend2: __Request__task_suspend2_t, | |
pub Request_task_resume2: __Request__task_resume2_t, | |
pub Request_task_purgable_info: __Request__task_purgable_info_t, | |
pub Request_task_get_mach_voucher: __Request__task_get_mach_voucher_t, | |
pub Request_task_set_mach_voucher: __Request__task_set_mach_voucher_t, | |
pub Request_task_swap_mach_voucher: __Request__task_swap_mach_voucher_t, | |
pub Request_task_generate_corpse: __Request__task_generate_corpse_t, | |
pub Request_task_map_corpse_info: __Request__task_map_corpse_info_t, | |
pub Request_task_register_dyld_image_infos: __Request__task_register_dyld_image_infos_t, | |
pub Request_task_unregister_dyld_image_infos: __Request__task_unregister_dyld_image_infos_t, | |
pub Request_task_get_dyld_image_infos: __Request__task_get_dyld_image_infos_t, | |
pub Request_task_register_dyld_shared_cache_image_info: | |
__Request__task_register_dyld_shared_cache_image_info_t, | |
pub Request_task_register_dyld_set_dyld_state: __Request__task_register_dyld_set_dyld_state_t, | |
pub Request_task_register_dyld_get_process_state: | |
__Request__task_register_dyld_get_process_state_t, | |
pub Request_task_map_corpse_info_64: __Request__task_map_corpse_info_64_t, | |
pub Request_task_inspect: __Request__task_inspect_t, | |
pub Request_task_get_exc_guard_behavior: __Request__task_get_exc_guard_behavior_t, | |
pub Request_task_set_exc_guard_behavior: __Request__task_set_exc_guard_behavior_t, | |
pub Request_task_dyld_process_info_notify_register: | |
__Request__task_dyld_process_info_notify_register_t, | |
pub Request_task_create_identity_token: __Request__task_create_identity_token_t, | |
pub Request_task_identity_token_get_task_port: __Request__task_identity_token_get_task_port_t, | |
pub Request_task_dyld_process_info_notify_deregister: | |
__Request__task_dyld_process_info_notify_deregister_t, | |
pub Request_task_get_exception_ports_info: __Request__task_get_exception_ports_info_t, | |
pub Request_task_test_sync_upcall: __Request__task_test_sync_upcall_t, | |
pub Request_task_set_corpse_forking_behavior: __Request__task_set_corpse_forking_behavior_t, | |
pub Request_task_test_async_upcall_propagation: __Request__task_test_async_upcall_propagation_t, | |
pub Request_task_map_kcdata_object_64: __Request__task_map_kcdata_object_64_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_create_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub child_task: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_terminate_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_threads_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub act_list: mach_msg_ool_ports_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub act_listCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__mach_ports_register_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__mach_ports_lookup_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub init_port_set: mach_msg_ool_ports_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub init_port_setCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_info_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
pub task_info_outCnt: mach_msg_type_number_t, | |
pub task_info_out: [integer_t; 90usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_set_info_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_suspend_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_resume_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_get_special_port_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub special_port: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_set_special_port_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_create_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub child_act: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_create_running_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub child_act: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_set_exception_ports_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_get_exception_ports_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub old_handlers: [mach_msg_port_descriptor_t; 32usize], | |
pub NDR: NDR_record_t, | |
pub masksCnt: mach_msg_type_number_t, | |
pub masks: [exception_mask_t; 32usize], | |
pub old_behaviors: [exception_behavior_t; 32usize], | |
pub old_flavors: [thread_state_flavor_t; 32usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_swap_exception_ports_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub old_handlers: [mach_msg_port_descriptor_t; 32usize], | |
pub NDR: NDR_record_t, | |
pub masksCnt: mach_msg_type_number_t, | |
pub masks: [exception_mask_t; 32usize], | |
pub old_behaviors: [exception_behavior_t; 32usize], | |
pub old_flavors: [thread_state_flavor_t; 32usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__lock_set_create_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub new_lock_set: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__lock_set_destroy_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__semaphore_create_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub semaphore: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__semaphore_destroy_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_policy_set_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_policy_get_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
pub policy_infoCnt: mach_msg_type_number_t, | |
pub policy_info: [integer_t; 16usize], | |
pub get_default: boolean_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_sample_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_policy_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_set_emulation_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_get_emulation_vector_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub emulation_vector: mach_msg_ool_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub vector_start: ::std::os::raw::c_int, | |
pub emulation_vectorCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_set_emulation_vector_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_set_ras_pc_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_zone_info_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub names: mach_msg_ool_descriptor_t, | |
pub info: mach_msg_ool_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub namesCnt: mach_msg_type_number_t, | |
pub infoCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_assign_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_assign_default_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_get_assignment_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub assigned_set: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_set_policy_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_get_state_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
pub old_stateCnt: mach_msg_type_number_t, | |
pub old_state: [natural_t; 1296usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_set_state_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_set_phys_footprint_limit_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
pub old_limit: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_suspend2_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub suspend_token: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_resume2_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_purgable_info_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
pub stats: task_purgable_info_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_get_mach_voucher_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub voucher: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_set_mach_voucher_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_swap_mach_voucher_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub old_voucher: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_generate_corpse_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub corpse_task_port: mach_msg_port_descriptor_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_map_corpse_info_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
pub kcd_addr_begin: vm_address_t, | |
pub kcd_size: u32, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_register_dyld_image_infos_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_unregister_dyld_image_infos_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_get_dyld_image_infos_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub dyld_images: mach_msg_ool_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub dyld_imagesCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_register_dyld_shared_cache_image_info_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_register_dyld_set_dyld_state_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_register_dyld_get_process_state_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
pub dyld_process_state: dyld_kernel_process_info_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_map_corpse_info_64_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
pub kcd_addr_begin: mach_vm_address_t, | |
pub kcd_size: mach_vm_size_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_inspect_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
pub info_outCnt: mach_msg_type_number_t, | |
pub info_out: [integer_t; 4usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_get_exc_guard_behavior_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
pub behavior: task_exc_guard_behavior_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_set_exc_guard_behavior_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_dyld_process_info_notify_register_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_create_identity_token_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub token: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_identity_token_get_task_port_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub task_port: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_dyld_process_info_notify_deregister_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_get_exception_ports_info_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
pub masksCnt: mach_msg_type_number_t, | |
pub masks: [exception_mask_t; 32usize], | |
pub old_handlers_info: [exception_handler_info_t; 32usize], | |
pub old_behaviors: [exception_behavior_t; 32usize], | |
pub old_flavors: [thread_state_flavor_t; 32usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_test_sync_upcall_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_set_corpse_forking_behavior_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_test_async_upcall_propagation_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__task_map_kcdata_object_64_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
pub kcd_addr_begin: mach_vm_address_t, | |
pub kcd_size: mach_vm_size_t, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union __ReplyUnion__task_subsystem { | |
pub Reply_task_create: __Reply__task_create_t, | |
pub Reply_task_terminate: __Reply__task_terminate_t, | |
pub Reply_task_threads: __Reply__task_threads_t, | |
pub Reply_mach_ports_register: __Reply__mach_ports_register_t, | |
pub Reply_mach_ports_lookup: __Reply__mach_ports_lookup_t, | |
pub Reply_task_info: __Reply__task_info_t, | |
pub Reply_task_set_info: __Reply__task_set_info_t, | |
pub Reply_task_suspend: __Reply__task_suspend_t, | |
pub Reply_task_resume: __Reply__task_resume_t, | |
pub Reply_task_get_special_port: __Reply__task_get_special_port_t, | |
pub Reply_task_set_special_port: __Reply__task_set_special_port_t, | |
pub Reply_thread_create: __Reply__thread_create_t, | |
pub Reply_thread_create_running: __Reply__thread_create_running_t, | |
pub Reply_task_set_exception_ports: __Reply__task_set_exception_ports_t, | |
pub Reply_task_get_exception_ports: __Reply__task_get_exception_ports_t, | |
pub Reply_task_swap_exception_ports: __Reply__task_swap_exception_ports_t, | |
pub Reply_lock_set_create: __Reply__lock_set_create_t, | |
pub Reply_lock_set_destroy: __Reply__lock_set_destroy_t, | |
pub Reply_semaphore_create: __Reply__semaphore_create_t, | |
pub Reply_semaphore_destroy: __Reply__semaphore_destroy_t, | |
pub Reply_task_policy_set: __Reply__task_policy_set_t, | |
pub Reply_task_policy_get: __Reply__task_policy_get_t, | |
pub Reply_task_sample: __Reply__task_sample_t, | |
pub Reply_task_policy: __Reply__task_policy_t, | |
pub Reply_task_set_emulation: __Reply__task_set_emulation_t, | |
pub Reply_task_get_emulation_vector: __Reply__task_get_emulation_vector_t, | |
pub Reply_task_set_emulation_vector: __Reply__task_set_emulation_vector_t, | |
pub Reply_task_set_ras_pc: __Reply__task_set_ras_pc_t, | |
pub Reply_task_zone_info: __Reply__task_zone_info_t, | |
pub Reply_task_assign: __Reply__task_assign_t, | |
pub Reply_task_assign_default: __Reply__task_assign_default_t, | |
pub Reply_task_get_assignment: __Reply__task_get_assignment_t, | |
pub Reply_task_set_policy: __Reply__task_set_policy_t, | |
pub Reply_task_get_state: __Reply__task_get_state_t, | |
pub Reply_task_set_state: __Reply__task_set_state_t, | |
pub Reply_task_set_phys_footprint_limit: __Reply__task_set_phys_footprint_limit_t, | |
pub Reply_task_suspend2: __Reply__task_suspend2_t, | |
pub Reply_task_resume2: __Reply__task_resume2_t, | |
pub Reply_task_purgable_info: __Reply__task_purgable_info_t, | |
pub Reply_task_get_mach_voucher: __Reply__task_get_mach_voucher_t, | |
pub Reply_task_set_mach_voucher: __Reply__task_set_mach_voucher_t, | |
pub Reply_task_swap_mach_voucher: __Reply__task_swap_mach_voucher_t, | |
pub Reply_task_generate_corpse: __Reply__task_generate_corpse_t, | |
pub Reply_task_map_corpse_info: __Reply__task_map_corpse_info_t, | |
pub Reply_task_register_dyld_image_infos: __Reply__task_register_dyld_image_infos_t, | |
pub Reply_task_unregister_dyld_image_infos: __Reply__task_unregister_dyld_image_infos_t, | |
pub Reply_task_get_dyld_image_infos: __Reply__task_get_dyld_image_infos_t, | |
pub Reply_task_register_dyld_shared_cache_image_info: | |
__Reply__task_register_dyld_shared_cache_image_info_t, | |
pub Reply_task_register_dyld_set_dyld_state: __Reply__task_register_dyld_set_dyld_state_t, | |
pub Reply_task_register_dyld_get_process_state: __Reply__task_register_dyld_get_process_state_t, | |
pub Reply_task_map_corpse_info_64: __Reply__task_map_corpse_info_64_t, | |
pub Reply_task_inspect: __Reply__task_inspect_t, | |
pub Reply_task_get_exc_guard_behavior: __Reply__task_get_exc_guard_behavior_t, | |
pub Reply_task_set_exc_guard_behavior: __Reply__task_set_exc_guard_behavior_t, | |
pub Reply_task_dyld_process_info_notify_register: | |
__Reply__task_dyld_process_info_notify_register_t, | |
pub Reply_task_create_identity_token: __Reply__task_create_identity_token_t, | |
pub Reply_task_identity_token_get_task_port: __Reply__task_identity_token_get_task_port_t, | |
pub Reply_task_dyld_process_info_notify_deregister: | |
__Reply__task_dyld_process_info_notify_deregister_t, | |
pub Reply_task_get_exception_ports_info: __Reply__task_get_exception_ports_info_t, | |
pub Reply_task_test_sync_upcall: __Reply__task_test_sync_upcall_t, | |
pub Reply_task_set_corpse_forking_behavior: __Reply__task_set_corpse_forking_behavior_t, | |
pub Reply_task_test_async_upcall_propagation: __Reply__task_test_async_upcall_propagation_t, | |
pub Reply_task_map_kcdata_object_64: __Reply__task_map_kcdata_object_64_t, | |
} | |
extern "C" { | |
pub fn thread_terminate(target_act: thread_act_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn act_get_state( | |
target_act: thread_read_t, | |
flavor: ::std::os::raw::c_int, | |
old_state: thread_state_t, | |
old_stateCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn act_set_state( | |
target_act: thread_act_t, | |
flavor: ::std::os::raw::c_int, | |
new_state: thread_state_t, | |
new_stateCnt: mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_get_state( | |
target_act: thread_read_t, | |
flavor: thread_state_flavor_t, | |
old_state: thread_state_t, | |
old_stateCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_set_state( | |
target_act: thread_act_t, | |
flavor: thread_state_flavor_t, | |
new_state: thread_state_t, | |
new_stateCnt: mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_suspend(target_act: thread_read_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_resume(target_act: thread_read_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_abort(target_act: thread_act_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_abort_safely(target_act: thread_act_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_depress_abort(thread: thread_act_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_get_special_port( | |
thr_act: thread_inspect_t, | |
which_port: ::std::os::raw::c_int, | |
special_port: *mut mach_port_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_set_special_port( | |
thr_act: thread_act_t, | |
which_port: ::std::os::raw::c_int, | |
special_port: mach_port_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_info( | |
target_act: thread_inspect_t, | |
flavor: thread_flavor_t, | |
thread_info_out: thread_info_t, | |
thread_info_outCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_set_exception_ports( | |
thread: thread_act_t, | |
exception_mask: exception_mask_t, | |
new_port: mach_port_t, | |
behavior: exception_behavior_t, | |
new_flavor: thread_state_flavor_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_get_exception_ports( | |
thread: thread_act_t, | |
exception_mask: exception_mask_t, | |
masks: exception_mask_array_t, | |
masksCnt: *mut mach_msg_type_number_t, | |
old_handlers: exception_handler_array_t, | |
old_behaviors: exception_behavior_array_t, | |
old_flavors: exception_flavor_array_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_swap_exception_ports( | |
thread: thread_act_t, | |
exception_mask: exception_mask_t, | |
new_port: mach_port_t, | |
behavior: exception_behavior_t, | |
new_flavor: thread_state_flavor_t, | |
masks: exception_mask_array_t, | |
masksCnt: *mut mach_msg_type_number_t, | |
old_handlers: exception_handler_array_t, | |
old_behaviors: exception_behavior_array_t, | |
old_flavors: exception_flavor_array_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_policy( | |
thr_act: thread_act_t, | |
policy: policy_t, | |
base: policy_base_t, | |
baseCnt: mach_msg_type_number_t, | |
set_limit: boolean_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_policy_set( | |
thread: thread_act_t, | |
flavor: thread_policy_flavor_t, | |
policy_info: thread_policy_t, | |
policy_infoCnt: mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_policy_get( | |
thread: thread_inspect_t, | |
flavor: thread_policy_flavor_t, | |
policy_info: thread_policy_t, | |
policy_infoCnt: *mut mach_msg_type_number_t, | |
get_default: *mut boolean_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_sample(thread: thread_act_t, reply: mach_port_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn etap_trace_thread(target_act: thread_act_t, trace_status: boolean_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_assign(thread: thread_act_t, new_set: processor_set_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_assign_default(thread: thread_act_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_get_assignment( | |
thread: thread_inspect_t, | |
assigned_set: *mut processor_set_name_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_set_policy( | |
thr_act: thread_act_t, | |
pset: processor_set_t, | |
policy: policy_t, | |
base: policy_base_t, | |
baseCnt: mach_msg_type_number_t, | |
limit: policy_limit_t, | |
limitCnt: mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_get_mach_voucher( | |
thr_act: thread_read_t, | |
which: mach_voucher_selector_t, | |
voucher: *mut ipc_voucher_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_set_mach_voucher(thr_act: thread_act_t, voucher: ipc_voucher_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_swap_mach_voucher( | |
thr_act: thread_act_t, | |
new_voucher: ipc_voucher_t, | |
old_voucher: *mut ipc_voucher_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_convert_thread_state( | |
thread: thread_act_t, | |
direction: ::std::os::raw::c_int, | |
flavor: thread_state_flavor_t, | |
in_state: thread_state_t, | |
in_stateCnt: mach_msg_type_number_t, | |
out_state: thread_state_t, | |
out_stateCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn thread_get_exception_ports_info( | |
port: mach_port_t, | |
exception_mask: exception_mask_t, | |
masks: exception_mask_array_t, | |
masksCnt: *mut mach_msg_type_number_t, | |
old_handlers_info: exception_handler_info_array_t, | |
old_behaviors: exception_behavior_array_t, | |
old_flavors: exception_flavor_array_t, | |
) -> kern_return_t; | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_terminate_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__act_get_state_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub flavor: ::std::os::raw::c_int, | |
pub old_stateCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__act_set_state_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub flavor: ::std::os::raw::c_int, | |
pub new_stateCnt: mach_msg_type_number_t, | |
pub new_state: [natural_t; 1296usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_get_state_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub flavor: thread_state_flavor_t, | |
pub old_stateCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_set_state_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub flavor: thread_state_flavor_t, | |
pub new_stateCnt: mach_msg_type_number_t, | |
pub new_state: [natural_t; 1296usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_suspend_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_resume_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_abort_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_abort_safely_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_depress_abort_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_get_special_port_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub which_port: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_set_special_port_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub special_port: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub which_port: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_info_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub flavor: thread_flavor_t, | |
pub thread_info_outCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_set_exception_ports_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub new_port: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub exception_mask: exception_mask_t, | |
pub behavior: exception_behavior_t, | |
pub new_flavor: thread_state_flavor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_get_exception_ports_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub exception_mask: exception_mask_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_swap_exception_ports_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub new_port: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub exception_mask: exception_mask_t, | |
pub behavior: exception_behavior_t, | |
pub new_flavor: thread_state_flavor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_policy_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub policy: policy_t, | |
pub baseCnt: mach_msg_type_number_t, | |
pub base: [integer_t; 5usize], | |
pub set_limit: boolean_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_policy_set_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub flavor: thread_policy_flavor_t, | |
pub policy_infoCnt: mach_msg_type_number_t, | |
pub policy_info: [integer_t; 16usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_policy_get_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub flavor: thread_policy_flavor_t, | |
pub policy_infoCnt: mach_msg_type_number_t, | |
pub get_default: boolean_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_sample_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub reply: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__etap_trace_thread_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub trace_status: boolean_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_assign_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub new_set: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_assign_default_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_get_assignment_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_set_policy_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub pset: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub policy: policy_t, | |
pub baseCnt: mach_msg_type_number_t, | |
pub base: [integer_t; 5usize], | |
pub limitCnt: mach_msg_type_number_t, | |
pub limit: [integer_t; 1usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_get_mach_voucher_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub which: mach_voucher_selector_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_set_mach_voucher_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub voucher: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_swap_mach_voucher_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub new_voucher: mach_msg_port_descriptor_t, | |
pub old_voucher: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_convert_thread_state_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub direction: ::std::os::raw::c_int, | |
pub flavor: thread_state_flavor_t, | |
pub in_stateCnt: mach_msg_type_number_t, | |
pub in_state: [natural_t; 1296usize], | |
pub out_stateCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__thread_get_exception_ports_info_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub exception_mask: exception_mask_t, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union __RequestUnion__thread_act_subsystem { | |
pub Request_thread_terminate: __Request__thread_terminate_t, | |
pub Request_act_get_state: __Request__act_get_state_t, | |
pub Request_act_set_state: __Request__act_set_state_t, | |
pub Request_thread_get_state: __Request__thread_get_state_t, | |
pub Request_thread_set_state: __Request__thread_set_state_t, | |
pub Request_thread_suspend: __Request__thread_suspend_t, | |
pub Request_thread_resume: __Request__thread_resume_t, | |
pub Request_thread_abort: __Request__thread_abort_t, | |
pub Request_thread_abort_safely: __Request__thread_abort_safely_t, | |
pub Request_thread_depress_abort: __Request__thread_depress_abort_t, | |
pub Request_thread_get_special_port: __Request__thread_get_special_port_t, | |
pub Request_thread_set_special_port: __Request__thread_set_special_port_t, | |
pub Request_thread_info: __Request__thread_info_t, | |
pub Request_thread_set_exception_ports: __Request__thread_set_exception_ports_t, | |
pub Request_thread_get_exception_ports: __Request__thread_get_exception_ports_t, | |
pub Request_thread_swap_exception_ports: __Request__thread_swap_exception_ports_t, | |
pub Request_thread_policy: __Request__thread_policy_t, | |
pub Request_thread_policy_set: __Request__thread_policy_set_t, | |
pub Request_thread_policy_get: __Request__thread_policy_get_t, | |
pub Request_thread_sample: __Request__thread_sample_t, | |
pub Request_etap_trace_thread: __Request__etap_trace_thread_t, | |
pub Request_thread_assign: __Request__thread_assign_t, | |
pub Request_thread_assign_default: __Request__thread_assign_default_t, | |
pub Request_thread_get_assignment: __Request__thread_get_assignment_t, | |
pub Request_thread_set_policy: __Request__thread_set_policy_t, | |
pub Request_thread_get_mach_voucher: __Request__thread_get_mach_voucher_t, | |
pub Request_thread_set_mach_voucher: __Request__thread_set_mach_voucher_t, | |
pub Request_thread_swap_mach_voucher: __Request__thread_swap_mach_voucher_t, | |
pub Request_thread_convert_thread_state: __Request__thread_convert_thread_state_t, | |
pub Request_thread_get_exception_ports_info: __Request__thread_get_exception_ports_info_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_terminate_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__act_get_state_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
pub old_stateCnt: mach_msg_type_number_t, | |
pub old_state: [natural_t; 1296usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__act_set_state_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_get_state_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
pub old_stateCnt: mach_msg_type_number_t, | |
pub old_state: [natural_t; 1296usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_set_state_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_suspend_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_resume_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_abort_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_abort_safely_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_depress_abort_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_get_special_port_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub special_port: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_set_special_port_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_info_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
pub thread_info_outCnt: mach_msg_type_number_t, | |
pub thread_info_out: [integer_t; 32usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_set_exception_ports_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_get_exception_ports_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub old_handlers: [mach_msg_port_descriptor_t; 32usize], | |
pub NDR: NDR_record_t, | |
pub masksCnt: mach_msg_type_number_t, | |
pub masks: [exception_mask_t; 32usize], | |
pub old_behaviors: [exception_behavior_t; 32usize], | |
pub old_flavors: [thread_state_flavor_t; 32usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_swap_exception_ports_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub old_handlers: [mach_msg_port_descriptor_t; 32usize], | |
pub NDR: NDR_record_t, | |
pub masksCnt: mach_msg_type_number_t, | |
pub masks: [exception_mask_t; 32usize], | |
pub old_behaviors: [exception_behavior_t; 32usize], | |
pub old_flavors: [thread_state_flavor_t; 32usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_policy_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_policy_set_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_policy_get_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
pub policy_infoCnt: mach_msg_type_number_t, | |
pub policy_info: [integer_t; 16usize], | |
pub get_default: boolean_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_sample_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__etap_trace_thread_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_assign_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_assign_default_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_get_assignment_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub assigned_set: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_set_policy_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_get_mach_voucher_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub voucher: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_set_mach_voucher_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_swap_mach_voucher_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub old_voucher: mach_msg_port_descriptor_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_convert_thread_state_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
pub out_stateCnt: mach_msg_type_number_t, | |
pub out_state: [natural_t; 1296usize], | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__thread_get_exception_ports_info_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
pub masksCnt: mach_msg_type_number_t, | |
pub masks: [exception_mask_t; 32usize], | |
pub old_handlers_info: [exception_handler_info_t; 32usize], | |
pub old_behaviors: [exception_behavior_t; 32usize], | |
pub old_flavors: [thread_state_flavor_t; 32usize], | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union __ReplyUnion__thread_act_subsystem { | |
pub Reply_thread_terminate: __Reply__thread_terminate_t, | |
pub Reply_act_get_state: __Reply__act_get_state_t, | |
pub Reply_act_set_state: __Reply__act_set_state_t, | |
pub Reply_thread_get_state: __Reply__thread_get_state_t, | |
pub Reply_thread_set_state: __Reply__thread_set_state_t, | |
pub Reply_thread_suspend: __Reply__thread_suspend_t, | |
pub Reply_thread_resume: __Reply__thread_resume_t, | |
pub Reply_thread_abort: __Reply__thread_abort_t, | |
pub Reply_thread_abort_safely: __Reply__thread_abort_safely_t, | |
pub Reply_thread_depress_abort: __Reply__thread_depress_abort_t, | |
pub Reply_thread_get_special_port: __Reply__thread_get_special_port_t, | |
pub Reply_thread_set_special_port: __Reply__thread_set_special_port_t, | |
pub Reply_thread_info: __Reply__thread_info_t, | |
pub Reply_thread_set_exception_ports: __Reply__thread_set_exception_ports_t, | |
pub Reply_thread_get_exception_ports: __Reply__thread_get_exception_ports_t, | |
pub Reply_thread_swap_exception_ports: __Reply__thread_swap_exception_ports_t, | |
pub Reply_thread_policy: __Reply__thread_policy_t, | |
pub Reply_thread_policy_set: __Reply__thread_policy_set_t, | |
pub Reply_thread_policy_get: __Reply__thread_policy_get_t, | |
pub Reply_thread_sample: __Reply__thread_sample_t, | |
pub Reply_etap_trace_thread: __Reply__etap_trace_thread_t, | |
pub Reply_thread_assign: __Reply__thread_assign_t, | |
pub Reply_thread_assign_default: __Reply__thread_assign_default_t, | |
pub Reply_thread_get_assignment: __Reply__thread_get_assignment_t, | |
pub Reply_thread_set_policy: __Reply__thread_set_policy_t, | |
pub Reply_thread_get_mach_voucher: __Reply__thread_get_mach_voucher_t, | |
pub Reply_thread_set_mach_voucher: __Reply__thread_set_mach_voucher_t, | |
pub Reply_thread_swap_mach_voucher: __Reply__thread_swap_mach_voucher_t, | |
pub Reply_thread_convert_thread_state: __Reply__thread_convert_thread_state_t, | |
pub Reply_thread_get_exception_ports_info: __Reply__thread_get_exception_ports_info_t, | |
} | |
extern "C" { | |
pub fn vm_region( | |
target_task: vm_map_read_t, | |
address: *mut vm_address_t, | |
size: *mut vm_size_t, | |
flavor: vm_region_flavor_t, | |
info: vm_region_info_t, | |
infoCnt: *mut mach_msg_type_number_t, | |
object_name: *mut mach_port_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn vm_allocate( | |
target_task: vm_map_t, | |
address: *mut vm_address_t, | |
size: vm_size_t, | |
flags: ::std::os::raw::c_int, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn vm_deallocate( | |
target_task: vm_map_t, | |
address: vm_address_t, | |
size: vm_size_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn vm_protect( | |
target_task: vm_map_t, | |
address: vm_address_t, | |
size: vm_size_t, | |
set_maximum: boolean_t, | |
new_protection: vm_prot_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn vm_inherit( | |
target_task: vm_map_t, | |
address: vm_address_t, | |
size: vm_size_t, | |
new_inheritance: vm_inherit_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn vm_read( | |
target_task: vm_map_read_t, | |
address: vm_address_t, | |
size: vm_size_t, | |
data: *mut vm_offset_t, | |
dataCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn vm_read_list( | |
target_task: vm_map_read_t, | |
data_list: *mut vm_read_entry, | |
count: natural_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn vm_write( | |
target_task: vm_map_t, | |
address: vm_address_t, | |
data: vm_offset_t, | |
dataCnt: mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn vm_copy( | |
target_task: vm_map_t, | |
source_address: vm_address_t, | |
size: vm_size_t, | |
dest_address: vm_address_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn vm_read_overwrite( | |
target_task: vm_map_read_t, | |
address: vm_address_t, | |
size: vm_size_t, | |
data: vm_address_t, | |
outsize: *mut vm_size_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn vm_msync( | |
target_task: vm_map_t, | |
address: vm_address_t, | |
size: vm_size_t, | |
sync_flags: vm_sync_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn vm_behavior_set( | |
target_task: vm_map_t, | |
address: vm_address_t, | |
size: vm_size_t, | |
new_behavior: vm_behavior_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn vm_map( | |
target_task: vm_map_t, | |
address: *mut vm_address_t, | |
size: vm_size_t, | |
mask: vm_address_t, | |
flags: ::std::os::raw::c_int, | |
object: mem_entry_name_port_t, | |
offset: vm_offset_t, | |
copy: boolean_t, | |
cur_protection: vm_prot_t, | |
max_protection: vm_prot_t, | |
inheritance: vm_inherit_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn vm_machine_attribute( | |
target_task: vm_map_t, | |
address: vm_address_t, | |
size: vm_size_t, | |
attribute: vm_machine_attribute_t, | |
value: *mut vm_machine_attribute_val_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn vm_remap( | |
target_task: vm_map_t, | |
target_address: *mut vm_address_t, | |
size: vm_size_t, | |
mask: vm_address_t, | |
flags: ::std::os::raw::c_int, | |
src_task: vm_map_t, | |
src_address: vm_address_t, | |
copy: boolean_t, | |
cur_protection: *mut vm_prot_t, | |
max_protection: *mut vm_prot_t, | |
inheritance: vm_inherit_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn task_wire(target_task: vm_map_t, must_wire: boolean_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn mach_make_memory_entry( | |
target_task: vm_map_t, | |
size: *mut vm_size_t, | |
offset: vm_offset_t, | |
permission: vm_prot_t, | |
object_handle: *mut mem_entry_name_port_t, | |
parent_entry: mem_entry_name_port_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn vm_map_page_query( | |
target_map: vm_map_read_t, | |
offset: vm_offset_t, | |
disposition: *mut integer_t, | |
ref_count: *mut integer_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn mach_vm_region_info( | |
task: vm_map_read_t, | |
address: vm_address_t, | |
region: *mut vm_info_region_t, | |
objects: *mut vm_info_object_array_t, | |
objectsCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn vm_mapped_pages_info( | |
task: vm_map_read_t, | |
pages: *mut page_address_array_t, | |
pagesCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn vm_region_recurse( | |
target_task: vm_map_read_t, | |
address: *mut vm_address_t, | |
size: *mut vm_size_t, | |
nesting_depth: *mut natural_t, | |
info: vm_region_recurse_info_t, | |
infoCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn vm_region_recurse_64( | |
target_task: vm_map_read_t, | |
address: *mut vm_address_t, | |
size: *mut vm_size_t, | |
nesting_depth: *mut natural_t, | |
info: vm_region_recurse_info_t, | |
infoCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn mach_vm_region_info_64( | |
task: vm_map_read_t, | |
address: vm_address_t, | |
region: *mut vm_info_region_64_t, | |
objects: *mut vm_info_object_array_t, | |
objectsCnt: *mut mach_msg_type_number_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn vm_region_64( | |
target_task: vm_map_read_t, | |
address: *mut vm_address_t, | |
size: *mut vm_size_t, | |
flavor: vm_region_flavor_t, | |
info: vm_region_info_t, | |
infoCnt: *mut mach_msg_type_number_t, | |
object_name: *mut mach_port_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn mach_make_memory_entry_64( | |
target_task: vm_map_t, | |
size: *mut memory_object_size_t, | |
offset: memory_object_offset_t, | |
permission: vm_prot_t, | |
object_handle: *mut mach_port_t, | |
parent_entry: mem_entry_name_port_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn vm_map_64( | |
target_task: vm_map_t, | |
address: *mut vm_address_t, | |
size: vm_size_t, | |
mask: vm_address_t, | |
flags: ::std::os::raw::c_int, | |
object: mem_entry_name_port_t, | |
offset: memory_object_offset_t, | |
copy: boolean_t, | |
cur_protection: vm_prot_t, | |
max_protection: vm_prot_t, | |
inheritance: vm_inherit_t, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn vm_purgable_control( | |
target_task: vm_map_t, | |
address: vm_address_t, | |
control: vm_purgable_t, | |
state: *mut ::std::os::raw::c_int, | |
) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn vm_map_exec_lockdown(target_task: vm_map_t) -> kern_return_t; | |
} | |
extern "C" { | |
pub fn vm_remap_new( | |
target_task: vm_map_t, | |
target_address: *mut vm_address_t, | |
size: vm_size_t, | |
mask: vm_address_t, | |
flags: ::std::os::raw::c_int, | |
src_task: vm_map_read_t, | |
src_address: vm_address_t, | |
copy: boolean_t, | |
cur_protection: *mut vm_prot_t, | |
max_protection: *mut vm_prot_t, | |
inheritance: vm_inherit_t, | |
) -> kern_return_t; | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__vm_region_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub address: vm_address_t, | |
pub flavor: vm_region_flavor_t, | |
pub infoCnt: mach_msg_type_number_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__vm_allocate_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub address: vm_address_t, | |
pub size: vm_size_t, | |
pub flags: ::std::os::raw::c_int, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__vm_deallocate_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub address: vm_address_t, | |
pub size: vm_size_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__vm_protect_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub address: vm_address_t, | |
pub size: vm_size_t, | |
pub set_maximum: boolean_t, | |
pub new_protection: vm_prot_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__vm_inherit_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub address: vm_address_t, | |
pub size: vm_size_t, | |
pub new_inheritance: vm_inherit_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__vm_read_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub address: vm_address_t, | |
pub size: vm_size_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__vm_read_list_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub data_list: vm_read_entry_t, | |
pub count: natural_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__vm_write_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub data: mach_msg_ool_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub address: vm_address_t, | |
pub dataCnt: mach_msg_type_number_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__vm_copy_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub source_address: vm_address_t, | |
pub size: vm_size_t, | |
pub dest_address: vm_address_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__vm_read_overwrite_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub address: vm_address_t, | |
pub size: vm_size_t, | |
pub data: vm_address_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__vm_msync_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub address: vm_address_t, | |
pub size: vm_size_t, | |
pub sync_flags: vm_sync_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__vm_behavior_set_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub address: vm_address_t, | |
pub size: vm_size_t, | |
pub new_behavior: vm_behavior_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__vm_map_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub object: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub address: vm_address_t, | |
pub size: vm_size_t, | |
pub mask: vm_address_t, | |
pub flags: ::std::os::raw::c_int, | |
pub offset: vm_offset_t, | |
pub copy: boolean_t, | |
pub cur_protection: vm_prot_t, | |
pub max_protection: vm_prot_t, | |
pub inheritance: vm_inherit_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__vm_machine_attribute_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub address: vm_address_t, | |
pub size: vm_size_t, | |
pub attribute: vm_machine_attribute_t, | |
pub value: vm_machine_attribute_val_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__vm_remap_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub src_task: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub target_address: vm_address_t, | |
pub size: vm_size_t, | |
pub mask: vm_address_t, | |
pub flags: ::std::os::raw::c_int, | |
pub src_address: vm_address_t, | |
pub copy: boolean_t, | |
pub inheritance: vm_inherit_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__task_wire_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub must_wire: boolean_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__mach_make_memory_entry_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub parent_entry: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub size: vm_size_t, | |
pub offset: vm_offset_t, | |
pub permission: vm_prot_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__vm_map_page_query_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub offset: vm_offset_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__mach_vm_region_info_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub address: vm_address_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__vm_mapped_pages_info_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__vm_region_recurse_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub address: vm_address_t, | |
pub nesting_depth: natural_t, | |
pub infoCnt: mach_msg_type_number_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__vm_region_recurse_64_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub address: vm_address_t, | |
pub nesting_depth: natural_t, | |
pub infoCnt: mach_msg_type_number_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__mach_vm_region_info_64_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub address: vm_address_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__vm_region_64_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub address: vm_address_t, | |
pub flavor: vm_region_flavor_t, | |
pub infoCnt: mach_msg_type_number_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__mach_make_memory_entry_64_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub parent_entry: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub size: memory_object_size_t, | |
pub offset: memory_object_offset_t, | |
pub permission: vm_prot_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__vm_map_64_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub object: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub address: vm_address_t, | |
pub size: vm_size_t, | |
pub mask: vm_address_t, | |
pub flags: ::std::os::raw::c_int, | |
pub offset: memory_object_offset_t, | |
pub copy: boolean_t, | |
pub cur_protection: vm_prot_t, | |
pub max_protection: vm_prot_t, | |
pub inheritance: vm_inherit_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__vm_purgable_control_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub address: vm_address_t, | |
pub control: vm_purgable_t, | |
pub state: ::std::os::raw::c_int, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__vm_map_exec_lockdown_t { | |
pub Head: mach_msg_header_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Request__vm_remap_new_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub src_task: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub target_address: vm_address_t, | |
pub size: vm_size_t, | |
pub mask: vm_address_t, | |
pub flags: ::std::os::raw::c_int, | |
pub src_address: vm_address_t, | |
pub copy: boolean_t, | |
pub cur_protection: vm_prot_t, | |
pub max_protection: vm_prot_t, | |
pub inheritance: vm_inherit_t, | |
} | |
#[repr(C)] | |
#[derive(Copy, Clone)] | |
pub union __RequestUnion__vm_map_subsystem { | |
pub Request_vm_region: __Request__vm_region_t, | |
pub Request_vm_allocate: __Request__vm_allocate_t, | |
pub Request_vm_deallocate: __Request__vm_deallocate_t, | |
pub Request_vm_protect: __Request__vm_protect_t, | |
pub Request_vm_inherit: __Request__vm_inherit_t, | |
pub Request_vm_read: __Request__vm_read_t, | |
pub Request_vm_read_list: __Request__vm_read_list_t, | |
pub Request_vm_write: __Request__vm_write_t, | |
pub Request_vm_copy: __Request__vm_copy_t, | |
pub Request_vm_read_overwrite: __Request__vm_read_overwrite_t, | |
pub Request_vm_msync: __Request__vm_msync_t, | |
pub Request_vm_behavior_set: __Request__vm_behavior_set_t, | |
pub Request_vm_map: __Request__vm_map_t, | |
pub Request_vm_machine_attribute: __Request__vm_machine_attribute_t, | |
pub Request_vm_remap: __Request__vm_remap_t, | |
pub Request_task_wire: __Request__task_wire_t, | |
pub Request_mach_make_memory_entry: __Request__mach_make_memory_entry_t, | |
pub Request_vm_map_page_query: __Request__vm_map_page_query_t, | |
pub Request_mach_vm_region_info: __Request__mach_vm_region_info_t, | |
pub Request_vm_mapped_pages_info: __Request__vm_mapped_pages_info_t, | |
pub Request_vm_region_recurse: __Request__vm_region_recurse_t, | |
pub Request_vm_region_recurse_64: __Request__vm_region_recurse_64_t, | |
pub Request_mach_vm_region_info_64: __Request__mach_vm_region_info_64_t, | |
pub Request_vm_region_64: __Request__vm_region_64_t, | |
pub Request_mach_make_memory_entry_64: __Request__mach_make_memory_entry_64_t, | |
pub Request_vm_map_64: __Request__vm_map_64_t, | |
pub Request_vm_purgable_control: __Request__vm_purgable_control_t, | |
pub Request_vm_map_exec_lockdown: __Request__vm_map_exec_lockdown_t, | |
pub Request_vm_remap_new: __Request__vm_remap_new_t, | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__vm_region_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub object_name: mach_msg_port_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub address: vm_address_t, | |
pub size: vm_size_t, | |
pub infoCnt: mach_msg_type_number_t, | |
pub info: [::std::os::raw::c_int; 10usize], | |
} | |
#[repr(C, packed(4))] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__vm_allocate_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
pub address: vm_address_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__vm_deallocate_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__vm_protect_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__vm_inherit_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__vm_read_t { | |
pub Head: mach_msg_header_t, | |
pub msgh_body: mach_msg_body_t, | |
pub data: mach_msg_ool_descriptor_t, | |
pub NDR: NDR_record_t, | |
pub dataCnt: mach_msg_type_number_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__vm_read_list_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
pub data_list: vm_read_entry_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__vm_write_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C)] | |
#[derive(Debug, Copy, Clone)] | |
pub struct __Reply__vm_copy_t { | |
pub Head: mach_msg_header_t, | |
pub NDR: NDR_record_t, | |
pub RetCode: kern_return_t, | |
} | |
#[repr(C, pack |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment