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

slapi_rdn_init_dn()

Initializes a Slapi_RDN structure with an RDN value taken from a given DN.

Syntax

#include "slapi-plugin.h"
 void slapi_rdn_init_dn(Slapi_RDN *rdn,const char *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.

Description

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

See Also

slapi_rdn_init_rdn()

slapi_rdn_init_sdn()