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

slapi_entry_set_sdn()

Sets the Slapi_DN value in an entry.

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.

Description

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

Memory Concerns

This function makes a copy of the sdn argument.