slapi_dn_free_ldapdn()
This routine frees the SLAPI_LDAPDN structure.
This structure must be allocated and returned by calling slapi_dn2ldapdn().
- Syntax
#include <slapi-plugin.h> void slapi_dn_free_ldapdn( SLAPI_LDAPDN **ldapdn);- Input Parameters
-
- ldapdn
- Specifies the address of an address of a
SLAPI_LDAPDNstructure. The address of aSLAPI_LDAPDNstructure must be an address that is returned byslapi_dn2ldapdn().
- Usage
- This routine frees the memory that is allocated by
slapi_dn2ldapdn(). This function takes the address of an address of aSLAPI_LDAPDNstructure. - Errors
- This routine returns the number of RDNs in an LDAP DN structure.
- See also
- slapi_dn2ldapdn().