]> git.saurik.com Git - apple/launchd.git/blob - src/job_types.defs
launchd-842.90.1.tar.gz
[apple/launchd.git] / src / job_types.defs
1 /*
2 * Copyright (c) 1999-2006 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_APACHE_LICENSE_HEADER_START@
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 *
18 * @APPLE_APACHE_LICENSE_HEADER_END@
19 */
20 /*
21 * bootstrap -- fundamental service initiator and port server
22 * Mike DeMoney, NeXT, Inc.
23 * Copyright, 1990. All rights reserved.
24 */
25
26 /* These really should be a part of the standard types... */
27 type mach_port_move_send_array_t = array[] of mach_port_move_send_t
28 ctype: mach_port_array_t;
29 type mach_port_make_send_array_t = array[] of mach_port_make_send_t
30 ctype: mach_port_array_t;
31
32 type pid_t = integer_t;
33 type pid_array_t = ^array [] of pid_t;
34 type uid_t = natural_t;
35 type gid_t = natural_t;
36 type vproc_gsk_t = integer_t;
37 type logmsg_t = c_string[*:2048];
38 type cmd_t = c_string[512];
39 type name_t = c_string[128];
40 type name_array_t = ^array [] of name_t;
41 type bootstrap_property_t = natural_t;
42 type bootstrap_property_array_t = ^array [] of bootstrap_property_t;
43 type bootstrap_status_t = integer_t;
44 type bootstrap_status_array_t = ^array [] of bootstrap_status_t;
45 type uuid_t = array [16] of MACH_MSG_TYPE_BYTE;
46
47 type job_t = mach_port_t
48 intran : job_t job_mig_intran(mach_port_t)
49 outtran : mach_port_t job_mig_outtran(job_t)
50 destructor : job_mig_destructor(job_t)
51 cusertype : vproc_mig_t;