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_LDAPDN structure. The address of a SLAPI_LDAPDN structure must be an address that is returned by slapi_dn2ldapdn().
Usage
This routine frees the memory that is allocated by slapi_dn2ldapdn(). This function takes the address of an address of a SLAPI_LDAPDN structure.
Errors
This routine returns the number of RDNs in an LDAP DN structure.
See also
slapi_dn2ldapdn().