]> git.saurik.com Git - apple/launchd.git/blob - src/job_forward.defs
79996187d703b508c0649238b7393e47b445e908
[apple/launchd.git] / src / job_forward.defs
1 /*
2 * Copyright (c) 2007 Apple 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 subsystem job_forward 400;
22
23 #include <mach/std_types.defs>
24 #include <mach/mach_types.defs>
25 #include "job_types.defs"
26 import "vproc.h";
27 import "vproc_priv.h";
28 import "vproc_internal.h";
29
30 userprefix vproc_mig_;
31 serverprefix job_mig_;
32
33 skip; /* create_server */
34
35 skip; /* reboot2 */
36
37 skip; /* check_in */
38
39 skip; /* register2 */
40
41 simpleroutine
42 look_up2_forward(
43 j : job_t;
44 replyport rp : mach_port_move_send_once_t;
45 servicename : name_t;
46 targetpid : pid_t;
47 instanceid : uuid_t;
48 flags : uint64_t
49 );
50
51 skip; /* send_signal */
52
53 simpleroutine
54 parent_forward(
55 j : job_t;
56 replyport rp : mach_port_move_send_once_t
57 );
58