37.27. slapi_rdn_set_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.

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 RDN value to be set in rdn.