dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / lib / libldap5 / sources / ldap / ssldap / prerrstrs.h
blob73be5267d61600ae7a774bff28758d4d9aae6054
1 /*
2 * Copyright (c) 2001 by Sun Microsystems, Inc.
3 * All rights reserved.
4 */
6 #pragma ident "%Z%%M% %I% %E% SMI"
8 /*
9 * The contents of this file are subject to the Netscape Public
10 * License Version 1.1 (the "License"); you may not use this file
11 * except in compliance with the License. You may obtain a copy of
12 * the License at http://www.mozilla.org/NPL/
14 * Software distributed under the License is distributed on an "AS
15 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
16 * implied. See the License for the specific language governing
17 * rights and limitations under the License.
19 * The Original Code is Mozilla Communicator client code, released
20 * March 31, 1998.
22 * The Initial Developer of the Original Code is Netscape
23 * Communications Corporation. Portions created by Netscape are
24 * Copyright (C) 1998-1999 Netscape Communications Corporation. All
25 * Rights Reserved.
27 * Contributor(s):
31 * pserrstrs.h - map NSPR errors to strings (used by errormap.c)
36 ****************************************************************************
37 * The code below this point was provided by Nelson Bolyard <nelsonb> of the
38 * Netscape Certificate Server team on 27-March-1998.
39 * Taken from the file ns/security/cmd/lib/NSPRerrs.h on NSS_1_BRANCH.
40 * Last updated from there: 24-July-1998 by Mark Smith <mcs>
42 * All of the Directory Server specific changes are enclosed inside
43 * #ifdef NS_DIRECTORY.
44 ****************************************************************************
46 /* General NSPR 2.0 errors */
47 /* Caller must #include "prerror.h" */
49 ER2( PR_OUT_OF_MEMORY_ERROR, dgettext(TEXT_DOMAIN,
50 "Memory allocation attempt failed.") )
51 ER2( PR_BAD_DESCRIPTOR_ERROR, dgettext(TEXT_DOMAIN,
52 "Invalid file descriptor.") )
53 ER2( PR_WOULD_BLOCK_ERROR, dgettext(TEXT_DOMAIN,
54 "The operation would have blocked.") )
55 ER2( PR_ACCESS_FAULT_ERROR, dgettext(TEXT_DOMAIN,
56 "Invalid memory address argument.") )
57 ER2( PR_INVALID_METHOD_ERROR, dgettext(TEXT_DOMAIN,
58 "Invalid function for file type.") )
59 ER2( PR_ILLEGAL_ACCESS_ERROR, dgettext(TEXT_DOMAIN,
60 "Invalid memory address argument.") )
61 ER2( PR_UNKNOWN_ERROR, dgettext(TEXT_DOMAIN,
62 "Some unknown error has occurred.") )
63 ER2( PR_PENDING_INTERRUPT_ERROR,dgettext(TEXT_DOMAIN,
64 "Operation interrupted by another thread.") )
65 ER2( PR_NOT_IMPLEMENTED_ERROR, dgettext(TEXT_DOMAIN,
66 "function not implemented.") )
67 ER2( PR_IO_ERROR, dgettext(TEXT_DOMAIN,
68 "I/O function error.") )
69 ER2( PR_IO_TIMEOUT_ERROR, dgettext(TEXT_DOMAIN,
70 "I/O operation timed out.") )
71 ER2( PR_IO_PENDING_ERROR, dgettext(TEXT_DOMAIN,
72 "I/O operation on busy file descriptor.") )
73 ER2( PR_DIRECTORY_OPEN_ERROR, dgettext(TEXT_DOMAIN,
74 "The directory could not be opened.") )
75 ER2( PR_INVALID_ARGUMENT_ERROR, dgettext(TEXT_DOMAIN,
76 "Invalid function argument.") )
77 ER2( PR_ADDRESS_NOT_AVAILABLE_ERROR, dgettext(TEXT_DOMAIN,
78 "Network address not available (in use?).") )
79 ER2( PR_ADDRESS_NOT_SUPPORTED_ERROR, dgettext(TEXT_DOMAIN,
80 "Network address type not supported.") )
81 ER2( PR_IS_CONNECTED_ERROR, dgettext(TEXT_DOMAIN,
82 "Already connected.") )
83 ER2( PR_BAD_ADDRESS_ERROR, dgettext(TEXT_DOMAIN,
84 "Network address is invalid.") )
85 ER2( PR_ADDRESS_IN_USE_ERROR, dgettext(TEXT_DOMAIN,
86 "Local Network address is in use.") )
87 ER2( PR_CONNECT_REFUSED_ERROR, dgettext(TEXT_DOMAIN,
88 "Connection refused by peer.") )
89 ER2( PR_NETWORK_UNREACHABLE_ERROR, dgettext(TEXT_DOMAIN,
90 "Network address is presently unreachable.") )
91 ER2( PR_CONNECT_TIMEOUT_ERROR, dgettext(TEXT_DOMAIN,
92 "Connection attempt timed out.") )
93 ER2( PR_NOT_CONNECTED_ERROR, dgettext(TEXT_DOMAIN,
94 "Network file descriptor is not connected.") )
95 ER2( PR_LOAD_LIBRARY_ERROR, dgettext(TEXT_DOMAIN,
96 "Failure to load dynamic library.") )
97 ER2( PR_UNLOAD_LIBRARY_ERROR, dgettext(TEXT_DOMAIN,
98 "Failure to unload dynamic library.") )
99 ER2( PR_FIND_SYMBOL_ERROR, dgettext(TEXT_DOMAIN,
100 "Symbol not found in any of the loaded dynamic libraries.") )
101 ER2( PR_INSUFFICIENT_RESOURCES_ERROR, dgettext(TEXT_DOMAIN,
102 "Insufficient system resources.") )
103 ER2( PR_DIRECTORY_LOOKUP_ERROR, dgettext(TEXT_DOMAIN,
104 "A directory lookup on a network address has failed.") )
105 ER2( PR_TPD_RANGE_ERROR, dgettext(TEXT_DOMAIN,
106 "Attempt to access a TPD key that is out of range.") )
107 ER2( PR_PROC_DESC_TABLE_FULL_ERROR, dgettext(TEXT_DOMAIN,
108 "Process open FD table is full.") )
109 ER2( PR_SYS_DESC_TABLE_FULL_ERROR, dgettext(TEXT_DOMAIN,
110 "System open FD table is full.") )
111 ER2( PR_NOT_SOCKET_ERROR, dgettext(TEXT_DOMAIN,
112 "Network operation attempted on non-network file descriptor.") )
113 ER2( PR_NOT_TCP_SOCKET_ERROR, dgettext(TEXT_DOMAIN,
114 "TCP-specific function attempted on a non-TCP file descriptor.") )
115 ER2( PR_SOCKET_ADDRESS_IS_BOUND_ERROR, dgettext(TEXT_DOMAIN,
116 "TCP file descriptor is already bound.") )
117 ER2( PR_NO_ACCESS_RIGHTS_ERROR, dgettext(TEXT_DOMAIN,
118 "Access Denied.") )
119 ER2( PR_OPERATION_NOT_SUPPORTED_ERROR, dgettext(TEXT_DOMAIN,
120 "The requested operation is not supported by the platform.") )
121 ER2( PR_PROTOCOL_NOT_SUPPORTED_ERROR, dgettext(TEXT_DOMAIN,
122 "The host operating system does not support the protocol requested.") )
123 ER2( PR_REMOTE_FILE_ERROR, dgettext(TEXT_DOMAIN,
124 "Access to the remote file has been severed.") )
125 ER2( PR_BUFFER_OVERFLOW_ERROR, dgettext(TEXT_DOMAIN,
126 "The value requested is too large to be stored in the data buffer provided.") )
127 ER2( PR_CONNECT_RESET_ERROR, dgettext(TEXT_DOMAIN,
128 "TCP connection reset by peer.") )
129 ER2( PR_RANGE_ERROR, dgettext(TEXT_DOMAIN,
130 "Unused.") )
131 ER2( PR_DEADLOCK_ERROR, dgettext(TEXT_DOMAIN,
132 "The operation would have deadlocked.") )
133 ER2( PR_FILE_IS_LOCKED_ERROR, dgettext(TEXT_DOMAIN,
134 "The file is already locked.") )
135 ER2( PR_FILE_TOO_BIG_ERROR, dgettext(TEXT_DOMAIN,
136 "Write would result in file larger than the system allows.") )
137 ER2( PR_NO_DEVICE_SPACE_ERROR, dgettext(TEXT_DOMAIN,
138 "The device for storing the file is full.") )
139 ER2( PR_PIPE_ERROR, dgettext(TEXT_DOMAIN,
140 "Unused.") )
141 ER2( PR_NO_SEEK_DEVICE_ERROR, dgettext(TEXT_DOMAIN,
142 "Unused.") )
143 ER2( PR_IS_DIRECTORY_ERROR, dgettext(TEXT_DOMAIN,
144 "Cannot perform a normal file operation on a directory.") )
145 ER2( PR_LOOP_ERROR, dgettext(TEXT_DOMAIN,
146 "Symbolic link loop.") )
147 ER2( PR_NAME_TOO_LONG_ERROR, dgettext(TEXT_DOMAIN,
148 "File name is too long.") )
149 ER2( PR_FILE_NOT_FOUND_ERROR, dgettext(TEXT_DOMAIN,
150 "File not found.") )
151 ER2( PR_NOT_DIRECTORY_ERROR, dgettext(TEXT_DOMAIN,
152 "Cannot perform directory operation on a normal file.") )
153 ER2( PR_READ_ONLY_FILESYSTEM_ERROR, dgettext(TEXT_DOMAIN,
154 "Cannot write to a read-only file system.") )
155 ER2( PR_DIRECTORY_NOT_EMPTY_ERROR, dgettext(TEXT_DOMAIN,
156 "Cannot delete a directory that is not empty.") )
157 ER2( PR_FILESYSTEM_MOUNTED_ERROR, dgettext(TEXT_DOMAIN,
158 "Cannot delete or rename a file object while the file system is busy.") )
159 ER2( PR_NOT_SAME_DEVICE_ERROR, dgettext(TEXT_DOMAIN,
160 "Cannot rename a file to a file system on another device.") )
161 ER2( PR_DIRECTORY_CORRUPTED_ERROR, dgettext(TEXT_DOMAIN,
162 "The directory object in the file system is corrupted.") )
163 ER2( PR_FILE_EXISTS_ERROR, dgettext(TEXT_DOMAIN,
164 "Cannot create or rename a filename that already exists.") )
165 ER2( PR_MAX_DIRECTORY_ENTRIES_ERROR, dgettext(TEXT_DOMAIN,
166 "Directory is full. No additional filenames may be added.") )
167 ER2( PR_INVALID_DEVICE_STATE_ERROR, dgettext(TEXT_DOMAIN,
168 "The required device was in an invalid state.") )
169 ER2( PR_DEVICE_IS_LOCKED_ERROR, dgettext(TEXT_DOMAIN,
170 "The device is locked.") )
171 ER2( PR_NO_MORE_FILES_ERROR, dgettext(TEXT_DOMAIN,
172 "No more entries in the directory.") )
173 ER2( PR_END_OF_FILE_ERROR, dgettext(TEXT_DOMAIN,
174 "Encountered end of file.") )
175 ER2( PR_FILE_SEEK_ERROR, dgettext(TEXT_DOMAIN,
176 "Seek error.") )
177 ER2( PR_FILE_IS_BUSY_ERROR, dgettext(TEXT_DOMAIN,
178 "The file is busy.") )
179 ER2( PR_IN_PROGRESS_ERROR, dgettext(TEXT_DOMAIN,
180 "Operation is still in progress (probably a non-blocking connect).") )
181 ER2( PR_ALREADY_INITIATED_ERROR, dgettext(TEXT_DOMAIN,
182 "Operation has already been initiated (probably a non-blocking connect).") )
184 #ifdef PR_GROUP_EMPTY_ERROR
185 ER2( PR_GROUP_EMPTY_ERROR, dgettext(TEXT_DOMAIN,
186 "The wait group is empty.") )
187 #endif
189 #ifdef PR_INVALID_STATE_ERROR
190 ER2( PR_INVALID_STATE_ERROR, dgettext(TEXT_DOMAIN,
191 "Object state improper for request.") )
192 #endif
194 ER2( PR_MAX_ERROR, "Placeholder for the end of the list" )