|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DS_Status | DS_ReadSync (DS_Session *session, const DS_DN *dn, const char *attr_selection[], DS_CommonArgs *common_args, DS_Indication **indication_p) |
| Perform a synchronous directory read entry operation. | |
| DS_Status | DS_SearchSync (DS_Session *session, const DS_DN *base_dn, const char *filter, DSSearchScope search_scope, const char *attr_selection[], DS_CommonArgs *common_args, DS_Indication **indication_p) |
| Perform a synchronous directory search operation. | |
| DS_Status | DS_AddSync (DS_Session *session, const DS_Entry *entry, const DS_CommonArgs *common_args, DS_Indication **indication_p) |
| Perform a synchronous directory add operation. | |
| DS_Status | DS_AddSyncByDN (DS_Session *session, const DS_DN *dn, const DS_AttrList *attrs, const DS_CommonArgs *common_args, DS_Indication **indication_p) |
| Perform a synchronous directory add operation. | |
| DS_Status | DS_DeleteSync (DS_Session *session, const DS_DN *dn, const DS_CommonArgs *common_args, DS_Indication **indication_p) |
| Perform a synchronous directory delete operation. | |
| DS_Status | DS_ModifySync (DS_Session *session, const DS_Entry *entry, const DS_CommonArgs *common_args, DS_Indication **indication_p) |
| Perform a synchronous directory modify operation. | |
| DS_Status | DS_ModifySyncByDN (DS_Session *session, const DS_DN *dn, const DS_AttrList *changes, const DS_CommonArgs *common_args, DS_Indication **indication_p) |
| Perform a synchronous directory modify operation. | |
| DS_Status | DS_RenameSync (DS_Session *session, const DS_DN *old_dn, const DS_DN *new_dn, int delete_old_rdn, const DS_CommonArgs *common_args, DS_Indication **indication_p) |
| Perform a synchronous directory rename operation. | |
| DS_Status | DS_CompareSync (DS_Session *session, const DS_DN *dn, const DS_Attr *attr, const DS_CommonArgs *common_args, DS_Indication **indication_p) |
| Perform a synchronous directory compare operation. | |
| DS_Status | DS_ReadAsync (DS_Session *session, const DS_DN *dn, const char *attr_selection[], DS_CommonArgs *common_args, int *ret_op_id) |
| Invoke an asynchronous directory read entry operation. | |
| DS_Status | DS_Poll (DS_Session *session, int op_id, DS_Indication **indication_p) |
| Poll for an asynchronous operation indication. | |
| DS_Status | DS_Cancel (DS_Session *session, int op_id) |
| Cancel a previously issued asynchronous operation. | |
Functions | |
| DS_Status | DS_Initialize (void) |
| Initialize the Simple Directory API. | |
| void | DS_InitializeSecurity (const char *path) |
| Initialize the security environment. | |
| void | DS_UninitializeSecurity (void) |
| Disable strong operations and release any resources associated with the security environment. | |
| int | DS_Version (void) |
| Return the DSAPI library version. | |
| DS_Status | DS_Session_New (const char *address, int force_tls, DS_Session **session_p) |
| Create an unbound directory session. | |
| DS_Status | DS_BindAnonymousSync (DS_Session *session, DS_CommonArgs *common_args, DS_Indication **indication_p) |
| Perform an anonymous synchronous directory bind. | |
| DS_Status | DS_BindSync_Anonymous (const char *address, DS_Session **session_p) |
| Perform an anonymous synchronous directory bind. | |
| DS_Status | DS_BindSimpleSync (DS_Session *session, const DS_DN *dn, const char *password, DS_CommonArgs *common_args, DS_Indication **indication_p) |
| Perform a synchronous directory bind using simple credentials. | |
| DS_Status | DS_BindSync_Simple (const char *address, const DS_DN *dn, const char *password, DS_Session **session_p) |
| Perform a synchronous directory bind using simple credentials. | |
| DS_Status | DS_BindStrongSync (DS_Session *session, const DS_DN *dsa_dn, const DS_DN *dn, const char *password, DS_CommonArgs *common_args, DS_Indication **indication_p) |
| Perform a synchronous directory bind using strong credentials. | |
| DS_Status | DS_BindSync_Strong (const char *address, const DS_DN *dsa_dn, const DS_DN *dn, const char *password, DS_Session **session_p) |
| Perform a synchronous directory bind using strong credentials. | |
| DS_Status | DS_BindSASLSync (DS_Session *session, const char *mechanism, const char *userid, const char *secret, DS_CommonArgs *common_args, DS_Indication **indication_p) |
| Perform a synchronous directory bind using SASL. | |
| DS_Status | DS_BindSync_SASL (const char *address, const char *mechanism, const char *userid, const char *secret, DS_Session **session_p) |
| Perform a synchronous directory bind using SASL. | |
| void | DS_UnbindSync (DS_Session **session_p) |
| Perform a synchronous directory unbind. | |
| DS_Status | DS_AllowUnknownAttrs (DS_Session *session, int allow_unknown) |
| Turn on or off the flag that allows unknown attributes to be read over LDAP. | |
| DS_Status | DS_GetAllowUnknownAttrs (DS_Session *session, int *allow_unknown_p) |
| Get the values of the flag that allows unknown attributes to be read over LDAP. | |
| DS_Status | DS_Indication_GetStatus (DS_Indication *indication, DS_ErrorType *type_p) |
| Get the directory (operation) error type. | |
| DS_Status | DS_Indication_GetErrorCodes (DS_Indication *indication, DS_ErrorType *type_p, DS_ErrorValue *value_p) |
| Get the directory (operation) error type and value codes. | |
| DS_Status | DS_Indication_GetSignatureError (DS_Indication *indication, int *sign_error_p) |
| Determine whether signature verification failed for a signed operation. | |
| DS_Status | DS_Indication_GetLimitProblem (DS_Indication *indication, DSLimitProblem *limit_p) |
| Get any limit problem associated with a search result. | |
| DS_Status | DS_Indication_GetEntryCount (DS_Indication *indication, int *ret_num_p) |
| Return a count of the set of entries contained in the operation outcome. | |
| DS_Status | DS_Indication_GetEntryList (DS_Indication *indication, const DS_EntryList **entry_list_p) |
| Return the set of entries contained in the operation outcome. | |
| DS_Status | DS_Indication_GetCompareResult (DS_Indication *indication, int *matched) |
| Return a flag indicating whether a compare operation found a match. | |
| DS_Status | DS_Indication_GetContinuationReferences (const DS_Indication *indication, const DS_ReferralList **referral_list_p) |
| Return the set of continuation references resulting from a search operation. | |
| DS_Status | DS_Indication_GetReferrals (const DS_Indication *indication, const DS_ReferralList **referral_list_p) |
| Return information about an operation for which the directory returned a referral. | |
| DS_Status | DS_Indication_GetPasswordPolicyExpiryWarning (const DS_Indication *indication, int *time_before_expiration_p) |
| Return the expiry time of the current account's password. | |
| DS_Status | DS_Indication_GetPasswordPolicyGraceWarning (const DS_Indication *indication, int *grace_authentications_remaining_p) |
| Return the number of grace authentications left for the current account's password. | |
| DS_Status | DS_Indication_GetPasswordPolicyErrorCode (const DS_Indication *indication, DS_PasswordPolicyError *error_p) |
| Return the error code relating to the current account's password. | |
| DS_Status | DS_Indication_GetExtraErrorText (const DS_Indication *indication, const char **error_text_p) |
| Determine the supplementary text string returned by the directory. | |
| void | DS_Indication_Delete (DS_Indication *indication) |
| Free a DS_Indication structure. | |
This is the set of procedures used to invoke operations on the directory and receive any results or errors.
Definition in file dsapi.h.