Gets the parent DN of a given Slapi_DN structure.
#include "slapi-plugin.h" void slapi_sdn_get_parent(const Slapi_DN *sdn,Slapi_DN *sdn_parent);
This function takes the following parameters:
Pointer to the initialized Slapi_DN structure containing the DN whose parent is searched.
Pointer to the Slapi_DN structure where the parent DN is returned.
This function returns a Slapi_DN structure containing the parent DN of the DN kept in the structure pointed to by sdn.