/* V5.5-4 *%COPYRIGHT_XOPEN_START% * * Copyright X/Open Company Limited 1993. All rights reserved * * Use of this software by the U.S. Government is subject to restricted * rights as described in the license. * * Portions Copyright Digital Equipment Corporation 1993, 1995. All rights * reserved. * * Restricted Rights: Use, duplication, or disclosure by the U.S Government is * subject to restrictions as set forth in subparagraph (C) (1) (ii) of DFARS * 252.227-7013, or in FAR 52.227-19, or in FAR 52.227-14 Alt, III, as * applicable. * * Portions of this software is proprietary to and embodies the confidential * technology of Digital Equipment Corporation. Possession, use, or copying * of this software and media is authorized only pursuant to a valid written * license from Digital or an authorized sublicensor. * *%COPYRIGHT_XOPEN_END% * * * FACILITY: * * Digital X.500 Directory Service * MAILbus 400 Application Program Interface * * ABSTRACT: * * This header is for the Directory Interface Package of X/Open * Directory Services API. It declares the interface functions, the * structures passed to and from those functions, and the defined * constants used by those functions and structures. * * All application programs that include this header must first * include the Object Management header, xom.h * * This version mirrors the X/OPEN CAE spec dated Nov 91 * * It is extended in the following areas: * * it provides support for OID class constants in pre-ANSI compilers * by using octal initialisation * * it supports differing C calling conventions for library entry * points * * For Digital X.500 Directory Service other extensions are provided * via the xdsdec.h header file. */ #ifndef XDS_HEADER #define XDS_HEADER /* The Object-Identifier associated with this package is: {iso(1) identified-organization(3) icd-ecma(0012) member-company(2) dec(1011) xopen(28) dsp(0)} with the encoding: */ #if defined (__STDC__) || defined (__cplusplus) #define OMP_O_DS_SERVICE_PKG "\x2b\xc\x2\x87\x73\x1c\x0" #else #define OMP_O_DS_SERVICE_PKG "\53\14\2\207\163\34\0" #endif /* Misc typedefs DS_feature (used by the ds_version() function) */ typedef struct { OM_object_identifier feature; OM_boolean activated; } DS_feature; /* DS_status (return value for all functions) */ typedef OM_private_object DS_status; /* * Entry point definitions */ #ifndef DXD_ENTRY_POINT #if ( (_MSC_VER >= 800) && (_M_IX86 >= 300) ) /* Definitions for MS C8-32 (386/486) compiler */ #define DXD_ENTRY_POINT __cdecl #else /* Other compilers */ #define DXD_ENTRY_POINT #endif #endif /* Function Prototypes */ #if defined(__STDC__) || defined(__cplusplus) /* * Define external linkage for C++ */ #ifdef __cplusplus extern "C" { #endif DS_status DXD_ENTRY_POINT ds_abandon( OM_private_object session, OM_sint invoke_id ); DS_status DXD_ENTRY_POINT ds_add_entry( OM_private_object session, OM_private_object context, OM_object name, OM_object entry, OM_sint * invoke_id_return ); DS_status DXD_ENTRY_POINT ds_bind( OM_object session, OM_workspace workspace, OM_private_object * bound_session_return ); DS_status DXD_ENTRY_POINT ds_compare( OM_private_object session, OM_private_object context, OM_object name, OM_object ava, OM_private_object * result_return, OM_sint * invoke_id_return ); OM_workspace DXD_ENTRY_POINT ds_initialize( void ); DS_status DXD_ENTRY_POINT ds_list( OM_private_object session, OM_private_object context, OM_object name, OM_private_object * result_return, OM_sint * invoke_id_return ); DS_status DXD_ENTRY_POINT ds_modify_entry( OM_private_object session, OM_private_object context, OM_object name, OM_object changes, OM_sint * invoke_id_return ); DS_status DXD_ENTRY_POINT ds_modify_rdn( OM_private_object session, OM_private_object context, OM_object name, OM_object new_RDN, OM_boolean delete_old_RDN, OM_sint * invoke_id_return ); DS_status DXD_ENTRY_POINT ds_read( OM_private_object session, OM_private_object context, OM_object name, OM_object selection, OM_private_object * result_return, OM_sint * invoke_id_return ); DS_status DXD_ENTRY_POINT ds_receive_result( OM_private_object session, OM_uint * completion_flag_return, DS_status * operation_status_return, OM_private_object * result_return, OM_sint * invoke_id_return ); DS_status DXD_ENTRY_POINT ds_remove_entry( OM_private_object session, OM_private_object context, OM_object name, OM_sint * invoke_id_return ); DS_status DXD_ENTRY_POINT ds_search( OM_private_object session, OM_private_object context, OM_object name, OM_sint subset, OM_object filter, OM_boolean search_aliases, OM_object selection, OM_private_object * result_return, OM_sint * invoke_id_return ); DS_status DXD_ENTRY_POINT ds_shutdown( OM_workspace workspace ); DS_status DXD_ENTRY_POINT ds_unbind( OM_private_object session ); DS_status DXD_ENTRY_POINT ds_version( DS_feature feature_list[], OM_workspace workspace ); /* * Turnoff external linkage for C++ */ #ifdef __cplusplus } #endif #else /* pre-ANSI C function declarations */ DS_status DXD_ENTRY_POINT ds_abandon(); DS_status DXD_ENTRY_POINT ds_add_entry(); DS_status DXD_ENTRY_POINT ds_bind(); DS_status DXD_ENTRY_POINT ds_compare(); OM_workspace DXD_ENTRY_POINT ds_initialize(); DS_status DXD_ENTRY_POINT ds_list(); DS_status DXD_ENTRY_POINT ds_modify_entry(); DS_status DXD_ENTRY_POINT ds_modify_rdn(); DS_status DXD_ENTRY_POINT ds_read(); DS_status DXD_ENTRY_POINT ds_receive_result(); DS_status DXD_ENTRY_POINT ds_remove_entry(); DS_status DXD_ENTRY_POINT ds_search(); DS_status DXD_ENTRY_POINT ds_shutdown(); DS_status DXD_ENTRY_POINT ds_unbind(); DS_status DXD_ENTRY_POINT ds_version(); #endif /* Class Names */ #if defined (__STDC__) || defined (__cplusplus) #define dsP_c(X) OMP_O_DS_SERVICE_PKG#X #define OMP_O_DS_C_ABANDON_FAILED dsP_c(\x85\x3d) #define OMP_O_DS_C_ACCESS_POINT dsP_c(\x85\x3e) #define OMP_O_DS_C_ADDRESS dsP_c(\x85\x3f) #define OMP_O_DS_C_ATTRIBUTE dsP_c(\x85\x40) #define OMP_O_DS_C_ATTRIBUTE_ERROR dsP_c(\x85\x41) #define OMP_O_DS_C_ATTRIBUTE_LIST dsP_c(\x85\x42) #define OMP_O_DS_C_ATTRIBUTE_PROBLEM dsP_c(\x85\x43) #define OMP_O_DS_C_AVA dsP_c(\x85\x44) #define OMP_O_DS_C_COMMON_RESULTS dsP_c(\x85\x45) #define OMP_O_DS_C_COMMUNICATIONS_ERROR dsP_c(\x85\x46) #define OMP_O_DS_C_COMPARE_RESULT dsP_c(\x85\x47) #define OMP_O_DS_C_CONTEXT dsP_c(\x85\x48) #define OMP_O_DS_C_CONTINUATION_REF dsP_c(\x85\x49) #define OMP_O_DS_C_DS_DN dsP_c(\x85\x4a) #define OMP_O_DS_C_DS_RDN dsP_c(\x85\x4b) #define OMP_O_DS_C_ENTRY_INFO dsP_c(\x85\x4c) #define OMP_O_DS_C_ENTRY_INFO_SELECTION dsP_c(\x85\x4d) #define OMP_O_DS_C_ENTRY_MOD dsP_c(\x85\x4e) #define OMP_O_DS_C_ENTRY_MOD_LIST dsP_c(\x85\x4f) #define OMP_O_DS_C_ERROR dsP_c(\x85\x50) #define OMP_O_DS_C_EXT dsP_c(\x85\x51) #define OMP_O_DS_C_FILTER dsP_c(\x85\x52) #define OMP_O_DS_C_FILTER_ITEM dsP_c(\x85\x53) #define OMP_O_DS_C_LIBRARY_ERROR dsP_c(\x85\x54) #define OMP_O_DS_C_LIST_INFO dsP_c(\x85\x55) #define OMP_O_DS_C_LIST_INFO_ITEM dsP_c(\x85\x56) #define OMP_O_DS_C_LIST_RESULT dsP_c(\x85\x57) #define OMP_O_DS_C_NAME dsP_c(\x85\x58) #define OMP_O_DS_C_NAME_ERROR dsP_c(\x85\x59) #define OMP_O_DS_C_OPERATION_PROGRESS dsP_c(\x85\x5a) #define OMP_O_DS_C_PARTIAL_OUTCOME_QUAL dsP_c(\x85\x5b) #define OMP_O_DS_C_PRESENTATION_ADDRESS dsP_c(\x85\x5c) #define OMP_O_DS_C_READ_RESULT dsP_c(\x85\x5d) #define OMP_O_DS_C_REFERRAL dsP_c(\x85\x5e) #define OMP_O_DS_C_RELATIVE_NAME dsP_c(\x85\x5f) #define OMP_O_DS_C_SEARCH_INFO dsP_c(\x85\x60) #define OMP_O_DS_C_SEARCH_RESULT dsP_c(\x85\x61) #define OMP_O_DS_C_SECURITY_ERROR dsP_c(\x85\x62) #define OMP_O_DS_C_SERVICE_ERROR dsP_c(\x85\x63) #define OMP_O_DS_C_SESSION dsP_c(\x85\x64) #define OMP_O_DS_C_SYSTEM_ERROR dsP_c(\x85\x65) #define OMP_O_DS_C_UPDATE_ERROR dsP_c(\x85\x66) #else /* These are defined in octal to support pre-ANSI C compilers. */ #define OMP_O_DS_C_ABANDON_FAILED "\53\14\2\207\163\34\0\205\75" #define OMP_O_DS_C_ACCESS_POINT "\53\14\2\207\163\34\0\205\76" #define OMP_O_DS_C_ADDRESS "\53\14\2\207\163\34\0\205\77" #define OMP_O_DS_C_ATTRIBUTE "\53\14\2\207\163\34\0\205\100" #define OMP_O_DS_C_ATTRIBUTE_ERROR "\53\14\2\207\163\34\0\205\101" #define OMP_O_DS_C_ATTRIBUTE_LIST "\53\14\2\207\163\34\0\205\102" #define OMP_O_DS_C_ATTRIBUTE_PROBLEM "\53\14\2\207\163\34\0\205\103" #define OMP_O_DS_C_AVA "\53\14\2\207\163\34\0\205\104" #define OMP_O_DS_C_COMMON_RESULTS "\53\14\2\207\163\34\0\205\105" #define OMP_O_DS_C_COMMUNICATIONS_ERROR "\53\14\2\207\163\34\0\205\106" #define OMP_O_DS_C_COMPARE_RESULT "\53\14\2\207\163\34\0\205\107" #define OMP_O_DS_C_CONTEXT "\53\14\2\207\163\34\0\205\110" #define OMP_O_DS_C_CONTINUATION_REF "\53\14\2\207\163\34\0\205\111" #define OMP_O_DS_C_DS_DN "\53\14\2\207\163\34\0\205\112" #define OMP_O_DS_C_DS_RDN "\53\14\2\207\163\34\0\205\113" #define OMP_O_DS_C_ENTRY_INFO "\53\14\2\207\163\34\0\205\114" #define OMP_O_DS_C_ENTRY_INFO_SELECTION "\53\14\2\207\163\34\0\205\115" #define OMP_O_DS_C_ENTRY_MOD "\53\14\2\207\163\34\0\205\116" #define OMP_O_DS_C_ENTRY_MOD_LIST "\53\14\2\207\163\34\0\205\117" #define OMP_O_DS_C_ERROR "\53\14\2\207\163\34\0\205\120" #define OMP_O_DS_C_EXT "\53\14\2\207\163\34\0\205\121" #define OMP_O_DS_C_FILTER "\53\14\2\207\163\34\0\205\122" #define OMP_O_DS_C_FILTER_ITEM "\53\14\2\207\163\34\0\205\123" #define OMP_O_DS_C_LIBRARY_ERROR "\53\14\2\207\163\34\0\205\124" #define OMP_O_DS_C_LIST_INFO "\53\14\2\207\163\34\0\205\125" #define OMP_O_DS_C_LIST_INFO_ITEM "\53\14\2\207\163\34\0\205\126" #define OMP_O_DS_C_LIST_RESULT "\53\14\2\207\163\34\0\205\127" #define OMP_O_DS_C_NAME "\53\14\2\207\163\34\0\205\130" #define OMP_O_DS_C_NAME_ERROR "\53\14\2\207\163\34\0\205\131" #define OMP_O_DS_C_OPERATION_PROGRESS "\53\14\2\207\163\34\0\205\132" #define OMP_O_DS_C_PARTIAL_OUTCOME_QUAL "\53\14\2\207\163\34\0\205\133" #define OMP_O_DS_C_PRESENTATION_ADDRESS "\53\14\2\207\163\34\0\205\134" #define OMP_O_DS_C_READ_RESULT "\53\14\2\207\163\34\0\205\135" #define OMP_O_DS_C_REFERRAL "\53\14\2\207\163\34\0\205\136" #define OMP_O_DS_C_RELATIVE_NAME "\53\14\2\207\163\34\0\205\137" #define OMP_O_DS_C_SEARCH_INFO "\53\14\2\207\163\34\0\205\140" #define OMP_O_DS_C_SEARCH_RESULT "\53\14\2\207\163\34\0\205\141" #define OMP_O_DS_C_SECURITY_ERROR "\53\14\2\207\163\34\0\205\142" #define OMP_O_DS_C_SERVICE_ERROR "\53\14\2\207\163\34\0\205\143" #define OMP_O_DS_C_SESSION "\53\14\2\207\163\34\0\205\144" #define OMP_O_DS_C_SYSTEM_ERROR "\53\14\2\207\163\34\0\205\145" #define OMP_O_DS_C_UPDATE_ERROR "\53\14\2\207\163\34\0\205\146" #endif /* End-Classes */ /* Attribute Names */ #define DS_ACCESS_POINTS ( (OM_type) 701 ) #define DS_ADDRESS ( (OM_type) 702 ) #define DS_AE_TITLE ( (OM_type) 703 ) #define DS_ALIASED_RDNS ( (OM_type) 704 ) #define DS_ALIAS_DEREFERENCED ( (OM_type) 705 ) #define DS_ALIAS_ENTRY ( (OM_type) 706 ) #define DS_ALL_ATTRIBUTES ( (OM_type) 707 ) #define DS_ASYNCHRONOUS ( (OM_type) 708 ) #define DS_ATTRIBUTES ( (OM_type) 709 ) #define DS_ATTRIBUTES_SELECTED ( (OM_type) 710 ) #define DS_ATTRIBUTE_TYPE ( (OM_type) 711 ) #define DS_ATTRIBUTE_VALUE ( (OM_type) 712 ) #define DS_ATTRIBUTE_VALUES ( (OM_type) 713 ) #define DS_AUTOMATIC_CONTINUATION ( (OM_type) 714 ) #define DS_AVAS ( (OM_type) 715 ) #define DS_CHAINING_PROHIB ( (OM_type) 716 ) #define DS_CHANGES ( (OM_type) 717 ) #define DS_CRIT ( (OM_type) 718 ) #define DS_DONT_DEREFERENCE_ALIASES ( (OM_type) 719 ) #define DS_DONT_USE_COPY ( (OM_type) 720 ) #define DS_DSA_ADDRESS ( (OM_type) 721 ) #define DS_DSA_NAME ( (OM_type) 722 ) #define DS_ENTRIES ( (OM_type) 723 ) #define DS_ENTRY ( (OM_type) 724 ) #define DS_EXT ( (OM_type) 725 ) #define DS_FILE_DESCRIPTOR ( (OM_type) 726 ) #define DS_FILTERS ( (OM_type) 727 ) #define DS_FILTER_ITEMS ( (OM_type) 728 ) #define DS_FILTER_ITEM_TYPE ( (OM_type) 729 ) #define DS_FILTER_TYPE ( (OM_type) 730 ) #define DS_FINAL_SUBSTRING ( (OM_type) 731 ) #define DS_FROM_ENTRY ( (OM_type) 732 ) #define DS_IDENT ( (OM_type) 733 ) #define DS_INFO_TYPE ( (OM_type) 734 ) #define DS_INITIAL_SUBSTRING ( (OM_type) 735 ) #define DS_ITEM_PARAMETERS ( (OM_type) 736 ) #define DS_LIMIT_PROBLEM ( (OM_type) 737 ) #define DS_LIST_INFO ( (OM_type) 738 ) #define DS_LOCAL_SCOPE ( (OM_type) 739 ) #define DS_MATCHED ( (OM_type) 740 ) #define DS_MOD_TYPE ( (OM_type) 741 ) #define DS_NAME_RESOLUTION_PHASE ( (OM_type) 742 ) #define DS_NEXT_RDN_TO_BE_RESOLVED ( (OM_type) 743 ) #define DS_N_ADDRESSES ( (OM_type) 744 ) #define DS_OBJECT_NAME ( (OM_type) 745 ) #define DS_OPERATION_PROGRESS ( (OM_type) 746 ) #define DS_PARTIAL_OUTCOME_QUAL ( (OM_type) 747 ) #define DS_PERFORMER ( (OM_type) 748 ) #define DS_PREFER_CHAINING ( (OM_type) 749 ) #define DS_PRIORITY ( (OM_type) 750 ) #define DS_PROBLEM ( (OM_type) 751 ) #define DS_PROBLEMS ( (OM_type) 752 ) #define DS_P_SELECTOR ( (OM_type) 753 ) #define DS_RDN ( (OM_type) 754 ) #define DS_RDNS ( (OM_type) 755 ) #define DS_RDNS_RESOLVED ( (OM_type) 756 ) #define DS_REQUESTOR ( (OM_type) 757 ) #define DS_SCOPE_OF_REFERRAL ( (OM_type) 758 ) #define DS_SEARCH_INFO ( (OM_type) 759 ) #define DS_SIZE_LIMIT ( (OM_type) 760 ) #define DS_SUBORDINATES ( (OM_type) 761 ) #define DS_S_SELECTOR ( (OM_type) 762 ) #define DS_TARGET_OBJECT ( (OM_type) 763 ) #define DS_TIME_LIMIT ( (OM_type) 764 ) #define DS_T_SELECTOR ( (OM_type) 765 ) #define DS_UNAVAILABLE_CRIT_EXT ( (OM_type) 766 ) #define DS_UNCORRELATED_LIST_INFO ( (OM_type) 767 ) #define DS_UNCORRELATED_SEARCH_INFO ( (OM_type) 768 ) #define DS_UNEXPLORED ( (OM_type) 769 ) /* End-Attributes */ /* Enum The following enumeration tags and enumeration constants are defined for use as values of the corresponding OM attributes: DS_Filter_Item_Type: */ #define DS_EQUALITY ( (OM_enumeration) 0 ) #define DS_SUBSTRINGS ( (OM_enumeration) 1 ) #define DS_GREATER_OR_EQUAL ( (OM_enumeration) 2 ) #define DS_LESS_OR_EQUAL ( (OM_enumeration) 3 ) #define DS_PRESENT ( (OM_enumeration) 4 ) #define DS_APPROXIMATE_MATCH ( (OM_enumeration) 5 ) /* DS_Filter_Type: */ #define DS_ITEM ( (OM_enumeration) 0 ) #define DS_AND ( (OM_enumeration) 1 ) #define DS_OR ( (OM_enumeration) 2 ) #define DS_NOT ( (OM_enumeration) 3 ) /* DS_Information_Type: */ #define DS_TYPES_ONLY ( (OM_enumeration) 0 ) #define DS_TYPES_AND_VALUES ( (OM_enumeration) 1 ) /* DS_Limit_Problem: */ #define DS_NO_LIMIT_EXCEEDED ( (OM_enumeration) -1 ) #define DS_TIME_LIMIT_EXCEEDED ( (OM_enumeration) 0 ) #define DS_SIZE_LIMIT_EXCEEDED ( (OM_enumeration) 1 ) #define DS_ADMIN_LIMIT_EXCEEDED ( (OM_enumeration) 2 ) /* DS_Modification_Type: */ #define DS_ADD_ATTRIBUTE ( (OM_enumeration) 0 ) #define DS_REMOVE_ATTRIBUTE ( (OM_enumeration) 1 ) #define DS_ADD_VALUES ( (OM_enumeration) 2 ) #define DS_REMOVE_VALUES ( (OM_enumeration) 3 ) /* DS_Name_Resolution_Phase: */ #define DS_NOT_STARTED ( (OM_enumeration) 1 ) #define DS_PROCEEDING ( (OM_enumeration) 2 ) #define DS_COMPLETED ( (OM_enumeration) 3 ) /* DS_Priority: */ #define DS_LOW ( (OM_enumeration) 0 ) #define DS_MEDIUM ( (OM_enumeration) 1 ) #define DS_HIGH ( (OM_enumeration) 2 ) /* DS_Problem: */ #define DS_E_ADMIN_LIMIT_EXCEEDED ( (OM_enumeration) 1 ) #define DS_E_AFFECTS_MULTIPLE_DSAS ( (OM_enumeration) 2 ) #define DS_E_ALIAS_DEREFERENCING_PROBLEM ( (OM_enumeration) 3 ) #define DS_E_ALIAS_PROBLEM ( (OM_enumeration) 4 ) #define DS_E_ATTRIBUTE_OR_VALUE_EXISTS ( (OM_enumeration) 5 ) #define DS_E_BAD_ARGUMENT ( (OM_enumeration) 6 ) #define DS_E_BAD_CLASS ( (OM_enumeration) 7 ) #define DS_E_BAD_CONTEXT ( (OM_enumeration) 8 ) #define DS_E_BAD_NAME ( (OM_enumeration) 9 ) #define DS_E_BAD_SESSION ( (OM_enumeration) 10 ) #define DS_E_BAD_WORKSPACE ( (OM_enumeration) 11 ) #define DS_E_BUSY ( (OM_enumeration) 12 ) #define DS_E_CANNOT_ABANDON ( (OM_enumeration) 13 ) #define DS_E_CHAINING_REQUIRED ( (OM_enumeration) 14 ) #define DS_E_COMMUNICATIONS_PROBLEM ( (OM_enumeration) 15 ) #define DS_E_CONSTRAINT_VIOLATION ( (OM_enumeration) 16 ) #define DS_E_DIT_ERROR ( (OM_enumeration) 17 ) #define DS_E_ENTRY_EXISTS ( (OM_enumeration) 18 ) #define DS_E_INAPPROP_AUTHENTICATION ( (OM_enumeration) 19 ) #define DS_E_INAPPROP_MATCHING ( (OM_enumeration) 20 ) #define DS_E_INSUFFICIENT_ACCESS_RIGHTS ( (OM_enumeration) 21 ) #define DS_E_INVALID_ATTRIBUTE_SYNTAX ( (OM_enumeration) 22 ) #define DS_E_INVALID_ATTRIBUTE_VALUE ( (OM_enumeration) 23 ) #define DS_E_INVALID_CREDENTIALS ( (OM_enumeration) 24 ) #define DS_E_INVALID_REF ( (OM_enumeration) 25 ) #define DS_E_INVALID_SIGNATURE ( (OM_enumeration) 26 ) #define DS_E_LOOP_DETECTED ( (OM_enumeration) 27 ) #define DS_E_MISCELLANEOUS ( (OM_enumeration) 28 ) #define DS_E_MISSING_TYPE ( (OM_enumeration) 29 ) #define DS_E_MIXED_SYNCHRONOUS ( (OM_enumeration) 30 ) #define DS_E_NAMING_VIOLATION ( (OM_enumeration) 31 ) #define DS_E_NO_INFO ( (OM_enumeration) 32 ) #define DS_E_NO_SUCH_ATTRIBUTE_OR_VALUE ( (OM_enumeration) 33 ) #define DS_E_NO_SUCH_OBJECT ( (OM_enumeration) 34 ) #define DS_E_NO_SUCH_OPERATION ( (OM_enumeration) 35 ) #define DS_E_NOT_ALLOWED_ON_NON_LEAF ( (OM_enumeration) 36 ) #define DS_E_NOT_ALLOWED_ON_RDN ( (OM_enumeration) 37 ) #define DS_E_NOT_SUPPORTED ( (OM_enumeration) 38 ) #define DS_E_OBJECT_CLASS_MOD_PROHIB ( (OM_enumeration) 39 ) #define DS_E_OBJECT_CLASS_VIOLATION ( (OM_enumeration) 40 ) #define DS_E_OUT_OF_SCOPE ( (OM_enumeration) 41 ) #define DS_E_PROTECTION_REQUIRED ( (OM_enumeration) 42 ) #define DS_E_TIME_LIMIT_EXCEEDED ( (OM_enumeration) 43 ) #define DS_E_TOO_LATE ( (OM_enumeration) 44 ) #define DS_E_TOO_MANY_OPERATIONS ( (OM_enumeration) 45 ) #define DS_E_TOO_MANY_SESSIONS ( (OM_enumeration) 46 ) #define DS_E_UNABLE_TO_PROCEED ( (OM_enumeration) 47 ) #define DS_E_UNAVAILABLE ( (OM_enumeration) 48 ) #define DS_E_UNAVAILABLE_CRIT_EXT ( (OM_enumeration) 49 ) #define DS_E_UNDEFINED_ATTRIBUTE_TYPE ( (OM_enumeration) 50 ) #define DS_E_UNWILLING_TO_PERFORM ( (OM_enumeration) 51 ) /* DS_Scope_Of_Referral: */ #define DS_DMD ( (OM_enumeration) 0 ) #define DS_COUNTRY ( (OM_enumeration) 1 ) /* End-Enum */ /* Constants */ #define DS_DEFAULT_CONTEXT ((OM_object)0) #define DS_DEFAULT_SESSION ((OM_object)0) #define DS_OPERATION_NOT_STARTED ((OM_object)0) #define DS_NO_FILTER ((OM_object)0) #define DS_NULL_RESULT ((OM_object)0) #define DS_SELECT_ALL_TYPES ((OM_object)1) #define DS_SELECT_ALL_TYPES_AND_VALUES ((OM_object)2) #define DS_SELECT_NO_ATTRIBUTES ((OM_object)0) #define DS_SUCCESS ((DS_status)0) #define DS_NO_WORKSPACE ((DS_status)1) /* End-Constants */ /* Integers */ #define DS_COMPLETED_OPERATION ( (OM_uint) 1 ) #define DS_OUTSTANDING_OPERATIONS ( (OM_uint) 2 ) #define DS_NO_OUTSTANDING_OPERATION ( (OM_uint) 3 ) #define DS_MAX_OUTSTANDING_OPERATIONS ( (OM_integer) 32 ) #define DS_NO_VALID_FILE_DESCRIPTOR ( (OM_integer) -1 ) /* search subset */ #define DS_BASE_OBJECT ( (OM_sint) 0 ) #define DS_ONE_LEVEL ( (OM_sint) 1 ) #define DS_WHOLE_SUBTREE ( (OM_sint) 2 ) /* End-Integers */ #endif /* XDS_HEADER */ /* end of xds.h */