1 /* automatically generated by rust-bindgen */ 2 3 #![allow(dead_code, 4 non_camel_case_types, 5 non_upper_case_globals, 6 non_snake_case)] 7 pub const __WORDSIZE: ::std::os::raw::c_uchar = 64; 8 pub const __DARWIN_ONLY_64_BIT_INO_T: ::std::os::raw::c_uchar = 0; 9 pub const __DARWIN_ONLY_VERS_1050: ::std::os::raw::c_uchar = 0; 10 pub const __DARWIN_ONLY_UNIX_CONFORMANCE: ::std::os::raw::c_uchar = 1; 11 pub const __DARWIN_UNIX03: ::std::os::raw::c_uchar = 1; 12 pub const __DARWIN_64_BIT_INO_T: ::std::os::raw::c_uchar = 1; 13 pub const __DARWIN_VERS_1050: ::std::os::raw::c_uchar = 1; 14 pub const __DARWIN_NON_CANCELABLE: ::std::os::raw::c_uchar = 0; 15 pub const __DARWIN_C_ANSI: ::std::os::raw::c_ushort = 4096; 16 pub const __DARWIN_C_FULL: ::std::os::raw::c_uint = 900000; 17 pub const __DARWIN_C_LEVEL: ::std::os::raw::c_uint = 900000; 18 pub const __STDC_WANT_LIB_EXT1__: ::std::os::raw::c_uchar = 1; 19 pub const _DARWIN_FEATURE_64_BIT_INODE: ::std::os::raw::c_uchar = 1; 20 pub const _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE: ::std::os::raw::c_uchar = 1; 21 pub const _DARWIN_FEATURE_UNIX_CONFORMANCE: ::std::os::raw::c_uchar = 3; 22 pub const __PTHREAD_SIZE__: ::std::os::raw::c_ushort = 8176; 23 pub const __PTHREAD_ATTR_SIZE__: ::std::os::raw::c_uchar = 56; 24 pub const __PTHREAD_MUTEXATTR_SIZE__: ::std::os::raw::c_uchar = 8; 25 pub const __PTHREAD_MUTEX_SIZE__: ::std::os::raw::c_uchar = 56; 26 pub const __PTHREAD_CONDATTR_SIZE__: ::std::os::raw::c_uchar = 8; 27 pub const __PTHREAD_COND_SIZE__: ::std::os::raw::c_uchar = 40; 28 pub const __PTHREAD_ONCE_SIZE__: ::std::os::raw::c_uchar = 8; 29 pub const __PTHREAD_RWLOCK_SIZE__: ::std::os::raw::c_uchar = 192; 30 pub const __PTHREAD_RWLOCKATTR_SIZE__: ::std::os::raw::c_uchar = 16; 31 pub const INT8_MAX: ::std::os::raw::c_uchar = 127; 32 pub const INT16_MAX: ::std::os::raw::c_ushort = 32767; 33 pub const INT32_MAX: ::std::os::raw::c_uint = 2147483647; 34 pub const INT64_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807; 35 pub const INT8_MIN: ::std::os::raw::c_char = -128; 36 pub const INT16_MIN: ::std::os::raw::c_short = -32768; 37 pub const INT32_MIN: ::std::os::raw::c_int = -2147483648; 38 pub const INT64_MIN: ::std::os::raw::c_longlong = -9223372036854775808; 39 pub const UINT8_MAX: ::std::os::raw::c_uchar = 255; 40 pub const UINT16_MAX: ::std::os::raw::c_ushort = 65535; 41 pub const UINT32_MAX: ::std::os::raw::c_uint = 4294967295; 42 pub const UINT64_MAX: ::std::os::raw::c_char = -1; 43 pub const INT_LEAST8_MIN: ::std::os::raw::c_char = -128; 44 pub const INT_LEAST16_MIN: ::std::os::raw::c_short = -32768; 45 pub const INT_LEAST32_MIN: ::std::os::raw::c_int = -2147483648; 46 pub const INT_LEAST64_MIN: ::std::os::raw::c_longlong = -9223372036854775808; 47 pub const INT_LEAST8_MAX: ::std::os::raw::c_uchar = 127; 48 pub const INT_LEAST16_MAX: ::std::os::raw::c_ushort = 32767; 49 pub const INT_LEAST32_MAX: ::std::os::raw::c_uint = 2147483647; 50 pub const INT_LEAST64_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807; 51 pub const UINT_LEAST8_MAX: ::std::os::raw::c_uchar = 255; 52 pub const UINT_LEAST16_MAX: ::std::os::raw::c_ushort = 65535; 53 pub const UINT_LEAST32_MAX: ::std::os::raw::c_uint = 4294967295; 54 pub const UINT_LEAST64_MAX: ::std::os::raw::c_char = -1; 55 pub const INT_FAST8_MIN: ::std::os::raw::c_char = -128; 56 pub const INT_FAST16_MIN: ::std::os::raw::c_short = -32768; 57 pub const INT_FAST32_MIN: ::std::os::raw::c_int = -2147483648; 58 pub const INT_FAST64_MIN: ::std::os::raw::c_longlong = -9223372036854775808; 59 pub const INT_FAST8_MAX: ::std::os::raw::c_uchar = 127; 60 pub const INT_FAST16_MAX: ::std::os::raw::c_ushort = 32767; 61 pub const INT_FAST32_MAX: ::std::os::raw::c_uint = 2147483647; 62 pub const INT_FAST64_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807; 63 pub const UINT_FAST8_MAX: ::std::os::raw::c_uchar = 255; 64 pub const UINT_FAST16_MAX: ::std::os::raw::c_ushort = 65535; 65 pub const UINT_FAST32_MAX: ::std::os::raw::c_uint = 4294967295; 66 pub const UINT_FAST64_MAX: ::std::os::raw::c_char = -1; 67 pub const INTPTR_MIN: ::std::os::raw::c_longlong = -9223372036854775808; 68 pub const INTPTR_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807; 69 pub const UINTPTR_MAX: ::std::os::raw::c_char = -1; 70 pub const INTMAX_MIN: ::std::os::raw::c_longlong = -9223372036854775808; 71 pub const INTMAX_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807; 72 pub const UINTMAX_MAX: ::std::os::raw::c_char = -1; 73 pub const PTRDIFF_MIN: ::std::os::raw::c_longlong = -9223372036854775808; 74 pub const PTRDIFF_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807; 75 pub const SIZE_MAX: ::std::os::raw::c_char = -1; 76 pub const RSIZE_MAX: ::std::os::raw::c_char = -1; 77 pub const WINT_MIN: ::std::os::raw::c_int = -2147483648; 78 pub const WINT_MAX: ::std::os::raw::c_uint = 2147483647; 79 pub const SIG_ATOMIC_MIN: ::std::os::raw::c_int = -2147483648; 80 pub const SIG_ATOMIC_MAX: ::std::os::raw::c_uint = 2147483647; 81 pub const true_: ::std::os::raw::c_uchar = 1; 82 pub const false_: ::std::os::raw::c_uchar = 0; 83 pub const __bool_true_false_are_defined: ::std::os::raw::c_uchar = 1; 84 pub const BYTE_SIZE: ::std::os::raw::c_uchar = 8; 85 pub const I386_PGBYTES: ::std::os::raw::c_ushort = 4096; 86 pub const I386_PGSHIFT: ::std::os::raw::c_uchar = 12; 87 pub const PAGE_SIZE: ::std::os::raw::c_ushort = 4096; 88 pub const PAGE_SHIFT: ::std::os::raw::c_uchar = 12; 89 pub const PAGE_MASK: ::std::os::raw::c_ushort = 4095; 90 pub const PAGE_MAX_SHIFT: ::std::os::raw::c_uchar = 12; 91 pub const PAGE_MAX_SIZE: ::std::os::raw::c_ushort = 4096; 92 pub const PAGE_MAX_MASK: ::std::os::raw::c_ushort = 4095; 93 pub const PAGE_MIN_SHIFT: ::std::os::raw::c_uchar = 12; 94 pub const PAGE_MIN_SIZE: ::std::os::raw::c_ushort = 4096; 95 pub const PAGE_MIN_MASK: ::std::os::raw::c_ushort = 4095; 96 pub const I386_LPGBYTES: ::std::os::raw::c_uint = 2097152; 97 pub const I386_LPGSHIFT: ::std::os::raw::c_uchar = 21; 98 pub const I386_LPGMASK: ::std::os::raw::c_uint = 2097151; 99 pub const TRUE: ::std::os::raw::c_uchar = 1; 100 pub const FALSE: ::std::os::raw::c_uchar = 0; 101 pub const CPU_STATE_MAX: ::std::os::raw::c_uchar = 4; 102 pub const CPU_STATE_USER: ::std::os::raw::c_uchar = 0; 103 pub const CPU_STATE_SYSTEM: ::std::os::raw::c_uchar = 1; 104 pub const CPU_STATE_IDLE: ::std::os::raw::c_uchar = 2; 105 pub const CPU_STATE_NICE: ::std::os::raw::c_uchar = 3; 106 pub const CPU_ARCH_MASK: ::std::os::raw::c_uint = 4278190080; 107 pub const CPU_ARCH_ABI64: ::std::os::raw::c_uint = 16777216; 108 pub const CPU_SUBTYPE_MASK: ::std::os::raw::c_uint = 4278190080; 109 pub const CPU_SUBTYPE_LIB64: ::std::os::raw::c_uint = 2147483648; 110 pub const CPU_SUBTYPE_INTEL_FAMILY_MAX: ::std::os::raw::c_uchar = 15; 111 pub const CPU_SUBTYPE_INTEL_MODEL_ALL: ::std::os::raw::c_uchar = 0; 112 pub const CPUFAMILY_UNKNOWN: ::std::os::raw::c_uchar = 0; 113 pub const CPUFAMILY_POWERPC_G3: ::std::os::raw::c_uint = 3471054153; 114 pub const CPUFAMILY_POWERPC_G4: ::std::os::raw::c_uint = 2009171118; 115 pub const CPUFAMILY_POWERPC_G5: ::std::os::raw::c_uint = 3983988906; 116 pub const CPUFAMILY_INTEL_6_13: ::std::os::raw::c_uint = 2855483691; 117 pub const CPUFAMILY_INTEL_YONAH: ::std::os::raw::c_uint = 1943433984; 118 pub const CPUFAMILY_INTEL_MEROM: ::std::os::raw::c_uint = 1114597871; 119 pub const CPUFAMILY_INTEL_PENRYN: ::std::os::raw::c_uint = 2028621756; 120 pub const CPUFAMILY_INTEL_NEHALEM: ::std::os::raw::c_uint = 1801080018; 121 pub const CPUFAMILY_INTEL_WESTMERE: ::std::os::raw::c_uint = 1463508716; 122 pub const CPUFAMILY_INTEL_SANDYBRIDGE: ::std::os::raw::c_uint = 1418770316; 123 pub const CPUFAMILY_INTEL_IVYBRIDGE: ::std::os::raw::c_uint = 526772277; 124 pub const CPUFAMILY_INTEL_HASWELL: ::std::os::raw::c_uint = 280134364; 125 pub const CPUFAMILY_INTEL_BROADWELL: ::std::os::raw::c_uint = 1479463068; 126 pub const CPUFAMILY_ARM_9: ::std::os::raw::c_uint = 3878847406; 127 pub const CPUFAMILY_ARM_11: ::std::os::raw::c_uint = 2415272152; 128 pub const CPUFAMILY_ARM_XSCALE: ::std::os::raw::c_uint = 1404044789; 129 pub const CPUFAMILY_ARM_12: ::std::os::raw::c_uint = 3172666089; 130 pub const CPUFAMILY_ARM_13: ::std::os::raw::c_uint = 214503012; 131 pub const CPUFAMILY_ARM_14: ::std::os::raw::c_uint = 2517073649; 132 pub const CPUFAMILY_ARM_15: ::std::os::raw::c_uint = 2823887818; 133 pub const CPUFAMILY_ARM_SWIFT: ::std::os::raw::c_uint = 506291073; 134 pub const CPUFAMILY_ARM_CYCLONE: ::std::os::raw::c_uint = 933271106; 135 pub const CPUFAMILY_INTEL_6_14: ::std::os::raw::c_uint = 1943433984; 136 pub const CPUFAMILY_INTEL_6_15: ::std::os::raw::c_uint = 1114597871; 137 pub const CPUFAMILY_INTEL_6_23: ::std::os::raw::c_uint = 2028621756; 138 pub const CPUFAMILY_INTEL_6_26: ::std::os::raw::c_uint = 1801080018; 139 pub const CPUFAMILY_INTEL_CORE: ::std::os::raw::c_uint = 1943433984; 140 pub const CPUFAMILY_INTEL_CORE2: ::std::os::raw::c_uint = 1114597871; 141 pub const FP_PREC_24B: ::std::os::raw::c_uchar = 0; 142 pub const FP_PREC_53B: ::std::os::raw::c_uchar = 2; 143 pub const FP_PREC_64B: ::std::os::raw::c_uchar = 3; 144 pub const FP_RND_NEAR: ::std::os::raw::c_uchar = 0; 145 pub const FP_RND_DOWN: ::std::os::raw::c_uchar = 1; 146 pub const FP_RND_UP: ::std::os::raw::c_uchar = 2; 147 pub const FP_CHOP: ::std::os::raw::c_uchar = 3; 148 pub const FP_STATE_BYTES: ::std::os::raw::c_ushort = 512; 149 pub const MACH_PORT_NULL: ::std::os::raw::c_uchar = 0; 150 pub const MACH_PORT_TYPE_DNREQUEST: ::std::os::raw::c_uint = 2147483648; 151 pub const MACH_PORT_TYPE_SPREQUEST: ::std::os::raw::c_uint = 1073741824; 152 pub const MACH_PORT_TYPE_SPREQUEST_DELAYED: ::std::os::raw::c_uint = 153 536870912; 154 pub const MACH_PORT_SRIGHTS_NONE: ::std::os::raw::c_uchar = 0; 155 pub const MACH_PORT_SRIGHTS_PRESENT: ::std::os::raw::c_uchar = 1; 156 pub const MACH_PORT_STATUS_FLAG_TEMPOWNER: ::std::os::raw::c_uchar = 1; 157 pub const MACH_PORT_STATUS_FLAG_GUARDED: ::std::os::raw::c_uchar = 2; 158 pub const MACH_PORT_STATUS_FLAG_STRICT_GUARD: ::std::os::raw::c_uchar = 4; 159 pub const MACH_PORT_STATUS_FLAG_IMP_DONATION: ::std::os::raw::c_uchar = 8; 160 pub const MACH_PORT_STATUS_FLAG_REVIVE: ::std::os::raw::c_uchar = 16; 161 pub const MACH_PORT_STATUS_FLAG_TASKPTR: ::std::os::raw::c_uchar = 32; 162 pub const MACH_PORT_LIMITS_INFO: ::std::os::raw::c_uchar = 1; 163 pub const MACH_PORT_RECEIVE_STATUS: ::std::os::raw::c_uchar = 2; 164 pub const MACH_PORT_DNREQUESTS_SIZE: ::std::os::raw::c_uchar = 3; 165 pub const MACH_PORT_TEMPOWNER: ::std::os::raw::c_uchar = 4; 166 pub const MACH_PORT_IMPORTANCE_RECEIVER: ::std::os::raw::c_uchar = 5; 167 pub const MACH_PORT_DENAP_RECEIVER: ::std::os::raw::c_uchar = 6; 168 pub const MACH_PORT_INFO_EXT: ::std::os::raw::c_uchar = 7; 169 pub const MACH_PORT_DNREQUESTS_SIZE_COUNT: ::std::os::raw::c_uchar = 1; 170 pub const MPO_CONTEXT_AS_GUARD: ::std::os::raw::c_uchar = 1; 171 pub const MPO_QLIMIT: ::std::os::raw::c_uchar = 2; 172 pub const MPO_TEMPOWNER: ::std::os::raw::c_uchar = 4; 173 pub const MPO_IMPORTANCE_RECEIVER: ::std::os::raw::c_uchar = 8; 174 pub const MPO_INSERT_SEND_RIGHT: ::std::os::raw::c_uchar = 16; 175 pub const MPO_STRICT: ::std::os::raw::c_uchar = 32; 176 pub const MPO_DENAP_RECEIVER: ::std::os::raw::c_uchar = 64; 177 pub const GUARD_TYPE_MACH_PORT: ::std::os::raw::c_uchar = 1; 178 pub const KERN_SUCCESS: ::std::os::raw::c_uchar = 0; 179 pub const KERN_INVALID_ADDRESS: ::std::os::raw::c_uchar = 1; 180 pub const KERN_PROTECTION_FAILURE: ::std::os::raw::c_uchar = 2; 181 pub const KERN_NO_SPACE: ::std::os::raw::c_uchar = 3; 182 pub const KERN_INVALID_ARGUMENT: ::std::os::raw::c_uchar = 4; 183 pub const KERN_FAILURE: ::std::os::raw::c_uchar = 5; 184 pub const KERN_RESOURCE_SHORTAGE: ::std::os::raw::c_uchar = 6; 185 pub const KERN_NOT_RECEIVER: ::std::os::raw::c_uchar = 7; 186 pub const KERN_NO_ACCESS: ::std::os::raw::c_uchar = 8; 187 pub const KERN_MEMORY_FAILURE: ::std::os::raw::c_uchar = 9; 188 pub const KERN_MEMORY_ERROR: ::std::os::raw::c_uchar = 10; 189 pub const KERN_ALREADY_IN_SET: ::std::os::raw::c_uchar = 11; 190 pub const KERN_NOT_IN_SET: ::std::os::raw::c_uchar = 12; 191 pub const KERN_NAME_EXISTS: ::std::os::raw::c_uchar = 13; 192 pub const KERN_ABORTED: ::std::os::raw::c_uchar = 14; 193 pub const KERN_INVALID_NAME: ::std::os::raw::c_uchar = 15; 194 pub const KERN_INVALID_TASK: ::std::os::raw::c_uchar = 16; 195 pub const KERN_INVALID_RIGHT: ::std::os::raw::c_uchar = 17; 196 pub const KERN_INVALID_VALUE: ::std::os::raw::c_uchar = 18; 197 pub const KERN_UREFS_OVERFLOW: ::std::os::raw::c_uchar = 19; 198 pub const KERN_INVALID_CAPABILITY: ::std::os::raw::c_uchar = 20; 199 pub const KERN_RIGHT_EXISTS: ::std::os::raw::c_uchar = 21; 200 pub const KERN_INVALID_HOST: ::std::os::raw::c_uchar = 22; 201 pub const KERN_MEMORY_PRESENT: ::std::os::raw::c_uchar = 23; 202 pub const KERN_MEMORY_DATA_MOVED: ::std::os::raw::c_uchar = 24; 203 pub const KERN_MEMORY_RESTART_COPY: ::std::os::raw::c_uchar = 25; 204 pub const KERN_INVALID_PROCESSOR_SET: ::std::os::raw::c_uchar = 26; 205 pub const KERN_POLICY_LIMIT: ::std::os::raw::c_uchar = 27; 206 pub const KERN_INVALID_POLICY: ::std::os::raw::c_uchar = 28; 207 pub const KERN_INVALID_OBJECT: ::std::os::raw::c_uchar = 29; 208 pub const KERN_ALREADY_WAITING: ::std::os::raw::c_uchar = 30; 209 pub const KERN_DEFAULT_SET: ::std::os::raw::c_uchar = 31; 210 pub const KERN_EXCEPTION_PROTECTED: ::std::os::raw::c_uchar = 32; 211 pub const KERN_INVALID_LEDGER: ::std::os::raw::c_uchar = 33; 212 pub const KERN_INVALID_MEMORY_CONTROL: ::std::os::raw::c_uchar = 34; 213 pub const KERN_INVALID_SECURITY: ::std::os::raw::c_uchar = 35; 214 pub const KERN_NOT_DEPRESSED: ::std::os::raw::c_uchar = 36; 215 pub const KERN_TERMINATED: ::std::os::raw::c_uchar = 37; 216 pub const KERN_LOCK_SET_DESTROYED: ::std::os::raw::c_uchar = 38; 217 pub const KERN_LOCK_UNSTABLE: ::std::os::raw::c_uchar = 39; 218 pub const KERN_LOCK_OWNED: ::std::os::raw::c_uchar = 40; 219 pub const KERN_LOCK_OWNED_SELF: ::std::os::raw::c_uchar = 41; 220 pub const KERN_SEMAPHORE_DESTROYED: ::std::os::raw::c_uchar = 42; 221 pub const KERN_RPC_SERVER_TERMINATED: ::std::os::raw::c_uchar = 43; 222 pub const KERN_RPC_TERMINATE_ORPHAN: ::std::os::raw::c_uchar = 44; 223 pub const KERN_RPC_CONTINUE_ORPHAN: ::std::os::raw::c_uchar = 45; 224 pub const KERN_NOT_SUPPORTED: ::std::os::raw::c_uchar = 46; 225 pub const KERN_NODE_DOWN: ::std::os::raw::c_uchar = 47; 226 pub const KERN_NOT_WAITING: ::std::os::raw::c_uchar = 48; 227 pub const KERN_OPERATION_TIMED_OUT: ::std::os::raw::c_uchar = 49; 228 pub const KERN_CODESIGN_ERROR: ::std::os::raw::c_uchar = 50; 229 pub const KERN_POLICY_STATIC: ::std::os::raw::c_uchar = 51; 230 pub const KERN_RETURN_MAX: ::std::os::raw::c_ushort = 256; 231 pub const MACH_MSGH_BITS_ZERO: ::std::os::raw::c_uchar = 0; 232 pub const MACH_MSGH_BITS_REMOTE_MASK: ::std::os::raw::c_uchar = 31; 233 pub const MACH_MSGH_BITS_LOCAL_MASK: ::std::os::raw::c_ushort = 7936; 234 pub const MACH_MSGH_BITS_VOUCHER_MASK: ::std::os::raw::c_uint = 2031616; 235 pub const MACH_MSGH_BITS_PORTS_MASK: ::std::os::raw::c_uint = 2039583; 236 pub const MACH_MSGH_BITS_COMPLEX: ::std::os::raw::c_uint = 2147483648; 237 pub const MACH_MSGH_BITS_USER: ::std::os::raw::c_uint = 2149523231; 238 pub const MACH_MSGH_BITS_RAISEIMP: ::std::os::raw::c_uint = 536870912; 239 pub const MACH_MSGH_BITS_DENAP: ::std::os::raw::c_uint = 536870912; 240 pub const MACH_MSGH_BITS_IMPHOLDASRT: ::std::os::raw::c_uint = 268435456; 241 pub const MACH_MSGH_BITS_DENAPHOLDASRT: ::std::os::raw::c_uint = 268435456; 242 pub const MACH_MSGH_BITS_CIRCULAR: ::std::os::raw::c_uint = 268435456; 243 pub const MACH_MSGH_BITS_USED: ::std::os::raw::c_uint = 2954829599; 244 pub const MACH_MSG_TYPE_MOVE_RECEIVE: ::std::os::raw::c_uchar = 16; 245 pub const MACH_MSG_TYPE_MOVE_SEND: ::std::os::raw::c_uchar = 17; 246 pub const MACH_MSG_TYPE_MOVE_SEND_ONCE: ::std::os::raw::c_uchar = 18; 247 pub const MACH_MSG_TYPE_COPY_SEND: ::std::os::raw::c_uchar = 19; 248 pub const MACH_MSG_TYPE_MAKE_SEND: ::std::os::raw::c_uchar = 20; 249 pub const MACH_MSG_TYPE_MAKE_SEND_ONCE: ::std::os::raw::c_uchar = 21; 250 pub const MACH_MSG_TYPE_COPY_RECEIVE: ::std::os::raw::c_uchar = 22; 251 pub const MACH_MSG_TYPE_DISPOSE_RECEIVE: ::std::os::raw::c_uchar = 24; 252 pub const MACH_MSG_TYPE_DISPOSE_SEND: ::std::os::raw::c_uchar = 25; 253 pub const MACH_MSG_TYPE_DISPOSE_SEND_ONCE: ::std::os::raw::c_uchar = 26; 254 pub const MACH_MSG_PHYSICAL_COPY: ::std::os::raw::c_uchar = 0; 255 pub const MACH_MSG_VIRTUAL_COPY: ::std::os::raw::c_uchar = 1; 256 pub const MACH_MSG_ALLOCATE: ::std::os::raw::c_uchar = 2; 257 pub const MACH_MSG_OVERWRITE: ::std::os::raw::c_uchar = 3; 258 pub const MACH_MSG_PORT_DESCRIPTOR: ::std::os::raw::c_uchar = 0; 259 pub const MACH_MSG_OOL_DESCRIPTOR: ::std::os::raw::c_uchar = 1; 260 pub const MACH_MSG_OOL_PORTS_DESCRIPTOR: ::std::os::raw::c_uchar = 2; 261 pub const MACH_MSG_OOL_VOLATILE_DESCRIPTOR: ::std::os::raw::c_uchar = 3; 262 pub const MACH_MSG_TRAILER_FORMAT_0: ::std::os::raw::c_uchar = 0; 263 pub const MACH_MSGH_KIND_NORMAL: ::std::os::raw::c_uchar = 0; 264 pub const MACH_MSGH_KIND_NOTIFICATION: ::std::os::raw::c_uchar = 1; 265 pub const MACH_MSG_TYPE_PORT_NONE: ::std::os::raw::c_uchar = 0; 266 pub const MACH_MSG_TYPE_PORT_NAME: ::std::os::raw::c_uchar = 15; 267 pub const MACH_MSG_TYPE_PORT_RECEIVE: ::std::os::raw::c_uchar = 16; 268 pub const MACH_MSG_TYPE_PORT_SEND: ::std::os::raw::c_uchar = 17; 269 pub const MACH_MSG_TYPE_PORT_SEND_ONCE: ::std::os::raw::c_uchar = 18; 270 pub const MACH_MSG_TYPE_LAST: ::std::os::raw::c_uchar = 22; 271 pub const MACH_MSG_OPTION_NONE: ::std::os::raw::c_uchar = 0; 272 pub const MACH_SEND_MSG: ::std::os::raw::c_uchar = 1; 273 pub const MACH_RCV_MSG: ::std::os::raw::c_uchar = 2; 274 pub const MACH_RCV_LARGE: ::std::os::raw::c_uchar = 4; 275 pub const MACH_RCV_LARGE_IDENTITY: ::std::os::raw::c_uchar = 8; 276 pub const MACH_SEND_TIMEOUT: ::std::os::raw::c_uchar = 16; 277 pub const MACH_SEND_INTERRUPT: ::std::os::raw::c_uchar = 64; 278 pub const MACH_SEND_NOTIFY: ::std::os::raw::c_uchar = 128; 279 pub const MACH_SEND_ALWAYS: ::std::os::raw::c_uint = 65536; 280 pub const MACH_SEND_TRAILER: ::std::os::raw::c_uint = 131072; 281 pub const MACH_SEND_NOIMPORTANCE: ::std::os::raw::c_uint = 262144; 282 pub const MACH_SEND_NODENAP: ::std::os::raw::c_uint = 262144; 283 pub const MACH_SEND_IMPORTANCE: ::std::os::raw::c_uint = 524288; 284 pub const MACH_RCV_TIMEOUT: ::std::os::raw::c_ushort = 256; 285 pub const MACH_RCV_NOTIFY: ::std::os::raw::c_ushort = 512; 286 pub const MACH_RCV_INTERRUPT: ::std::os::raw::c_ushort = 1024; 287 pub const MACH_RCV_VOUCHER: ::std::os::raw::c_ushort = 2048; 288 pub const MACH_RCV_OVERWRITE: ::std::os::raw::c_ushort = 4096; 289 pub const MACH_RCV_TRAILER_NULL: ::std::os::raw::c_uchar = 0; 290 pub const MACH_RCV_TRAILER_SEQNO: ::std::os::raw::c_uchar = 1; 291 pub const MACH_RCV_TRAILER_SENDER: ::std::os::raw::c_uchar = 2; 292 pub const MACH_RCV_TRAILER_AUDIT: ::std::os::raw::c_uchar = 3; 293 pub const MACH_RCV_TRAILER_CTX: ::std::os::raw::c_uchar = 4; 294 pub const MACH_RCV_TRAILER_AV: ::std::os::raw::c_uchar = 7; 295 pub const MACH_RCV_TRAILER_LABELS: ::std::os::raw::c_uchar = 8; 296 pub const MACH_RCV_TRAILER_MASK: ::std::os::raw::c_uint = 251658240; 297 pub const MACH_MSG_SUCCESS: ::std::os::raw::c_uchar = 0; 298 pub const MACH_MSG_MASK: ::std::os::raw::c_ushort = 15872; 299 pub const MACH_MSG_IPC_SPACE: ::std::os::raw::c_ushort = 8192; 300 pub const MACH_MSG_VM_SPACE: ::std::os::raw::c_ushort = 4096; 301 pub const MACH_MSG_IPC_KERNEL: ::std::os::raw::c_ushort = 2048; 302 pub const MACH_MSG_VM_KERNEL: ::std::os::raw::c_ushort = 1024; 303 pub const MACH_SEND_IN_PROGRESS: ::std::os::raw::c_uint = 268435457; 304 pub const MACH_SEND_INVALID_DATA: ::std::os::raw::c_uint = 268435458; 305 pub const MACH_SEND_INVALID_DEST: ::std::os::raw::c_uint = 268435459; 306 pub const MACH_SEND_TIMED_OUT: ::std::os::raw::c_uint = 268435460; 307 pub const MACH_SEND_INVALID_VOUCHER: ::std::os::raw::c_uint = 268435461; 308 pub const MACH_SEND_INTERRUPTED: ::std::os::raw::c_uint = 268435463; 309 pub const MACH_SEND_MSG_TOO_SMALL: ::std::os::raw::c_uint = 268435464; 310 pub const MACH_SEND_INVALID_REPLY: ::std::os::raw::c_uint = 268435465; 311 pub const MACH_SEND_INVALID_RIGHT: ::std::os::raw::c_uint = 268435466; 312 pub const MACH_SEND_INVALID_NOTIFY: ::std::os::raw::c_uint = 268435467; 313 pub const MACH_SEND_INVALID_MEMORY: ::std::os::raw::c_uint = 268435468; 314 pub const MACH_SEND_NO_BUFFER: ::std::os::raw::c_uint = 268435469; 315 pub const MACH_SEND_TOO_LARGE: ::std::os::raw::c_uint = 268435470; 316 pub const MACH_SEND_INVALID_TYPE: ::std::os::raw::c_uint = 268435471; 317 pub const MACH_SEND_INVALID_HEADER: ::std::os::raw::c_uint = 268435472; 318 pub const MACH_SEND_INVALID_TRAILER: ::std::os::raw::c_uint = 268435473; 319 pub const MACH_SEND_INVALID_RT_OOL_SIZE: ::std::os::raw::c_uint = 268435477; 320 pub const MACH_RCV_IN_PROGRESS: ::std::os::raw::c_uint = 268451841; 321 pub const MACH_RCV_INVALID_NAME: ::std::os::raw::c_uint = 268451842; 322 pub const MACH_RCV_TIMED_OUT: ::std::os::raw::c_uint = 268451843; 323 pub const MACH_RCV_TOO_LARGE: ::std::os::raw::c_uint = 268451844; 324 pub const MACH_RCV_INTERRUPTED: ::std::os::raw::c_uint = 268451845; 325 pub const MACH_RCV_PORT_CHANGED: ::std::os::raw::c_uint = 268451846; 326 pub const MACH_RCV_INVALID_NOTIFY: ::std::os::raw::c_uint = 268451847; 327 pub const MACH_RCV_INVALID_DATA: ::std::os::raw::c_uint = 268451848; 328 pub const MACH_RCV_PORT_DIED: ::std::os::raw::c_uint = 268451849; 329 pub const MACH_RCV_IN_SET: ::std::os::raw::c_uint = 268451850; 330 pub const MACH_RCV_HEADER_ERROR: ::std::os::raw::c_uint = 268451851; 331 pub const MACH_RCV_BODY_ERROR: ::std::os::raw::c_uint = 268451852; 332 pub const MACH_RCV_INVALID_TYPE: ::std::os::raw::c_uint = 268451853; 333 pub const MACH_RCV_SCATTER_SMALL: ::std::os::raw::c_uint = 268451854; 334 pub const MACH_RCV_INVALID_TRAILER: ::std::os::raw::c_uint = 268451855; 335 pub const MACH_RCV_IN_PROGRESS_TIMED: ::std::os::raw::c_uint = 268451857; 336 pub const FPC_IE: ::std::os::raw::c_uchar = 1; 337 pub const FPC_IM: ::std::os::raw::c_uchar = 1; 338 pub const FPC_DE: ::std::os::raw::c_uchar = 2; 339 pub const FPC_DM: ::std::os::raw::c_uchar = 2; 340 pub const FPC_ZE: ::std::os::raw::c_uchar = 4; 341 pub const FPC_ZM: ::std::os::raw::c_uchar = 4; 342 pub const FPC_OE: ::std::os::raw::c_uchar = 8; 343 pub const FPC_OM: ::std::os::raw::c_uchar = 8; 344 pub const FPC_UE: ::std::os::raw::c_uchar = 16; 345 pub const FPC_PE: ::std::os::raw::c_uchar = 32; 346 pub const FPC_PC: ::std::os::raw::c_ushort = 768; 347 pub const FPC_PC_24: ::std::os::raw::c_uchar = 0; 348 pub const FPC_PC_53: ::std::os::raw::c_ushort = 512; 349 pub const FPC_PC_64: ::std::os::raw::c_ushort = 768; 350 pub const FPC_RC: ::std::os::raw::c_ushort = 3072; 351 pub const FPC_RC_RN: ::std::os::raw::c_uchar = 0; 352 pub const FPC_RC_RD: ::std::os::raw::c_ushort = 1024; 353 pub const FPC_RC_RU: ::std::os::raw::c_ushort = 2048; 354 pub const FPC_RC_CHOP: ::std::os::raw::c_ushort = 3072; 355 pub const FPC_IC: ::std::os::raw::c_ushort = 4096; 356 pub const FPC_IC_PROJ: ::std::os::raw::c_uchar = 0; 357 pub const FPC_IC_AFF: ::std::os::raw::c_ushort = 4096; 358 pub const FPS_IE: ::std::os::raw::c_uchar = 1; 359 pub const FPS_DE: ::std::os::raw::c_uchar = 2; 360 pub const FPS_ZE: ::std::os::raw::c_uchar = 4; 361 pub const FPS_OE: ::std::os::raw::c_uchar = 8; 362 pub const FPS_UE: ::std::os::raw::c_uchar = 16; 363 pub const FPS_PE: ::std::os::raw::c_uchar = 32; 364 pub const FPS_SF: ::std::os::raw::c_uchar = 64; 365 pub const FPS_ES: ::std::os::raw::c_uchar = 128; 366 pub const FPS_C0: ::std::os::raw::c_ushort = 256; 367 pub const FPS_C1: ::std::os::raw::c_ushort = 512; 368 pub const FPS_C2: ::std::os::raw::c_ushort = 1024; 369 pub const FPS_TOS: ::std::os::raw::c_ushort = 14336; 370 pub const FPS_TOS_SHIFT: ::std::os::raw::c_uchar = 11; 371 pub const FPS_C3: ::std::os::raw::c_ushort = 16384; 372 pub const FPS_BUSY: ::std::os::raw::c_ushort = 32768; 373 pub const FP_NO: ::std::os::raw::c_uchar = 0; 374 pub const FP_SOFT: ::std::os::raw::c_uchar = 1; 375 pub const FP_287: ::std::os::raw::c_uchar = 2; 376 pub const FP_387: ::std::os::raw::c_uchar = 3; 377 pub const FP_FXSR: ::std::os::raw::c_uchar = 4; 378 pub const I386_THREAD_STATE_MAX: ::std::os::raw::c_uchar = 224; 379 pub const THREAD_STATE_MAX: ::std::os::raw::c_uchar = 224; 380 pub const EFL_CF: ::std::os::raw::c_uchar = 1; 381 pub const EFL_PF: ::std::os::raw::c_uchar = 4; 382 pub const EFL_AF: ::std::os::raw::c_uchar = 16; 383 pub const EFL_ZF: ::std::os::raw::c_uchar = 64; 384 pub const EFL_SF: ::std::os::raw::c_uchar = 128; 385 pub const EFL_TF: ::std::os::raw::c_ushort = 256; 386 pub const EFL_IF: ::std::os::raw::c_ushort = 512; 387 pub const EFL_DF: ::std::os::raw::c_ushort = 1024; 388 pub const EFL_OF: ::std::os::raw::c_ushort = 2048; 389 pub const EFL_IOPL: ::std::os::raw::c_ushort = 12288; 390 pub const EFL_IOPL_KERNEL: ::std::os::raw::c_uchar = 0; 391 pub const EFL_IOPL_USER: ::std::os::raw::c_ushort = 12288; 392 pub const EFL_NT: ::std::os::raw::c_ushort = 16384; 393 pub const EFL_RF: ::std::os::raw::c_uint = 65536; 394 pub const EFL_VM: ::std::os::raw::c_uint = 131072; 395 pub const EFL_AC: ::std::os::raw::c_uint = 262144; 396 pub const EFL_VIF: ::std::os::raw::c_uint = 524288; 397 pub const EFL_VIP: ::std::os::raw::c_uint = 1048576; 398 pub const EFL_ID: ::std::os::raw::c_uint = 2097152; 399 pub const EFL_CLR: ::std::os::raw::c_uint = 4294475816; 400 pub const EFL_SET: ::std::os::raw::c_uchar = 2; 401 pub const EFL_USER_SET: ::std::os::raw::c_ushort = 512; 402 pub const EFL_USER_CLEAR: ::std::os::raw::c_uint = 94208; 403 pub const i386_THREAD_STATE: ::std::os::raw::c_uchar = 1; 404 pub const i386_FLOAT_STATE: ::std::os::raw::c_uchar = 2; 405 pub const i386_EXCEPTION_STATE: ::std::os::raw::c_uchar = 3; 406 pub const x86_THREAD_STATE32: ::std::os::raw::c_uchar = 1; 407 pub const x86_FLOAT_STATE32: ::std::os::raw::c_uchar = 2; 408 pub const x86_EXCEPTION_STATE32: ::std::os::raw::c_uchar = 3; 409 pub const x86_THREAD_STATE64: ::std::os::raw::c_uchar = 4; 410 pub const x86_FLOAT_STATE64: ::std::os::raw::c_uchar = 5; 411 pub const x86_EXCEPTION_STATE64: ::std::os::raw::c_uchar = 6; 412 pub const x86_THREAD_STATE: ::std::os::raw::c_uchar = 7; 413 pub const x86_FLOAT_STATE: ::std::os::raw::c_uchar = 8; 414 pub const x86_EXCEPTION_STATE: ::std::os::raw::c_uchar = 9; 415 pub const x86_DEBUG_STATE32: ::std::os::raw::c_uchar = 10; 416 pub const x86_DEBUG_STATE64: ::std::os::raw::c_uchar = 11; 417 pub const x86_DEBUG_STATE: ::std::os::raw::c_uchar = 12; 418 pub const THREAD_STATE_NONE: ::std::os::raw::c_uchar = 13; 419 pub const x86_AVX_STATE32: ::std::os::raw::c_uchar = 16; 420 pub const x86_AVX_STATE64: ::std::os::raw::c_uchar = 17; 421 pub const x86_AVX_STATE: ::std::os::raw::c_uchar = 18; 422 pub const THREAD_MACHINE_STATE_MAX: ::std::os::raw::c_uchar = 224; 423 pub const USER_CODE_SELECTOR: ::std::os::raw::c_uchar = 23; 424 pub const USER_DATA_SELECTOR: ::std::os::raw::c_uchar = 31; 425 pub const KERN_CODE_SELECTOR: ::std::os::raw::c_uchar = 8; 426 pub const KERN_DATA_SELECTOR: ::std::os::raw::c_uchar = 16; 427 pub const MACHINE_THREAD_STATE: ::std::os::raw::c_uchar = 7; 428 pub const MH_MAGIC: ::std::os::raw::c_uint = 4277009102; 429 pub const MH_CIGAM: ::std::os::raw::c_uint = 3472551422; 430 pub const MH_MAGIC_64: ::std::os::raw::c_uint = 4277009103; 431 pub const MH_CIGAM_64: ::std::os::raw::c_uint = 3489328638; 432 pub const MH_OBJECT: ::std::os::raw::c_uchar = 1; 433 pub const MH_EXECUTE: ::std::os::raw::c_uchar = 2; 434 pub const MH_FVMLIB: ::std::os::raw::c_uchar = 3; 435 pub const MH_CORE: ::std::os::raw::c_uchar = 4; 436 pub const MH_PRELOAD: ::std::os::raw::c_uchar = 5; 437 pub const MH_DYLIB: ::std::os::raw::c_uchar = 6; 438 pub const MH_DYLINKER: ::std::os::raw::c_uchar = 7; 439 pub const MH_BUNDLE: ::std::os::raw::c_uchar = 8; 440 pub const MH_DYLIB_STUB: ::std::os::raw::c_uchar = 9; 441 pub const MH_DSYM: ::std::os::raw::c_uchar = 10; 442 pub const MH_KEXT_BUNDLE: ::std::os::raw::c_uchar = 11; 443 pub const MH_NOUNDEFS: ::std::os::raw::c_uchar = 1; 444 pub const MH_INCRLINK: ::std::os::raw::c_uchar = 2; 445 pub const MH_DYLDLINK: ::std::os::raw::c_uchar = 4; 446 pub const MH_BINDATLOAD: ::std::os::raw::c_uchar = 8; 447 pub const MH_PREBOUND: ::std::os::raw::c_uchar = 16; 448 pub const MH_SPLIT_SEGS: ::std::os::raw::c_uchar = 32; 449 pub const MH_LAZY_INIT: ::std::os::raw::c_uchar = 64; 450 pub const MH_TWOLEVEL: ::std::os::raw::c_uchar = 128; 451 pub const MH_FORCE_FLAT: ::std::os::raw::c_ushort = 256; 452 pub const MH_NOMULTIDEFS: ::std::os::raw::c_ushort = 512; 453 pub const MH_NOFIXPREBINDING: ::std::os::raw::c_ushort = 1024; 454 pub const MH_PREBINDABLE: ::std::os::raw::c_ushort = 2048; 455 pub const MH_ALLMODSBOUND: ::std::os::raw::c_ushort = 4096; 456 pub const MH_SUBSECTIONS_VIA_SYMBOLS: ::std::os::raw::c_ushort = 8192; 457 pub const MH_CANONICAL: ::std::os::raw::c_ushort = 16384; 458 pub const MH_WEAK_DEFINES: ::std::os::raw::c_ushort = 32768; 459 pub const MH_BINDS_TO_WEAK: ::std::os::raw::c_uint = 65536; 460 pub const MH_ALLOW_STACK_EXECUTION: ::std::os::raw::c_uint = 131072; 461 pub const MH_ROOT_SAFE: ::std::os::raw::c_uint = 262144; 462 pub const MH_SETUID_SAFE: ::std::os::raw::c_uint = 524288; 463 pub const MH_NO_REEXPORTED_DYLIBS: ::std::os::raw::c_uint = 1048576; 464 pub const MH_PIE: ::std::os::raw::c_uint = 2097152; 465 pub const MH_DEAD_STRIPPABLE_DYLIB: ::std::os::raw::c_uint = 4194304; 466 pub const MH_HAS_TLV_DESCRIPTORS: ::std::os::raw::c_uint = 8388608; 467 pub const MH_NO_HEAP_EXECUTION: ::std::os::raw::c_uint = 16777216; 468 pub const MH_APP_EXTENSION_SAFE: ::std::os::raw::c_uint = 33554432; 469 pub const LC_REQ_DYLD: ::std::os::raw::c_uint = 2147483648; 470 pub const LC_SEGMENT: ::std::os::raw::c_uchar = 1; 471 pub const LC_SYMTAB: ::std::os::raw::c_uchar = 2; 472 pub const LC_SYMSEG: ::std::os::raw::c_uchar = 3; 473 pub const LC_THREAD: ::std::os::raw::c_uchar = 4; 474 pub const LC_UNIXTHREAD: ::std::os::raw::c_uchar = 5; 475 pub const LC_LOADFVMLIB: ::std::os::raw::c_uchar = 6; 476 pub const LC_IDFVMLIB: ::std::os::raw::c_uchar = 7; 477 pub const LC_IDENT: ::std::os::raw::c_uchar = 8; 478 pub const LC_FVMFILE: ::std::os::raw::c_uchar = 9; 479 pub const LC_PREPAGE: ::std::os::raw::c_uchar = 10; 480 pub const LC_DYSYMTAB: ::std::os::raw::c_uchar = 11; 481 pub const LC_LOAD_DYLIB: ::std::os::raw::c_uchar = 12; 482 pub const LC_ID_DYLIB: ::std::os::raw::c_uchar = 13; 483 pub const LC_LOAD_DYLINKER: ::std::os::raw::c_uchar = 14; 484 pub const LC_ID_DYLINKER: ::std::os::raw::c_uchar = 15; 485 pub const LC_PREBOUND_DYLIB: ::std::os::raw::c_uchar = 16; 486 pub const LC_ROUTINES: ::std::os::raw::c_uchar = 17; 487 pub const LC_SUB_FRAMEWORK: ::std::os::raw::c_uchar = 18; 488 pub const LC_SUB_UMBRELLA: ::std::os::raw::c_uchar = 19; 489 pub const LC_SUB_CLIENT: ::std::os::raw::c_uchar = 20; 490 pub const LC_SUB_LIBRARY: ::std::os::raw::c_uchar = 21; 491 pub const LC_TWOLEVEL_HINTS: ::std::os::raw::c_uchar = 22; 492 pub const LC_PREBIND_CKSUM: ::std::os::raw::c_uchar = 23; 493 pub const LC_LOAD_WEAK_DYLIB: ::std::os::raw::c_uint = 2147483672; 494 pub const LC_SEGMENT_64: ::std::os::raw::c_uchar = 25; 495 pub const LC_ROUTINES_64: ::std::os::raw::c_uchar = 26; 496 pub const LC_UUID: ::std::os::raw::c_uchar = 27; 497 pub const LC_RPATH: ::std::os::raw::c_uint = 2147483676; 498 pub const LC_CODE_SIGNATURE: ::std::os::raw::c_uchar = 29; 499 pub const LC_SEGMENT_SPLIT_INFO: ::std::os::raw::c_uchar = 30; 500 pub const LC_REEXPORT_DYLIB: ::std::os::raw::c_uint = 2147483679; 501 pub const LC_LAZY_LOAD_DYLIB: ::std::os::raw::c_uchar = 32; 502 pub const LC_ENCRYPTION_INFO: ::std::os::raw::c_uchar = 33; 503 pub const LC_DYLD_INFO: ::std::os::raw::c_uchar = 34; 504 pub const LC_DYLD_INFO_ONLY: ::std::os::raw::c_uint = 2147483682; 505 pub const LC_LOAD_UPWARD_DYLIB: ::std::os::raw::c_uint = 2147483683; 506 pub const LC_VERSION_MIN_MACOSX: ::std::os::raw::c_uchar = 36; 507 pub const LC_VERSION_MIN_IPHONEOS: ::std::os::raw::c_uchar = 37; 508 pub const LC_FUNCTION_STARTS: ::std::os::raw::c_uchar = 38; 509 pub const LC_DYLD_ENVIRONMENT: ::std::os::raw::c_uchar = 39; 510 pub const LC_MAIN: ::std::os::raw::c_uint = 2147483688; 511 pub const LC_DATA_IN_CODE: ::std::os::raw::c_uchar = 41; 512 pub const LC_SOURCE_VERSION: ::std::os::raw::c_uchar = 42; 513 pub const LC_DYLIB_CODE_SIGN_DRS: ::std::os::raw::c_uchar = 43; 514 pub const LC_ENCRYPTION_INFO_64: ::std::os::raw::c_uchar = 44; 515 pub const LC_LINKER_OPTION: ::std::os::raw::c_uchar = 45; 516 pub const LC_LINKER_OPTIMIZATION_HINT: ::std::os::raw::c_uchar = 46; 517 pub const SG_HIGHVM: ::std::os::raw::c_uchar = 1; 518 pub const SG_FVMLIB: ::std::os::raw::c_uchar = 2; 519 pub const SG_NORELOC: ::std::os::raw::c_uchar = 4; 520 pub const SG_PROTECTED_VERSION_1: ::std::os::raw::c_uchar = 8; 521 pub const SECTION_TYPE: ::std::os::raw::c_uchar = 255; 522 pub const SECTION_ATTRIBUTES: ::std::os::raw::c_uint = 4294967040; 523 pub const S_REGULAR: ::std::os::raw::c_uchar = 0; 524 pub const S_ZEROFILL: ::std::os::raw::c_uchar = 1; 525 pub const S_CSTRING_LITERALS: ::std::os::raw::c_uchar = 2; 526 pub const S_4BYTE_LITERALS: ::std::os::raw::c_uchar = 3; 527 pub const S_8BYTE_LITERALS: ::std::os::raw::c_uchar = 4; 528 pub const S_LITERAL_POINTERS: ::std::os::raw::c_uchar = 5; 529 pub const S_NON_LAZY_SYMBOL_POINTERS: ::std::os::raw::c_uchar = 6; 530 pub const S_LAZY_SYMBOL_POINTERS: ::std::os::raw::c_uchar = 7; 531 pub const S_SYMBOL_STUBS: ::std::os::raw::c_uchar = 8; 532 pub const S_MOD_INIT_FUNC_POINTERS: ::std::os::raw::c_uchar = 9; 533 pub const S_MOD_TERM_FUNC_POINTERS: ::std::os::raw::c_uchar = 10; 534 pub const S_COALESCED: ::std::os::raw::c_uchar = 11; 535 pub const S_GB_ZEROFILL: ::std::os::raw::c_uchar = 12; 536 pub const S_INTERPOSING: ::std::os::raw::c_uchar = 13; 537 pub const S_16BYTE_LITERALS: ::std::os::raw::c_uchar = 14; 538 pub const S_DTRACE_DOF: ::std::os::raw::c_uchar = 15; 539 pub const S_LAZY_DYLIB_SYMBOL_POINTERS: ::std::os::raw::c_uchar = 16; 540 pub const S_THREAD_LOCAL_REGULAR: ::std::os::raw::c_uchar = 17; 541 pub const S_THREAD_LOCAL_ZEROFILL: ::std::os::raw::c_uchar = 18; 542 pub const S_THREAD_LOCAL_VARIABLES: ::std::os::raw::c_uchar = 19; 543 pub const S_THREAD_LOCAL_VARIABLE_POINTERS: ::std::os::raw::c_uchar = 20; 544 pub const S_THREAD_LOCAL_INIT_FUNCTION_POINTERS: ::std::os::raw::c_uchar = 21; 545 pub const SECTION_ATTRIBUTES_USR: ::std::os::raw::c_uint = 4278190080; 546 pub const S_ATTR_PURE_INSTRUCTIONS: ::std::os::raw::c_uint = 2147483648; 547 pub const S_ATTR_NO_TOC: ::std::os::raw::c_uint = 1073741824; 548 pub const S_ATTR_STRIP_STATIC_SYMS: ::std::os::raw::c_uint = 536870912; 549 pub const S_ATTR_NO_DEAD_STRIP: ::std::os::raw::c_uint = 268435456; 550 pub const S_ATTR_LIVE_SUPPORT: ::std::os::raw::c_uint = 134217728; 551 pub const S_ATTR_SELF_MODIFYING_CODE: ::std::os::raw::c_uint = 67108864; 552 pub const S_ATTR_DEBUG: ::std::os::raw::c_uint = 33554432; 553 pub const SECTION_ATTRIBUTES_SYS: ::std::os::raw::c_uint = 16776960; 554 pub const S_ATTR_SOME_INSTRUCTIONS: ::std::os::raw::c_ushort = 1024; 555 pub const S_ATTR_EXT_RELOC: ::std::os::raw::c_ushort = 512; 556 pub const S_ATTR_LOC_RELOC: ::std::os::raw::c_ushort = 256; 557 pub const INDIRECT_SYMBOL_LOCAL: ::std::os::raw::c_uint = 2147483648; 558 pub const INDIRECT_SYMBOL_ABS: ::std::os::raw::c_uint = 1073741824; 559 pub const REBASE_TYPE_POINTER: ::std::os::raw::c_uchar = 1; 560 pub const REBASE_TYPE_TEXT_ABSOLUTE32: ::std::os::raw::c_uchar = 2; 561 pub const REBASE_TYPE_TEXT_PCREL32: ::std::os::raw::c_uchar = 3; 562 pub const REBASE_OPCODE_MASK: ::std::os::raw::c_uchar = 240; 563 pub const REBASE_IMMEDIATE_MASK: ::std::os::raw::c_uchar = 15; 564 pub const REBASE_OPCODE_DONE: ::std::os::raw::c_uchar = 0; 565 pub const REBASE_OPCODE_SET_TYPE_IMM: ::std::os::raw::c_uchar = 16; 566 pub const REBASE_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB: ::std::os::raw::c_uchar = 567 32; 568 pub const REBASE_OPCODE_ADD_ADDR_ULEB: ::std::os::raw::c_uchar = 48; 569 pub const REBASE_OPCODE_ADD_ADDR_IMM_SCALED: ::std::os::raw::c_uchar = 64; 570 pub const REBASE_OPCODE_DO_REBASE_IMM_TIMES: ::std::os::raw::c_uchar = 80; 571 pub const REBASE_OPCODE_DO_REBASE_ULEB_TIMES: ::std::os::raw::c_uchar = 96; 572 pub const REBASE_OPCODE_DO_REBASE_ADD_ADDR_ULEB: ::std::os::raw::c_uchar = 573 112; 574 pub const REBASE_OPCODE_DO_REBASE_ULEB_TIMES_SKIPPING_ULEB: 575 ::std::os::raw::c_uchar = 576 128; 577 pub const BIND_TYPE_POINTER: ::std::os::raw::c_uchar = 1; 578 pub const BIND_TYPE_TEXT_ABSOLUTE32: ::std::os::raw::c_uchar = 2; 579 pub const BIND_TYPE_TEXT_PCREL32: ::std::os::raw::c_uchar = 3; 580 pub const BIND_SPECIAL_DYLIB_SELF: ::std::os::raw::c_uchar = 0; 581 pub const BIND_SPECIAL_DYLIB_MAIN_EXECUTABLE: ::std::os::raw::c_char = -1; 582 pub const BIND_SPECIAL_DYLIB_FLAT_LOOKUP: ::std::os::raw::c_char = -2; 583 pub const BIND_SYMBOL_FLAGS_WEAK_IMPORT: ::std::os::raw::c_uchar = 1; 584 pub const BIND_SYMBOL_FLAGS_NON_WEAK_DEFINITION: ::std::os::raw::c_uchar = 8; 585 pub const BIND_OPCODE_MASK: ::std::os::raw::c_uchar = 240; 586 pub const BIND_IMMEDIATE_MASK: ::std::os::raw::c_uchar = 15; 587 pub const BIND_OPCODE_DONE: ::std::os::raw::c_uchar = 0; 588 pub const BIND_OPCODE_SET_DYLIB_ORDINAL_IMM: ::std::os::raw::c_uchar = 16; 589 pub const BIND_OPCODE_SET_DYLIB_ORDINAL_ULEB: ::std::os::raw::c_uchar = 32; 590 pub const BIND_OPCODE_SET_DYLIB_SPECIAL_IMM: ::std::os::raw::c_uchar = 48; 591 pub const BIND_OPCODE_SET_SYMBOL_TRAILING_FLAGS_IMM: ::std::os::raw::c_uchar = 592 64; 593 pub const BIND_OPCODE_SET_TYPE_IMM: ::std::os::raw::c_uchar = 80; 594 pub const BIND_OPCODE_SET_ADDEND_SLEB: ::std::os::raw::c_uchar = 96; 595 pub const BIND_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB: ::std::os::raw::c_uchar = 596 112; 597 pub const BIND_OPCODE_ADD_ADDR_ULEB: ::std::os::raw::c_uchar = 128; 598 pub const BIND_OPCODE_DO_BIND: ::std::os::raw::c_uchar = 144; 599 pub const BIND_OPCODE_DO_BIND_ADD_ADDR_ULEB: ::std::os::raw::c_uchar = 160; 600 pub const BIND_OPCODE_DO_BIND_ADD_ADDR_IMM_SCALED: ::std::os::raw::c_uchar = 601 176; 602 pub const BIND_OPCODE_DO_BIND_ULEB_TIMES_SKIPPING_ULEB: 603 ::std::os::raw::c_uchar = 604 192; 605 pub const EXPORT_SYMBOL_FLAGS_KIND_MASK: ::std::os::raw::c_uchar = 3; 606 pub const EXPORT_SYMBOL_FLAGS_KIND_REGULAR: ::std::os::raw::c_uchar = 0; 607 pub const EXPORT_SYMBOL_FLAGS_KIND_THREAD_LOCAL: ::std::os::raw::c_uchar = 1; 608 pub const EXPORT_SYMBOL_FLAGS_WEAK_DEFINITION: ::std::os::raw::c_uchar = 4; 609 pub const EXPORT_SYMBOL_FLAGS_REEXPORT: ::std::os::raw::c_uchar = 8; 610 pub const EXPORT_SYMBOL_FLAGS_STUB_AND_RESOLVER: ::std::os::raw::c_uchar = 16; 611 pub const DICE_KIND_DATA: ::std::os::raw::c_uchar = 1; 612 pub const DICE_KIND_JUMP_TABLE8: ::std::os::raw::c_uchar = 2; 613 pub const DICE_KIND_JUMP_TABLE16: ::std::os::raw::c_uchar = 3; 614 pub const DICE_KIND_JUMP_TABLE32: ::std::os::raw::c_uchar = 4; 615 pub const DICE_KIND_ABS_JUMP_TABLE32: ::std::os::raw::c_uchar = 5; 616 pub const __MAC_10_0: ::std::os::raw::c_ushort = 1000; 617 pub const __MAC_10_1: ::std::os::raw::c_ushort = 1010; 618 pub const __MAC_10_2: ::std::os::raw::c_ushort = 1020; 619 pub const __MAC_10_3: ::std::os::raw::c_ushort = 1030; 620 pub const __MAC_10_4: ::std::os::raw::c_ushort = 1040; 621 pub const __MAC_10_5: ::std::os::raw::c_ushort = 1050; 622 pub const __MAC_10_6: ::std::os::raw::c_ushort = 1060; 623 pub const __MAC_10_7: ::std::os::raw::c_ushort = 1070; 624 pub const __MAC_10_8: ::std::os::raw::c_ushort = 1080; 625 pub const __MAC_10_9: ::std::os::raw::c_ushort = 1090; 626 pub const __MAC_10_10: ::std::os::raw::c_uint = 101000; 627 pub const __MAC_10_10_2: ::std::os::raw::c_uint = 101002; 628 pub const __MAC_10_10_3: ::std::os::raw::c_uint = 101003; 629 pub const __IPHONE_2_0: ::std::os::raw::c_ushort = 20000; 630 pub const __IPHONE_2_1: ::std::os::raw::c_ushort = 20100; 631 pub const __IPHONE_2_2: ::std::os::raw::c_ushort = 20200; 632 pub const __IPHONE_3_0: ::std::os::raw::c_ushort = 30000; 633 pub const __IPHONE_3_1: ::std::os::raw::c_ushort = 30100; 634 pub const __IPHONE_3_2: ::std::os::raw::c_ushort = 30200; 635 pub const __IPHONE_4_0: ::std::os::raw::c_ushort = 40000; 636 pub const __IPHONE_4_1: ::std::os::raw::c_ushort = 40100; 637 pub const __IPHONE_4_2: ::std::os::raw::c_ushort = 40200; 638 pub const __IPHONE_4_3: ::std::os::raw::c_ushort = 40300; 639 pub const __IPHONE_5_0: ::std::os::raw::c_ushort = 50000; 640 pub const __IPHONE_5_1: ::std::os::raw::c_ushort = 50100; 641 pub const __IPHONE_6_0: ::std::os::raw::c_ushort = 60000; 642 pub const __IPHONE_6_1: ::std::os::raw::c_ushort = 60100; 643 pub const __IPHONE_7_0: ::std::os::raw::c_uint = 70000; 644 pub const __IPHONE_7_1: ::std::os::raw::c_uint = 70100; 645 pub const __IPHONE_8_0: ::std::os::raw::c_uint = 80000; 646 pub const __MAC_OS_X_VERSION_MAX_ALLOWED: ::std::os::raw::c_uint = 101003; 647 pub const NSLINKMODULE_OPTION_NONE: ::std::os::raw::c_uchar = 0; 648 pub const NSLINKMODULE_OPTION_BINDNOW: ::std::os::raw::c_uchar = 1; 649 pub const NSLINKMODULE_OPTION_PRIVATE: ::std::os::raw::c_uchar = 2; 650 pub const NSLINKMODULE_OPTION_RETURN_ON_ERROR: ::std::os::raw::c_uchar = 4; 651 pub const NSLINKMODULE_OPTION_DONT_CALL_MOD_INIT_ROUTINES: 652 ::std::os::raw::c_uchar = 653 8; 654 pub const NSLINKMODULE_OPTION_TRAILING_PHYS_NAME: ::std::os::raw::c_uchar = 655 16; 656 pub const NSUNLINKMODULE_OPTION_NONE: ::std::os::raw::c_uchar = 0; 657 pub const NSUNLINKMODULE_OPTION_KEEP_MEMORY_MAPPED: ::std::os::raw::c_uchar = 658 1; 659 pub const NSUNLINKMODULE_OPTION_RESET_LAZY_REFERENCES: ::std::os::raw::c_uchar 660 = 661 2; 662 pub const NSLOOKUPSYMBOLINIMAGE_OPTION_BIND: ::std::os::raw::c_uchar = 0; 663 pub const NSLOOKUPSYMBOLINIMAGE_OPTION_BIND_NOW: ::std::os::raw::c_uchar = 1; 664 pub const NSLOOKUPSYMBOLINIMAGE_OPTION_BIND_FULLY: ::std::os::raw::c_uchar = 665 2; 666 pub const NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR: 667 ::std::os::raw::c_uchar = 668 4; 669 pub const NSADDIMAGE_OPTION_NONE: ::std::os::raw::c_uchar = 0; 670 pub const NSADDIMAGE_OPTION_RETURN_ON_ERROR: ::std::os::raw::c_uchar = 1; 671 pub const NSADDIMAGE_OPTION_WITH_SEARCHING: ::std::os::raw::c_uchar = 2; 672 pub const NSADDIMAGE_OPTION_RETURN_ONLY_IF_LOADED: ::std::os::raw::c_uchar = 673 4; 674 pub const NSADDIMAGE_OPTION_MATCH_FILENAME_BY_INSTALLNAME: 675 ::std::os::raw::c_uchar = 676 8; 677 pub type ptrdiff_t = isize; 678 pub type size_t = usize; 679 pub type wchar_t = ::std::os::raw::c_int; 680 pub type max_align_t = f64; 681 pub type int8_t = i8; 682 pub type int16_t = i16; 683 pub type int32_t = i32; 684 pub type int64_t = i64; 685 pub type uint8_t = u8; 686 pub type uint16_t = u16; 687 pub type uint32_t = u32; 688 pub type uint64_t = u64; 689 pub type int_least8_t = int8_t; 690 pub type int_least16_t = int16_t; 691 pub type int_least32_t = int32_t; 692 pub type int_least64_t = int64_t; 693 pub type uint_least8_t = uint8_t; 694 pub type uint_least16_t = uint16_t; 695 pub type uint_least32_t = uint32_t; 696 pub type uint_least64_t = uint64_t; 697 pub type int_fast8_t = int8_t; 698 pub type int_fast16_t = int16_t; 699 pub type int_fast32_t = int32_t; 700 pub type int_fast64_t = int64_t; 701 pub type uint_fast8_t = uint8_t; 702 pub type uint_fast16_t = uint16_t; 703 pub type uint_fast32_t = uint32_t; 704 pub type uint_fast64_t = uint64_t; 705 pub type __int8_t = ::std::os::raw::c_char; 706 pub type __uint8_t = ::std::os::raw::c_uchar; 707 pub type __int16_t = ::std::os::raw::c_short; 708 pub type __uint16_t = ::std::os::raw::c_ushort; 709 pub type __int32_t = ::std::os::raw::c_int; 710 pub type __uint32_t = ::std::os::raw::c_uint; 711 pub type __int64_t = ::std::os::raw::c_longlong; 712 pub type __uint64_t = ::std::os::raw::c_ulonglong; 713 pub type __darwin_intptr_t = ::std::os::raw::c_long; 714 pub type __darwin_natural_t = ::std::os::raw::c_uint; 715 pub type __darwin_ct_rune_t = ::std::os::raw::c_int; 716 #[repr(C)] 717 #[derive(Copy)] 718 pub struct __mbstate_t { 719 pub _bindgen_data_: [u64; 16usize], 720 } 721 impl __mbstate_t { __mbstate8(&mut self) -> *mut [::std::os::raw::c_char; 128usize]722 pub unsafe fn __mbstate8(&mut self) 723 -> *mut [::std::os::raw::c_char; 128usize] { 724 let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); 725 ::std::mem::transmute(raw.offset(0)) 726 } _mbstateL(&mut self) -> *mut ::std::os::raw::c_longlong727 pub unsafe fn _mbstateL(&mut self) -> *mut ::std::os::raw::c_longlong { 728 let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); 729 ::std::mem::transmute(raw.offset(0)) 730 } 731 } 732 impl ::std::clone::Clone for __mbstate_t { clone(&self) -> Self733 fn clone(&self) -> Self { *self } 734 } 735 impl ::std::default::Default for __mbstate_t { default() -> Self736 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 737 } 738 pub type __darwin_mbstate_t = __mbstate_t; 739 pub type __darwin_ptrdiff_t = ::std::os::raw::c_long; 740 pub type __darwin_size_t = ::std::os::raw::c_ulong; 741 pub type __darwin_wchar_t = ::std::os::raw::c_int; 742 pub type __darwin_rune_t = __darwin_wchar_t; 743 pub type __darwin_wint_t = ::std::os::raw::c_int; 744 pub type __darwin_clock_t = ::std::os::raw::c_ulong; 745 pub type __darwin_socklen_t = __uint32_t; 746 pub type __darwin_ssize_t = ::std::os::raw::c_long; 747 pub type __darwin_time_t = ::std::os::raw::c_long; 748 pub type __darwin_blkcnt_t = __int64_t; 749 pub type __darwin_blksize_t = __int32_t; 750 pub type __darwin_dev_t = __int32_t; 751 pub type __darwin_fsblkcnt_t = ::std::os::raw::c_uint; 752 pub type __darwin_fsfilcnt_t = ::std::os::raw::c_uint; 753 pub type __darwin_gid_t = __uint32_t; 754 pub type __darwin_id_t = __uint32_t; 755 pub type __darwin_ino64_t = __uint64_t; 756 pub type __darwin_ino_t = __darwin_ino64_t; 757 pub type __darwin_mach_port_name_t = __darwin_natural_t; 758 pub type __darwin_mach_port_t = __darwin_mach_port_name_t; 759 pub type __darwin_mode_t = __uint16_t; 760 pub type __darwin_off_t = __int64_t; 761 pub type __darwin_pid_t = __int32_t; 762 pub type __darwin_sigset_t = __uint32_t; 763 pub type __darwin_suseconds_t = __int32_t; 764 pub type __darwin_uid_t = __uint32_t; 765 pub type __darwin_useconds_t = __uint32_t; 766 pub type __darwin_uuid_t = [::std::os::raw::c_uchar; 16usize]; 767 pub type __darwin_uuid_string_t = [::std::os::raw::c_char; 37usize]; 768 #[repr(C)] 769 #[derive(Copy, Clone)] 770 #[derive(Debug)] 771 pub struct __darwin_pthread_handler_rec { 772 pub __routine: ::std::option::Option<unsafe extern "C" fn(arg1: 773 *mut ::std::os::raw::c_void)>, 774 pub __arg: *mut ::std::os::raw::c_void, 775 pub __next: *mut __darwin_pthread_handler_rec, 776 } 777 impl ::std::default::Default for __darwin_pthread_handler_rec { default() -> Self778 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 779 } 780 #[repr(C)] 781 #[derive(Copy)] 782 pub struct _opaque_pthread_attr_t { 783 pub __sig: ::std::os::raw::c_long, 784 pub __opaque: [::std::os::raw::c_char; 56usize], 785 } 786 impl ::std::clone::Clone for _opaque_pthread_attr_t { clone(&self) -> Self787 fn clone(&self) -> Self { *self } 788 } 789 impl ::std::default::Default for _opaque_pthread_attr_t { default() -> Self790 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 791 } 792 #[repr(C)] 793 #[derive(Copy)] 794 pub struct _opaque_pthread_cond_t { 795 pub __sig: ::std::os::raw::c_long, 796 pub __opaque: [::std::os::raw::c_char; 40usize], 797 } 798 impl ::std::clone::Clone for _opaque_pthread_cond_t { clone(&self) -> Self799 fn clone(&self) -> Self { *self } 800 } 801 impl ::std::default::Default for _opaque_pthread_cond_t { default() -> Self802 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 803 } 804 #[repr(C)] 805 #[derive(Copy, Clone)] 806 #[derive(Debug)] 807 pub struct _opaque_pthread_condattr_t { 808 pub __sig: ::std::os::raw::c_long, 809 pub __opaque: [::std::os::raw::c_char; 8usize], 810 } 811 impl ::std::default::Default for _opaque_pthread_condattr_t { default() -> Self812 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 813 } 814 #[repr(C)] 815 #[derive(Copy)] 816 pub struct _opaque_pthread_mutex_t { 817 pub __sig: ::std::os::raw::c_long, 818 pub __opaque: [::std::os::raw::c_char; 56usize], 819 } 820 impl ::std::clone::Clone for _opaque_pthread_mutex_t { clone(&self) -> Self821 fn clone(&self) -> Self { *self } 822 } 823 impl ::std::default::Default for _opaque_pthread_mutex_t { default() -> Self824 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 825 } 826 #[repr(C)] 827 #[derive(Copy, Clone)] 828 #[derive(Debug)] 829 pub struct _opaque_pthread_mutexattr_t { 830 pub __sig: ::std::os::raw::c_long, 831 pub __opaque: [::std::os::raw::c_char; 8usize], 832 } 833 impl ::std::default::Default for _opaque_pthread_mutexattr_t { default() -> Self834 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 835 } 836 #[repr(C)] 837 #[derive(Copy, Clone)] 838 #[derive(Debug)] 839 pub struct _opaque_pthread_once_t { 840 pub __sig: ::std::os::raw::c_long, 841 pub __opaque: [::std::os::raw::c_char; 8usize], 842 } 843 impl ::std::default::Default for _opaque_pthread_once_t { default() -> Self844 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 845 } 846 #[repr(C)] 847 #[derive(Copy)] 848 pub struct _opaque_pthread_rwlock_t { 849 pub __sig: ::std::os::raw::c_long, 850 pub __opaque: [::std::os::raw::c_char; 192usize], 851 } 852 impl ::std::clone::Clone for _opaque_pthread_rwlock_t { clone(&self) -> Self853 fn clone(&self) -> Self { *self } 854 } 855 impl ::std::default::Default for _opaque_pthread_rwlock_t { default() -> Self856 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 857 } 858 #[repr(C)] 859 #[derive(Copy, Clone)] 860 #[derive(Debug)] 861 pub struct _opaque_pthread_rwlockattr_t { 862 pub __sig: ::std::os::raw::c_long, 863 pub __opaque: [::std::os::raw::c_char; 16usize], 864 } 865 impl ::std::default::Default for _opaque_pthread_rwlockattr_t { default() -> Self866 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 867 } 868 #[repr(C)] 869 #[derive(Copy)] 870 pub struct _opaque_pthread_t { 871 pub __sig: ::std::os::raw::c_long, 872 pub __cleanup_stack: *mut __darwin_pthread_handler_rec, 873 pub __opaque: [::std::os::raw::c_char; 8176usize], 874 } 875 impl ::std::clone::Clone for _opaque_pthread_t { clone(&self) -> Self876 fn clone(&self) -> Self { *self } 877 } 878 impl ::std::default::Default for _opaque_pthread_t { default() -> Self879 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 880 } 881 pub type __darwin_pthread_attr_t = _opaque_pthread_attr_t; 882 pub type __darwin_pthread_cond_t = _opaque_pthread_cond_t; 883 pub type __darwin_pthread_condattr_t = _opaque_pthread_condattr_t; 884 pub type __darwin_pthread_key_t = ::std::os::raw::c_ulong; 885 pub type __darwin_pthread_mutex_t = _opaque_pthread_mutex_t; 886 pub type __darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t; 887 pub type __darwin_pthread_once_t = _opaque_pthread_once_t; 888 pub type __darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t; 889 pub type __darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t; 890 pub type __darwin_pthread_t = *mut _opaque_pthread_t; 891 pub type intptr_t = isize; 892 pub type uintptr_t = usize; 893 pub type intmax_t = ::std::os::raw::c_long; 894 pub type uintmax_t = ::std::os::raw::c_ulong; 895 pub type natural_t = __darwin_natural_t; 896 pub type integer_t = ::std::os::raw::c_int; 897 pub type vm_offset_t = uintptr_t; 898 pub type vm_size_t = uintptr_t; 899 pub type mach_vm_address_t = uint64_t; 900 pub type mach_vm_offset_t = uint64_t; 901 pub type mach_vm_size_t = uint64_t; 902 pub type vm_map_offset_t = uint64_t; 903 pub type vm_map_address_t = uint64_t; 904 pub type vm_map_size_t = uint64_t; 905 pub type mach_port_context_t = mach_vm_address_t; 906 pub type boolean_t = ::std::os::raw::c_uint; 907 pub type cpu_type_t = integer_t; 908 pub type cpu_subtype_t = integer_t; 909 pub type cpu_threadtype_t = integer_t; 910 pub type vm_prot_t = ::std::os::raw::c_int; 911 #[repr(C)] 912 #[derive(Copy, Clone)] 913 #[derive(Debug)] 914 pub struct __darwin_i386_thread_state { 915 pub __eax: ::std::os::raw::c_uint, 916 pub __ebx: ::std::os::raw::c_uint, 917 pub __ecx: ::std::os::raw::c_uint, 918 pub __edx: ::std::os::raw::c_uint, 919 pub __edi: ::std::os::raw::c_uint, 920 pub __esi: ::std::os::raw::c_uint, 921 pub __ebp: ::std::os::raw::c_uint, 922 pub __esp: ::std::os::raw::c_uint, 923 pub __ss: ::std::os::raw::c_uint, 924 pub __eflags: ::std::os::raw::c_uint, 925 pub __eip: ::std::os::raw::c_uint, 926 pub __cs: ::std::os::raw::c_uint, 927 pub __ds: ::std::os::raw::c_uint, 928 pub __es: ::std::os::raw::c_uint, 929 pub __fs: ::std::os::raw::c_uint, 930 pub __gs: ::std::os::raw::c_uint, 931 } 932 impl ::std::default::Default for __darwin_i386_thread_state { default() -> Self933 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 934 } 935 #[repr(C)] 936 #[derive(Copy, Clone)] 937 #[derive(Debug)] 938 pub struct __darwin_fp_control { 939 pub _bindgen_bitfield_1_: ::std::os::raw::c_ushort, 940 } 941 impl ::std::default::Default for __darwin_fp_control { default() -> Self942 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 943 } 944 pub type __darwin_fp_control_t = __darwin_fp_control; 945 #[repr(C)] 946 #[derive(Copy, Clone)] 947 #[derive(Debug)] 948 pub struct __darwin_fp_status { 949 pub _bindgen_bitfield_1_: ::std::os::raw::c_ushort, 950 } 951 impl ::std::default::Default for __darwin_fp_status { default() -> Self952 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 953 } 954 pub type __darwin_fp_status_t = __darwin_fp_status; 955 #[repr(C)] 956 #[derive(Copy, Clone)] 957 #[derive(Debug)] 958 pub struct __darwin_mmst_reg { 959 pub __mmst_reg: [::std::os::raw::c_char; 10usize], 960 pub __mmst_rsrv: [::std::os::raw::c_char; 6usize], 961 } 962 impl ::std::default::Default for __darwin_mmst_reg { default() -> Self963 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 964 } 965 #[repr(C)] 966 #[derive(Copy, Clone)] 967 #[derive(Debug)] 968 pub struct __darwin_xmm_reg { 969 pub __xmm_reg: [::std::os::raw::c_char; 16usize], 970 } 971 impl ::std::default::Default for __darwin_xmm_reg { default() -> Self972 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 973 } 974 #[repr(C)] 975 #[derive(Copy)] 976 pub struct __darwin_i386_float_state { 977 pub __fpu_reserved: [::std::os::raw::c_int; 2usize], 978 pub __fpu_fcw: __darwin_fp_control, 979 pub __fpu_fsw: __darwin_fp_status, 980 pub __fpu_ftw: __uint8_t, 981 pub __fpu_rsrv1: __uint8_t, 982 pub __fpu_fop: __uint16_t, 983 pub __fpu_ip: __uint32_t, 984 pub __fpu_cs: __uint16_t, 985 pub __fpu_rsrv2: __uint16_t, 986 pub __fpu_dp: __uint32_t, 987 pub __fpu_ds: __uint16_t, 988 pub __fpu_rsrv3: __uint16_t, 989 pub __fpu_mxcsr: __uint32_t, 990 pub __fpu_mxcsrmask: __uint32_t, 991 pub __fpu_stmm0: __darwin_mmst_reg, 992 pub __fpu_stmm1: __darwin_mmst_reg, 993 pub __fpu_stmm2: __darwin_mmst_reg, 994 pub __fpu_stmm3: __darwin_mmst_reg, 995 pub __fpu_stmm4: __darwin_mmst_reg, 996 pub __fpu_stmm5: __darwin_mmst_reg, 997 pub __fpu_stmm6: __darwin_mmst_reg, 998 pub __fpu_stmm7: __darwin_mmst_reg, 999 pub __fpu_xmm0: __darwin_xmm_reg, 1000 pub __fpu_xmm1: __darwin_xmm_reg, 1001 pub __fpu_xmm2: __darwin_xmm_reg, 1002 pub __fpu_xmm3: __darwin_xmm_reg, 1003 pub __fpu_xmm4: __darwin_xmm_reg, 1004 pub __fpu_xmm5: __darwin_xmm_reg, 1005 pub __fpu_xmm6: __darwin_xmm_reg, 1006 pub __fpu_xmm7: __darwin_xmm_reg, 1007 pub __fpu_rsrv4: [::std::os::raw::c_char; 224usize], 1008 pub __fpu_reserved1: ::std::os::raw::c_int, 1009 } 1010 impl ::std::clone::Clone for __darwin_i386_float_state { clone(&self) -> Self1011 fn clone(&self) -> Self { *self } 1012 } 1013 impl ::std::default::Default for __darwin_i386_float_state { default() -> Self1014 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1015 } 1016 #[repr(C)] 1017 #[derive(Copy)] 1018 pub struct __darwin_i386_avx_state { 1019 pub __fpu_reserved: [::std::os::raw::c_int; 2usize], 1020 pub __fpu_fcw: __darwin_fp_control, 1021 pub __fpu_fsw: __darwin_fp_status, 1022 pub __fpu_ftw: __uint8_t, 1023 pub __fpu_rsrv1: __uint8_t, 1024 pub __fpu_fop: __uint16_t, 1025 pub __fpu_ip: __uint32_t, 1026 pub __fpu_cs: __uint16_t, 1027 pub __fpu_rsrv2: __uint16_t, 1028 pub __fpu_dp: __uint32_t, 1029 pub __fpu_ds: __uint16_t, 1030 pub __fpu_rsrv3: __uint16_t, 1031 pub __fpu_mxcsr: __uint32_t, 1032 pub __fpu_mxcsrmask: __uint32_t, 1033 pub __fpu_stmm0: __darwin_mmst_reg, 1034 pub __fpu_stmm1: __darwin_mmst_reg, 1035 pub __fpu_stmm2: __darwin_mmst_reg, 1036 pub __fpu_stmm3: __darwin_mmst_reg, 1037 pub __fpu_stmm4: __darwin_mmst_reg, 1038 pub __fpu_stmm5: __darwin_mmst_reg, 1039 pub __fpu_stmm6: __darwin_mmst_reg, 1040 pub __fpu_stmm7: __darwin_mmst_reg, 1041 pub __fpu_xmm0: __darwin_xmm_reg, 1042 pub __fpu_xmm1: __darwin_xmm_reg, 1043 pub __fpu_xmm2: __darwin_xmm_reg, 1044 pub __fpu_xmm3: __darwin_xmm_reg, 1045 pub __fpu_xmm4: __darwin_xmm_reg, 1046 pub __fpu_xmm5: __darwin_xmm_reg, 1047 pub __fpu_xmm6: __darwin_xmm_reg, 1048 pub __fpu_xmm7: __darwin_xmm_reg, 1049 pub __fpu_rsrv4: [::std::os::raw::c_char; 224usize], 1050 pub __fpu_reserved1: ::std::os::raw::c_int, 1051 pub __avx_reserved1: [::std::os::raw::c_char; 64usize], 1052 pub __fpu_ymmh0: __darwin_xmm_reg, 1053 pub __fpu_ymmh1: __darwin_xmm_reg, 1054 pub __fpu_ymmh2: __darwin_xmm_reg, 1055 pub __fpu_ymmh3: __darwin_xmm_reg, 1056 pub __fpu_ymmh4: __darwin_xmm_reg, 1057 pub __fpu_ymmh5: __darwin_xmm_reg, 1058 pub __fpu_ymmh6: __darwin_xmm_reg, 1059 pub __fpu_ymmh7: __darwin_xmm_reg, 1060 } 1061 impl ::std::clone::Clone for __darwin_i386_avx_state { clone(&self) -> Self1062 fn clone(&self) -> Self { *self } 1063 } 1064 impl ::std::default::Default for __darwin_i386_avx_state { default() -> Self1065 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1066 } 1067 #[repr(C)] 1068 #[derive(Copy, Clone)] 1069 #[derive(Debug)] 1070 pub struct __darwin_i386_exception_state { 1071 pub __trapno: __uint16_t, 1072 pub __cpu: __uint16_t, 1073 pub __err: __uint32_t, 1074 pub __faultvaddr: __uint32_t, 1075 } 1076 impl ::std::default::Default for __darwin_i386_exception_state { default() -> Self1077 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1078 } 1079 #[repr(C)] 1080 #[derive(Copy, Clone)] 1081 #[derive(Debug)] 1082 pub struct __darwin_x86_debug_state32 { 1083 pub __dr0: ::std::os::raw::c_uint, 1084 pub __dr1: ::std::os::raw::c_uint, 1085 pub __dr2: ::std::os::raw::c_uint, 1086 pub __dr3: ::std::os::raw::c_uint, 1087 pub __dr4: ::std::os::raw::c_uint, 1088 pub __dr5: ::std::os::raw::c_uint, 1089 pub __dr6: ::std::os::raw::c_uint, 1090 pub __dr7: ::std::os::raw::c_uint, 1091 } 1092 impl ::std::default::Default for __darwin_x86_debug_state32 { default() -> Self1093 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1094 } 1095 #[repr(C)] 1096 #[derive(Copy, Clone)] 1097 #[derive(Debug)] 1098 pub struct __darwin_x86_thread_state64 { 1099 pub __rax: __uint64_t, 1100 pub __rbx: __uint64_t, 1101 pub __rcx: __uint64_t, 1102 pub __rdx: __uint64_t, 1103 pub __rdi: __uint64_t, 1104 pub __rsi: __uint64_t, 1105 pub __rbp: __uint64_t, 1106 pub __rsp: __uint64_t, 1107 pub __r8: __uint64_t, 1108 pub __r9: __uint64_t, 1109 pub __r10: __uint64_t, 1110 pub __r11: __uint64_t, 1111 pub __r12: __uint64_t, 1112 pub __r13: __uint64_t, 1113 pub __r14: __uint64_t, 1114 pub __r15: __uint64_t, 1115 pub __rip: __uint64_t, 1116 pub __rflags: __uint64_t, 1117 pub __cs: __uint64_t, 1118 pub __fs: __uint64_t, 1119 pub __gs: __uint64_t, 1120 } 1121 impl ::std::default::Default for __darwin_x86_thread_state64 { default() -> Self1122 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1123 } 1124 #[repr(C)] 1125 #[derive(Copy)] 1126 pub struct __darwin_x86_float_state64 { 1127 pub __fpu_reserved: [::std::os::raw::c_int; 2usize], 1128 pub __fpu_fcw: __darwin_fp_control, 1129 pub __fpu_fsw: __darwin_fp_status, 1130 pub __fpu_ftw: __uint8_t, 1131 pub __fpu_rsrv1: __uint8_t, 1132 pub __fpu_fop: __uint16_t, 1133 pub __fpu_ip: __uint32_t, 1134 pub __fpu_cs: __uint16_t, 1135 pub __fpu_rsrv2: __uint16_t, 1136 pub __fpu_dp: __uint32_t, 1137 pub __fpu_ds: __uint16_t, 1138 pub __fpu_rsrv3: __uint16_t, 1139 pub __fpu_mxcsr: __uint32_t, 1140 pub __fpu_mxcsrmask: __uint32_t, 1141 pub __fpu_stmm0: __darwin_mmst_reg, 1142 pub __fpu_stmm1: __darwin_mmst_reg, 1143 pub __fpu_stmm2: __darwin_mmst_reg, 1144 pub __fpu_stmm3: __darwin_mmst_reg, 1145 pub __fpu_stmm4: __darwin_mmst_reg, 1146 pub __fpu_stmm5: __darwin_mmst_reg, 1147 pub __fpu_stmm6: __darwin_mmst_reg, 1148 pub __fpu_stmm7: __darwin_mmst_reg, 1149 pub __fpu_xmm0: __darwin_xmm_reg, 1150 pub __fpu_xmm1: __darwin_xmm_reg, 1151 pub __fpu_xmm2: __darwin_xmm_reg, 1152 pub __fpu_xmm3: __darwin_xmm_reg, 1153 pub __fpu_xmm4: __darwin_xmm_reg, 1154 pub __fpu_xmm5: __darwin_xmm_reg, 1155 pub __fpu_xmm6: __darwin_xmm_reg, 1156 pub __fpu_xmm7: __darwin_xmm_reg, 1157 pub __fpu_xmm8: __darwin_xmm_reg, 1158 pub __fpu_xmm9: __darwin_xmm_reg, 1159 pub __fpu_xmm10: __darwin_xmm_reg, 1160 pub __fpu_xmm11: __darwin_xmm_reg, 1161 pub __fpu_xmm12: __darwin_xmm_reg, 1162 pub __fpu_xmm13: __darwin_xmm_reg, 1163 pub __fpu_xmm14: __darwin_xmm_reg, 1164 pub __fpu_xmm15: __darwin_xmm_reg, 1165 pub __fpu_rsrv4: [::std::os::raw::c_char; 96usize], 1166 pub __fpu_reserved1: ::std::os::raw::c_int, 1167 } 1168 impl ::std::clone::Clone for __darwin_x86_float_state64 { clone(&self) -> Self1169 fn clone(&self) -> Self { *self } 1170 } 1171 impl ::std::default::Default for __darwin_x86_float_state64 { default() -> Self1172 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1173 } 1174 #[repr(C)] 1175 #[derive(Copy)] 1176 pub struct __darwin_x86_avx_state64 { 1177 pub __fpu_reserved: [::std::os::raw::c_int; 2usize], 1178 pub __fpu_fcw: __darwin_fp_control, 1179 pub __fpu_fsw: __darwin_fp_status, 1180 pub __fpu_ftw: __uint8_t, 1181 pub __fpu_rsrv1: __uint8_t, 1182 pub __fpu_fop: __uint16_t, 1183 pub __fpu_ip: __uint32_t, 1184 pub __fpu_cs: __uint16_t, 1185 pub __fpu_rsrv2: __uint16_t, 1186 pub __fpu_dp: __uint32_t, 1187 pub __fpu_ds: __uint16_t, 1188 pub __fpu_rsrv3: __uint16_t, 1189 pub __fpu_mxcsr: __uint32_t, 1190 pub __fpu_mxcsrmask: __uint32_t, 1191 pub __fpu_stmm0: __darwin_mmst_reg, 1192 pub __fpu_stmm1: __darwin_mmst_reg, 1193 pub __fpu_stmm2: __darwin_mmst_reg, 1194 pub __fpu_stmm3: __darwin_mmst_reg, 1195 pub __fpu_stmm4: __darwin_mmst_reg, 1196 pub __fpu_stmm5: __darwin_mmst_reg, 1197 pub __fpu_stmm6: __darwin_mmst_reg, 1198 pub __fpu_stmm7: __darwin_mmst_reg, 1199 pub __fpu_xmm0: __darwin_xmm_reg, 1200 pub __fpu_xmm1: __darwin_xmm_reg, 1201 pub __fpu_xmm2: __darwin_xmm_reg, 1202 pub __fpu_xmm3: __darwin_xmm_reg, 1203 pub __fpu_xmm4: __darwin_xmm_reg, 1204 pub __fpu_xmm5: __darwin_xmm_reg, 1205 pub __fpu_xmm6: __darwin_xmm_reg, 1206 pub __fpu_xmm7: __darwin_xmm_reg, 1207 pub __fpu_xmm8: __darwin_xmm_reg, 1208 pub __fpu_xmm9: __darwin_xmm_reg, 1209 pub __fpu_xmm10: __darwin_xmm_reg, 1210 pub __fpu_xmm11: __darwin_xmm_reg, 1211 pub __fpu_xmm12: __darwin_xmm_reg, 1212 pub __fpu_xmm13: __darwin_xmm_reg, 1213 pub __fpu_xmm14: __darwin_xmm_reg, 1214 pub __fpu_xmm15: __darwin_xmm_reg, 1215 pub __fpu_rsrv4: [::std::os::raw::c_char; 96usize], 1216 pub __fpu_reserved1: ::std::os::raw::c_int, 1217 pub __avx_reserved1: [::std::os::raw::c_char; 64usize], 1218 pub __fpu_ymmh0: __darwin_xmm_reg, 1219 pub __fpu_ymmh1: __darwin_xmm_reg, 1220 pub __fpu_ymmh2: __darwin_xmm_reg, 1221 pub __fpu_ymmh3: __darwin_xmm_reg, 1222 pub __fpu_ymmh4: __darwin_xmm_reg, 1223 pub __fpu_ymmh5: __darwin_xmm_reg, 1224 pub __fpu_ymmh6: __darwin_xmm_reg, 1225 pub __fpu_ymmh7: __darwin_xmm_reg, 1226 pub __fpu_ymmh8: __darwin_xmm_reg, 1227 pub __fpu_ymmh9: __darwin_xmm_reg, 1228 pub __fpu_ymmh10: __darwin_xmm_reg, 1229 pub __fpu_ymmh11: __darwin_xmm_reg, 1230 pub __fpu_ymmh12: __darwin_xmm_reg, 1231 pub __fpu_ymmh13: __darwin_xmm_reg, 1232 pub __fpu_ymmh14: __darwin_xmm_reg, 1233 pub __fpu_ymmh15: __darwin_xmm_reg, 1234 } 1235 impl ::std::clone::Clone for __darwin_x86_avx_state64 { clone(&self) -> Self1236 fn clone(&self) -> Self { *self } 1237 } 1238 impl ::std::default::Default for __darwin_x86_avx_state64 { default() -> Self1239 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1240 } 1241 #[repr(C)] 1242 #[derive(Copy, Clone)] 1243 #[derive(Debug)] 1244 pub struct __darwin_x86_exception_state64 { 1245 pub __trapno: __uint16_t, 1246 pub __cpu: __uint16_t, 1247 pub __err: __uint32_t, 1248 pub __faultvaddr: __uint64_t, 1249 } 1250 impl ::std::default::Default for __darwin_x86_exception_state64 { default() -> Self1251 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1252 } 1253 #[repr(C)] 1254 #[derive(Copy, Clone)] 1255 #[derive(Debug)] 1256 pub struct __darwin_x86_debug_state64 { 1257 pub __dr0: __uint64_t, 1258 pub __dr1: __uint64_t, 1259 pub __dr2: __uint64_t, 1260 pub __dr3: __uint64_t, 1261 pub __dr4: __uint64_t, 1262 pub __dr5: __uint64_t, 1263 pub __dr6: __uint64_t, 1264 pub __dr7: __uint64_t, 1265 } 1266 impl ::std::default::Default for __darwin_x86_debug_state64 { default() -> Self1267 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1268 } 1269 pub type mach_port_name_t = natural_t; 1270 pub type mach_port_name_array_t = *mut mach_port_name_t; 1271 pub type mach_port_t = __darwin_mach_port_t; 1272 pub type mach_port_array_t = *mut mach_port_t; 1273 pub type mach_port_right_t = natural_t; 1274 pub type mach_port_type_t = natural_t; 1275 pub type mach_port_type_array_t = *mut mach_port_type_t; 1276 pub type mach_port_urefs_t = natural_t; 1277 pub type mach_port_delta_t = integer_t; 1278 pub type mach_port_seqno_t = natural_t; 1279 pub type mach_port_mscount_t = natural_t; 1280 pub type mach_port_msgcount_t = natural_t; 1281 pub type mach_port_rights_t = natural_t; 1282 pub type mach_port_srights_t = ::std::os::raw::c_uint; 1283 #[repr(C)] 1284 #[derive(Copy, Clone)] 1285 #[derive(Debug)] 1286 pub struct mach_port_status { 1287 pub mps_pset: mach_port_rights_t, 1288 pub mps_seqno: mach_port_seqno_t, 1289 pub mps_mscount: mach_port_mscount_t, 1290 pub mps_qlimit: mach_port_msgcount_t, 1291 pub mps_msgcount: mach_port_msgcount_t, 1292 pub mps_sorights: mach_port_rights_t, 1293 pub mps_srights: boolean_t, 1294 pub mps_pdrequest: boolean_t, 1295 pub mps_nsrequest: boolean_t, 1296 pub mps_flags: natural_t, 1297 } 1298 impl ::std::default::Default for mach_port_status { default() -> Self1299 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1300 } 1301 pub type mach_port_status_t = mach_port_status; 1302 #[repr(C)] 1303 #[derive(Copy, Clone)] 1304 #[derive(Debug)] 1305 pub struct mach_port_limits { 1306 pub mpl_qlimit: mach_port_msgcount_t, 1307 } 1308 impl ::std::default::Default for mach_port_limits { default() -> Self1309 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1310 } 1311 pub type mach_port_limits_t = mach_port_limits; 1312 #[repr(C)] 1313 #[derive(Copy, Clone)] 1314 #[derive(Debug)] 1315 pub struct mach_port_info_ext { 1316 pub mpie_status: mach_port_status_t, 1317 pub mpie_boost_cnt: mach_port_msgcount_t, 1318 pub reserved: [uint32_t; 6usize], 1319 } 1320 impl ::std::default::Default for mach_port_info_ext { default() -> Self1321 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1322 } 1323 pub type mach_port_info_ext_t = mach_port_info_ext; 1324 pub type mach_port_info_t = *mut integer_t; 1325 pub type mach_port_flavor_t = ::std::os::raw::c_int; 1326 #[repr(C)] 1327 #[derive(Copy, Clone)] 1328 #[derive(Debug)] 1329 pub struct mach_port_qos { 1330 pub _bindgen_bitfield_1_: ::std::os::raw::c_uint, 1331 pub _bindgen_bitfield_2_: boolean_t, 1332 pub len: natural_t, 1333 } 1334 impl ::std::default::Default for mach_port_qos { default() -> Self1335 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1336 } 1337 pub type mach_port_qos_t = mach_port_qos; 1338 #[repr(C)] 1339 #[derive(Copy, Clone)] 1340 #[derive(Debug)] 1341 pub struct mach_port_options { 1342 pub flags: uint32_t, 1343 pub mpl: mach_port_limits_t, 1344 pub reserved: [uint64_t; 2usize], 1345 } 1346 impl ::std::default::Default for mach_port_options { default() -> Self1347 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1348 } 1349 pub type mach_port_options_t = mach_port_options; 1350 pub type mach_port_options_ptr_t = *mut mach_port_options_t; 1351 #[derive(Copy, Clone)] 1352 #[repr(u32)] 1353 #[derive(Debug)] 1354 pub enum mach_port_guard_exception_codes { 1355 kGUARD_EXC_DESTROY = 1, 1356 kGUARD_EXC_MOD_REFS = 2, 1357 kGUARD_EXC_SET_CONTEXT = 4, 1358 kGUARD_EXC_UNGUARDED = 8, 1359 kGUARD_EXC_INCORRECT_GUARD = 16, 1360 } 1361 pub type kern_return_t = ::std::os::raw::c_int; 1362 pub type mach_msg_timeout_t = natural_t; 1363 pub type mach_msg_bits_t = ::std::os::raw::c_uint; 1364 pub type mach_msg_size_t = natural_t; 1365 pub type mach_msg_id_t = integer_t; 1366 pub type mach_msg_type_name_t = ::std::os::raw::c_uint; 1367 pub type mach_msg_copy_options_t = ::std::os::raw::c_uint; 1368 pub type mach_msg_descriptor_type_t = ::std::os::raw::c_uint; 1369 #[repr(C)] 1370 #[derive(Copy, Clone)] 1371 #[derive(Debug)] 1372 pub struct mach_msg_type_descriptor_t { 1373 pub pad1: natural_t, 1374 pub pad2: mach_msg_size_t, 1375 pub _bindgen_bitfield_1_: ::std::os::raw::c_uint, 1376 pub _bindgen_bitfield_2_: mach_msg_descriptor_type_t, 1377 } 1378 impl ::std::default::Default for mach_msg_type_descriptor_t { default() -> Self1379 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1380 } 1381 #[repr(C)] 1382 #[derive(Copy, Clone)] 1383 #[derive(Debug)] 1384 pub struct mach_msg_port_descriptor_t { 1385 pub name: mach_port_t, 1386 pub pad1: mach_msg_size_t, 1387 pub _bindgen_bitfield_1_: ::std::os::raw::c_uint, 1388 pub _bindgen_bitfield_2_: mach_msg_type_name_t, 1389 pub _bindgen_bitfield_3_: mach_msg_descriptor_type_t, 1390 } 1391 impl ::std::default::Default for mach_msg_port_descriptor_t { default() -> Self1392 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1393 } 1394 #[repr(C)] 1395 #[derive(Copy, Clone)] 1396 #[derive(Debug)] 1397 pub struct mach_msg_ool_descriptor32_t { 1398 pub address: uint32_t, 1399 pub size: mach_msg_size_t, 1400 pub _bindgen_bitfield_1_: boolean_t, 1401 pub _bindgen_bitfield_2_: mach_msg_copy_options_t, 1402 pub _bindgen_bitfield_3_: ::std::os::raw::c_uint, 1403 pub _bindgen_bitfield_4_: mach_msg_descriptor_type_t, 1404 } 1405 impl ::std::default::Default for mach_msg_ool_descriptor32_t { default() -> Self1406 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1407 } 1408 #[repr(C)] 1409 #[derive(Copy, Clone)] 1410 #[derive(Debug)] 1411 pub struct mach_msg_ool_descriptor64_t { 1412 pub address: uint64_t, 1413 pub _bindgen_bitfield_1_: boolean_t, 1414 pub _bindgen_bitfield_2_: mach_msg_copy_options_t, 1415 pub _bindgen_bitfield_3_: ::std::os::raw::c_uint, 1416 pub _bindgen_bitfield_4_: mach_msg_descriptor_type_t, 1417 pub size: mach_msg_size_t, 1418 } 1419 impl ::std::default::Default for mach_msg_ool_descriptor64_t { default() -> Self1420 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1421 } 1422 #[repr(C)] 1423 #[derive(Copy, Clone)] 1424 #[derive(Debug)] 1425 pub struct mach_msg_ool_descriptor_t { 1426 pub address: *mut ::std::os::raw::c_void, 1427 pub _bindgen_bitfield_1_: boolean_t, 1428 pub _bindgen_bitfield_2_: mach_msg_copy_options_t, 1429 pub _bindgen_bitfield_3_: ::std::os::raw::c_uint, 1430 pub _bindgen_bitfield_4_: mach_msg_descriptor_type_t, 1431 pub size: mach_msg_size_t, 1432 } 1433 impl ::std::default::Default for mach_msg_ool_descriptor_t { default() -> Self1434 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1435 } 1436 #[repr(C)] 1437 #[derive(Copy, Clone)] 1438 #[derive(Debug)] 1439 pub struct mach_msg_ool_ports_descriptor32_t { 1440 pub address: uint32_t, 1441 pub count: mach_msg_size_t, 1442 pub _bindgen_bitfield_1_: boolean_t, 1443 pub _bindgen_bitfield_2_: mach_msg_copy_options_t, 1444 pub _bindgen_bitfield_3_: mach_msg_type_name_t, 1445 pub _bindgen_bitfield_4_: mach_msg_descriptor_type_t, 1446 } 1447 impl ::std::default::Default for mach_msg_ool_ports_descriptor32_t { default() -> Self1448 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1449 } 1450 #[repr(C)] 1451 #[derive(Copy, Clone)] 1452 #[derive(Debug)] 1453 pub struct mach_msg_ool_ports_descriptor64_t { 1454 pub address: uint64_t, 1455 pub _bindgen_bitfield_1_: boolean_t, 1456 pub _bindgen_bitfield_2_: mach_msg_copy_options_t, 1457 pub _bindgen_bitfield_3_: mach_msg_type_name_t, 1458 pub _bindgen_bitfield_4_: mach_msg_descriptor_type_t, 1459 pub count: mach_msg_size_t, 1460 } 1461 impl ::std::default::Default for mach_msg_ool_ports_descriptor64_t { default() -> Self1462 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1463 } 1464 #[repr(C)] 1465 #[derive(Copy, Clone)] 1466 #[derive(Debug)] 1467 pub struct mach_msg_ool_ports_descriptor_t { 1468 pub address: *mut ::std::os::raw::c_void, 1469 pub _bindgen_bitfield_1_: boolean_t, 1470 pub _bindgen_bitfield_2_: mach_msg_copy_options_t, 1471 pub _bindgen_bitfield_3_: mach_msg_type_name_t, 1472 pub _bindgen_bitfield_4_: mach_msg_descriptor_type_t, 1473 pub count: mach_msg_size_t, 1474 } 1475 impl ::std::default::Default for mach_msg_ool_ports_descriptor_t { default() -> Self1476 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1477 } 1478 #[repr(C)] 1479 #[derive(Copy, Clone)] 1480 #[derive(Debug)] 1481 pub struct mach_msg_descriptor_t { 1482 pub _bindgen_data_: [u32; 4usize], 1483 } 1484 impl mach_msg_descriptor_t { port(&mut self) -> *mut mach_msg_port_descriptor_t1485 pub unsafe fn port(&mut self) -> *mut mach_msg_port_descriptor_t { 1486 let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); 1487 ::std::mem::transmute(raw.offset(0)) 1488 } out_of_line(&mut self) -> *mut mach_msg_ool_descriptor_t1489 pub unsafe fn out_of_line(&mut self) -> *mut mach_msg_ool_descriptor_t { 1490 let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); 1491 ::std::mem::transmute(raw.offset(0)) 1492 } ool_ports(&mut self) -> *mut mach_msg_ool_ports_descriptor_t1493 pub unsafe fn ool_ports(&mut self) 1494 -> *mut mach_msg_ool_ports_descriptor_t { 1495 let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); 1496 ::std::mem::transmute(raw.offset(0)) 1497 } type_(&mut self) -> *mut mach_msg_type_descriptor_t1498 pub unsafe fn type_(&mut self) -> *mut mach_msg_type_descriptor_t { 1499 let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); 1500 ::std::mem::transmute(raw.offset(0)) 1501 } 1502 } 1503 impl ::std::default::Default for mach_msg_descriptor_t { default() -> Self1504 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1505 } 1506 #[repr(C)] 1507 #[derive(Copy, Clone)] 1508 #[derive(Debug)] 1509 pub struct mach_msg_body_t { 1510 pub msgh_descriptor_count: mach_msg_size_t, 1511 } 1512 impl ::std::default::Default for mach_msg_body_t { default() -> Self1513 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1514 } 1515 #[repr(C)] 1516 #[derive(Copy, Clone)] 1517 #[derive(Debug)] 1518 pub struct mach_msg_header_t { 1519 pub msgh_bits: mach_msg_bits_t, 1520 pub msgh_size: mach_msg_size_t, 1521 pub msgh_remote_port: mach_port_t, 1522 pub msgh_local_port: mach_port_t, 1523 pub msgh_voucher_port: mach_port_name_t, 1524 pub msgh_id: mach_msg_id_t, 1525 } 1526 impl ::std::default::Default for mach_msg_header_t { default() -> Self1527 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1528 } 1529 #[repr(C)] 1530 #[derive(Copy, Clone)] 1531 #[derive(Debug)] 1532 pub struct mach_msg_base_t { 1533 pub header: mach_msg_header_t, 1534 pub body: mach_msg_body_t, 1535 } 1536 impl ::std::default::Default for mach_msg_base_t { default() -> Self1537 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1538 } 1539 pub type mach_msg_trailer_type_t = ::std::os::raw::c_uint; 1540 pub type mach_msg_trailer_size_t = ::std::os::raw::c_uint; 1541 pub type mach_msg_trailer_info_t = *mut ::std::os::raw::c_char; 1542 #[repr(C)] 1543 #[derive(Copy, Clone)] 1544 #[derive(Debug)] 1545 pub struct mach_msg_trailer_t { 1546 pub msgh_trailer_type: mach_msg_trailer_type_t, 1547 pub msgh_trailer_size: mach_msg_trailer_size_t, 1548 } 1549 impl ::std::default::Default for mach_msg_trailer_t { default() -> Self1550 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1551 } 1552 #[repr(C)] 1553 #[derive(Copy, Clone)] 1554 #[derive(Debug)] 1555 pub struct mach_msg_seqno_trailer_t { 1556 pub msgh_trailer_type: mach_msg_trailer_type_t, 1557 pub msgh_trailer_size: mach_msg_trailer_size_t, 1558 pub msgh_seqno: mach_port_seqno_t, 1559 } 1560 impl ::std::default::Default for mach_msg_seqno_trailer_t { default() -> Self1561 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1562 } 1563 #[repr(C)] 1564 #[derive(Copy, Clone)] 1565 #[derive(Debug)] 1566 pub struct security_token_t { 1567 pub val: [::std::os::raw::c_uint; 2usize], 1568 } 1569 impl ::std::default::Default for security_token_t { default() -> Self1570 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1571 } 1572 #[repr(C)] 1573 #[derive(Copy, Clone)] 1574 #[derive(Debug)] 1575 pub struct mach_msg_security_trailer_t { 1576 pub msgh_trailer_type: mach_msg_trailer_type_t, 1577 pub msgh_trailer_size: mach_msg_trailer_size_t, 1578 pub msgh_seqno: mach_port_seqno_t, 1579 pub msgh_sender: security_token_t, 1580 } 1581 impl ::std::default::Default for mach_msg_security_trailer_t { default() -> Self1582 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1583 } 1584 #[repr(C)] 1585 #[derive(Copy, Clone)] 1586 #[derive(Debug)] 1587 pub struct audit_token_t { 1588 pub val: [::std::os::raw::c_uint; 8usize], 1589 } 1590 impl ::std::default::Default for audit_token_t { default() -> Self1591 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1592 } 1593 #[repr(C)] 1594 #[derive(Copy, Clone)] 1595 #[derive(Debug)] 1596 pub struct mach_msg_audit_trailer_t { 1597 pub msgh_trailer_type: mach_msg_trailer_type_t, 1598 pub msgh_trailer_size: mach_msg_trailer_size_t, 1599 pub msgh_seqno: mach_port_seqno_t, 1600 pub msgh_sender: security_token_t, 1601 pub msgh_audit: audit_token_t, 1602 } 1603 impl ::std::default::Default for mach_msg_audit_trailer_t { default() -> Self1604 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1605 } 1606 #[repr(C)] 1607 #[derive(Copy, Clone)] 1608 #[derive(Debug)] 1609 pub struct mach_msg_context_trailer_t { 1610 pub msgh_trailer_type: mach_msg_trailer_type_t, 1611 pub msgh_trailer_size: mach_msg_trailer_size_t, 1612 pub msgh_seqno: mach_port_seqno_t, 1613 pub msgh_sender: security_token_t, 1614 pub msgh_audit: audit_token_t, 1615 pub msgh_context: mach_port_context_t, 1616 } 1617 impl ::std::default::Default for mach_msg_context_trailer_t { default() -> Self1618 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1619 } 1620 #[repr(C)] 1621 #[derive(Copy, Clone)] 1622 #[derive(Debug)] 1623 pub struct msg_labels_t { 1624 pub sender: mach_port_name_t, 1625 } 1626 impl ::std::default::Default for msg_labels_t { default() -> Self1627 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1628 } 1629 #[repr(C)] 1630 #[derive(Copy, Clone)] 1631 #[derive(Debug)] 1632 pub struct mach_msg_mac_trailer_t { 1633 pub msgh_trailer_type: mach_msg_trailer_type_t, 1634 pub msgh_trailer_size: mach_msg_trailer_size_t, 1635 pub msgh_seqno: mach_port_seqno_t, 1636 pub msgh_sender: security_token_t, 1637 pub msgh_audit: audit_token_t, 1638 pub msgh_context: mach_port_context_t, 1639 pub msgh_ad: ::std::os::raw::c_int, 1640 pub msgh_labels: msg_labels_t, 1641 } 1642 impl ::std::default::Default for mach_msg_mac_trailer_t { default() -> Self1643 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1644 } 1645 pub type mach_msg_max_trailer_t = mach_msg_mac_trailer_t; 1646 pub type mach_msg_format_0_trailer_t = mach_msg_security_trailer_t; 1647 pub type mach_msg_options_t = integer_t; 1648 #[repr(C)] 1649 #[derive(Copy, Clone)] 1650 #[derive(Debug)] 1651 pub struct mach_msg_empty_send_t { 1652 pub header: mach_msg_header_t, 1653 } 1654 impl ::std::default::Default for mach_msg_empty_send_t { default() -> Self1655 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1656 } 1657 #[repr(C)] 1658 #[derive(Copy, Clone)] 1659 #[derive(Debug)] 1660 pub struct mach_msg_empty_rcv_t { 1661 pub header: mach_msg_header_t, 1662 pub trailer: mach_msg_trailer_t, 1663 } 1664 impl ::std::default::Default for mach_msg_empty_rcv_t { default() -> Self1665 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1666 } 1667 #[repr(C)] 1668 #[derive(Copy, Clone)] 1669 #[derive(Debug)] 1670 pub struct mach_msg_empty_t { 1671 pub _bindgen_data_: [u32; 8usize], 1672 } 1673 impl mach_msg_empty_t { send(&mut self) -> *mut mach_msg_empty_send_t1674 pub unsafe fn send(&mut self) -> *mut mach_msg_empty_send_t { 1675 let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); 1676 ::std::mem::transmute(raw.offset(0)) 1677 } rcv(&mut self) -> *mut mach_msg_empty_rcv_t1678 pub unsafe fn rcv(&mut self) -> *mut mach_msg_empty_rcv_t { 1679 let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); 1680 ::std::mem::transmute(raw.offset(0)) 1681 } 1682 } 1683 impl ::std::default::Default for mach_msg_empty_t { default() -> Self1684 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1685 } 1686 pub type mach_msg_type_size_t = natural_t; 1687 pub type mach_msg_type_number_t = natural_t; 1688 pub type mach_msg_option_t = integer_t; 1689 pub type mach_msg_return_t = kern_return_t; 1690 #[repr(C)] 1691 #[derive(Copy, Clone)] 1692 #[derive(Debug)] 1693 pub struct x86_state_hdr { 1694 pub flavor: ::std::os::raw::c_int, 1695 pub count: ::std::os::raw::c_int, 1696 } 1697 impl ::std::default::Default for x86_state_hdr { default() -> Self1698 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1699 } 1700 pub type x86_state_hdr_t = x86_state_hdr; 1701 pub type i386_thread_state_t = __darwin_i386_thread_state; 1702 pub type x86_thread_state32_t = __darwin_i386_thread_state; 1703 pub type i386_float_state_t = __darwin_i386_float_state; 1704 pub type x86_float_state32_t = __darwin_i386_float_state; 1705 pub type x86_avx_state32_t = __darwin_i386_avx_state; 1706 pub type i386_exception_state_t = __darwin_i386_exception_state; 1707 pub type x86_exception_state32_t = __darwin_i386_exception_state; 1708 pub type x86_debug_state32_t = __darwin_x86_debug_state32; 1709 pub type x86_thread_state64_t = __darwin_x86_thread_state64; 1710 pub type x86_float_state64_t = __darwin_x86_float_state64; 1711 pub type x86_avx_state64_t = __darwin_x86_avx_state64; 1712 pub type x86_exception_state64_t = __darwin_x86_exception_state64; 1713 pub type x86_debug_state64_t = __darwin_x86_debug_state64; 1714 #[repr(C)] 1715 #[derive(Copy, Clone)] 1716 #[derive(Debug)] 1717 pub struct x86_thread_state { 1718 pub tsh: x86_state_hdr_t, 1719 pub uts: Union_Unnamed1, 1720 } 1721 impl ::std::default::Default for x86_thread_state { default() -> Self1722 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1723 } 1724 #[repr(C)] 1725 #[derive(Copy, Clone)] 1726 #[derive(Debug)] 1727 pub struct Union_Unnamed1 { 1728 pub _bindgen_data_: [u64; 21usize], 1729 } 1730 impl Union_Unnamed1 { ts32(&mut self) -> *mut x86_thread_state32_t1731 pub unsafe fn ts32(&mut self) -> *mut x86_thread_state32_t { 1732 let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); 1733 ::std::mem::transmute(raw.offset(0)) 1734 } ts64(&mut self) -> *mut x86_thread_state64_t1735 pub unsafe fn ts64(&mut self) -> *mut x86_thread_state64_t { 1736 let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); 1737 ::std::mem::transmute(raw.offset(0)) 1738 } 1739 } 1740 impl ::std::default::Default for Union_Unnamed1 { default() -> Self1741 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1742 } 1743 #[repr(C)] 1744 #[derive(Copy, Clone)] 1745 #[derive(Debug)] 1746 pub struct x86_float_state { 1747 pub fsh: x86_state_hdr_t, 1748 pub ufs: Union_Unnamed2, 1749 } 1750 impl ::std::default::Default for x86_float_state { default() -> Self1751 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1752 } 1753 #[repr(C)] 1754 #[derive(Copy)] 1755 pub struct Union_Unnamed2 { 1756 pub _bindgen_data_: [u32; 131usize], 1757 } 1758 impl ::std::clone::Clone for Union_Unnamed2 { clone(&self) -> Self1759 fn clone(&self) -> Self { *self } 1760 } 1761 impl ::std::fmt::Debug for Union_Unnamed2 { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1762 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1763 write!(f, "Union_Unnamed2 {{ ... }}") 1764 } 1765 } 1766 impl Union_Unnamed2 { fs32(&mut self) -> *mut x86_float_state32_t1767 pub unsafe fn fs32(&mut self) -> *mut x86_float_state32_t { 1768 let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); 1769 ::std::mem::transmute(raw.offset(0)) 1770 } fs64(&mut self) -> *mut x86_float_state64_t1771 pub unsafe fn fs64(&mut self) -> *mut x86_float_state64_t { 1772 let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); 1773 ::std::mem::transmute(raw.offset(0)) 1774 } 1775 } 1776 impl ::std::default::Default for Union_Unnamed2 { default() -> Self1777 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1778 } 1779 #[repr(C)] 1780 #[derive(Copy, Clone)] 1781 #[derive(Debug)] 1782 pub struct x86_exception_state { 1783 pub esh: x86_state_hdr_t, 1784 pub ues: Union_Unnamed3, 1785 } 1786 impl ::std::default::Default for x86_exception_state { default() -> Self1787 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1788 } 1789 #[repr(C)] 1790 #[derive(Copy, Clone)] 1791 #[derive(Debug)] 1792 pub struct Union_Unnamed3 { 1793 pub _bindgen_data_: [u64; 2usize], 1794 } 1795 impl Union_Unnamed3 { es32(&mut self) -> *mut x86_exception_state32_t1796 pub unsafe fn es32(&mut self) -> *mut x86_exception_state32_t { 1797 let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); 1798 ::std::mem::transmute(raw.offset(0)) 1799 } es64(&mut self) -> *mut x86_exception_state64_t1800 pub unsafe fn es64(&mut self) -> *mut x86_exception_state64_t { 1801 let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); 1802 ::std::mem::transmute(raw.offset(0)) 1803 } 1804 } 1805 impl ::std::default::Default for Union_Unnamed3 { default() -> Self1806 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1807 } 1808 #[repr(C)] 1809 #[derive(Copy, Clone)] 1810 #[derive(Debug)] 1811 pub struct x86_debug_state { 1812 pub dsh: x86_state_hdr_t, 1813 pub uds: Union_Unnamed4, 1814 } 1815 impl ::std::default::Default for x86_debug_state { default() -> Self1816 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1817 } 1818 #[repr(C)] 1819 #[derive(Copy, Clone)] 1820 #[derive(Debug)] 1821 pub struct Union_Unnamed4 { 1822 pub _bindgen_data_: [u64; 8usize], 1823 } 1824 impl Union_Unnamed4 { ds32(&mut self) -> *mut x86_debug_state32_t1825 pub unsafe fn ds32(&mut self) -> *mut x86_debug_state32_t { 1826 let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); 1827 ::std::mem::transmute(raw.offset(0)) 1828 } ds64(&mut self) -> *mut x86_debug_state64_t1829 pub unsafe fn ds64(&mut self) -> *mut x86_debug_state64_t { 1830 let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); 1831 ::std::mem::transmute(raw.offset(0)) 1832 } 1833 } 1834 impl ::std::default::Default for Union_Unnamed4 { default() -> Self1835 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1836 } 1837 #[repr(C)] 1838 #[derive(Copy, Clone)] 1839 #[derive(Debug)] 1840 pub struct x86_avx_state { 1841 pub ash: x86_state_hdr_t, 1842 pub ufs: Union_Unnamed5, 1843 } 1844 impl ::std::default::Default for x86_avx_state { default() -> Self1845 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1846 } 1847 #[repr(C)] 1848 #[derive(Copy)] 1849 pub struct Union_Unnamed5 { 1850 pub _bindgen_data_: [u32; 211usize], 1851 } 1852 impl ::std::clone::Clone for Union_Unnamed5 { clone(&self) -> Self1853 fn clone(&self) -> Self { *self } 1854 } 1855 impl ::std::fmt::Debug for Union_Unnamed5 { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1856 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1857 write!(f, "Union_Unnamed5 {{ ... }}") 1858 } 1859 } 1860 impl Union_Unnamed5 { as32(&mut self) -> *mut x86_avx_state32_t1861 pub unsafe fn as32(&mut self) -> *mut x86_avx_state32_t { 1862 let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); 1863 ::std::mem::transmute(raw.offset(0)) 1864 } as64(&mut self) -> *mut x86_avx_state64_t1865 pub unsafe fn as64(&mut self) -> *mut x86_avx_state64_t { 1866 let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); 1867 ::std::mem::transmute(raw.offset(0)) 1868 } 1869 } 1870 impl ::std::default::Default for Union_Unnamed5 { default() -> Self1871 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1872 } 1873 pub type x86_thread_state_t = x86_thread_state; 1874 pub type x86_float_state_t = x86_float_state; 1875 pub type x86_exception_state_t = x86_exception_state; 1876 pub type x86_debug_state_t = x86_debug_state; 1877 pub type x86_avx_state_t = x86_avx_state; 1878 #[derive(Copy, Clone)] 1879 #[repr(u32)] 1880 #[derive(Debug)] 1881 pub enum Enum_Unnamed6 { 1882 OSUnknownByteOrder = 0, 1883 OSLittleEndian = 1, 1884 OSBigEndian = 2, 1885 } 1886 pub type NXSwappedFloat = ::std::os::raw::c_ulong; 1887 pub type NXSwappedDouble = ::std::os::raw::c_ulonglong; 1888 #[derive(Copy, Clone)] 1889 #[repr(u32)] 1890 #[derive(Debug)] 1891 pub enum NXByteOrder { 1892 NX_UnknownByteOrder = 0, 1893 NX_LittleEndian = 1, 1894 NX_BigEndian = 2, 1895 } 1896 #[repr(C)] 1897 #[derive(Copy, Clone)] 1898 #[derive(Debug)] 1899 pub struct mach_header { 1900 pub magic: uint32_t, 1901 pub cputype: cpu_type_t, 1902 pub cpusubtype: cpu_subtype_t, 1903 pub filetype: uint32_t, 1904 pub ncmds: uint32_t, 1905 pub sizeofcmds: uint32_t, 1906 pub flags: uint32_t, 1907 } 1908 impl ::std::default::Default for mach_header { default() -> Self1909 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1910 } 1911 #[repr(C)] 1912 #[derive(Copy, Clone)] 1913 #[derive(Debug)] 1914 pub struct mach_header_64 { 1915 pub magic: uint32_t, 1916 pub cputype: cpu_type_t, 1917 pub cpusubtype: cpu_subtype_t, 1918 pub filetype: uint32_t, 1919 pub ncmds: uint32_t, 1920 pub sizeofcmds: uint32_t, 1921 pub flags: uint32_t, 1922 pub reserved: uint32_t, 1923 } 1924 impl ::std::default::Default for mach_header_64 { default() -> Self1925 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1926 } 1927 #[repr(C)] 1928 #[derive(Copy, Clone)] 1929 #[derive(Debug)] 1930 pub struct load_command { 1931 pub cmd: uint32_t, 1932 pub cmdsize: uint32_t, 1933 } 1934 impl ::std::default::Default for load_command { default() -> Self1935 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1936 } 1937 #[repr(C)] 1938 #[derive(Copy, Clone)] 1939 #[derive(Debug)] 1940 pub struct lc_str { 1941 pub _bindgen_data_: [u32; 1usize], 1942 } 1943 impl lc_str { offset(&mut self) -> *mut uint32_t1944 pub unsafe fn offset(&mut self) -> *mut uint32_t { 1945 let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_); 1946 ::std::mem::transmute(raw.offset(0)) 1947 } 1948 } 1949 impl ::std::default::Default for lc_str { default() -> Self1950 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1951 } 1952 #[repr(C)] 1953 #[derive(Copy, Clone)] 1954 #[derive(Debug)] 1955 pub struct segment_command { 1956 pub cmd: uint32_t, 1957 pub cmdsize: uint32_t, 1958 pub segname: [::std::os::raw::c_char; 16usize], 1959 pub vmaddr: uint32_t, 1960 pub vmsize: uint32_t, 1961 pub fileoff: uint32_t, 1962 pub filesize: uint32_t, 1963 pub maxprot: vm_prot_t, 1964 pub initprot: vm_prot_t, 1965 pub nsects: uint32_t, 1966 pub flags: uint32_t, 1967 } 1968 impl ::std::default::Default for segment_command { default() -> Self1969 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1970 } 1971 #[repr(C)] 1972 #[derive(Copy, Clone)] 1973 #[derive(Debug)] 1974 pub struct segment_command_64 { 1975 pub cmd: uint32_t, 1976 pub cmdsize: uint32_t, 1977 pub segname: [::std::os::raw::c_char; 16usize], 1978 pub vmaddr: uint64_t, 1979 pub vmsize: uint64_t, 1980 pub fileoff: uint64_t, 1981 pub filesize: uint64_t, 1982 pub maxprot: vm_prot_t, 1983 pub initprot: vm_prot_t, 1984 pub nsects: uint32_t, 1985 pub flags: uint32_t, 1986 } 1987 impl ::std::default::Default for segment_command_64 { default() -> Self1988 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 1989 } 1990 #[repr(C)] 1991 #[derive(Copy, Clone)] 1992 #[derive(Debug)] 1993 pub struct section { 1994 pub sectname: [::std::os::raw::c_char; 16usize], 1995 pub segname: [::std::os::raw::c_char; 16usize], 1996 pub addr: uint32_t, 1997 pub size: uint32_t, 1998 pub offset: uint32_t, 1999 pub align: uint32_t, 2000 pub reloff: uint32_t, 2001 pub nreloc: uint32_t, 2002 pub flags: uint32_t, 2003 pub reserved1: uint32_t, 2004 pub reserved2: uint32_t, 2005 } 2006 impl ::std::default::Default for section { default() -> Self2007 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2008 } 2009 #[repr(C)] 2010 #[derive(Copy, Clone)] 2011 #[derive(Debug)] 2012 pub struct section_64 { 2013 pub sectname: [::std::os::raw::c_char; 16usize], 2014 pub segname: [::std::os::raw::c_char; 16usize], 2015 pub addr: uint64_t, 2016 pub size: uint64_t, 2017 pub offset: uint32_t, 2018 pub align: uint32_t, 2019 pub reloff: uint32_t, 2020 pub nreloc: uint32_t, 2021 pub flags: uint32_t, 2022 pub reserved1: uint32_t, 2023 pub reserved2: uint32_t, 2024 pub reserved3: uint32_t, 2025 } 2026 impl ::std::default::Default for section_64 { default() -> Self2027 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2028 } 2029 #[repr(C)] 2030 #[derive(Copy, Clone)] 2031 #[derive(Debug)] 2032 pub struct fvmlib { 2033 pub name: lc_str, 2034 pub minor_version: uint32_t, 2035 pub header_addr: uint32_t, 2036 } 2037 impl ::std::default::Default for fvmlib { default() -> Self2038 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2039 } 2040 #[repr(C)] 2041 #[derive(Copy, Clone)] 2042 #[derive(Debug)] 2043 pub struct fvmlib_command { 2044 pub cmd: uint32_t, 2045 pub cmdsize: uint32_t, 2046 pub fvmlib: fvmlib, 2047 } 2048 impl ::std::default::Default for fvmlib_command { default() -> Self2049 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2050 } 2051 #[repr(C)] 2052 #[derive(Copy, Clone)] 2053 #[derive(Debug)] 2054 pub struct dylib { 2055 pub name: lc_str, 2056 pub timestamp: uint32_t, 2057 pub current_version: uint32_t, 2058 pub compatibility_version: uint32_t, 2059 } 2060 impl ::std::default::Default for dylib { default() -> Self2061 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2062 } 2063 #[repr(C)] 2064 #[derive(Copy, Clone)] 2065 #[derive(Debug)] 2066 pub struct dylib_command { 2067 pub cmd: uint32_t, 2068 pub cmdsize: uint32_t, 2069 pub dylib: dylib, 2070 } 2071 impl ::std::default::Default for dylib_command { default() -> Self2072 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2073 } 2074 #[repr(C)] 2075 #[derive(Copy, Clone)] 2076 #[derive(Debug)] 2077 pub struct sub_framework_command { 2078 pub cmd: uint32_t, 2079 pub cmdsize: uint32_t, 2080 pub umbrella: lc_str, 2081 } 2082 impl ::std::default::Default for sub_framework_command { default() -> Self2083 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2084 } 2085 #[repr(C)] 2086 #[derive(Copy, Clone)] 2087 #[derive(Debug)] 2088 pub struct sub_client_command { 2089 pub cmd: uint32_t, 2090 pub cmdsize: uint32_t, 2091 pub client: lc_str, 2092 } 2093 impl ::std::default::Default for sub_client_command { default() -> Self2094 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2095 } 2096 #[repr(C)] 2097 #[derive(Copy, Clone)] 2098 #[derive(Debug)] 2099 pub struct sub_umbrella_command { 2100 pub cmd: uint32_t, 2101 pub cmdsize: uint32_t, 2102 pub sub_umbrella: lc_str, 2103 } 2104 impl ::std::default::Default for sub_umbrella_command { default() -> Self2105 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2106 } 2107 #[repr(C)] 2108 #[derive(Copy, Clone)] 2109 #[derive(Debug)] 2110 pub struct sub_library_command { 2111 pub cmd: uint32_t, 2112 pub cmdsize: uint32_t, 2113 pub sub_library: lc_str, 2114 } 2115 impl ::std::default::Default for sub_library_command { default() -> Self2116 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2117 } 2118 #[repr(C)] 2119 #[derive(Copy, Clone)] 2120 #[derive(Debug)] 2121 pub struct prebound_dylib_command { 2122 pub cmd: uint32_t, 2123 pub cmdsize: uint32_t, 2124 pub name: lc_str, 2125 pub nmodules: uint32_t, 2126 pub linked_modules: lc_str, 2127 } 2128 impl ::std::default::Default for prebound_dylib_command { default() -> Self2129 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2130 } 2131 #[repr(C)] 2132 #[derive(Copy, Clone)] 2133 #[derive(Debug)] 2134 pub struct dylinker_command { 2135 pub cmd: uint32_t, 2136 pub cmdsize: uint32_t, 2137 pub name: lc_str, 2138 } 2139 impl ::std::default::Default for dylinker_command { default() -> Self2140 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2141 } 2142 #[repr(C)] 2143 #[derive(Copy, Clone)] 2144 #[derive(Debug)] 2145 pub struct thread_command { 2146 pub cmd: uint32_t, 2147 pub cmdsize: uint32_t, 2148 } 2149 impl ::std::default::Default for thread_command { default() -> Self2150 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2151 } 2152 #[repr(C)] 2153 #[derive(Copy, Clone)] 2154 #[derive(Debug)] 2155 pub struct routines_command { 2156 pub cmd: uint32_t, 2157 pub cmdsize: uint32_t, 2158 pub init_address: uint32_t, 2159 pub init_module: uint32_t, 2160 pub reserved1: uint32_t, 2161 pub reserved2: uint32_t, 2162 pub reserved3: uint32_t, 2163 pub reserved4: uint32_t, 2164 pub reserved5: uint32_t, 2165 pub reserved6: uint32_t, 2166 } 2167 impl ::std::default::Default for routines_command { default() -> Self2168 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2169 } 2170 #[repr(C)] 2171 #[derive(Copy, Clone)] 2172 #[derive(Debug)] 2173 pub struct routines_command_64 { 2174 pub cmd: uint32_t, 2175 pub cmdsize: uint32_t, 2176 pub init_address: uint64_t, 2177 pub init_module: uint64_t, 2178 pub reserved1: uint64_t, 2179 pub reserved2: uint64_t, 2180 pub reserved3: uint64_t, 2181 pub reserved4: uint64_t, 2182 pub reserved5: uint64_t, 2183 pub reserved6: uint64_t, 2184 } 2185 impl ::std::default::Default for routines_command_64 { default() -> Self2186 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2187 } 2188 #[repr(C)] 2189 #[derive(Copy, Clone)] 2190 #[derive(Debug)] 2191 pub struct symtab_command { 2192 pub cmd: uint32_t, 2193 pub cmdsize: uint32_t, 2194 pub symoff: uint32_t, 2195 pub nsyms: uint32_t, 2196 pub stroff: uint32_t, 2197 pub strsize: uint32_t, 2198 } 2199 impl ::std::default::Default for symtab_command { default() -> Self2200 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2201 } 2202 #[repr(C)] 2203 #[derive(Copy, Clone)] 2204 #[derive(Debug)] 2205 pub struct dysymtab_command { 2206 pub cmd: uint32_t, 2207 pub cmdsize: uint32_t, 2208 pub ilocalsym: uint32_t, 2209 pub nlocalsym: uint32_t, 2210 pub iextdefsym: uint32_t, 2211 pub nextdefsym: uint32_t, 2212 pub iundefsym: uint32_t, 2213 pub nundefsym: uint32_t, 2214 pub tocoff: uint32_t, 2215 pub ntoc: uint32_t, 2216 pub modtaboff: uint32_t, 2217 pub nmodtab: uint32_t, 2218 pub extrefsymoff: uint32_t, 2219 pub nextrefsyms: uint32_t, 2220 pub indirectsymoff: uint32_t, 2221 pub nindirectsyms: uint32_t, 2222 pub extreloff: uint32_t, 2223 pub nextrel: uint32_t, 2224 pub locreloff: uint32_t, 2225 pub nlocrel: uint32_t, 2226 } 2227 impl ::std::default::Default for dysymtab_command { default() -> Self2228 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2229 } 2230 #[repr(C)] 2231 #[derive(Copy, Clone)] 2232 #[derive(Debug)] 2233 pub struct dylib_table_of_contents { 2234 pub symbol_index: uint32_t, 2235 pub module_index: uint32_t, 2236 } 2237 impl ::std::default::Default for dylib_table_of_contents { default() -> Self2238 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2239 } 2240 #[repr(C)] 2241 #[derive(Copy, Clone)] 2242 #[derive(Debug)] 2243 pub struct dylib_module { 2244 pub module_name: uint32_t, 2245 pub iextdefsym: uint32_t, 2246 pub nextdefsym: uint32_t, 2247 pub irefsym: uint32_t, 2248 pub nrefsym: uint32_t, 2249 pub ilocalsym: uint32_t, 2250 pub nlocalsym: uint32_t, 2251 pub iextrel: uint32_t, 2252 pub nextrel: uint32_t, 2253 pub iinit_iterm: uint32_t, 2254 pub ninit_nterm: uint32_t, 2255 pub objc_module_info_addr: uint32_t, 2256 pub objc_module_info_size: uint32_t, 2257 } 2258 impl ::std::default::Default for dylib_module { default() -> Self2259 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2260 } 2261 #[repr(C)] 2262 #[derive(Copy, Clone)] 2263 #[derive(Debug)] 2264 pub struct dylib_module_64 { 2265 pub module_name: uint32_t, 2266 pub iextdefsym: uint32_t, 2267 pub nextdefsym: uint32_t, 2268 pub irefsym: uint32_t, 2269 pub nrefsym: uint32_t, 2270 pub ilocalsym: uint32_t, 2271 pub nlocalsym: uint32_t, 2272 pub iextrel: uint32_t, 2273 pub nextrel: uint32_t, 2274 pub iinit_iterm: uint32_t, 2275 pub ninit_nterm: uint32_t, 2276 pub objc_module_info_size: uint32_t, 2277 pub objc_module_info_addr: uint64_t, 2278 } 2279 impl ::std::default::Default for dylib_module_64 { default() -> Self2280 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2281 } 2282 #[repr(C)] 2283 #[derive(Copy, Clone)] 2284 #[derive(Debug)] 2285 pub struct dylib_reference { 2286 pub _bindgen_bitfield_1_: uint32_t, 2287 pub _bindgen_bitfield_2_: uint32_t, 2288 } 2289 impl ::std::default::Default for dylib_reference { default() -> Self2290 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2291 } 2292 #[repr(C)] 2293 #[derive(Copy, Clone)] 2294 #[derive(Debug)] 2295 pub struct twolevel_hints_command { 2296 pub cmd: uint32_t, 2297 pub cmdsize: uint32_t, 2298 pub offset: uint32_t, 2299 pub nhints: uint32_t, 2300 } 2301 impl ::std::default::Default for twolevel_hints_command { default() -> Self2302 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2303 } 2304 #[repr(C)] 2305 #[derive(Copy, Clone)] 2306 #[derive(Debug)] 2307 pub struct twolevel_hint { 2308 pub _bindgen_bitfield_1_: uint32_t, 2309 pub _bindgen_bitfield_2_: uint32_t, 2310 } 2311 impl ::std::default::Default for twolevel_hint { default() -> Self2312 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2313 } 2314 #[repr(C)] 2315 #[derive(Copy, Clone)] 2316 #[derive(Debug)] 2317 pub struct prebind_cksum_command { 2318 pub cmd: uint32_t, 2319 pub cmdsize: uint32_t, 2320 pub cksum: uint32_t, 2321 } 2322 impl ::std::default::Default for prebind_cksum_command { default() -> Self2323 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2324 } 2325 #[repr(C)] 2326 #[derive(Copy, Clone)] 2327 #[derive(Debug)] 2328 pub struct uuid_command { 2329 pub cmd: uint32_t, 2330 pub cmdsize: uint32_t, 2331 pub uuid: [uint8_t; 16usize], 2332 } 2333 impl ::std::default::Default for uuid_command { default() -> Self2334 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2335 } 2336 #[repr(C)] 2337 #[derive(Copy, Clone)] 2338 #[derive(Debug)] 2339 pub struct rpath_command { 2340 pub cmd: uint32_t, 2341 pub cmdsize: uint32_t, 2342 pub path: lc_str, 2343 } 2344 impl ::std::default::Default for rpath_command { default() -> Self2345 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2346 } 2347 #[repr(C)] 2348 #[derive(Copy, Clone)] 2349 #[derive(Debug)] 2350 pub struct linkedit_data_command { 2351 pub cmd: uint32_t, 2352 pub cmdsize: uint32_t, 2353 pub dataoff: uint32_t, 2354 pub datasize: uint32_t, 2355 } 2356 impl ::std::default::Default for linkedit_data_command { default() -> Self2357 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2358 } 2359 #[repr(C)] 2360 #[derive(Copy, Clone)] 2361 #[derive(Debug)] 2362 pub struct encryption_info_command { 2363 pub cmd: uint32_t, 2364 pub cmdsize: uint32_t, 2365 pub cryptoff: uint32_t, 2366 pub cryptsize: uint32_t, 2367 pub cryptid: uint32_t, 2368 } 2369 impl ::std::default::Default for encryption_info_command { default() -> Self2370 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2371 } 2372 #[repr(C)] 2373 #[derive(Copy, Clone)] 2374 #[derive(Debug)] 2375 pub struct encryption_info_command_64 { 2376 pub cmd: uint32_t, 2377 pub cmdsize: uint32_t, 2378 pub cryptoff: uint32_t, 2379 pub cryptsize: uint32_t, 2380 pub cryptid: uint32_t, 2381 pub pad: uint32_t, 2382 } 2383 impl ::std::default::Default for encryption_info_command_64 { default() -> Self2384 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2385 } 2386 #[repr(C)] 2387 #[derive(Copy, Clone)] 2388 #[derive(Debug)] 2389 pub struct version_min_command { 2390 pub cmd: uint32_t, 2391 pub cmdsize: uint32_t, 2392 pub version: uint32_t, 2393 pub sdk: uint32_t, 2394 } 2395 impl ::std::default::Default for version_min_command { default() -> Self2396 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2397 } 2398 #[repr(C)] 2399 #[derive(Copy, Clone)] 2400 #[derive(Debug)] 2401 pub struct dyld_info_command { 2402 pub cmd: uint32_t, 2403 pub cmdsize: uint32_t, 2404 pub rebase_off: uint32_t, 2405 pub rebase_size: uint32_t, 2406 pub bind_off: uint32_t, 2407 pub bind_size: uint32_t, 2408 pub weak_bind_off: uint32_t, 2409 pub weak_bind_size: uint32_t, 2410 pub lazy_bind_off: uint32_t, 2411 pub lazy_bind_size: uint32_t, 2412 pub export_off: uint32_t, 2413 pub export_size: uint32_t, 2414 } 2415 impl ::std::default::Default for dyld_info_command { default() -> Self2416 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2417 } 2418 #[repr(C)] 2419 #[derive(Copy, Clone)] 2420 #[derive(Debug)] 2421 pub struct linker_option_command { 2422 pub cmd: uint32_t, 2423 pub cmdsize: uint32_t, 2424 pub count: uint32_t, 2425 } 2426 impl ::std::default::Default for linker_option_command { default() -> Self2427 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2428 } 2429 #[repr(C)] 2430 #[derive(Copy, Clone)] 2431 #[derive(Debug)] 2432 pub struct symseg_command { 2433 pub cmd: uint32_t, 2434 pub cmdsize: uint32_t, 2435 pub offset: uint32_t, 2436 pub size: uint32_t, 2437 } 2438 impl ::std::default::Default for symseg_command { default() -> Self2439 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2440 } 2441 #[repr(C)] 2442 #[derive(Copy, Clone)] 2443 #[derive(Debug)] 2444 pub struct ident_command { 2445 pub cmd: uint32_t, 2446 pub cmdsize: uint32_t, 2447 } 2448 impl ::std::default::Default for ident_command { default() -> Self2449 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2450 } 2451 #[repr(C)] 2452 #[derive(Copy, Clone)] 2453 #[derive(Debug)] 2454 pub struct fvmfile_command { 2455 pub cmd: uint32_t, 2456 pub cmdsize: uint32_t, 2457 pub name: lc_str, 2458 pub header_addr: uint32_t, 2459 } 2460 impl ::std::default::Default for fvmfile_command { default() -> Self2461 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2462 } 2463 #[repr(C)] 2464 #[derive(Copy, Clone)] 2465 #[derive(Debug)] 2466 pub struct entry_point_command { 2467 pub cmd: uint32_t, 2468 pub cmdsize: uint32_t, 2469 pub entryoff: uint64_t, 2470 pub stacksize: uint64_t, 2471 } 2472 impl ::std::default::Default for entry_point_command { default() -> Self2473 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2474 } 2475 #[repr(C)] 2476 #[derive(Copy, Clone)] 2477 #[derive(Debug)] 2478 pub struct source_version_command { 2479 pub cmd: uint32_t, 2480 pub cmdsize: uint32_t, 2481 pub version: uint64_t, 2482 } 2483 impl ::std::default::Default for source_version_command { default() -> Self2484 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2485 } 2486 #[repr(C)] 2487 #[derive(Copy, Clone)] 2488 #[derive(Debug)] 2489 pub struct data_in_code_entry { 2490 pub offset: uint32_t, 2491 pub length: uint16_t, 2492 pub kind: uint16_t, 2493 } 2494 impl ::std::default::Default for data_in_code_entry { default() -> Self2495 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2496 } 2497 #[repr(C)] 2498 #[derive(Copy, Clone)] 2499 #[derive(Debug)] 2500 pub struct tlv_descriptor { 2501 pub thunk: ::std::option::Option<unsafe extern "C" fn(arg1: 2502 *mut tlv_descriptor) 2503 -> *mut ::std::os::raw::c_void>, 2504 pub key: ::std::os::raw::c_ulong, 2505 pub offset: ::std::os::raw::c_ulong, 2506 } 2507 impl ::std::default::Default for tlv_descriptor { default() -> Self2508 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2509 } 2510 #[derive(Copy, Clone)] 2511 #[repr(u32)] 2512 #[derive(Debug)] 2513 pub enum DYLD_BOOL { FALSE = 0, TRUE = 1, } 2514 #[derive(Copy, Clone)] 2515 #[repr(u32)] 2516 #[derive(Debug)] 2517 pub enum NSObjectFileImageReturnCode { 2518 NSObjectFileImageFailure = 0, 2519 NSObjectFileImageSuccess = 1, 2520 NSObjectFileImageInappropriateFile = 2, 2521 NSObjectFileImageArch = 3, 2522 NSObjectFileImageFormat = 4, 2523 NSObjectFileImageAccess = 5, 2524 } 2525 pub enum __NSObjectFileImage { } 2526 pub type NSObjectFileImage = *mut __NSObjectFileImage; 2527 pub enum __NSModule { } 2528 pub type NSModule = *mut __NSModule; 2529 pub enum __NSSymbol { } 2530 pub type NSSymbol = *mut __NSSymbol; 2531 #[derive(Copy, Clone)] 2532 #[repr(u32)] 2533 #[derive(Debug)] 2534 pub enum NSLinkEditErrors { 2535 NSLinkEditFileAccessError = 0, 2536 NSLinkEditFileFormatError = 1, 2537 NSLinkEditMachResourceError = 2, 2538 NSLinkEditUnixResourceError = 3, 2539 NSLinkEditOtherError = 4, 2540 NSLinkEditWarningError = 5, 2541 NSLinkEditMultiplyDefinedError = 6, 2542 NSLinkEditUndefinedError = 7, 2543 } 2544 #[derive(Copy, Clone)] 2545 #[repr(u32)] 2546 #[derive(Debug)] 2547 pub enum NSOtherErrorNumbers { 2548 NSOtherErrorRelocation = 0, 2549 NSOtherErrorLazyBind = 1, 2550 NSOtherErrorIndrLoop = 2, 2551 NSOtherErrorLazyInit = 3, 2552 NSOtherErrorInvalidArgs = 4, 2553 } 2554 #[repr(C)] 2555 #[derive(Copy, Clone)] 2556 #[derive(Debug)] 2557 pub struct NSLinkEditErrorHandlers { 2558 pub undefined: ::std::option::Option<unsafe extern "C" fn(symbolName: 2559 *const ::std::os::raw::c_char)>, 2560 pub multiple: ::std::option::Option<extern "C" fn(s: NSSymbol, 2561 oldModule: NSModule, 2562 newModule: NSModule) 2563 -> NSModule>, 2564 pub linkEdit: ::std::option::Option<unsafe extern "C" fn(errorClass: 2565 NSLinkEditErrors, 2566 errorNumber: 2567 ::std::os::raw::c_int, 2568 fileName: 2569 *const ::std::os::raw::c_char, 2570 errorString: 2571 *const ::std::os::raw::c_char)>, 2572 } 2573 impl ::std::default::Default for NSLinkEditErrorHandlers { default() -> Self2574 fn default() -> Self { unsafe { ::std::mem::zeroed() } } 2575 } 2576 extern "C" { 2577 pub static mut KERNEL_SECURITY_TOKEN: security_token_t; 2578 pub static mut KERNEL_AUDIT_TOKEN: audit_token_t; 2579 } 2580 extern "C" { 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_t2581 pub fn mach_msg_overwrite(msg: *mut mach_msg_header_t, 2582 option: mach_msg_option_t, 2583 send_size: mach_msg_size_t, 2584 rcv_size: mach_msg_size_t, 2585 rcv_name: mach_port_name_t, 2586 timeout: mach_msg_timeout_t, 2587 notify: mach_port_name_t, 2588 rcv_msg: *mut mach_msg_header_t, 2589 rcv_limit: mach_msg_size_t) 2590 -> mach_msg_return_t; 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_t2591 pub fn mach_msg(msg: *mut mach_msg_header_t, option: mach_msg_option_t, 2592 send_size: mach_msg_size_t, rcv_size: mach_msg_size_t, 2593 rcv_name: mach_port_name_t, timeout: mach_msg_timeout_t, 2594 notify: mach_port_name_t) -> mach_msg_return_t; mach_voucher_deallocate(voucher: mach_port_name_t) -> kern_return_t2595 pub fn mach_voucher_deallocate(voucher: mach_port_name_t) 2596 -> kern_return_t; _dyld_image_count() -> uint32_t2597 pub fn _dyld_image_count() -> uint32_t; _dyld_get_image_header(image_index: uint32_t) -> *const mach_header2598 pub fn _dyld_get_image_header(image_index: uint32_t) 2599 -> *const mach_header; _dyld_get_image_vmaddr_slide(image_index: uint32_t) -> intptr_t2600 pub fn _dyld_get_image_vmaddr_slide(image_index: uint32_t) -> intptr_t; _dyld_get_image_name(image_index: uint32_t) -> *const ::std::os::raw::c_char2601 pub fn _dyld_get_image_name(image_index: uint32_t) 2602 -> *const ::std::os::raw::c_char; _dyld_register_func_for_add_image(func: ::std::option::Option<unsafe extern "C" fn(mh: *const mach_header, vmaddr_slide: intptr_t)>)2603 pub fn _dyld_register_func_for_add_image(func: 2604 ::std::option::Option<unsafe extern "C" fn(mh: 2605 *const mach_header, 2606 vmaddr_slide: 2607 intptr_t)>); _dyld_register_func_for_remove_image(func: ::std::option::Option<unsafe extern "C" fn(mh: *const mach_header, vmaddr_slide: intptr_t)>)2608 pub fn _dyld_register_func_for_remove_image(func: 2609 ::std::option::Option<unsafe extern "C" fn(mh: 2610 *const mach_header, 2611 vmaddr_slide: 2612 intptr_t)>); NSVersionOfRunTimeLibrary(libraryName: *const ::std::os::raw::c_char) -> int32_t2613 pub fn NSVersionOfRunTimeLibrary(libraryName: 2614 *const ::std::os::raw::c_char) 2615 -> int32_t; NSVersionOfLinkTimeLibrary(libraryName: *const ::std::os::raw::c_char) -> int32_t2616 pub fn NSVersionOfLinkTimeLibrary(libraryName: 2617 *const ::std::os::raw::c_char) 2618 -> int32_t; _NSGetExecutablePath(buf: *mut ::std::os::raw::c_char, bufsize: *mut uint32_t) -> ::std::os::raw::c_int2619 pub fn _NSGetExecutablePath(buf: *mut ::std::os::raw::c_char, 2620 bufsize: *mut uint32_t) 2621 -> ::std::os::raw::c_int; NSCreateObjectFileImageFromFile(pathName: *const ::std::os::raw::c_char, objectFileImage: *mut NSObjectFileImage) -> NSObjectFileImageReturnCode2622 pub fn NSCreateObjectFileImageFromFile(pathName: 2623 *const ::std::os::raw::c_char, 2624 objectFileImage: 2625 *mut NSObjectFileImage) 2626 -> NSObjectFileImageReturnCode; NSCreateObjectFileImageFromMemory(address: *const ::std::os::raw::c_void, size: size_t, objectFileImage: *mut NSObjectFileImage) -> NSObjectFileImageReturnCode2627 pub fn NSCreateObjectFileImageFromMemory(address: 2628 *const ::std::os::raw::c_void, 2629 size: size_t, 2630 objectFileImage: 2631 *mut NSObjectFileImage) 2632 -> NSObjectFileImageReturnCode; NSDestroyObjectFileImage(objectFileImage: NSObjectFileImage) -> u82633 pub fn NSDestroyObjectFileImage(objectFileImage: NSObjectFileImage) -> u8; NSSymbolDefinitionCountInObjectFileImage(objectFileImage: NSObjectFileImage) -> uint32_t2634 pub fn NSSymbolDefinitionCountInObjectFileImage(objectFileImage: 2635 NSObjectFileImage) 2636 -> uint32_t; NSSymbolDefinitionNameInObjectFileImage(objectFileImage: NSObjectFileImage, ordinal: uint32_t) -> *const ::std::os::raw::c_char2637 pub fn NSSymbolDefinitionNameInObjectFileImage(objectFileImage: 2638 NSObjectFileImage, 2639 ordinal: uint32_t) 2640 -> *const ::std::os::raw::c_char; NSSymbolReferenceCountInObjectFileImage(objectFileImage: NSObjectFileImage) -> uint32_t2641 pub fn NSSymbolReferenceCountInObjectFileImage(objectFileImage: 2642 NSObjectFileImage) 2643 -> uint32_t; NSSymbolReferenceNameInObjectFileImage(objectFileImage: NSObjectFileImage, ordinal: uint32_t, tentative_definition: *mut u8) -> *const ::std::os::raw::c_char2644 pub fn NSSymbolReferenceNameInObjectFileImage(objectFileImage: 2645 NSObjectFileImage, 2646 ordinal: uint32_t, 2647 tentative_definition: 2648 *mut u8) 2649 -> *const ::std::os::raw::c_char; NSIsSymbolDefinedInObjectFileImage(objectFileImage: NSObjectFileImage, symbolName: *const ::std::os::raw::c_char) -> u82650 pub fn NSIsSymbolDefinedInObjectFileImage(objectFileImage: 2651 NSObjectFileImage, 2652 symbolName: 2653 *const ::std::os::raw::c_char) 2654 -> u8; NSGetSectionDataInObjectFileImage(objectFileImage: NSObjectFileImage, segmentName: *const ::std::os::raw::c_char, sectionName: *const ::std::os::raw::c_char, size: *mut size_t) -> *mut ::std::os::raw::c_void2655 pub fn NSGetSectionDataInObjectFileImage(objectFileImage: 2656 NSObjectFileImage, 2657 segmentName: 2658 *const ::std::os::raw::c_char, 2659 sectionName: 2660 *const ::std::os::raw::c_char, 2661 size: *mut size_t) 2662 -> *mut ::std::os::raw::c_void; NSHasModInitObjectFileImage(objectFileImage: NSObjectFileImage) -> u82663 pub fn NSHasModInitObjectFileImage(objectFileImage: NSObjectFileImage) 2664 -> u8; NSNameOfModule(m: NSModule) -> *const ::std::os::raw::c_char2665 pub fn NSNameOfModule(m: NSModule) -> *const ::std::os::raw::c_char; NSLibraryNameForModule(m: NSModule) -> *const ::std::os::raw::c_char2666 pub fn NSLibraryNameForModule(m: NSModule) 2667 -> *const ::std::os::raw::c_char; NSLinkModule(objectFileImage: NSObjectFileImage, moduleName: *const ::std::os::raw::c_char, options: uint32_t) -> NSModule2668 pub fn NSLinkModule(objectFileImage: NSObjectFileImage, 2669 moduleName: *const ::std::os::raw::c_char, 2670 options: uint32_t) -> NSModule; NSUnLinkModule(module: NSModule, options: uint32_t) -> u82671 pub fn NSUnLinkModule(module: NSModule, options: uint32_t) -> u8; NSIsSymbolNameDefined(symbolName: *const ::std::os::raw::c_char) -> u82672 pub fn NSIsSymbolNameDefined(symbolName: *const ::std::os::raw::c_char) 2673 -> u8; NSIsSymbolNameDefinedWithHint(symbolName: *const ::std::os::raw::c_char, libraryNameHint: *const ::std::os::raw::c_char) -> u82674 pub fn NSIsSymbolNameDefinedWithHint(symbolName: 2675 *const ::std::os::raw::c_char, 2676 libraryNameHint: 2677 *const ::std::os::raw::c_char) 2678 -> u8; NSIsSymbolNameDefinedInImage(image: *const mach_header, symbolName: *const ::std::os::raw::c_char) -> u82679 pub fn NSIsSymbolNameDefinedInImage(image: *const mach_header, 2680 symbolName: 2681 *const ::std::os::raw::c_char) 2682 -> u8; NSLookupAndBindSymbol(symbolName: *const ::std::os::raw::c_char) -> NSSymbol2683 pub fn NSLookupAndBindSymbol(symbolName: *const ::std::os::raw::c_char) 2684 -> NSSymbol; NSLookupAndBindSymbolWithHint(symbolName: *const ::std::os::raw::c_char, libraryNameHint: *const ::std::os::raw::c_char) -> NSSymbol2685 pub fn NSLookupAndBindSymbolWithHint(symbolName: 2686 *const ::std::os::raw::c_char, 2687 libraryNameHint: 2688 *const ::std::os::raw::c_char) 2689 -> NSSymbol; NSLookupSymbolInModule(module: NSModule, symbolName: *const ::std::os::raw::c_char) -> NSSymbol2690 pub fn NSLookupSymbolInModule(module: NSModule, 2691 symbolName: *const ::std::os::raw::c_char) 2692 -> NSSymbol; NSLookupSymbolInImage(image: *const mach_header, symbolName: *const ::std::os::raw::c_char, options: uint32_t) -> NSSymbol2693 pub fn NSLookupSymbolInImage(image: *const mach_header, 2694 symbolName: *const ::std::os::raw::c_char, 2695 options: uint32_t) -> NSSymbol; NSNameOfSymbol(symbol: NSSymbol) -> *const ::std::os::raw::c_char2696 pub fn NSNameOfSymbol(symbol: NSSymbol) -> *const ::std::os::raw::c_char; NSAddressOfSymbol(symbol: NSSymbol) -> *mut ::std::os::raw::c_void2697 pub fn NSAddressOfSymbol(symbol: NSSymbol) -> *mut ::std::os::raw::c_void; NSModuleForSymbol(symbol: NSSymbol) -> NSModule2698 pub fn NSModuleForSymbol(symbol: NSSymbol) -> NSModule; NSLinkEditError(c: *mut NSLinkEditErrors, errorNumber: *mut ::std::os::raw::c_int, fileName: *mut *const ::std::os::raw::c_char, errorString: *mut *const ::std::os::raw::c_char)2699 pub fn NSLinkEditError(c: *mut NSLinkEditErrors, 2700 errorNumber: *mut ::std::os::raw::c_int, 2701 fileName: *mut *const ::std::os::raw::c_char, 2702 errorString: *mut *const ::std::os::raw::c_char); NSInstallLinkEditErrorHandlers(handlers: *const NSLinkEditErrorHandlers)2703 pub fn NSInstallLinkEditErrorHandlers(handlers: 2704 *const NSLinkEditErrorHandlers); NSAddLibrary(pathName: *const ::std::os::raw::c_char) -> u82705 pub fn NSAddLibrary(pathName: *const ::std::os::raw::c_char) -> u8; NSAddLibraryWithSearching(pathName: *const ::std::os::raw::c_char) -> u82706 pub fn NSAddLibraryWithSearching(pathName: *const ::std::os::raw::c_char) 2707 -> u8; NSAddImage(image_name: *const ::std::os::raw::c_char, options: uint32_t) -> *const mach_header2708 pub fn NSAddImage(image_name: *const ::std::os::raw::c_char, 2709 options: uint32_t) -> *const mach_header; _dyld_present() -> u82710 pub fn _dyld_present() -> u8; _dyld_launched_prebound() -> u82711 pub fn _dyld_launched_prebound() -> u8; _dyld_all_twolevel_modules_prebound() -> u82712 pub fn _dyld_all_twolevel_modules_prebound() -> u8; _dyld_bind_objc_module(objc_module: *const ::std::os::raw::c_void)2713 pub fn _dyld_bind_objc_module(objc_module: *const ::std::os::raw::c_void); _dyld_bind_fully_image_containing_address(address: *const ::std::os::raw::c_void) -> u82714 pub fn _dyld_bind_fully_image_containing_address(address: 2715 *const ::std::os::raw::c_void) 2716 -> u8; _dyld_image_containing_address(address: *const ::std::os::raw::c_void) -> u82717 pub fn _dyld_image_containing_address(address: 2718 *const ::std::os::raw::c_void) 2719 -> u8; _dyld_lookup_and_bind(symbol_name: *const ::std::os::raw::c_char, address: *mut *mut ::std::os::raw::c_void, module: *mut NSModule)2720 pub fn _dyld_lookup_and_bind(symbol_name: *const ::std::os::raw::c_char, 2721 address: *mut *mut ::std::os::raw::c_void, 2722 module: *mut NSModule); _dyld_lookup_and_bind_with_hint(symbol_name: *const ::std::os::raw::c_char, library_name_hint: *const ::std::os::raw::c_char, address: *mut *mut ::std::os::raw::c_void, module: *mut NSModule)2723 pub fn _dyld_lookup_and_bind_with_hint(symbol_name: 2724 *const ::std::os::raw::c_char, 2725 library_name_hint: 2726 *const ::std::os::raw::c_char, 2727 address: 2728 *mut *mut ::std::os::raw::c_void, 2729 module: *mut NSModule); _dyld_lookup_and_bind_fully(symbol_name: *const ::std::os::raw::c_char, address: *mut *mut ::std::os::raw::c_void, module: *mut NSModule)2730 pub fn _dyld_lookup_and_bind_fully(symbol_name: 2731 *const ::std::os::raw::c_char, 2732 address: 2733 *mut *mut ::std::os::raw::c_void, 2734 module: *mut NSModule); _dyld_get_image_header_containing_address(address: *const ::std::os::raw::c_void) -> *const mach_header2735 pub fn _dyld_get_image_header_containing_address(address: 2736 *const ::std::os::raw::c_void) 2737 -> *const mach_header; 2738 } 2739