Sun Java System Directory Server Enterprise Edition 6.2 Developer's Guide

slapi_rdn_init_sdn()

Initializes a Slapi_RDN structure with an RDN value taken from the DN contained in a given Slapi_DN structure.

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.

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.

See Also

slapi_rdn_init_dn()

slapi_rdn_init_rdn()