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

slapi_rdn_set_dn()

Sets an RDN value in a Slapi_RDN structure.

Syntax

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

Parameters

This function takes the following parameters:

rdn

The target Slapi_RDN structure.

dn

The DN value whose RDN will be set in 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. The new RDN is taken from the DN value present in the dn parameter.

See Also

slapi_rdn_set_rdn()

slapi_rdn_set_sdn()