#include "slapi-plugin.h" Slapi_DN *slapi_sdn_add_rdn(Slapi_DN *sdn, const Slapi_RDN *rdn);
This function takes the following parameters:
Slapi_DN structure containing the value to which a new RDN is to be added.
Slapi_RDN structure containing the RDN value that is to be added to the DN value.
This function returns the Slapi_DN structure with the new DN formed by adding the RDN value in rdn to the DN value in dn.