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

slapi_sdn_get_rdn()

Gets the RDN from a DN.

Syntax

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

Parameters

This function takes the following parameters:

sdn

Pointer to the Slapi_DN structure containing the DN.

rdn

Pointer to the Slapi_RDN structure where the RDN is returned.

Description

This function takes the DN stored in the Slapi_DN structure pointed to by sdn and retrieves its returned RDN within the Slapi_RDN structure pointed to by rdn.

See Also

slapi_sdn_add_rdn()

slapi_sdn_get_dn()