Creates a new Slapi_DN structure and sets a DN value.
#include "slapi-plugin.h" Slapi_DN *slapi_sdn_new_dn_passin(const char *dn);
This function takes the following parameter:
The DN value to be set in the new Slapi_DN structure.
This function returns a pointer to the new Slapi_DN structure with DN value set to the content of dn.
This function creates a new Slapi_DN structure and initializes its DN with the value of dn. The DN of the new structure will point to the string pointed to by dn. The FLAG_DN flag is set and the internal counter is incremented.
The memory is allocated by the function itself.