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