Creates a new Slapi_RDN structure and sets an RDN value.
#include "slapi-plugin.h" Slapi_RDN * slapi_rdn_new_rdn(const Slapi_RDN *fromrdn);
This function takes the following parameters:
The RDN value to be set in the new Slapi_RDN structure.
This function returns a pointer to the new Slapi_RDN structure with an RDN set to the content of fromrdn.
This function creates a new Slapi_RDN structure and initializes its RDN with the value of fromrdn.
The memory is allocated by the function itself.