Sun Directory Server Enterprise Edition 7.0 Developer's Guide

slapi_dn_plus_rdn()

Adds an RDN to DN.

Syntax

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

Parameters

This function takes the following parameters:

dn

DN value to which a new RDN is to be added.

rdn

RDN value that is to be added to the DN value in dn.

Returns

This function returns the new DN formed by adding the RDN value in rdn to the DN value in dn.

Memory Concerns

You must free the string returned with slapi_ch_free_string().

See Also

slapi_sdn_add_rdn()