1 #ifndef _BOOTSTRAP_PRIVATE_H_
2 #define _BOOTSTRAP_PRIVATE_H_
4 * Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
6 * @APPLE_APACHE_LICENSE_HEADER_START@
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
20 * @APPLE_APACHE_LICENSE_HEADER_END@
23 typedef char *_internal_string_t
;
24 #define SPAWN_HAS_PATH 0x0001
25 #define SPAWN_HAS_WDIR 0x0002
26 #define SPAWN_HAS_UMASK 0x0004
27 #define SPAWN_WANTS_WAIT4DEBUGGER 0x0008
28 #define SPAWN_WANTS_FORCE_PPC 0x0010
31 _launchd_to_launchd(mach_port_t bp
, mach_port_t
*reqport
, mach_port_t
*rcvright
,
32 name_array_t
*service_names
, mach_msg_type_number_t
*service_namesCnt
,
33 mach_port_array_t
*ports
, mach_msg_type_number_t
*portCnt
);
35 kern_return_t
bootstrap_getsocket(mach_port_t bp
, name_t
);
39 bootstrap_look_up_array(
41 name_array_t service_names
,
42 mach_msg_type_number_t service_namesCnt
,
43 mach_port_array_t
*sps
,
44 mach_msg_type_number_t
*service_portsCnt
,
45 boolean_t
*all_services_known
);
50 name_array_t
*service_names
,
51 mach_msg_type_number_t
*service_namesCnt
,
52 bootstrap_status_array_t
*service_active
,
53 mach_msg_type_number_t
*service_activeCnt
);