dsapi_name.h
DS_Status DS_DN2String(const DS_DN *dn, char **str_p, size_t *len_p)
Convert a DSAPI DN to the LDAPv3 string representation.
void DS_InternalDN_Delete(DS_InternalDN *if_dn)
Free an internal representation of a DN.
DS_Status DS_DN_GetRDN(const DS_DN *dn, const DS_AttrList **attr_list_p)
Return the RDN (a set of attributes) of the given directory name.
DS_Status DS_RDN2DN(const DS_AttrList *attr_list, DS_DN **dn_p)
Convert a set of attributes (an RDN) to a DSAPI DN.
DS_Status DS_InternalDN2DSDN(const DS_InternalDN *if_dn, DS_DN **dn_p)
Convert an internal representation of a DN into a DN.
DS_Status DS_DN_AppendDN(DS_DN *dn, const DS_DN *suffix_dn)
Append another DN to this DN.
DS_Status DS_DN2CanonicalString(const DS_DN *dn, char **str_p, size_t *len_p)
Obtain a canonical string representation of a DSAPI DN.
DS_Status DS_DSDN2InternalDN(const DS_DN *ds_dn, DS_InternalDN **if_dn_p)
Convert a DN into an internal representation of a DN.
DS_Status DS_DN_GetParentDN(const DS_DN *dn, const DS_DN **dn_p)
Return the parent of a DN.
DS_Status DS_DN_OrderCompareDN(const DS_DN *dn1, const DS_DN *dn2, int *result_p)
Compare two DNs for ordering.
DS_Status DS_String2DN(const char *str_dn, DS_DN **dn_p)
Convert an LDAPv3 string formatted DN to the API structure.
DS_Status DS_DN_CompareDN(const DS_DN *dn1, const DS_DN *dn2, int *notequal_p)
Compare two DNs.
Directory API type definitions and forward declarations of private types.
DS_Status DS_DN_GetHashCode(const DS_DN *dn, unsigned int *hash_p)
Derive a hash code based on the canonical representation of the target DSAPI DN.