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: helper-error.h,v $
20 Revision 1.8 2007/11/07 00:22:30 jgraessley
21 Bug #: <rdar://problem/5573573> mDNSResponder doesn't build without IPSec
22 Reviewed by: Stuart Cheshire
24 Revision 1.7 2007/09/12 00:42:47 mcguire
25 <rdar://problem/5468236> BTMM: Need to clean up security associations
27 Revision 1.6 2007/09/04 22:32:58 mcguire
28 <rdar://problem/5453633> BTMM: BTMM overwrites /etc/racoon/remote/anonymous.conf
30 Revision 1.5 2007/08/29 21:42:12 mcguire
31 <rdar://problem/5431192> BTMM: Duplicate Private DNS names are being added to DynamicStore
33 Revision 1.4 2007/08/23 21:15:49 cheshire
36 Revision 1.3 2007/08/23 21:04:44 cheshire
37 Tidied up alignment of error message list
39 Revision 1.2 2007/08/18 01:02:03 mcguire
40 <rdar://problem/5415593> No Bonjour services are getting registered at boot
42 Revision 1.1 2007/08/08 22:34:58 mcguire
43 <rdar://problem/5197869> Security: Run mDNSResponder as user id mdnsresponder instead of root
47 ERROR(kmDNSHelperCommunicationFailed
, "Mach communication failed")
48 ERROR(kmDNSHelperNotAuthorized
, "Not authorized")
49 ERROR(kmDNSHelperCreationFailed
, "Object creation failed")
50 ERROR(kmDNSHelperInvalidPList
, "Invalid property list")
51 ERROR(kmDNSHelperDynamicStoreFailed
, "Could not create dynamic store session")
52 ERROR(kmDNSHelperDynamicStoreSetFailed
, "Could not set dynamic store configuration")
53 ERROR(kmDNSHelperInvalidNameKey
, "Invalid name key")
54 ERROR(kmDNSHelperInvalidConfigKey
, "Invalid configuration key")
55 ERROR(kmDNSHelperTypeError
, "Object was not of expected type")
56 ERROR(kmDNSHelperPreferencesFailed
, "Could not create preferences session")
57 ERROR(kmDNSHelperPreferencesLockFailed
, "Could not lock preferences")
58 ERROR(kmDNSHelperPreferencesSetFailed
, "Could not update preferences")
59 ERROR(kmDNSHelperKeychainCopyDefaultFailed
, "Could not copy keychain default")
60 ERROR(kmDNSHelperKeychainSearchCreationFailed
, "Could not create keychain search")
61 ERROR(kmDNSHelperPListWriteFailed
, "Could not write property list to stream")
62 ERROR(kmDNSHelperResultTooLarge
, "Result too large")
63 ERROR(kmDNSHelperInterfaceCreationFailed
, "Could not create auto-tunnel interface")
64 ERROR(kmDNSHelperInterfaceDeletionFailed
, "Could not delete auto-tunnel interface")
65 ERROR(kmDNSHelperInvalidInterfaceState
, "Invalid interface state requested")
66 ERROR(kmDNSHelperInvalidServerState
, "Invalid server state requested")
67 ERROR(kmDNSHelperRacoonConfigCreationFailed
, "Could not create racoon configuration file")
68 ERROR(kmDNSHelperRacoonStartFailed
, "Could not start racoon")
69 ERROR(kmDNSHelperRacoonNotificationFailed
, "Could not notify racoon")
70 ERROR(kmDNSHelperInvalidTunnelSetKeysOperation
, "Invalid tunnel setkey operation requested")
71 ERROR(kmDNSHelperInvalidNetworkAddress
, "Invalid network address")
72 ERROR(kmDNSHelperRouteAdditionFailed
, "Could not add route")
73 ERROR(kmDNSHelperRouteDeletionFailed
, "Could not remove route")
74 ERROR(kmDNSHelperRoutingSocketCreationFailed
, "Could not create routing socket")
75 ERROR(kmDNSHelperDatagramSocketCreationFailed
, "Could not create datagram socket")
76 ERROR(kmDNSHelperIPsecPolicyCreationFailed
, "Could not create IPsec policy")
77 ERROR(kmDNSHelperIPsecPolicySetFailed
, "Could not set IPsec policy")
78 ERROR(kmDNSHelperIPsecRemoveSAFailed
, "Could not remove IPsec SA")
79 ERROR(kmDNSHelperIPsecPolicySocketCreationFailed
, "Could not create IPsec policy socket")
80 ERROR(kmDNSHelperIPsecDisabled
, "IPSec support was not compiled in to the helper")