37.17. slapi_rdn_init_sdn()

Description

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.

Syntax

#include "slapi-plugin.h"
void slapi_rdn_init_sdn(Slapi_RDN *rdn,const Slapi_DN *sdn);

Parameters

This function takes the following parameters:

rdn
The Slapi_RDN structure to be initialized.
sdn
The Slapi_DN structure containing the DN value whose RDN will be used to initialize the new Slapi_RDN structure.