37.22. slapi_rdn_new_sdn()
This function creates a new Slapi_RDN structure and initializes its RDN with the value taken from the DN passed within the Slapi_RDN structure of the sdn parameter.
#include "slapi-plugin.h" vSlapi_RDN *slapi_rdn_new_sdn(const Slapi_DN *sdn);
This function takes the following parameter:
|
sdn
| Slapi_RDN structure containing the DN value whose RDN will be used to initialize the new Slapi_RDN structure. |
This function returns a pointer to the new Slapi_RDN structure initialized with the RDN taken from the DN value in dn.
The memory is allocated by the function itself.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.