Slapi_Entry_Rdn_Values_Present() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

Syntax
#include "slapi-plugin.h"
int slapi_entry_next_attr( const Slapi_Entry *e,
Slapi_Attr *prevattr, Slapi_Attr **attr );
Parameters
This function takes the following parameters:
e
prevattr
attr
Returns
This function returns one of the following values:
0
-1
Memory Concerns
Never free the returned
needed.
See Also
slapi_attr_dup()

slapi_entry_rdn_values_present()

Determines whether the values in an entry's relative distinguished name (RDN)
are also present as attribute values. For example, if the entry's RDN is
Jensen
Barbara Jensen
Syntax
#include "slapi-plugin.h"
int slapi_entry_rdn_values_present( const Slapi_Entry *e );
Parameters
This function takes the following parameter:
Entry from which you want to get the attribute.
Previous attribute in the entry.
Pointer to the next attribute after prevattr in the entry.
if successful.
if
was the last attribute in the entry.
prevattr
attr
, the function determines if the entry has the
.
. Use
slapi_attr_dup()
Functions for Managing Entries
to make a copy if a copy is
cn=Barbara
attribute with the value
cn
Chapter 15
Function Reference
349

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents