24.45. slapi_entry_set_sdn()

Description

This function sets the value for the Slapi_DN object in the entry you specify.

Syntax

#include "slapi-plugin.h"
void slapi_entry_set_sdn( Slapi_Entry *e, const Slapi_DN *sdn );

Parameters

This function takes the following parameters:

e
Entry to which you want to set the value of the Slapi_DN.
sdn
The specified Slapi_DN value that you want to set.
Memory Concerns

This function makes a copy of the sdn argument.