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

For plug-in
Table of Contents

Advertisement

Functions for Managing Entries
Parameters
This function takes the following parameters:
e
type
vals
Returns
This function returns one of the following values:
LDAP_SUCCESS
LDAP_NO_SUCH_ATTRIBUTE
Description
This function adds additional
contained in an attribute. If the attribute type does not exist, it is created.
If the specified attribute exists in the entry, the function merges the value
specified and returns
function creates it with the
LDAP_NO_SUCH_ATTRIBUTE
If this function fails, it leaves the values for
indeterminate state. The present valueset may be truncated.
rc = delete_values_sv_internal( e,
Memory Concerns
This function makes a copy of

slapi_entry_next_attr()

Finds the next attribute after
attributes in an entry, use this function in conjunction with the
slapi_entry_first_attr()
348
Netscape Directory Server Plug-in Programmer's Guide • October 2004
Entry into which you want to merge values.
Attribute type that contains the values you want to merge.
Values that you want to merge into the entry. Values are of type
Slapi_Value.
.
.
Slapi_Value
LDAP_SUCCESS
Slapi_Value
.
type, vals, 1 /* Ignore Errors */ );
vals
prevattr
function.
data values to the existing values
. If the attribute is not found in the entry, the
specified and returns
within a pointer to
type
.
can be
.
vals
NULL
in an entry. To iterate through the
in an
e

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents