1 /* -*- Mode: C; tab-width: 4 -*-
3 * Copyright (c) 2007 Apple Inc. All rights reserved.
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
17 Change History (most recent first):
19 $Log: helpermsg.defs,v $
20 Revision 1.6 2007/09/07 22:44:03 mcguire
21 <rdar://problem/5448420> Move CFUserNotification code to mDNSResponderHelper
23 Revision 1.5 2007/09/04 22:32:58 mcguire
24 <rdar://problem/5453633> BTMM: BTMM overwrites /etc/racoon/remote/anonymous.conf
26 Revision 1.4 2007/08/23 21:53:13 cheshire
29 Revision 1.3 2007/08/18 01:02:03 mcguire
30 <rdar://problem/5415593> No Bonjour services are getting registered at boot
32 Revision 1.2 2007/08/15 23:20:28 mcguire
33 <rdar://problem/5408105> BTMM: racoon files can get corrupted if autotunnel is listening on port > 32767
35 Revision 1.1 2007/08/08 22:34:58 mcguire
36 <rdar://problem/5197869> Security: Run mDNSResponder as user id mdnsresponder instead of root
39 #include <mach/std_types.defs>
40 #include <mach/mach_types.defs>
42 import "helpermsg-types.h";
44 type v6addr_t = array [16] of uint8_t;
45 type v4addr_t = array [4] of uint8_t;
46 type string_t = c_string[*:1024];
48 subsystem helper 1833193043;
52 simpleroutine mDNSIdleExit(
54 ServerAuditToken token : audit_token_t);
56 routine mDNSDynamicStoreSetConfig(
61 ServerAuditToken token : audit_token_t);
63 routine mDNSPreferencesSetName(
69 ServerAuditToken token : audit_token_t);
71 routine mDNSKeychainGetSecrets(
73 out numsecrets : unsigned;
74 out secrets : pointer_t;
76 ServerAuditToken token : audit_token_t);
78 routine mDNSAutoTunnelInterfaceUpDown(
83 ServerAuditToken token : audit_token_t);
85 routine mDNSConfigureServer(
90 ServerAuditToken token : audit_token_t);
92 routine mDNSAutoTunnelSetKeys(
95 local_inner : v6addr_t;
96 local_outer : v4addr_t;
97 local_port : uint16_t;
98 remote_inner : v6addr_t;
99 remote_outer : v4addr_t;
100 remote_port : uint16_t;
103 ServerAuditToken token : audit_token_t);