]>
Commit | Line | Data |
---|---|---|
10b92d3b A |
1 | |
2 | ||
3 | #include <mach/mach_types.defs> | |
4 | #include <mach/std_types.defs> | |
5 | ||
6 | import "closuredtypes.h"; | |
7 | ||
8 | subsystem closured 6000; | |
9 | ||
10 | userprefix closured_; // Routine prefixes for user access | |
11 | serverprefix do_; // Routine prefixes for internal server access | |
12 | ||
13 | type OutOfLineBuffer_t = ^array[] of MACH_MSG_TYPE_BYTE ctype: vm_address_t; | |
14 | ||
15 | // used at launch | |
16 | routine CreateClosure ( | |
17 | port : mach_port_t; | |
18 | in requestor : task_t; | |
19 | in buffer : OutOfLineBuffer_t; | |
20 | out returnData : OutOfLineBuffer_t, dealloc | |
21 | ); | |
22 | ||
23 | // used in dlopen()cl | |
24 | routine CreateImageGroup ( | |
25 | port : mach_port_t; | |
26 | in requestor : task_t; | |
27 | in buffer : OutOfLineBuffer_t; | |
28 | out returnData : OutOfLineBuffer_t, dealloc | |
29 | ); |