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