Initializes a Slapi_RDN structure with an RDN value taken from the DN contained in a given Slapi_DN structure.
#include "slapi-plugin.h" void slapi_rdn_init_sdn(Slapi_RDN *rdn,const Slapi_DN *sdn);
This function takes the following parameters:
The Slapi_RDN structure to be initialized.
The Slapi_DN structure containing the DN value whose RDN will be used to initialize the new Slapi_RDN structure.
This function initializes a given Slapi_RDN structure with the RDN value taken from the DN passed within the Slapi_DN structure of the sdn parameter.