Functions for Managing Entries
Chapter
15
Function Reference
315
Syntax
#include “slapi-plugin.h”
int slapi_entry_add_values_sv( Slapi_Entry *e, const char *type,
Slapi_Value **vals );
Parameters
This function takes the following parameters:
Returns
This function returns one of the following values:
•
LDAP_SUCCESS
if the
Slapi_Value
array is successfully added to the attribute.
•
LDAP_TYPE_OR_VALUE_EXISTS
if any values you are trying to add duplicate an
existing value in the attribute.
•
LDAP_OPERATIONS_ERROR
if there are pre-existing duplicate values in the
attribute.
Description
This function adds an array of
Slapi_Value
data values to an attribute. If the
attribute does not exist, it is created and given the value contained in the
Slapi_Value
array.
This function replaces the deprecated
slapi_entry_add_values()
function. This
function uses
Slapi_Value
attribute values instead of the now obsolete
berval
attribute values.
Memory Concerns
This routine makes a copy of the parameter
vals
.
vals
can be
NULL
.
See Also
slapi_entry_add_values()
slapi_entry_add_valueset()
Add a
Slapi_ValueSet
data value to the specified attribute in an entry.
e
Entry to which you want to add values.
type
Attribute type to which you want to add values.
vals
Array of
Slapi_Value
data values that you want to add.
Содержание NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION
Страница 1: ...Plug In Programmer s Guide Netscape Directory Server Version6 2 December 2003...
Страница 18: ...18 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 26: ...Types of Directory Server Plug Ins 26 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 38: ...Compiling a Directory Server Plug In 38 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 54: ...An Example Pre Operation Plug In 54 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 56: ...56 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 90: ...Processing an LDAP Abandon Operation 90 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 110: ...Using SASL with an LDAP Client 110 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 112: ...112 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 122: ...Specifying Start and Close Functions 122 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 168: ...Plug In API Reference 168 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 170: ...170 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 214: ...Summary of Data Types and Structures 214 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 554: ...Functions for Registering Additional Plug Ins 554 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 596: ...Parameters for the Virtual Attribute Service 596 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 600: ...600 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 612: ...612 Netscape Directory Server Plug In Programmer s Guide December 2003...