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

slapi_rdn_set_rdn()

Sets an RDN in a Slapi_RDN structure.

Syntax

#include "slapi-plugin.h"
 void slapi_rdn_set_rdn(Slapi_RDN *rdn,const Slapi_RDN *fromrdn);

Parameters

This function takes the following parameters:

rdn

The target Slapi_RDN structure.

fromrdn

The Slapi_RDN structure from which to take the RDN.

Description

This function sets an RDN value in a Slapi_RDN structure. The structure is freed from memory and freed of any previous content before setting the new RDN.

See Also

slapi_rdn_set_dn()

slapi_rdn_set_sdn()