37.15. slapi_rdn_init_dn()

Description

This function initializes a given Slapi_RDN structure with the RDN value taken from the DN passed in the dn parameter.

Syntax

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

Parameters

This function takes the following parameters:

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