1/*
2 * Copyright (c) 2010 Apple Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 *
10 * 1.  Redistributions of source code must retain the above copyright
11 *     notice, this list of conditions and the following disclaimer.
12 * 2.  Redistributions in binary form must reproduce the above copyright
13 *     notice, this list of conditions and the following disclaimer in the
14 *     documentation and/or other materials provided with the distribution.
15 * 3.  Neither the name of Apple Inc. ("Apple") nor the names of its
16 *     contributors may be used to endorse or promote products derived from
17 *     this software without specific prior written permission.
18 *
19 * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
20 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
21 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
23 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
24 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
26 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 *
30 * Portions of this software have been released under the following terms:
31 *
32 * (c) Copyright 1989-1993 OPEN SOFTWARE FOUNDATION, INC.
33 * (c) Copyright 1989-1993 HEWLETT-PACKARD COMPANY
34 * (c) Copyright 1989-1993 DIGITAL EQUIPMENT CORPORATION
35 *
36 * To anyone who acknowledges that this file is provided "AS IS"
37 * without any express or implied warranty:
38 * permission to use, copy, modify, and distribute this file for any
39 * purpose is hereby granted without fee, provided that the above
40 * copyright notices and this notice appears in all source code copies,
41 * and that none of the names of Open Software Foundation, Inc., Hewlett-
42 * Packard Company or Digital Equipment Corporation be used
43 * in advertising or publicity pertaining to distribution of the software
44 * without specific, written prior permission.  Neither Open Software
45 * Foundation, Inc., Hewlett-Packard Company nor Digital
46 * Equipment Corporation makes any representations about the suitability
47 * of this software for any purpose.
48 *
49 * Copyright (c) 2007, Novell, Inc. All rights reserved.
50 * Redistribution and use in source and binary forms, with or without
51 * modification, are permitted provided that the following conditions
52 * are met:
53 *
54 * 1.  Redistributions of source code must retain the above copyright
55 *     notice, this list of conditions and the following disclaimer.
56 * 2.  Redistributions in binary form must reproduce the above copyright
57 *     notice, this list of conditions and the following disclaimer in the
58 *     documentation and/or other materials provided with the distribution.
59 * 3.  Neither the name of Novell Inc. nor the names of its contributors
60 *     may be used to endorse or promote products derived from this
61 *     this software without specific prior written permission.
62 *
63 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
64 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
65 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
66 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY
67 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
68 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
69 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
70 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
71 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
72 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
73 *
74 * @APPLE_LICENSE_HEADER_END@
75 */
76
77#if defined(__GNUC__)
78
79#if !defined(RPCSTATUS_H)
80#define RPCSTATUS_H
81
82#include <dce/rpcbase.h>
83#include <dce/rpcsts.h>
84
85/*
86 * This is mapping (as close as possible) of MS/RPC return statuses
87 * to DCE/RPC return codes
88 */
89
90#define RPC_S_OK                           rpc_s_ok
91#define RPC_S_MOD                          rpc_s_mod
92#define RPC_S_OP_RNG_ERROR                 rpc_s_op_rng_error
93#define RPC_S_CANT_CREATE_SOCKET           rpc_s_cant_create_socket
94#define RPC_S_CANT_BIND_SOCKET             rpc_s_cant_bind_socket
95#define RPC_S_NOT_IN_CALL                  rpc_s_not_in_call
96#define RPC_S_NO_PORT                      rpc_s_no_port
97#define RPC_S_WRONG_BOOT_TIME              rpc_s_wrong_boot_time
98#define RPC_S_TOO_MANY_SOCKETS             rpc_s_too_many_sockets
99#define RPC_S_ILLEGAL_REGISTER             rpc_s_illegal_register
100#define RPC_S_CANT_RECV                    rpc_s_cant_recv
101#define RPC_S_BAD_PKT                      rpc_s_bad_pkt
102#define RPC_S_UNBOUND_HANDLE               rpc_s_unbound_handle
103#define RPC_S_ADDR_IN_USE                  rpc_s_addr_in_use
104#define RPC_S_IN_ARGS_TOO_BIG              rpc_s_in_args_too_big
105#define RPC_S_STRING_TOO_LONG              rpc_s_string_too_long
106#define RPC_S_TOO_MANY_OBJECTS             rpc_s_too_many_objects
107#define RPC_S_BINDING_HAS_NO_AUTH          rpc_s_binding_has_no_auth
108#define RPC_S_UNKNOWN_AUTHN_SERVICE        rpc_s_unknown_authn_service
109#define RPC_S_OUT_OF_MEMORY                rpc_s_no_memory
110#define RPC_S_CANT_NMALLOC                 rpc_s_cant_nmalloc
111#define RPC_S_CALL_FAULTED                 rpc_s_call_faulted
112#define RPC_S_CALL_FAILED                  rpc_s_call_failed
113#define RPC_S_COMM_FAILURE                 rpc_s_comm_failure
114#define RPC_S_RPCD_COMM_FAILURE            rpc_s_rpcd_comm_failure
115#define RPC_S_ILLEGAL_FAMILY_REBIND        rpc_s_illegal_family_rebind
116#define RPC_S_INVALID_HANDLE               rpc_s_invalid_handle
117#define RPC_S_CODING_ERROR                 rpc_s_coding_error
118#define RPC_S_OBJECT_NOT_FOUND             rpc_s_object_not_found
119#define RPC_S_CTHREAD_NOT_FOUND            rpc_s_cthread_not_found
120#define RPC_S_INVALID_BINDING              rpc_s_invalid_binding
121#define RPC_S_ALREADY_REGISTERED           rpc_s_already_registered
122#define RPC_S_ENDPOINT_NOT_FOUND           rpc_s_endpoint_not_found
123#define RPC_S_INVALID_RPC_PROTSEQ          rpc_s_invalid_rpc_protseq
124#define RPC_S_DESC_NOT_REGISTERED          rpc_s_desc_not_registered
125#define RPC_S_ALREADY_LISTENING            rpc_s_already_listening
126#define RPC_S_NO_PROTSEQS                  rpc_s_no_protseqs
127#define RPC_S_NO_PROTSEQS_REGISTERED       rpc_s_no_protseqs_registered
128#define RPC_S_NO_BINDINGS                  rpc_s_no_bindings
129#define RPC_S_MAX_DESCS_EXCEEDED           rpc_s_max_descs_exceeded
130#define RPC_S_NO_INTERFACES                rpc_s_no_interfaces
131#define RPC_S_INVALID_TIMEOUT              rpc_s_invalid_timeout
132#define RPC_S_CANT_INQ_SOCKET              rpc_s_cant_inq_socket
133#define RPC_S_INVALID_NAF_ID               rpc_s_invalid_naf_id
134#define RPC_S_INVALID_NET_ADDR             rpc_s_inval_net_addr
135#define RPC_S_UNKNOWN_IF                   rpc_s_unknown_if
136#define RPC_S_UNSUPPORTED_TYPE             rpc_s_unsupported_type
137#define RPC_S_INVALID_CALL_OPT             rpc_s_invalid_call_opt
138#define RPC_S_NO_FAULT                     rpc_s_no_fault
139#define RPC_S_CANCEL_TIMEOUT               rpc_s_cancel_timeout
140#define RPC_S_CALL_CANCELLED               rpc_s_call_cancelled
141#define RPC_S_INVALID_CALL_HANDLE          rpc_s_invalid_call_handle
142#define RPC_S_CANNOT_ALLOC_ASSOC           rpc_s_cannot_alloc_assoc
143#define RPC_S_CANNOT_CONNECT               rpc_s_cannot_connect
144#define RPC_S_CONNECTION_ABORTED           rpc_s_connection_aborted
145#define RPC_S_CONNECTION_CLOSED            rpc_s_connection_closed
146#define RPC_S_CANNOT_ACCEPT                rpc_s_cannot_accept
147#define RPC_S_ASSOC_GRP_NOT_FOUND          rpc_s_assoc_grp_not_found
148#define RPC_S_STUB_INTERFACE_ERROR         rpc_s_stub_interface_error
149#define RPC_S_INVALID_OBJECT               rpc_s_invalid_object
150#define RPC_S_INVALID_TYPE                 rpc_s_invalid_type
151#define RPC_S_INVALID_IF_OPNUM             rpc_s_invalid_if_opnum
152#define RPC_S_DIFFERENT_SERVER_INSTANCE    rpc_s_different_server_instance
153#define RPC_S_PROTOCOL_ERROR               rpc_s_protocol_error
154#define RPC_S_CANT_RECVMSG                 rpc_s_cant_recvmsg
155#define RPC_S_INVALID_STRING_BINDING       rpc_s_invalid_string_binding
156#define RPC_S_CONNECT_TIMED_OUT            rpc_s_connect_timed_out
157#define RPC_S_CONNECT_REJECTED             rpc_s_connect_rejected
158#define RPC_S_NETWORK_UNREACHABLE          rpc_s_network_unreachable
159#define RPC_S_CONNECT_NO_RESOURCES         rpc_s_connect_no_resources
160#define RPC_S_REM_NETWORK_SHUTDOWN         rpc_s_rem_network_shutdown
161#define RPC_S_TOO_MANY_REM_CONNECTS        rpc_s_too_many_rem_connects
162#define RPC_S_NO_REM_ENDPOINT              rpc_s_no_rem_endpoint
163#define RPC_S_REM_HOST_DOWN                rpc_s_rem_host_down
164#define RPC_S_HOST_UNREACHABLE             rpc_s_host_unreachable
165#define RPC_S_ACCESS_CONTROL_INFO_INV      rpc_s_access_control_info_inv
166#define RPC_S_LOC_CONNECT_ABORTED          rpc_s_loc_connect_aborted
167#define RPC_S_CONNECT_CLOSED_BY_REM        rpc_s_connect_closed_by_rem
168#define RPC_S_REM_HOST_CRASHED             rpc_s_rem_host_crashed
169#define RPC_S_INVALID_ENDPOINT_FORMAT      rpc_s_invalid_endpoint_format
170#define RPC_S_UNKNOWN_STATUS_CODE          rpc_s_unknown_status_code
171#define RPC_S_UNKNOWN_MGR_TYPE             rpc_s_unknown_mgr_type
172#define RPC_S_ASSOC_CREATION_FAILED        rpc_s_assoc_creation_failed
173#define RPC_S_ASSOC_GRP_MAX_EXCEEDED       rpc_s_assoc_grp_max_exceeded
174#define RPC_S_ASSOC_GRP_ALLOC_FAILED       rpc_s_assoc_grp_alloc_failed
175#define RPC_S_SM_INVALID_STATE             rpc_s_sm_invalid_state
176#define RPC_S_ASSOC_REQ_REJECTED           rpc_s_assoc_req_rejected
177#define RPC_S_ASSOC_SHUTDOWN               rpc_s_assoc_shutdown
178#define RPC_S_TSYNTAXES_UNSUPPORTED        rpc_s_tsyntaxes_unsupported
179#define RPC_S_CONTEXT_ID_NOT_FOUND         rpc_s_context_id_not_found
180#define RPC_S_CANT_LISTEN_SOCKET           rpc_s_cant_listen_socket
181#define RPC_S_NO_ADDRS                     rpc_s_no_addrs
182#define RPC_S_CANT_GETPEERNAME             rpc_s_cant_getpeername
183#define RPC_S_CANT_GET_IF_ID               rpc_s_cant_get_if_id
184#define RPC_S_PROTSEQ_NOT_SUPPORTED        rpc_s_protseq_not_supported
185#define RPC_S_CALL_ORPHANED                rpc_s_call_orphaned
186#define RPC_S_WHO_ARE_YOU_FAILED           rpc_s_who_are_you_failed
187#define RPC_S_UNKNOWN_REJECT               rpc_s_unknown_reject
188#define RPC_S_TYPE_ALREADY_REGISTERED      rpc_s_type_already_registered
189#define RPC_S_STOP_LISTENING_DISABLED      rpc_s_stop_listening_disabled
190#define RPC_S_INVALID_ARG                  rpc_s_invalid_arg
191#define RPC_S_NOT_SUPPORTED                rpc_s_not_supported
192#define RPC_S_WRONG_KIND_OF_BINDING        rpc_s_wrong_kind_of_binding
193#define RPC_S_AUTHN_AUTHZ_MISMATCH         rpc_s_authn_authz_mismatch
194#define RPC_S_CALL_QUEUED                  rpc_s_call_queued
195#define RPC_S_CANNOT_SET_NODELAY           rpc_s_cannot_set_nodelay
196#define RPC_S_NOT_RPC_TOWER                rpc_s_not_rpc_tower
197#define RPC_S_INVALID_RPC_PROTID           rpc_s_invalid_rpc_protid
198#define RPC_S_INVALID_RPC_FLOOR            rpc_s_invalid_rpc_floor
199#define RPC_S_CALL_TIMEOUT                 rpc_s_call_timeout
200#define RPC_S_MGMT_OP_DISALLOWED           rpc_s_mgmt_op_disallowed
201#define RPC_S_MANAGER_NOT_ENTERED          rpc_s_manager_not_entered
202#define RPC_S_CALLS_TOO_LARGE_FOR_WK_EP    rpc_s_calls_too_large_for_wk_ep
203#define RPC_S_SERVER_TOO_BUSY              rpc_s_server_too_busy
204#define RPC_S_PROT_VERSION_MISMATCH        rpc_s_prot_version_mismatch
205#define RPC_S_RPC_PROT_VERSION_MISMATCH    rpc_s_rpc_prot_version_mismatch
206#define RPC_S_SS_NO_IMPORT_CURSOR          rpc_s_ss_no_import_cursor
207#define RPC_S_FAULT_ADDR_ERROR             rpc_s_fault_addr_error
208#define RPC_S_FAULT_CONTEXT_MISMATCH       rpc_s_fault_context_mismatch
209#define RPC_S_FAULT_FP_DIV_BY_ZERO         rpc_s_fault_fp_div_by_zero
210#define RPC_S_FAULT_FP_ERROR               rpc_s_fault_fp_error
211#define RPC_S_FAULT_FP_OVERFLOW            rpc_s_fault_fp_overflow
212#define RPC_S_FAULT_FP_UNDERFLOW           rpc_s_fault_fp_underflow
213#define RPC_S_FAULT_ILL_INST               rpc_s_fault_ill_inst
214#define RPC_S_FAULT_INT_DIV_BY_ZERO        rpc_s_fault_int_div_by_zero
215#define RPC_S_FAULT_INT_OVERFLOW           rpc_s_fault_int_overflow
216#define RPC_S_FAULT_INVALID_BOUND          rpc_s_fault_invalid_bound
217#define RPC_S_FAULT_INVALID_TAG            rpc_s_fault_invalid_tag
218#define RPC_S_FAULT_PIPE_CLOSED            rpc_s_fault_pipe_closed
219#define RPC_S_FAULT_PIPE_COMM_ERROR        rpc_s_fault_pipe_comm_error
220#define RPC_S_FAULT_PIPE_DISCIPLINE        rpc_s_fault_pipe_discipline
221#define RPC_S_FAULT_PIPE_EMPTY             rpc_s_fault_pipe_empty
222#define RPC_S_FAULT_PIPE_MEMORY            rpc_s_fault_pipe_memory
223#define RPC_S_FAULT_PIPE_ORDER             rpc_s_fault_pipe_order
224#define RPC_S_FAULT_REMOTE_COMM_FAILURE    rpc_s_fault_remote_comm_failure
225#define RPC_S_FAULT_REMOTE_NO_MEMORY       rpc_s_fault_remote_no_memory
226#define RPC_S_FAULT_UNSPEC                 rpc_s_fault_unspec
227#define UUID_S_BAD_VERSION                 uuid_s_bad_version
228#define UUID_S_SOCKET_FAILURE              uuid_s_socket_failure
229#define UUID_S_GETCONF_FAILURE             uuid_s_getconf_failure
230#define UUID_S_NO_ADDRESS                  uuid_s_no_address
231#define UUID_S_OVERRUN                     uuid_s_overrun
232#define UUID_S_INTERNAL_ERROR              uuid_s_internal_error
233#define UUID_S_CODING_ERROR                uuid_s_coding_error
234#define UUID_S_INVALID_STRING_UUID         uuid_s_invalid_string_uuid
235#define UUID_S_NO_MEMORY                   uuid_s_no_memory
236#define RPC_S_NO_MORE_ENTRIES              rpc_s_no_more_entries
237#define RPC_S_UNKNOWN_NS_ERROR             rpc_s_unknown_ns_error
238#define RPC_S_NAME_SERVICE_UNAVAILABLE     rpc_s_name_service_unavailable
239#define RPC_S_INCOMPLETE_NAME              rpc_s_incomplete_name
240#define RPC_S_GROUP_NOT_FOUND              rpc_s_group_not_found
241#define RPC_S_INVALID_NAME_SYNTAX          rpc_s_invalid_name_syntax
242#define RPC_S_NO_MORE_MEMBERS              rpc_s_no_more_members
243#define RPC_S_NO_MORE_INTERFACES           rpc_s_no_more_interfaces
244#define RPC_S_INVALID_NAME_SERVICE         rpc_s_invalid_name_service
245#define RPC_S_NO_NAME_MAPPING              rpc_s_no_name_mapping
246#define RPC_S_PROFILE_NOT_FOUND            rpc_s_profile_not_found
247#define RPC_S_NOT_FOUND                    rpc_s_not_found
248#define RPC_S_NO_UPDATES                   rpc_s_no_updates
249#define RPC_S_UPDATE_FAILED                rpc_s_update_failed
250#define RPC_S_NO_MATCH_EXPORTED            rpc_s_no_match_exported
251#define RPC_S_ENTRY_NOT_FOUND              rpc_s_entry_not_found
252#define RPC_S_INVALID_INQUIRY_CONTEXT      rpc_s_invalid_inquiry_context
253#define RPC_S_INTERFACE_NOT_FOUND          rpc_s_interface_not_found
254#define RPC_S_GROUP_MEMBER_NOT_FOUND       rpc_s_group_member_not_found
255#define RPC_S_ENTRY_ALREADY_EXISTS         rpc_s_entry_already_exists
256#define RPC_S_NSINIT_FAILURE               rpc_s_nsinit_failure
257#define RPC_S_UNSUPPORTED_NAME_SYNTAX      rpc_s_unsupported_name_syntax
258#define RPC_S_NO_MORE_ELEMENTS             rpc_s_no_more_elements
259#define RPC_S_NO_NS_PERMISSION             rpc_s_no_ns_permission
260#define RPC_S_INVALID_INQUIRY_TYPE         rpc_s_invalid_inquiry_type
261#define RPC_S_PROFILE_ELEMENT_NOT_FOUND    rpc_s_profile_element_not_found
262#define RPC_S_PROFILE_ELEMENT_REPLACED     rpc_s_profile_element_replaced
263#define RPC_S_IMPORT_ALREADY_DONE          rpc_s_import_already_done
264#define RPC_S_DATABASE_BUSY                rpc_s_database_busy
265#define RPC_S_INVALID_IMPORT_CONTEXT       rpc_s_invalid_import_context
266#define RPC_S_UUID_SET_NOT_FOUND           rpc_s_uuid_set_not_found
267#define RPC_S_UUID_MEMBER_NOT_FOUND        rpc_s_uuid_member_not_found
268#define RPC_S_NO_INTERFACES_EXPORTED       rpc_s_no_interfaces_exported
269#define RPC_S_TOWER_SET_NOT_FOUND          rpc_s_tower_set_not_found
270#define RPC_S_TOWER_MEMBER_NOT_FOUND       rpc_s_tower_member_not_found
271#define RPC_S_OBJ_UUID_NOT_FOUND           rpc_s_obj_uuid_not_found
272#define RPC_S_NO_MORE_BINDINGS             rpc_s_no_more_bindings
273#define RPC_S_INVALID_PRIORITY             rpc_s_invalid_priority
274#define RPC_S_NOT_RPC_ENTRY                rpc_s_not_rpc_entry
275#define RPC_S_INVALID_LOOKUP_CONTEXT       rpc_s_invalid_lookup_context
276#define RPC_S_BINDING_VECTOR_FULL          rpc_s_binding_vector_full
277#define RPC_S_CYCLE_DETECTED               rpc_s_cycle_detected
278#define RPC_S_NOTHING_TO_EXPORT            rpc_s_nothing_to_export
279#define RPC_S_NOTHING_TO_UNEXPORT          rpc_s_nothing_to_unexport
280#define RPC_S_INVALID_VERS_OPTION          rpc_s_invalid_vers_option
281#define RPC_S_NO_RPC_DATA                  rpc_s_no_rpc_data
282#define RPC_S_MBR_PICKED                   rpc_s_mbr_picked
283#define RPC_S_NOT_ALL_OBJS_UNEXPORTED      rpc_s_not_all_objs_unexported
284#define RPC_S_NO_ENTRY_NAME                rpc_s_no_entry_name
285#define RPC_S_PRIORITY_GROUP_DONE          rpc_s_priority_group_done
286#define RPC_S_PARTIAL_RESULTS              rpc_s_partial_results
287#define RPC_S_NO_ENV_SETUP                 rpc_s_no_env_setup
288#define TWR_S_UNKNOWN_SA                   twr_s_unknown_sa
289#define TWR_S_UNKNOWN_TOWER                twr_s_unknown_tower
290#define TWR_S_NOT_IMPLEMENTED              twr_s_not_implemented
291#define RPC_S_MAX_CALLS_TOO_SMALL          rpc_s_max_calls_too_small
292#define RPC_S_CTHREAD_CREATE_FAILED        rpc_s_cthread_create_failed
293#define RPC_S_CTHREAD_POOL_EXISTS          rpc_s_cthread_pool_exists
294#define RPC_S_CTHREAD_NO_SUCH_POOL         rpc_s_cthread_no_such_pool
295#define RPC_S_CTHREAD_INVOKE_DISABLED      rpc_s_cthread_invoke_disabled
296#define EPT_S_CANT_PERFORM_OP              ept_s_cant_perform_op
297#define EPT_S_NO_MEMORY                    ept_s_no_memory
298#define EPT_S_DATABASE_INVALID             ept_s_database_invalid
299#define EPT_S_CANT_CREATE                  ept_s_cant_create
300#define EPT_S_CANT_ACCESS                  ept_s_cant_access
301#define EPT_S_DATABASE_ALREADY_OPEN        ept_s_database_already_open
302#define EPT_S_INVALID_ENTRY                ept_s_invalid_entry
303#define EPT_S_UPDATE_FAILED                ept_s_update_failed
304#define EPT_S_INVALID_CONTEXT              ept_s_invalid_context
305#define EPT_S_NOT_REGISTERED               ept_s_not_registered
306#define EPT_S_SERVER_UNAVAILABLE           ept_s_server_unavailable
307#define RPC_S_UNDERSPECIFIED_NAME          rpc_s_underspecified_name
308#define RPC_S_INVALID_NS_HANDLE            rpc_s_invalid_ns_handle
309#define RPC_S_UNKNOWN_ERROR                rpc_s_unknown_error
310#define RPC_S_SS_CHAR_TRANS_OPEN_FAIL      rpc_s_ss_char_trans_open_fail
311#define RPC_S_SS_CHAR_TRANS_SHORT_FILE     rpc_s_ss_char_trans_short_file
312#define RPC_S_SS_CONTEXT_DAMAGED           rpc_s_ss_context_damaged
313#define RPC_S_SS_IN_NULL_CONTEXT           rpc_s_ss_in_null_context
314#define RPC_S_SOCKET_FAILURE               rpc_s_socket_failure
315#define RPC_S_UNSUPPORTED_PROTECT_LEVEL    rpc_s_unsupported_protect_level
316#define RPC_S_INVALID_CHECKSUM             rpc_s_invalid_checksum
317#define RPC_S_INVALID_CREDENTIALS          rpc_s_invalid_credentials
318#define RPC_S_CREDENTIALS_TOO_LARGE        rpc_s_credentials_too_large
319#define RPC_S_CALL_ID_NOT_FOUND            rpc_s_call_id_not_found
320#define RPC_S_KEY_ID_NOT_FOUND             rpc_s_key_id_not_found
321#define RPC_S_AUTH_BAD_INTEGRITY           rpc_s_auth_bad_integrity
322#define RPC_S_AUTH_TKT_EXPIRED             rpc_s_auth_tkt_expired
323#define RPC_S_AUTH_TKT_NYV                 rpc_s_auth_tkt_nyv
324#define RPC_S_AUTH_REPEAT                  rpc_s_auth_repeat
325#define RPC_S_AUTH_NOT_US                  rpc_s_auth_not_us
326#define RPC_S_AUTH_BADMATCH                rpc_s_auth_badmatch
327#define RPC_S_AUTH_SKEW                    rpc_s_auth_skew
328#define RPC_S_AUTH_BADADDR                 rpc_s_auth_badaddr
329#define RPC_S_AUTH_BADVERSION              rpc_s_auth_badversion
330#define RPC_S_AUTH_MSG_TYPE                rpc_s_auth_msg_type
331#define RPC_S_AUTH_MODIFIED                rpc_s_auth_modified
332#define RPC_S_AUTH_BADORDER                rpc_s_auth_badorder
333#define RPC_S_AUTH_BADKEYVER               rpc_s_auth_badkeyver
334#define RPC_S_AUTH_NOKEY                   rpc_s_auth_nokey
335#define RPC_S_AUTH_MUT_FAIL                rpc_s_auth_mut_fail
336#define RPC_S_AUTH_BADDIRECTION            rpc_s_auth_baddirection
337#define RPC_S_AUTH_METHOD                  rpc_s_auth_method
338#define RPC_S_AUTH_BADSEQ                  rpc_s_auth_badseq
339#define RPC_S_AUTH_INAPP_CKSUM             rpc_s_auth_inapp_cksum
340#define RPC_S_AUTH_FIELD_TOOLONG           rpc_s_auth_field_toolong
341#define RPC_S_INVALID_CRC                  rpc_s_invalid_crc
342#define RPC_S_BINDING_INCOMPLETE           rpc_s_binding_incomplete
343#define RPC_S_KEY_FUNC_NOT_ALLOWED         rpc_s_key_func_not_allowed
344#define RPC_S_UNKNOWN_STUB_RTL_IF_VERS     rpc_s_unknown_stub_rtl_if_vers
345#define RPC_S_UNKNOWN_IFSPEC_VERS          rpc_s_unknown_ifspec_vers
346#define RPC_S_PROTO_UNSUPP_BY_AUTH         rpc_s_proto_unsupp_by_auth
347#define RPC_S_AUTHN_CHALLENGE_MALFORMED    rpc_s_authn_challenge_malformed
348#define RPC_S_PROTECT_LEVEL_MISMATCH       rpc_s_protect_level_mismatch
349#define RPC_S_NO_MEPV                      rpc_s_no_mepv
350#define RPC_S_STUB_PROTOCOL_ERROR          rpc_s_stub_protocol_error
351#define RPC_S_CLASS_VERSION_MISMATCH       rpc_s_class_version_mismatch
352#define RPC_S_HELPER_NOT_RUNNING           rpc_s_helper_not_running
353#define RPC_S_HELPER_SHORT_READ            rpc_s_helper_short_read
354#define RPC_S_HELPER_CATATONIC             rpc_s_helper_catatonic
355#define RPC_S_HELPER_ABORTED               rpc_s_helper_aborted
356#define RPC_S_NOT_IN_KERNEL                rpc_s_not_in_kernel
357#define RPC_S_HELPER_WRONG_USER            rpc_s_helper_wrong_user
358#define RPC_S_HELPER_OVERFLOW              rpc_s_helper_overflow
359#define RPC_S_DG_NEED_WAY_AUTH             rpc_s_dg_need_way_auth
360#define RPC_S_UNSUPPORTED_AUTH_SUBTYPE     rpc_s_unsupported_auth_subtype
361#define RPC_S_WRONG_PICKLE_TYPE            rpc_s_wrong_pickle_type
362#define RPC_S_NOT_LISTENING                rpc_s_not_listening
363#define RPC_S_SS_BAD_BUFFER                rpc_s_ss_bad_buffer
364#define RPC_S_SS_BAD_ES_ACTION             rpc_s_ss_bad_es_action
365#define RPC_S_SS_WRONG_ES_VERSION          rpc_s_ss_wrong_es_version
366#define RPC_S_FAULT_USER_DEFINED           rpc_s_fault_user_defined
367#define RPC_S_SS_INCOMPATIBLE_CODESETS     rpc_s_ss_incompatible_codesets
368#define RPC_S_TX_NOT_IN_TRANSACTION        rpc_s_tx_not_in_transaction
369#define RPC_S_TX_OPEN_FAILED               rpc_s_tx_open_failed
370#define RPC_S_PARTIAL_CREDENTIALS          rpc_s_partial_credentials
371#define RPC_S_SS_INVALID_CODESET_TAG       rpc_s_ss_invalid_codeset_tag
372#define RPC_S_MGMT_BAD_TYPE                rpc_s_mgmt_bad_type
373#define RPC_S_SS_INVALID_CHAR_INPUT        rpc_s_ss_invalid_char_input
374#define RPC_S_SS_SHORT_CONV_BUFFER         rpc_s_ss_short_conv_buffer
375#define RPC_S_SS_ICONV_ERROR               rpc_s_ss_iconv_error
376#define RPC_S_SS_NO_COMPAT_CODESET         rpc_s_ss_no_compat_codeset
377#define RPC_S_SS_NO_COMPAT_CHARSETS        rpc_s_ss_no_compat_charsets
378#define DCE_CS_C_OK                        dce_cs_c_ok
379#define DCE_CS_C_UNKNOWN                   dce_cs_c_unknown
380#define DCE_CS_C_NOTFOUND                  dce_cs_c_notfound
381#define DCE_CS_C_CANNOT_OPEN_FILE          dce_cs_c_cannot_open_file
382#define DCE_CS_C_CANNOT_READ_FILE          dce_cs_c_cannot_read_file
383#define DCE_CS_C_CANNOT_ALLOCATE_MEMORY    dce_cs_c_cannot_allocate_memory
384#define RPC_S_SS_CLEANUP_FAILED            rpc_s_ss_cleanup_failed
385#define RPC_SVC_DESC_GENERAL               rpc_svc_desc_general
386#define RPC_SVC_DESC_MUTEX                 rpc_svc_desc_mutex
387#define RPC_SVC_DESC_XMIT                  rpc_svc_desc_xmit
388#define RPC_SVC_DESC_RECV                  rpc_svc_desc_recv
389#define RPC_SVC_DESC_DG_STATE              rpc_svc_desc_dg_state
390#define RPC_SVC_DESC_CANCEL                rpc_svc_desc_cancel
391#define RPC_SVC_DESC_ORPHAN                rpc_svc_desc_orphan
392#define RPC_SVC_DESC_CN_STATE              rpc_svc_desc_cn_state
393#define RPC_SVC_DESC_CN_PKT                rpc_svc_desc_cn_pkt
394#define RPC_SVC_DESC_PKT_QUOTAS            rpc_svc_desc_pkt_quotas
395#define RPC_SVC_DESC_AUTH                  rpc_svc_desc_auth
396#define RPC_SVC_DESC_SOURCE                rpc_svc_desc_source
397#define RPC_SVC_DESC_STATS                 rpc_svc_desc_stats
398#define RPC_SVC_DESC_MEM                   rpc_svc_desc_mem
399#define RPC_SVC_DESC_MEM_TYPE              rpc_svc_desc_mem_type
400#define RPC_SVC_DESC_DG_PKTLOG             rpc_svc_desc_dg_pktlog
401#define RPC_SVC_DESC_THREAD_ID             rpc_svc_desc_thread_id
402#define RPC_SVC_DESC_TIMESTAMP             rpc_svc_desc_timestamp
403#define RPC_SVC_DESC_CN_ERRORS             rpc_svc_desc_cn_errors
404#define RPC_SVC_DESC_CONV_THREAD           rpc_svc_desc_conv_thread
405#define RPC_SVC_DESC_PID                   rpc_svc_desc_pid
406#define RPC_SVC_DESC_ATFORK                rpc_svc_desc_atfork
407#define RPC_SVC_DESC_CMA_THREAD            rpc_svc_desc_cma_thread
408#define RPC_SVC_DESC_INHERIT               rpc_svc_desc_inherit
409#define RPC_SVC_DESC_DG_SOCKETS            rpc_svc_desc_dg_sockets
410#define RPC_SVC_DESC_TIMER                 rpc_svc_desc_timer
411#define RPC_SVC_DESC_THREADS               rpc_svc_desc_threads
412#define RPC_SVC_DESC_SERVER_CALL           rpc_svc_desc_server_call
413#define RPC_SVC_DESC_NSI                   rpc_svc_desc_nsi
414#define RPC_SVC_DESC_DG_PKT                rpc_svc_desc_dg_pkt
415#define RPC_M_CN_ILL_STATE_TRANS_SA        rpc_m_cn_ill_state_trans_sa
416#define RPC_M_CN_ILL_STATE_TRANS_CA        rpc_m_cn_ill_state_trans_ca
417#define RPC_M_CN_ILL_STATE_TRANS_SG        rpc_m_cn_ill_state_trans_sg
418#define RPC_M_CN_ILL_STATE_TRANS_CG        rpc_m_cn_ill_state_trans_cg
419#define RPC_M_CN_ILL_STATE_TRANS_SR        rpc_m_cn_ill_state_trans_sr
420#define RPC_M_CN_ILL_STATE_TRANS_CR        rpc_m_cn_ill_state_trans_cr
421#define RPC_M_BAD_PKT_TYPE                 rpc_m_bad_pkt_type
422#define RPC_M_PROT_MISMATCH                rpc_m_prot_mismatch
423#define RPC_M_FRAG_TOOBIG                  rpc_m_frag_toobig
424#define RPC_M_UNSUPP_STUB_RTL_IF           rpc_m_unsupp_stub_rtl_if
425#define RPC_M_UNHANDLED_CALLSTATE          rpc_m_unhandled_callstate
426#define RPC_M_CALL_FAILED                  rpc_m_call_failed
427#define RPC_M_CALL_FAILED_NO_STATUS        rpc_m_call_failed_no_status
428#define RPC_M_CALL_FAILED_ERRNO            rpc_m_call_failed_errno
429#define RPC_M_CALL_FAILED_S                rpc_m_call_failed_s
430#define RPC_M_CALL_FAILED_C                rpc_m_call_failed_c
431#define RPC_M_ERRMSG_TOOBIG                rpc_m_errmsg_toobig
432#define RPC_M_INVALID_SRCHATTR             rpc_m_invalid_srchattr
433#define RPC_M_NTS_NOT_FOUND                rpc_m_nts_not_found
434#define RPC_M_INVALID_ACCBYTCNT            rpc_m_invalid_accbytcnt
435#define RPC_M_PRE_V2_IFSPEC                rpc_m_pre_v2_ifspec
436#define RPC_M_UNK_IFSPEC                   rpc_m_unk_ifspec
437#define RPC_M_RECVBUF_TOOSMALL             rpc_m_recvbuf_toosmall
438#define RPC_M_UNALIGN_AUTHTRL              rpc_m_unalign_authtrl
439#define RPC_M_UNEXPECTED_EXC               rpc_m_unexpected_exc
440#define RPC_M_NO_STUB_DATA                 rpc_m_no_stub_data
441#define RPC_M_EVENTLIST_FULL               rpc_m_eventlist_full
442#define RPC_M_UNK_SOCK_TYPE                rpc_m_unk_sock_type
443#define RPC_M_UNIMP_CALL                   rpc_m_unimp_call
444#define RPC_M_INVALID_SEQNUM               rpc_m_invalid_seqnum
445#define RPC_M_CANT_CREATE_UUID             rpc_m_cant_create_uuid
446#define RPC_M_PRE_V2_SS                    rpc_m_pre_v2_ss
447#define RPC_M_DGPKT_POOL_CORRUPT           rpc_m_dgpkt_pool_corrupt
448#define RPC_M_DGPKT_BAD_FREE               rpc_m_dgpkt_bad_free
449#define RPC_M_LOOKASIDE_CORRUPT            rpc_m_lookaside_corrupt
450#define RPC_M_ALLOC_FAIL                   rpc_m_alloc_fail
451#define RPC_M_REALLOC_FAIL                 rpc_m_realloc_fail
452#define RPC_M_CANT_OPEN_FILE               rpc_m_cant_open_file
453#define RPC_M_CANT_READ_ADDR               rpc_m_cant_read_addr
454#define RPC_SVC_DESC_LIBIDL                rpc_svc_desc_libidl
455#define RPC_M_CTXRUNDOWN_NOMEM             rpc_m_ctxrundown_nomem
456#define RPC_M_CTXRUNDOWN_EXC               rpc_m_ctxrundown_exc
457#define RPC_S_FAULT_CODESET_CONV_ERROR     rpc_s_fault_codeset_conv_error
458#define RPC_S_NO_CALL_ACTIVE               rpc_s_no_call_active
459#define RPC_S_NO_CONTEXT_AVAILABLE         rpc_s_no_context_available
460
461#endif /* RPCSTATUS_H */
462
463#endif /* __GNUC__ */
464