24.35. slapi_entry_get_sdn()

Returns the Slapi_DN object from the entry that you specify.
Syntax

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

Parameters

This function takes the following parameter:

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

Returns the Slapi_DN object form 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()