24.36. slapi_entry_get_sdn_const()

Returns as a const the value of the Slapi_DN object from the entry that you specify.
Syntax

#include "slapi-plugin.h"
const Slapi_DN *slapi_entry_get_sdn_const ( const Slapi_Entry *e );

Parameters

This function takes the following parameter:

e
Entry from which you want to get the Slapi_DN object.
Returns

This function returns as a const the value of the Slapi_DN object from the entry that you specify.

Memory Concerns

Never free this value. If you need a copy, use slapi_sdn_dup().

See Also

slapi_sdn_dup()