Summary: Isode provides a number of APIs which allow integrators and product developers to build components that allow client programs to connect to, query and modify data in the directory.
dsapi_name.h File Reference

Directory client API methods for handling directory names. More...

#include <stddef.h>
#include <isode/ds/dsapi/dsapi_cdecl.h>
#include <isode/ds/dsapi/dsapi_types.h>

Go to the source code of this file.

Functions

DS_Status DS_String2DN (const char *str_dn, DS_DN **dn_p)
 Convert an LDAPv3 string formatted DN to the API structure. More...
 
DS_Status DS_DN2String (const DS_DN *dn, char **str_p, size_t *len_p)
 Convert a DSAPI DN to the LDAPv3 string representation. More...
 
DS_Status DS_DN2CanonicalString (const DS_DN *dn, char **str_p, size_t *len_p)
 Obtain a canonical string representation of a DSAPI DN. More...
 
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. More...
 
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. More...
 
DS_Status DS_RDN2DN (const DS_AttrList *attr_list, DS_DN **dn_p)
 Convert a set of attributes (an RDN) to a DSAPI DN. More...
 
DS_Status DS_DN_AppendDN (DS_DN *dn, const DS_DN *suffix_dn)
 Append another DN to this DN. More...
 
DS_Status DS_DN_GetParentDN (const DS_DN *dn, const DS_DN **dn_p)
 Return the parent of a DN. More...
 
DS_Status DS_DN_CompareDN (const DS_DN *dn1, const DS_DN *dn2, int *notequal_p)
 Compare two DNs. More...
 
DS_Status DS_DN_OrderCompareDN (const DS_DN *dn1, const DS_DN *dn2, int *result_p)
 Compare two DNs for ordering. More...
 
DS_Status DS_InternalDN2DSDN (const DS_InternalDN *if_dn, DS_DN **dn_p)
 Convert an internal representation of a DN into a DN. More...
 
DS_Status DS_DSDN2InternalDN (const DS_DN *ds_dn, DS_InternalDN **if_dn_p)
 Convert a DN into an internal representation of a DN. More...
 
void DS_InternalDN_Delete (DS_InternalDN *if_dn)
 Free an internal representation of a DN. More...
 
void DS_DN_Delete (DS_DN *dn)
 Free a DN. More...
 
DS_Status DS_DN_Copy (const DS_DN *dn, DS_DN **copy_p)
 Copy a DN. More...
 
void DS_DNList_Delete (DS_DNList *dn_list)
 Free a DN list. More...
 

Detailed Description

Directory client API methods for handling directory names.

These API methods implement access to and manipulation of directory names.

Definition in file dsapi_name.h.