Root/
Source at commit 1270 created 12 years 11 months ago. By meklort, Add arm headers. update makefiles | |
---|---|
1 | #ifndef␉_mach_port_user_␊ |
2 | #define␉_mach_port_user_␊ |
3 | ␊ |
4 | /* Module mach_port */␊ |
5 | ␊ |
6 | #include <string.h>␊ |
7 | #include <mach/ndr.h>␊ |
8 | #include <mach/boolean.h>␊ |
9 | #include <mach/kern_return.h>␊ |
10 | #include <mach/notify.h>␊ |
11 | #include <mach/mach_types.h>␊ |
12 | #include <mach/message.h>␊ |
13 | #include <mach/mig_errors.h>␊ |
14 | #include <mach/port.h>␊ |
15 | ␊ |
16 | #ifdef AUTOTEST␊ |
17 | #ifndef FUNCTION_PTR_T␊ |
18 | #define FUNCTION_PTR_T␊ |
19 | typedef void (*function_ptr_t)(mach_port_t, char *, mach_msg_type_number_t);␊ |
20 | typedef struct {␊ |
21 | char *name;␊ |
22 | function_ptr_t function;␊ |
23 | } function_table_entry;␊ |
24 | typedef function_table_entry *function_table_t;␊ |
25 | #endif /* FUNCTION_PTR_T */␊ |
26 | #endif /* AUTOTEST */␊ |
27 | ␊ |
28 | #ifndef␉mach_port_MSG_COUNT␊ |
29 | #define␉mach_port_MSG_COUNT␉31␊ |
30 | #endif␉/* mach_port_MSG_COUNT */␊ |
31 | ␊ |
32 | #include <mach/std_types.h>␊ |
33 | #include <mach/mig.h>␊ |
34 | #include <mach/mach_types.h>␊ |
35 | ␊ |
36 | #ifdef __BeforeMigUserHeader␊ |
37 | __BeforeMigUserHeader␊ |
38 | #endif /* __BeforeMigUserHeader */␊ |
39 | ␊ |
40 | #include <sys/cdefs.h>␊ |
41 | __BEGIN_DECLS␊ |
42 | ␊ |
43 | ␊ |
44 | /* Routine mach_port_names */␊ |
45 | #ifdef␉mig_external␊ |
46 | mig_external␊ |
47 | #else␊ |
48 | extern␊ |
49 | #endif␉/* mig_external */␊ |
50 | kern_return_t mach_port_names␊ |
51 | (␊ |
52 | ␉ipc_space_t task,␊ |
53 | ␉mach_port_name_array_t *names,␊ |
54 | ␉mach_msg_type_number_t *namesCnt,␊ |
55 | ␉mach_port_type_array_t *types,␊ |
56 | ␉mach_msg_type_number_t *typesCnt␊ |
57 | );␊ |
58 | ␊ |
59 | /* Routine mach_port_type */␊ |
60 | #ifdef␉mig_external␊ |
61 | mig_external␊ |
62 | #else␊ |
63 | extern␊ |
64 | #endif␉/* mig_external */␊ |
65 | kern_return_t mach_port_type␊ |
66 | (␊ |
67 | ␉ipc_space_t task,␊ |
68 | ␉mach_port_name_t name,␊ |
69 | ␉mach_port_type_t *ptype␊ |
70 | );␊ |
71 | ␊ |
72 | /* Routine mach_port_rename */␊ |
73 | #ifdef␉mig_external␊ |
74 | mig_external␊ |
75 | #else␊ |
76 | extern␊ |
77 | #endif␉/* mig_external */␊ |
78 | kern_return_t mach_port_rename␊ |
79 | (␊ |
80 | ␉ipc_space_t task,␊ |
81 | ␉mach_port_name_t old_name,␊ |
82 | ␉mach_port_name_t new_name␊ |
83 | );␊ |
84 | ␊ |
85 | /* Routine mach_port_allocate_name */␊ |
86 | #ifdef␉mig_external␊ |
87 | mig_external␊ |
88 | #else␊ |
89 | extern␊ |
90 | #endif␉/* mig_external */␊ |
91 | kern_return_t mach_port_allocate_name␊ |
92 | (␊ |
93 | ␉ipc_space_t task,␊ |
94 | ␉mach_port_right_t right,␊ |
95 | ␉mach_port_name_t name␊ |
96 | );␊ |
97 | ␊ |
98 | /* Routine mach_port_allocate */␊ |
99 | #ifdef␉mig_external␊ |
100 | mig_external␊ |
101 | #else␊ |
102 | extern␊ |
103 | #endif␉/* mig_external */␊ |
104 | kern_return_t mach_port_allocate␊ |
105 | (␊ |
106 | ␉ipc_space_t task,␊ |
107 | ␉mach_port_right_t right,␊ |
108 | ␉mach_port_name_t *name␊ |
109 | );␊ |
110 | ␊ |
111 | /* Routine mach_port_destroy */␊ |
112 | #ifdef␉mig_external␊ |
113 | mig_external␊ |
114 | #else␊ |
115 | extern␊ |
116 | #endif␉/* mig_external */␊ |
117 | kern_return_t mach_port_destroy␊ |
118 | (␊ |
119 | ␉ipc_space_t task,␊ |
120 | ␉mach_port_name_t name␊ |
121 | );␊ |
122 | ␊ |
123 | /* Routine mach_port_deallocate */␊ |
124 | #ifdef␉mig_external␊ |
125 | mig_external␊ |
126 | #else␊ |
127 | extern␊ |
128 | #endif␉/* mig_external */␊ |
129 | kern_return_t mach_port_deallocate␊ |
130 | (␊ |
131 | ␉ipc_space_t task,␊ |
132 | ␉mach_port_name_t name␊ |
133 | );␊ |
134 | ␊ |
135 | /* Routine mach_port_get_refs */␊ |
136 | #ifdef␉mig_external␊ |
137 | mig_external␊ |
138 | #else␊ |
139 | extern␊ |
140 | #endif␉/* mig_external */␊ |
141 | kern_return_t mach_port_get_refs␊ |
142 | (␊ |
143 | ␉ipc_space_t task,␊ |
144 | ␉mach_port_name_t name,␊ |
145 | ␉mach_port_right_t right,␊ |
146 | ␉mach_port_urefs_t *refs␊ |
147 | );␊ |
148 | ␊ |
149 | /* Routine mach_port_mod_refs */␊ |
150 | #ifdef␉mig_external␊ |
151 | mig_external␊ |
152 | #else␊ |
153 | extern␊ |
154 | #endif␉/* mig_external */␊ |
155 | kern_return_t mach_port_mod_refs␊ |
156 | (␊ |
157 | ␉ipc_space_t task,␊ |
158 | ␉mach_port_name_t name,␊ |
159 | ␉mach_port_right_t right,␊ |
160 | ␉mach_port_delta_t delta␊ |
161 | );␊ |
162 | ␊ |
163 | /* Routine mach_port_set_mscount */␊ |
164 | #ifdef␉mig_external␊ |
165 | mig_external␊ |
166 | #else␊ |
167 | extern␊ |
168 | #endif␉/* mig_external */␊ |
169 | kern_return_t mach_port_set_mscount␊ |
170 | (␊ |
171 | ␉ipc_space_t task,␊ |
172 | ␉mach_port_name_t name,␊ |
173 | ␉mach_port_mscount_t mscount␊ |
174 | );␊ |
175 | ␊ |
176 | /* Routine mach_port_get_set_status */␊ |
177 | #ifdef␉mig_external␊ |
178 | mig_external␊ |
179 | #else␊ |
180 | extern␊ |
181 | #endif␉/* mig_external */␊ |
182 | kern_return_t mach_port_get_set_status␊ |
183 | (␊ |
184 | ␉ipc_space_t task,␊ |
185 | ␉mach_port_name_t name,␊ |
186 | ␉mach_port_name_array_t *members,␊ |
187 | ␉mach_msg_type_number_t *membersCnt␊ |
188 | );␊ |
189 | ␊ |
190 | /* Routine mach_port_move_member */␊ |
191 | #ifdef␉mig_external␊ |
192 | mig_external␊ |
193 | #else␊ |
194 | extern␊ |
195 | #endif␉/* mig_external */␊ |
196 | kern_return_t mach_port_move_member␊ |
197 | (␊ |
198 | ␉ipc_space_t task,␊ |
199 | ␉mach_port_name_t member,␊ |
200 | ␉mach_port_name_t after␊ |
201 | );␊ |
202 | ␊ |
203 | /* Routine mach_port_request_notification */␊ |
204 | #ifdef␉mig_external␊ |
205 | mig_external␊ |
206 | #else␊ |
207 | extern␊ |
208 | #endif␉/* mig_external */␊ |
209 | kern_return_t mach_port_request_notification␊ |
210 | (␊ |
211 | ␉ipc_space_t task,␊ |
212 | ␉mach_port_name_t name,␊ |
213 | ␉mach_msg_id_t msgid,␊ |
214 | ␉mach_port_mscount_t sync,␊ |
215 | ␉mach_port_t notify,␊ |
216 | ␉mach_msg_type_name_t notifyPoly,␊ |
217 | ␉mach_port_t *previous␊ |
218 | );␊ |
219 | ␊ |
220 | /* Routine mach_port_insert_right */␊ |
221 | #ifdef␉mig_external␊ |
222 | mig_external␊ |
223 | #else␊ |
224 | extern␊ |
225 | #endif␉/* mig_external */␊ |
226 | kern_return_t mach_port_insert_right␊ |
227 | (␊ |
228 | ␉ipc_space_t task,␊ |
229 | ␉mach_port_name_t name,␊ |
230 | ␉mach_port_t poly,␊ |
231 | ␉mach_msg_type_name_t polyPoly␊ |
232 | );␊ |
233 | ␊ |
234 | /* Routine mach_port_extract_right */␊ |
235 | #ifdef␉mig_external␊ |
236 | mig_external␊ |
237 | #else␊ |
238 | extern␊ |
239 | #endif␉/* mig_external */␊ |
240 | kern_return_t mach_port_extract_right␊ |
241 | (␊ |
242 | ␉ipc_space_t task,␊ |
243 | ␉mach_port_name_t name,␊ |
244 | ␉mach_msg_type_name_t msgt_name,␊ |
245 | ␉mach_port_t *poly,␊ |
246 | ␉mach_msg_type_name_t *polyPoly␊ |
247 | );␊ |
248 | ␊ |
249 | /* Routine mach_port_set_seqno */␊ |
250 | #ifdef␉mig_external␊ |
251 | mig_external␊ |
252 | #else␊ |
253 | extern␊ |
254 | #endif␉/* mig_external */␊ |
255 | kern_return_t mach_port_set_seqno␊ |
256 | (␊ |
257 | ␉ipc_space_t task,␊ |
258 | ␉mach_port_name_t name,␊ |
259 | ␉mach_port_seqno_t seqno␊ |
260 | );␊ |
261 | ␊ |
262 | /* Routine mach_port_get_attributes */␊ |
263 | #ifdef␉mig_external␊ |
264 | mig_external␊ |
265 | #else␊ |
266 | extern␊ |
267 | #endif␉/* mig_external */␊ |
268 | kern_return_t mach_port_get_attributes␊ |
269 | (␊ |
270 | ␉ipc_space_t task,␊ |
271 | ␉mach_port_name_t name,␊ |
272 | ␉mach_port_flavor_t flavor,␊ |
273 | ␉mach_port_info_t port_info_out,␊ |
274 | ␉mach_msg_type_number_t *port_info_outCnt␊ |
275 | );␊ |
276 | ␊ |
277 | /* Routine mach_port_set_attributes */␊ |
278 | #ifdef␉mig_external␊ |
279 | mig_external␊ |
280 | #else␊ |
281 | extern␊ |
282 | #endif␉/* mig_external */␊ |
283 | kern_return_t mach_port_set_attributes␊ |
284 | (␊ |
285 | ␉ipc_space_t task,␊ |
286 | ␉mach_port_name_t name,␊ |
287 | ␉mach_port_flavor_t flavor,␊ |
288 | ␉mach_port_info_t port_info,␊ |
289 | ␉mach_msg_type_number_t port_infoCnt␊ |
290 | );␊ |
291 | ␊ |
292 | /* Routine mach_port_allocate_qos */␊ |
293 | #ifdef␉mig_external␊ |
294 | mig_external␊ |
295 | #else␊ |
296 | extern␊ |
297 | #endif␉/* mig_external */␊ |
298 | kern_return_t mach_port_allocate_qos␊ |
299 | (␊ |
300 | ␉ipc_space_t task,␊ |
301 | ␉mach_port_right_t right,␊ |
302 | ␉mach_port_qos_t *qos,␊ |
303 | ␉mach_port_name_t *name␊ |
304 | );␊ |
305 | ␊ |
306 | /* Routine mach_port_allocate_full */␊ |
307 | #ifdef␉mig_external␊ |
308 | mig_external␊ |
309 | #else␊ |
310 | extern␊ |
311 | #endif␉/* mig_external */␊ |
312 | kern_return_t mach_port_allocate_full␊ |
313 | (␊ |
314 | ␉ipc_space_t task,␊ |
315 | ␉mach_port_right_t right,␊ |
316 | ␉mach_port_t proto,␊ |
317 | ␉mach_port_qos_t *qos,␊ |
318 | ␉mach_port_name_t *name␊ |
319 | );␊ |
320 | ␊ |
321 | /* Routine task_set_port_space */␊ |
322 | #ifdef␉mig_external␊ |
323 | mig_external␊ |
324 | #else␊ |
325 | extern␊ |
326 | #endif␉/* mig_external */␊ |
327 | kern_return_t task_set_port_space␊ |
328 | (␊ |
329 | ␉ipc_space_t task,␊ |
330 | ␉int table_entries␊ |
331 | );␊ |
332 | ␊ |
333 | /* Routine mach_port_get_srights */␊ |
334 | #ifdef␉mig_external␊ |
335 | mig_external␊ |
336 | #else␊ |
337 | extern␊ |
338 | #endif␉/* mig_external */␊ |
339 | kern_return_t mach_port_get_srights␊ |
340 | (␊ |
341 | ␉ipc_space_t task,␊ |
342 | ␉mach_port_name_t name,␊ |
343 | ␉mach_port_rights_t *srights␊ |
344 | );␊ |
345 | ␊ |
346 | ␊ |
347 | /* Routine mach_port_dnrequest_info */␊ |
348 | #ifdef␉mig_external␊ |
349 | mig_external␊ |
350 | #else␊ |
351 | extern␊ |
352 | #endif␉/* mig_external */␊ |
353 | kern_return_t mach_port_dnrequest_info␊ |
354 | (␊ |
355 | ␉ipc_space_t task,␊ |
356 | ␉mach_port_name_t name,␊ |
357 | ␉unsigned *dnr_total,␊ |
358 | ␉unsigned *dnr_used␊ |
359 | );␊ |
360 | ␊ |
361 | /* Routine mach_port_kernel_object */␊ |
362 | #ifdef␉mig_external␊ |
363 | mig_external␊ |
364 | #else␊ |
365 | extern␊ |
366 | #endif␉/* mig_external */␊ |
367 | kern_return_t mach_port_kernel_object␊ |
368 | (␊ |
369 | ␉ipc_space_t task,␊ |
370 | ␉mach_port_name_t name,␊ |
371 | ␉unsigned *object_type,␊ |
372 | ␉unsigned *object_addr␊ |
373 | );␊ |
374 | ␊ |
375 | /* Routine mach_port_insert_member */␊ |
376 | #ifdef␉mig_external␊ |
377 | mig_external␊ |
378 | #else␊ |
379 | extern␊ |
380 | #endif␉/* mig_external */␊ |
381 | kern_return_t mach_port_insert_member␊ |
382 | (␊ |
383 | ␉ipc_space_t task,␊ |
384 | ␉mach_port_name_t name,␊ |
385 | ␉mach_port_name_t pset␊ |
386 | );␊ |
387 | ␊ |
388 | /* Routine mach_port_extract_member */␊ |
389 | #ifdef␉mig_external␊ |
390 | mig_external␊ |
391 | #else␊ |
392 | extern␊ |
393 | #endif␉/* mig_external */␊ |
394 | kern_return_t mach_port_extract_member␊ |
395 | (␊ |
396 | ␉ipc_space_t task,␊ |
397 | ␉mach_port_name_t name,␊ |
398 | ␉mach_port_name_t pset␊ |
399 | );␊ |
400 | ␊ |
401 | /* Routine mach_port_get_context */␊ |
402 | #ifdef␉mig_external␊ |
403 | mig_external␊ |
404 | #else␊ |
405 | extern␊ |
406 | #endif␉/* mig_external */␊ |
407 | kern_return_t mach_port_get_context␊ |
408 | (␊ |
409 | ␉ipc_space_t task,␊ |
410 | ␉mach_port_name_t name,␊ |
411 | ␉mach_vm_address_t *context␊ |
412 | );␊ |
413 | ␊ |
414 | /* Routine mach_port_set_context */␊ |
415 | #ifdef␉mig_external␊ |
416 | mig_external␊ |
417 | #else␊ |
418 | extern␊ |
419 | #endif␉/* mig_external */␊ |
420 | kern_return_t mach_port_set_context␊ |
421 | (␊ |
422 | ␉ipc_space_t task,␊ |
423 | ␉mach_port_name_t name,␊ |
424 | ␉mach_vm_address_t context␊ |
425 | );␊ |
426 | ␊ |
427 | /* Routine mach_port_kobject */␊ |
428 | #ifdef␉mig_external␊ |
429 | mig_external␊ |
430 | #else␊ |
431 | extern␊ |
432 | #endif␉/* mig_external */␊ |
433 | kern_return_t mach_port_kobject␊ |
434 | (␊ |
435 | ␉ipc_space_t task,␊ |
436 | ␉mach_port_name_t name,␊ |
437 | ␉natural_t *object_type,␊ |
438 | ␉mach_vm_address_t *object_addr␊ |
439 | );␊ |
440 | ␊ |
441 | __END_DECLS␊ |
442 | ␊ |
443 | /********************** Caution **************************/␊ |
444 | /* The following data types should be used to calculate */␊ |
445 | /* maximum message sizes only. The actual message may be */␊ |
446 | /* smaller, and the position of the arguments within the */␊ |
447 | /* message layout may vary from what is presented here. */␊ |
448 | /* For example, if any of the arguments are variable- */␊ |
449 | /* sized, and less than the maximum is sent, the data */␊ |
450 | /* will be packed tight in the actual message to reduce */␊ |
451 | /* the presence of holes. */␊ |
452 | /********************** Caution **************************/␊ |
453 | ␊ |
454 | /* typedefs for all requests */␊ |
455 | ␊ |
456 | #ifndef __Request__mach_port_subsystem__defined␊ |
457 | #define __Request__mach_port_subsystem__defined␊ |
458 | ␊ |
459 | #ifdef __MigPackStructs␊ |
460 | #pragma pack(4)␊ |
461 | #endif␊ |
462 | ␉typedef struct {␊ |
463 | ␉␉mach_msg_header_t Head;␊ |
464 | ␉} __Request__mach_port_names_t;␊ |
465 | #ifdef __MigPackStructs␊ |
466 | #pragma pack()␊ |
467 | #endif␊ |
468 | ␊ |
469 | #ifdef __MigPackStructs␊ |
470 | #pragma pack(4)␊ |
471 | #endif␊ |
472 | ␉typedef struct {␊ |
473 | ␉␉mach_msg_header_t Head;␊ |
474 | ␉␉NDR_record_t NDR;␊ |
475 | ␉␉mach_port_name_t name;␊ |
476 | ␉} __Request__mach_port_type_t;␊ |
477 | #ifdef __MigPackStructs␊ |
478 | #pragma pack()␊ |
479 | #endif␊ |
480 | ␊ |
481 | #ifdef __MigPackStructs␊ |
482 | #pragma pack(4)␊ |
483 | #endif␊ |
484 | ␉typedef struct {␊ |
485 | ␉␉mach_msg_header_t Head;␊ |
486 | ␉␉NDR_record_t NDR;␊ |
487 | ␉␉mach_port_name_t old_name;␊ |
488 | ␉␉mach_port_name_t new_name;␊ |
489 | ␉} __Request__mach_port_rename_t;␊ |
490 | #ifdef __MigPackStructs␊ |
491 | #pragma pack()␊ |
492 | #endif␊ |
493 | ␊ |
494 | #ifdef __MigPackStructs␊ |
495 | #pragma pack(4)␊ |
496 | #endif␊ |
497 | ␉typedef struct {␊ |
498 | ␉␉mach_msg_header_t Head;␊ |
499 | ␉␉NDR_record_t NDR;␊ |
500 | ␉␉mach_port_right_t right;␊ |
501 | ␉␉mach_port_name_t name;␊ |
502 | ␉} __Request__mach_port_allocate_name_t;␊ |
503 | #ifdef __MigPackStructs␊ |
504 | #pragma pack()␊ |
505 | #endif␊ |
506 | ␊ |
507 | #ifdef __MigPackStructs␊ |
508 | #pragma pack(4)␊ |
509 | #endif␊ |
510 | ␉typedef struct {␊ |
511 | ␉␉mach_msg_header_t Head;␊ |
512 | ␉␉NDR_record_t NDR;␊ |
513 | ␉␉mach_port_right_t right;␊ |
514 | ␉} __Request__mach_port_allocate_t;␊ |
515 | #ifdef __MigPackStructs␊ |
516 | #pragma pack()␊ |
517 | #endif␊ |
518 | ␊ |
519 | #ifdef __MigPackStructs␊ |
520 | #pragma pack(4)␊ |
521 | #endif␊ |
522 | ␉typedef struct {␊ |
523 | ␉␉mach_msg_header_t Head;␊ |
524 | ␉␉NDR_record_t NDR;␊ |
525 | ␉␉mach_port_name_t name;␊ |
526 | ␉} __Request__mach_port_destroy_t;␊ |
527 | #ifdef __MigPackStructs␊ |
528 | #pragma pack()␊ |
529 | #endif␊ |
530 | ␊ |
531 | #ifdef __MigPackStructs␊ |
532 | #pragma pack(4)␊ |
533 | #endif␊ |
534 | ␉typedef struct {␊ |
535 | ␉␉mach_msg_header_t Head;␊ |
536 | ␉␉NDR_record_t NDR;␊ |
537 | ␉␉mach_port_name_t name;␊ |
538 | ␉} __Request__mach_port_deallocate_t;␊ |
539 | #ifdef __MigPackStructs␊ |
540 | #pragma pack()␊ |
541 | #endif␊ |
542 | ␊ |
543 | #ifdef __MigPackStructs␊ |
544 | #pragma pack(4)␊ |
545 | #endif␊ |
546 | ␉typedef struct {␊ |
547 | ␉␉mach_msg_header_t Head;␊ |
548 | ␉␉NDR_record_t NDR;␊ |
549 | ␉␉mach_port_name_t name;␊ |
550 | ␉␉mach_port_right_t right;␊ |
551 | ␉} __Request__mach_port_get_refs_t;␊ |
552 | #ifdef __MigPackStructs␊ |
553 | #pragma pack()␊ |
554 | #endif␊ |
555 | ␊ |
556 | #ifdef __MigPackStructs␊ |
557 | #pragma pack(4)␊ |
558 | #endif␊ |
559 | ␉typedef struct {␊ |
560 | ␉␉mach_msg_header_t Head;␊ |
561 | ␉␉NDR_record_t NDR;␊ |
562 | ␉␉mach_port_name_t name;␊ |
563 | ␉␉mach_port_right_t right;␊ |
564 | ␉␉mach_port_delta_t delta;␊ |
565 | ␉} __Request__mach_port_mod_refs_t;␊ |
566 | #ifdef __MigPackStructs␊ |
567 | #pragma pack()␊ |
568 | #endif␊ |
569 | ␊ |
570 | #ifdef __MigPackStructs␊ |
571 | #pragma pack(4)␊ |
572 | #endif␊ |
573 | ␉typedef struct {␊ |
574 | ␉␉mach_msg_header_t Head;␊ |
575 | ␉␉NDR_record_t NDR;␊ |
576 | ␉␉mach_port_name_t name;␊ |
577 | ␉␉mach_port_mscount_t mscount;␊ |
578 | ␉} __Request__mach_port_set_mscount_t;␊ |
579 | #ifdef __MigPackStructs␊ |
580 | #pragma pack()␊ |
581 | #endif␊ |
582 | ␊ |
583 | #ifdef __MigPackStructs␊ |
584 | #pragma pack(4)␊ |
585 | #endif␊ |
586 | ␉typedef struct {␊ |
587 | ␉␉mach_msg_header_t Head;␊ |
588 | ␉␉NDR_record_t NDR;␊ |
589 | ␉␉mach_port_name_t name;␊ |
590 | ␉} __Request__mach_port_get_set_status_t;␊ |
591 | #ifdef __MigPackStructs␊ |
592 | #pragma pack()␊ |
593 | #endif␊ |
594 | ␊ |
595 | #ifdef __MigPackStructs␊ |
596 | #pragma pack(4)␊ |
597 | #endif␊ |
598 | ␉typedef struct {␊ |
599 | ␉␉mach_msg_header_t Head;␊ |
600 | ␉␉NDR_record_t NDR;␊ |
601 | ␉␉mach_port_name_t member;␊ |
602 | ␉␉mach_port_name_t after;␊ |
603 | ␉} __Request__mach_port_move_member_t;␊ |
604 | #ifdef __MigPackStructs␊ |
605 | #pragma pack()␊ |
606 | #endif␊ |
607 | ␊ |
608 | #ifdef __MigPackStructs␊ |
609 | #pragma pack(4)␊ |
610 | #endif␊ |
611 | ␉typedef struct {␊ |
612 | ␉␉mach_msg_header_t Head;␊ |
613 | ␉␉/* start of the kernel processed data */␊ |
614 | ␉␉mach_msg_body_t msgh_body;␊ |
615 | ␉␉mach_msg_port_descriptor_t notify;␊ |
616 | ␉␉/* end of the kernel processed data */␊ |
617 | ␉␉NDR_record_t NDR;␊ |
618 | ␉␉mach_port_name_t name;␊ |
619 | ␉␉mach_msg_id_t msgid;␊ |
620 | ␉␉mach_port_mscount_t sync;␊ |
621 | ␉} __Request__mach_port_request_notification_t;␊ |
622 | #ifdef __MigPackStructs␊ |
623 | #pragma pack()␊ |
624 | #endif␊ |
625 | ␊ |
626 | #ifdef __MigPackStructs␊ |
627 | #pragma pack(4)␊ |
628 | #endif␊ |
629 | ␉typedef struct {␊ |
630 | ␉␉mach_msg_header_t Head;␊ |
631 | ␉␉/* start of the kernel processed data */␊ |
632 | ␉␉mach_msg_body_t msgh_body;␊ |
633 | ␉␉mach_msg_port_descriptor_t poly;␊ |
634 | ␉␉/* end of the kernel processed data */␊ |
635 | ␉␉NDR_record_t NDR;␊ |
636 | ␉␉mach_port_name_t name;␊ |
637 | ␉} __Request__mach_port_insert_right_t;␊ |
638 | #ifdef __MigPackStructs␊ |
639 | #pragma pack()␊ |
640 | #endif␊ |
641 | ␊ |
642 | #ifdef __MigPackStructs␊ |
643 | #pragma pack(4)␊ |
644 | #endif␊ |
645 | ␉typedef struct {␊ |
646 | ␉␉mach_msg_header_t Head;␊ |
647 | ␉␉NDR_record_t NDR;␊ |
648 | ␉␉mach_port_name_t name;␊ |
649 | ␉␉mach_msg_type_name_t msgt_name;␊ |
650 | ␉} __Request__mach_port_extract_right_t;␊ |
651 | #ifdef __MigPackStructs␊ |
652 | #pragma pack()␊ |
653 | #endif␊ |
654 | ␊ |
655 | #ifdef __MigPackStructs␊ |
656 | #pragma pack(4)␊ |
657 | #endif␊ |
658 | ␉typedef struct {␊ |
659 | ␉␉mach_msg_header_t Head;␊ |
660 | ␉␉NDR_record_t NDR;␊ |
661 | ␉␉mach_port_name_t name;␊ |
662 | ␉␉mach_port_seqno_t seqno;␊ |
663 | ␉} __Request__mach_port_set_seqno_t;␊ |
664 | #ifdef __MigPackStructs␊ |
665 | #pragma pack()␊ |
666 | #endif␊ |
667 | ␊ |
668 | #ifdef __MigPackStructs␊ |
669 | #pragma pack(4)␊ |
670 | #endif␊ |
671 | ␉typedef struct {␊ |
672 | ␉␉mach_msg_header_t Head;␊ |
673 | ␉␉NDR_record_t NDR;␊ |
674 | ␉␉mach_port_name_t name;␊ |
675 | ␉␉mach_port_flavor_t flavor;␊ |
676 | ␉␉mach_msg_type_number_t port_info_outCnt;␊ |
677 | ␉} __Request__mach_port_get_attributes_t;␊ |
678 | #ifdef __MigPackStructs␊ |
679 | #pragma pack()␊ |
680 | #endif␊ |
681 | ␊ |
682 | #ifdef __MigPackStructs␊ |
683 | #pragma pack(4)␊ |
684 | #endif␊ |
685 | ␉typedef struct {␊ |
686 | ␉␉mach_msg_header_t Head;␊ |
687 | ␉␉NDR_record_t NDR;␊ |
688 | ␉␉mach_port_name_t name;␊ |
689 | ␉␉mach_port_flavor_t flavor;␊ |
690 | ␉␉mach_msg_type_number_t port_infoCnt;␊ |
691 | ␉␉integer_t port_info[10];␊ |
692 | ␉} __Request__mach_port_set_attributes_t;␊ |
693 | #ifdef __MigPackStructs␊ |
694 | #pragma pack()␊ |
695 | #endif␊ |
696 | ␊ |
697 | #ifdef __MigPackStructs␊ |
698 | #pragma pack(4)␊ |
699 | #endif␊ |
700 | ␉typedef struct {␊ |
701 | ␉␉mach_msg_header_t Head;␊ |
702 | ␉␉NDR_record_t NDR;␊ |
703 | ␉␉mach_port_right_t right;␊ |
704 | ␉␉mach_port_qos_t qos;␊ |
705 | ␉} __Request__mach_port_allocate_qos_t;␊ |
706 | #ifdef __MigPackStructs␊ |
707 | #pragma pack()␊ |
708 | #endif␊ |
709 | ␊ |
710 | #ifdef __MigPackStructs␊ |
711 | #pragma pack(4)␊ |
712 | #endif␊ |
713 | ␉typedef struct {␊ |
714 | ␉␉mach_msg_header_t Head;␊ |
715 | ␉␉/* start of the kernel processed data */␊ |
716 | ␉␉mach_msg_body_t msgh_body;␊ |
717 | ␉␉mach_msg_port_descriptor_t proto;␊ |
718 | ␉␉/* end of the kernel processed data */␊ |
719 | ␉␉NDR_record_t NDR;␊ |
720 | ␉␉mach_port_right_t right;␊ |
721 | ␉␉mach_port_qos_t qos;␊ |
722 | ␉␉mach_port_name_t name;␊ |
723 | ␉} __Request__mach_port_allocate_full_t;␊ |
724 | #ifdef __MigPackStructs␊ |
725 | #pragma pack()␊ |
726 | #endif␊ |
727 | ␊ |
728 | #ifdef __MigPackStructs␊ |
729 | #pragma pack(4)␊ |
730 | #endif␊ |
731 | ␉typedef struct {␊ |
732 | ␉␉mach_msg_header_t Head;␊ |
733 | ␉␉NDR_record_t NDR;␊ |
734 | ␉␉int table_entries;␊ |
735 | ␉} __Request__task_set_port_space_t;␊ |
736 | #ifdef __MigPackStructs␊ |
737 | #pragma pack()␊ |
738 | #endif␊ |
739 | ␊ |
740 | #ifdef __MigPackStructs␊ |
741 | #pragma pack(4)␊ |
742 | #endif␊ |
743 | ␉typedef struct {␊ |
744 | ␉␉mach_msg_header_t Head;␊ |
745 | ␉␉NDR_record_t NDR;␊ |
746 | ␉␉mach_port_name_t name;␊ |
747 | ␉} __Request__mach_port_get_srights_t;␊ |
748 | #ifdef __MigPackStructs␊ |
749 | #pragma pack()␊ |
750 | #endif␊ |
751 | ␊ |
752 | #ifdef __MigPackStructs␊ |
753 | #pragma pack(4)␊ |
754 | #endif␊ |
755 | ␉typedef struct {␊ |
756 | ␉␉mach_msg_header_t Head;␊ |
757 | ␉} __Request__mach_port_space_info_t;␊ |
758 | #ifdef __MigPackStructs␊ |
759 | #pragma pack()␊ |
760 | #endif␊ |
761 | ␊ |
762 | #ifdef __MigPackStructs␊ |
763 | #pragma pack(4)␊ |
764 | #endif␊ |
765 | ␉typedef struct {␊ |
766 | ␉␉mach_msg_header_t Head;␊ |
767 | ␉␉NDR_record_t NDR;␊ |
768 | ␉␉mach_port_name_t name;␊ |
769 | ␉} __Request__mach_port_dnrequest_info_t;␊ |
770 | #ifdef __MigPackStructs␊ |
771 | #pragma pack()␊ |
772 | #endif␊ |
773 | ␊ |
774 | #ifdef __MigPackStructs␊ |
775 | #pragma pack(4)␊ |
776 | #endif␊ |
777 | ␉typedef struct {␊ |
778 | ␉␉mach_msg_header_t Head;␊ |
779 | ␉␉NDR_record_t NDR;␊ |
780 | ␉␉mach_port_name_t name;␊ |
781 | ␉} __Request__mach_port_kernel_object_t;␊ |
782 | #ifdef __MigPackStructs␊ |
783 | #pragma pack()␊ |
784 | #endif␊ |
785 | ␊ |
786 | #ifdef __MigPackStructs␊ |
787 | #pragma pack(4)␊ |
788 | #endif␊ |
789 | ␉typedef struct {␊ |
790 | ␉␉mach_msg_header_t Head;␊ |
791 | ␉␉NDR_record_t NDR;␊ |
792 | ␉␉mach_port_name_t name;␊ |
793 | ␉␉mach_port_name_t pset;␊ |
794 | ␉} __Request__mach_port_insert_member_t;␊ |
795 | #ifdef __MigPackStructs␊ |
796 | #pragma pack()␊ |
797 | #endif␊ |
798 | ␊ |
799 | #ifdef __MigPackStructs␊ |
800 | #pragma pack(4)␊ |
801 | #endif␊ |
802 | ␉typedef struct {␊ |
803 | ␉␉mach_msg_header_t Head;␊ |
804 | ␉␉NDR_record_t NDR;␊ |
805 | ␉␉mach_port_name_t name;␊ |
806 | ␉␉mach_port_name_t pset;␊ |
807 | ␉} __Request__mach_port_extract_member_t;␊ |
808 | #ifdef __MigPackStructs␊ |
809 | #pragma pack()␊ |
810 | #endif␊ |
811 | ␊ |
812 | #ifdef __MigPackStructs␊ |
813 | #pragma pack(4)␊ |
814 | #endif␊ |
815 | ␉typedef struct {␊ |
816 | ␉␉mach_msg_header_t Head;␊ |
817 | ␉␉NDR_record_t NDR;␊ |
818 | ␉␉mach_port_name_t name;␊ |
819 | ␉} __Request__mach_port_get_context_t;␊ |
820 | #ifdef __MigPackStructs␊ |
821 | #pragma pack()␊ |
822 | #endif␊ |
823 | ␊ |
824 | #ifdef __MigPackStructs␊ |
825 | #pragma pack(4)␊ |
826 | #endif␊ |
827 | ␉typedef struct {␊ |
828 | ␉␉mach_msg_header_t Head;␊ |
829 | ␉␉NDR_record_t NDR;␊ |
830 | ␉␉mach_port_name_t name;␊ |
831 | ␉␉mach_vm_address_t context;␊ |
832 | ␉} __Request__mach_port_set_context_t;␊ |
833 | #ifdef __MigPackStructs␊ |
834 | #pragma pack()␊ |
835 | #endif␊ |
836 | ␊ |
837 | #ifdef __MigPackStructs␊ |
838 | #pragma pack(4)␊ |
839 | #endif␊ |
840 | ␉typedef struct {␊ |
841 | ␉␉mach_msg_header_t Head;␊ |
842 | ␉␉NDR_record_t NDR;␊ |
843 | ␉␉mach_port_name_t name;␊ |
844 | ␉} __Request__mach_port_kobject_t;␊ |
845 | #ifdef __MigPackStructs␊ |
846 | #pragma pack()␊ |
847 | #endif␊ |
848 | #endif /* !__Request__mach_port_subsystem__defined */␊ |
849 | ␊ |
850 | /* union of all requests */␊ |
851 | ␊ |
852 | #ifndef __RequestUnion__mach_port_subsystem__defined␊ |
853 | #define __RequestUnion__mach_port_subsystem__defined␊ |
854 | union __RequestUnion__mach_port_subsystem {␊ |
855 | ␉__Request__mach_port_names_t Request_mach_port_names;␊ |
856 | ␉__Request__mach_port_type_t Request_mach_port_type;␊ |
857 | ␉__Request__mach_port_rename_t Request_mach_port_rename;␊ |
858 | ␉__Request__mach_port_allocate_name_t Request_mach_port_allocate_name;␊ |
859 | ␉__Request__mach_port_allocate_t Request_mach_port_allocate;␊ |
860 | ␉__Request__mach_port_destroy_t Request_mach_port_destroy;␊ |
861 | ␉__Request__mach_port_deallocate_t Request_mach_port_deallocate;␊ |
862 | ␉__Request__mach_port_get_refs_t Request_mach_port_get_refs;␊ |
863 | ␉__Request__mach_port_mod_refs_t Request_mach_port_mod_refs;␊ |
864 | ␉__Request__mach_port_set_mscount_t Request_mach_port_set_mscount;␊ |
865 | ␉__Request__mach_port_get_set_status_t Request_mach_port_get_set_status;␊ |
866 | ␉__Request__mach_port_move_member_t Request_mach_port_move_member;␊ |
867 | ␉__Request__mach_port_request_notification_t Request_mach_port_request_notification;␊ |
868 | ␉__Request__mach_port_insert_right_t Request_mach_port_insert_right;␊ |
869 | ␉__Request__mach_port_extract_right_t Request_mach_port_extract_right;␊ |
870 | ␉__Request__mach_port_set_seqno_t Request_mach_port_set_seqno;␊ |
871 | ␉__Request__mach_port_get_attributes_t Request_mach_port_get_attributes;␊ |
872 | ␉__Request__mach_port_set_attributes_t Request_mach_port_set_attributes;␊ |
873 | ␉__Request__mach_port_allocate_qos_t Request_mach_port_allocate_qos;␊ |
874 | ␉__Request__mach_port_allocate_full_t Request_mach_port_allocate_full;␊ |
875 | ␉__Request__task_set_port_space_t Request_task_set_port_space;␊ |
876 | ␉__Request__mach_port_get_srights_t Request_mach_port_get_srights;␊ |
877 | ␉__Request__mach_port_space_info_t Request_mach_port_space_info;␊ |
878 | ␉__Request__mach_port_dnrequest_info_t Request_mach_port_dnrequest_info;␊ |
879 | ␉__Request__mach_port_kernel_object_t Request_mach_port_kernel_object;␊ |
880 | ␉__Request__mach_port_insert_member_t Request_mach_port_insert_member;␊ |
881 | ␉__Request__mach_port_extract_member_t Request_mach_port_extract_member;␊ |
882 | ␉__Request__mach_port_get_context_t Request_mach_port_get_context;␊ |
883 | ␉__Request__mach_port_set_context_t Request_mach_port_set_context;␊ |
884 | ␉__Request__mach_port_kobject_t Request_mach_port_kobject;␊ |
885 | };␊ |
886 | #endif /* !__RequestUnion__mach_port_subsystem__defined */␊ |
887 | /* typedefs for all replies */␊ |
888 | ␊ |
889 | #ifndef __Reply__mach_port_subsystem__defined␊ |
890 | #define __Reply__mach_port_subsystem__defined␊ |
891 | ␊ |
892 | #ifdef __MigPackStructs␊ |
893 | #pragma pack(4)␊ |
894 | #endif␊ |
895 | ␉typedef struct {␊ |
896 | ␉␉mach_msg_header_t Head;␊ |
897 | ␉␉/* start of the kernel processed data */␊ |
898 | ␉␉mach_msg_body_t msgh_body;␊ |
899 | ␉␉mach_msg_ool_descriptor_t names;␊ |
900 | ␉␉mach_msg_ool_descriptor_t types;␊ |
901 | ␉␉/* end of the kernel processed data */␊ |
902 | ␉␉NDR_record_t NDR;␊ |
903 | ␉␉mach_msg_type_number_t namesCnt;␊ |
904 | ␉␉mach_msg_type_number_t typesCnt;␊ |
905 | ␉} __Reply__mach_port_names_t;␊ |
906 | #ifdef __MigPackStructs␊ |
907 | #pragma pack()␊ |
908 | #endif␊ |
909 | ␊ |
910 | #ifdef __MigPackStructs␊ |
911 | #pragma pack(4)␊ |
912 | #endif␊ |
913 | ␉typedef struct {␊ |
914 | ␉␉mach_msg_header_t Head;␊ |
915 | ␉␉NDR_record_t NDR;␊ |
916 | ␉␉kern_return_t RetCode;␊ |
917 | ␉␉mach_port_type_t ptype;␊ |
918 | ␉} __Reply__mach_port_type_t;␊ |
919 | #ifdef __MigPackStructs␊ |
920 | #pragma pack()␊ |
921 | #endif␊ |
922 | ␊ |
923 | #ifdef __MigPackStructs␊ |
924 | #pragma pack(4)␊ |
925 | #endif␊ |
926 | ␉typedef struct {␊ |
927 | ␉␉mach_msg_header_t Head;␊ |
928 | ␉␉NDR_record_t NDR;␊ |
929 | ␉␉kern_return_t RetCode;␊ |
930 | ␉} __Reply__mach_port_rename_t;␊ |
931 | #ifdef __MigPackStructs␊ |
932 | #pragma pack()␊ |
933 | #endif␊ |
934 | ␊ |
935 | #ifdef __MigPackStructs␊ |
936 | #pragma pack(4)␊ |
937 | #endif␊ |
938 | ␉typedef struct {␊ |
939 | ␉␉mach_msg_header_t Head;␊ |
940 | ␉␉NDR_record_t NDR;␊ |
941 | ␉␉kern_return_t RetCode;␊ |
942 | ␉} __Reply__mach_port_allocate_name_t;␊ |
943 | #ifdef __MigPackStructs␊ |
944 | #pragma pack()␊ |
945 | #endif␊ |
946 | ␊ |
947 | #ifdef __MigPackStructs␊ |
948 | #pragma pack(4)␊ |
949 | #endif␊ |
950 | ␉typedef struct {␊ |
951 | ␉␉mach_msg_header_t Head;␊ |
952 | ␉␉NDR_record_t NDR;␊ |
953 | ␉␉kern_return_t RetCode;␊ |
954 | ␉␉mach_port_name_t name;␊ |
955 | ␉} __Reply__mach_port_allocate_t;␊ |
956 | #ifdef __MigPackStructs␊ |
957 | #pragma pack()␊ |
958 | #endif␊ |
959 | ␊ |
960 | #ifdef __MigPackStructs␊ |
961 | #pragma pack(4)␊ |
962 | #endif␊ |
963 | ␉typedef struct {␊ |
964 | ␉␉mach_msg_header_t Head;␊ |
965 | ␉␉NDR_record_t NDR;␊ |
966 | ␉␉kern_return_t RetCode;␊ |
967 | ␉} __Reply__mach_port_destroy_t;␊ |
968 | #ifdef __MigPackStructs␊ |
969 | #pragma pack()␊ |
970 | #endif␊ |
971 | ␊ |
972 | #ifdef __MigPackStructs␊ |
973 | #pragma pack(4)␊ |
974 | #endif␊ |
975 | ␉typedef struct {␊ |
976 | ␉␉mach_msg_header_t Head;␊ |
977 | ␉␉NDR_record_t NDR;␊ |
978 | ␉␉kern_return_t RetCode;␊ |
979 | ␉} __Reply__mach_port_deallocate_t;␊ |
980 | #ifdef __MigPackStructs␊ |
981 | #pragma pack()␊ |
982 | #endif␊ |
983 | ␊ |
984 | #ifdef __MigPackStructs␊ |
985 | #pragma pack(4)␊ |
986 | #endif␊ |
987 | ␉typedef struct {␊ |
988 | ␉␉mach_msg_header_t Head;␊ |
989 | ␉␉NDR_record_t NDR;␊ |
990 | ␉␉kern_return_t RetCode;␊ |
991 | ␉␉mach_port_urefs_t refs;␊ |
992 | ␉} __Reply__mach_port_get_refs_t;␊ |
993 | #ifdef __MigPackStructs␊ |
994 | #pragma pack()␊ |
995 | #endif␊ |
996 | ␊ |
997 | #ifdef __MigPackStructs␊ |
998 | #pragma pack(4)␊ |
999 | #endif␊ |
1000 | ␉typedef struct {␊ |
1001 | ␉␉mach_msg_header_t Head;␊ |
1002 | ␉␉NDR_record_t NDR;␊ |
1003 | ␉␉kern_return_t RetCode;␊ |
1004 | ␉} __Reply__mach_port_mod_refs_t;␊ |
1005 | #ifdef __MigPackStructs␊ |
1006 | #pragma pack()␊ |
1007 | #endif␊ |
1008 | ␊ |
1009 | #ifdef __MigPackStructs␊ |
1010 | #pragma pack(4)␊ |
1011 | #endif␊ |
1012 | ␉typedef struct {␊ |
1013 | ␉␉mach_msg_header_t Head;␊ |
1014 | ␉␉NDR_record_t NDR;␊ |
1015 | ␉␉kern_return_t RetCode;␊ |
1016 | ␉} __Reply__mach_port_set_mscount_t;␊ |
1017 | #ifdef __MigPackStructs␊ |
1018 | #pragma pack()␊ |
1019 | #endif␊ |
1020 | ␊ |
1021 | #ifdef __MigPackStructs␊ |
1022 | #pragma pack(4)␊ |
1023 | #endif␊ |
1024 | ␉typedef struct {␊ |
1025 | ␉␉mach_msg_header_t Head;␊ |
1026 | ␉␉/* start of the kernel processed data */␊ |
1027 | ␉␉mach_msg_body_t msgh_body;␊ |
1028 | ␉␉mach_msg_ool_descriptor_t members;␊ |
1029 | ␉␉/* end of the kernel processed data */␊ |
1030 | ␉␉NDR_record_t NDR;␊ |
1031 | ␉␉mach_msg_type_number_t membersCnt;␊ |
1032 | ␉} __Reply__mach_port_get_set_status_t;␊ |
1033 | #ifdef __MigPackStructs␊ |
1034 | #pragma pack()␊ |
1035 | #endif␊ |
1036 | ␊ |
1037 | #ifdef __MigPackStructs␊ |
1038 | #pragma pack(4)␊ |
1039 | #endif␊ |
1040 | ␉typedef struct {␊ |
1041 | ␉␉mach_msg_header_t Head;␊ |
1042 | ␉␉NDR_record_t NDR;␊ |
1043 | ␉␉kern_return_t RetCode;␊ |
1044 | ␉} __Reply__mach_port_move_member_t;␊ |
1045 | #ifdef __MigPackStructs␊ |
1046 | #pragma pack()␊ |
1047 | #endif␊ |
1048 | ␊ |
1049 | #ifdef __MigPackStructs␊ |
1050 | #pragma pack(4)␊ |
1051 | #endif␊ |
1052 | ␉typedef struct {␊ |
1053 | ␉␉mach_msg_header_t Head;␊ |
1054 | ␉␉/* start of the kernel processed data */␊ |
1055 | ␉␉mach_msg_body_t msgh_body;␊ |
1056 | ␉␉mach_msg_port_descriptor_t previous;␊ |
1057 | ␉␉/* end of the kernel processed data */␊ |
1058 | ␉} __Reply__mach_port_request_notification_t;␊ |
1059 | #ifdef __MigPackStructs␊ |
1060 | #pragma pack()␊ |
1061 | #endif␊ |
1062 | ␊ |
1063 | #ifdef __MigPackStructs␊ |
1064 | #pragma pack(4)␊ |
1065 | #endif␊ |
1066 | ␉typedef struct {␊ |
1067 | ␉␉mach_msg_header_t Head;␊ |
1068 | ␉␉NDR_record_t NDR;␊ |
1069 | ␉␉kern_return_t RetCode;␊ |
1070 | ␉} __Reply__mach_port_insert_right_t;␊ |
1071 | #ifdef __MigPackStructs␊ |
1072 | #pragma pack()␊ |
1073 | #endif␊ |
1074 | ␊ |
1075 | #ifdef __MigPackStructs␊ |
1076 | #pragma pack(4)␊ |
1077 | #endif␊ |
1078 | ␉typedef struct {␊ |
1079 | ␉␉mach_msg_header_t Head;␊ |
1080 | ␉␉/* start of the kernel processed data */␊ |
1081 | ␉␉mach_msg_body_t msgh_body;␊ |
1082 | ␉␉mach_msg_port_descriptor_t poly;␊ |
1083 | ␉␉/* end of the kernel processed data */␊ |
1084 | ␉} __Reply__mach_port_extract_right_t;␊ |
1085 | #ifdef __MigPackStructs␊ |
1086 | #pragma pack()␊ |
1087 | #endif␊ |
1088 | ␊ |
1089 | #ifdef __MigPackStructs␊ |
1090 | #pragma pack(4)␊ |
1091 | #endif␊ |
1092 | ␉typedef struct {␊ |
1093 | ␉␉mach_msg_header_t Head;␊ |
1094 | ␉␉NDR_record_t NDR;␊ |
1095 | ␉␉kern_return_t RetCode;␊ |
1096 | ␉} __Reply__mach_port_set_seqno_t;␊ |
1097 | #ifdef __MigPackStructs␊ |
1098 | #pragma pack()␊ |
1099 | #endif␊ |
1100 | ␊ |
1101 | #ifdef __MigPackStructs␊ |
1102 | #pragma pack(4)␊ |
1103 | #endif␊ |
1104 | ␉typedef struct {␊ |
1105 | ␉␉mach_msg_header_t Head;␊ |
1106 | ␉␉NDR_record_t NDR;␊ |
1107 | ␉␉kern_return_t RetCode;␊ |
1108 | ␉␉mach_msg_type_number_t port_info_outCnt;␊ |
1109 | ␉␉integer_t port_info_out[10];␊ |
1110 | ␉} __Reply__mach_port_get_attributes_t;␊ |
1111 | #ifdef __MigPackStructs␊ |
1112 | #pragma pack()␊ |
1113 | #endif␊ |
1114 | ␊ |
1115 | #ifdef __MigPackStructs␊ |
1116 | #pragma pack(4)␊ |
1117 | #endif␊ |
1118 | ␉typedef struct {␊ |
1119 | ␉␉mach_msg_header_t Head;␊ |
1120 | ␉␉NDR_record_t NDR;␊ |
1121 | ␉␉kern_return_t RetCode;␊ |
1122 | ␉} __Reply__mach_port_set_attributes_t;␊ |
1123 | #ifdef __MigPackStructs␊ |
1124 | #pragma pack()␊ |
1125 | #endif␊ |
1126 | ␊ |
1127 | #ifdef __MigPackStructs␊ |
1128 | #pragma pack(4)␊ |
1129 | #endif␊ |
1130 | ␉typedef struct {␊ |
1131 | ␉␉mach_msg_header_t Head;␊ |
1132 | ␉␉NDR_record_t NDR;␊ |
1133 | ␉␉kern_return_t RetCode;␊ |
1134 | ␉␉mach_port_qos_t qos;␊ |
1135 | ␉␉mach_port_name_t name;␊ |
1136 | ␉} __Reply__mach_port_allocate_qos_t;␊ |
1137 | #ifdef __MigPackStructs␊ |
1138 | #pragma pack()␊ |
1139 | #endif␊ |
1140 | ␊ |
1141 | #ifdef __MigPackStructs␊ |
1142 | #pragma pack(4)␊ |
1143 | #endif␊ |
1144 | ␉typedef struct {␊ |
1145 | ␉␉mach_msg_header_t Head;␊ |
1146 | ␉␉NDR_record_t NDR;␊ |
1147 | ␉␉kern_return_t RetCode;␊ |
1148 | ␉␉mach_port_qos_t qos;␊ |
1149 | ␉␉mach_port_name_t name;␊ |
1150 | ␉} __Reply__mach_port_allocate_full_t;␊ |
1151 | #ifdef __MigPackStructs␊ |
1152 | #pragma pack()␊ |
1153 | #endif␊ |
1154 | ␊ |
1155 | #ifdef __MigPackStructs␊ |
1156 | #pragma pack(4)␊ |
1157 | #endif␊ |
1158 | ␉typedef struct {␊ |
1159 | ␉␉mach_msg_header_t Head;␊ |
1160 | ␉␉NDR_record_t NDR;␊ |
1161 | ␉␉kern_return_t RetCode;␊ |
1162 | ␉} __Reply__task_set_port_space_t;␊ |
1163 | #ifdef __MigPackStructs␊ |
1164 | #pragma pack()␊ |
1165 | #endif␊ |
1166 | ␊ |
1167 | #ifdef __MigPackStructs␊ |
1168 | #pragma pack(4)␊ |
1169 | #endif␊ |
1170 | ␉typedef struct {␊ |
1171 | ␉␉mach_msg_header_t Head;␊ |
1172 | ␉␉NDR_record_t NDR;␊ |
1173 | ␉␉kern_return_t RetCode;␊ |
1174 | ␉␉mach_port_rights_t srights;␊ |
1175 | ␉} __Reply__mach_port_get_srights_t;␊ |
1176 | #ifdef __MigPackStructs␊ |
1177 | #pragma pack()␊ |
1178 | #endif␊ |
1179 | ␊ |
1180 | #ifdef __MigPackStructs␊ |
1181 | #pragma pack(4)␊ |
1182 | #endif␊ |
1183 | ␉typedef struct {␊ |
1184 | ␉␉mach_msg_header_t Head;␊ |
1185 | ␉␉NDR_record_t NDR;␊ |
1186 | ␉␉kern_return_t RetCode;␊ |
1187 | ␉␉unsigned dnr_total;␊ |
1188 | ␉␉unsigned dnr_used;␊ |
1189 | ␉} __Reply__mach_port_dnrequest_info_t;␊ |
1190 | #ifdef __MigPackStructs␊ |
1191 | #pragma pack()␊ |
1192 | #endif␊ |
1193 | ␊ |
1194 | #ifdef __MigPackStructs␊ |
1195 | #pragma pack(4)␊ |
1196 | #endif␊ |
1197 | ␉typedef struct {␊ |
1198 | ␉␉mach_msg_header_t Head;␊ |
1199 | ␉␉NDR_record_t NDR;␊ |
1200 | ␉␉kern_return_t RetCode;␊ |
1201 | ␉␉unsigned object_type;␊ |
1202 | ␉␉unsigned object_addr;␊ |
1203 | ␉} __Reply__mach_port_kernel_object_t;␊ |
1204 | #ifdef __MigPackStructs␊ |
1205 | #pragma pack()␊ |
1206 | #endif␊ |
1207 | ␊ |
1208 | #ifdef __MigPackStructs␊ |
1209 | #pragma pack(4)␊ |
1210 | #endif␊ |
1211 | ␉typedef struct {␊ |
1212 | ␉␉mach_msg_header_t Head;␊ |
1213 | ␉␉NDR_record_t NDR;␊ |
1214 | ␉␉kern_return_t RetCode;␊ |
1215 | ␉} __Reply__mach_port_insert_member_t;␊ |
1216 | #ifdef __MigPackStructs␊ |
1217 | #pragma pack()␊ |
1218 | #endif␊ |
1219 | ␊ |
1220 | #ifdef __MigPackStructs␊ |
1221 | #pragma pack(4)␊ |
1222 | #endif␊ |
1223 | ␉typedef struct {␊ |
1224 | ␉␉mach_msg_header_t Head;␊ |
1225 | ␉␉NDR_record_t NDR;␊ |
1226 | ␉␉kern_return_t RetCode;␊ |
1227 | ␉} __Reply__mach_port_extract_member_t;␊ |
1228 | #ifdef __MigPackStructs␊ |
1229 | #pragma pack()␊ |
1230 | #endif␊ |
1231 | ␊ |
1232 | #ifdef __MigPackStructs␊ |
1233 | #pragma pack(4)␊ |
1234 | #endif␊ |
1235 | ␉typedef struct {␊ |
1236 | ␉␉mach_msg_header_t Head;␊ |
1237 | ␉␉NDR_record_t NDR;␊ |
1238 | ␉␉kern_return_t RetCode;␊ |
1239 | ␉␉mach_vm_address_t context;␊ |
1240 | ␉} __Reply__mach_port_get_context_t;␊ |
1241 | #ifdef __MigPackStructs␊ |
1242 | #pragma pack()␊ |
1243 | #endif␊ |
1244 | ␊ |
1245 | #ifdef __MigPackStructs␊ |
1246 | #pragma pack(4)␊ |
1247 | #endif␊ |
1248 | ␉typedef struct {␊ |
1249 | ␉␉mach_msg_header_t Head;␊ |
1250 | ␉␉NDR_record_t NDR;␊ |
1251 | ␉␉kern_return_t RetCode;␊ |
1252 | ␉} __Reply__mach_port_set_context_t;␊ |
1253 | #ifdef __MigPackStructs␊ |
1254 | #pragma pack()␊ |
1255 | #endif␊ |
1256 | ␊ |
1257 | #ifdef __MigPackStructs␊ |
1258 | #pragma pack(4)␊ |
1259 | #endif␊ |
1260 | ␉typedef struct {␊ |
1261 | ␉␉mach_msg_header_t Head;␊ |
1262 | ␉␉NDR_record_t NDR;␊ |
1263 | ␉␉kern_return_t RetCode;␊ |
1264 | ␉␉natural_t object_type;␊ |
1265 | ␉␉mach_vm_address_t object_addr;␊ |
1266 | ␉} __Reply__mach_port_kobject_t;␊ |
1267 | #ifdef __MigPackStructs␊ |
1268 | #pragma pack()␊ |
1269 | #endif␊ |
1270 | #endif /* !__Reply__mach_port_subsystem__defined */␊ |
1271 | ␊ |
1272 | ␊ |
1273 | #ifndef subsystem_to_name_map_mach_port␊ |
1274 | #define subsystem_to_name_map_mach_port \␊ |
1275 | { "mach_port_names", 3200 },\␊ |
1276 | { "mach_port_type", 3201 },\␊ |
1277 | { "mach_port_rename", 3202 },\␊ |
1278 | { "mach_port_allocate_name", 3203 },\␊ |
1279 | { "mach_port_allocate", 3204 },\␊ |
1280 | { "mach_port_destroy", 3205 },\␊ |
1281 | { "mach_port_deallocate", 3206 },\␊ |
1282 | { "mach_port_get_refs", 3207 },\␊ |
1283 | { "mach_port_mod_refs", 3208 },\␊ |
1284 | { "mach_port_set_mscount", 3210 },\␊ |
1285 | { "mach_port_get_set_status", 3211 },\␊ |
1286 | { "mach_port_move_member", 3212 },\␊ |
1287 | { "mach_port_request_notification", 3213 },\␊ |
1288 | { "mach_port_insert_right", 3214 },\␊ |
1289 | { "mach_port_extract_right", 3215 },\␊ |
1290 | { "mach_port_set_seqno", 3216 },\␊ |
1291 | { "mach_port_get_attributes", 3217 },\␊ |
1292 | { "mach_port_set_attributes", 3218 },\␊ |
1293 | { "mach_port_allocate_qos", 3219 },\␊ |
1294 | { "mach_port_allocate_full", 3220 },\␊ |
1295 | { "task_set_port_space", 3221 },\␊ |
1296 | { "mach_port_get_srights", 3222 },\␊ |
1297 | { "mach_port_space_info", 3223 },\␊ |
1298 | { "mach_port_dnrequest_info", 3224 },\␊ |
1299 | { "mach_port_kernel_object", 3225 },\␊ |
1300 | { "mach_port_insert_member", 3226 },\␊ |
1301 | { "mach_port_extract_member", 3227 },\␊ |
1302 | { "mach_port_get_context", 3228 },\␊ |
1303 | { "mach_port_set_context", 3229 },\␊ |
1304 | { "mach_port_kobject", 3230 }␊ |
1305 | #endif␊ |
1306 | ␊ |
1307 | #ifdef __AfterMigUserHeader␊ |
1308 | __AfterMigUserHeader␊ |
1309 | #endif /* __AfterMigUserHeader */␊ |
1310 | ␊ |
1311 | #endif␉ /* _mach_port_user_ */␊ |
1312 |