HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
#include "slapi-plugin.h"
char *slapi_entry_get_ndn( Slapi_Entry *e );
Parameters This function takes the following parameter:
Entry from which you want to obtain the normalized DN.e
Returns This function returns the normalized DN from the entry that you specify. If the entry
you specify does not contain a normalized DN, one is created through the processing of this
function.
Memory concerns Never free this value.
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:
Entry from which you want to get the Slapi_DN object.e
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()”
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:
Entry from which you want to get the Slapi_DN object.e
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()”
24.37 slapi_entry_get_uniqueid()
Gets the unique ID value of the entry.
Syntax
#include "slapi-plugin.h"
const char *slapi_entry_get_uniqueid( const Slapi_Entry *e );
Parameters This function takes the following parameter:
Entry from which you want obtain the unique ID.
e
226 Functions for managing entries