Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 316

Table of Contents

Advertisement

Functions for Managing Entries
Syntax
#include "slapi-plugin.h"
int slapi_entry_add_valueset(Slapi_Entry *e, const char *type,
Slapi_ValueSet *vs);
Parameters
This function takes the following parameters:
e
type
vs
Returns
This function returns
Description
This function adds a set of values to an attribute in an entry. The values added are
in the form of a
attribute specified, it is created with the specified
Memory Concerns
This routine makes a copy of the parameter
slapi_entry_alloc()
Allocates memory for a new entry of the data type
Syntax
#include "slapi-plugin.h"
Slapi_Entry *slapi_entry_alloc();
Returns
This function returns a pointer to the newly allocated entry of the data type
Slapi_Entry
exists), the
Description
This function returns an empty
front-end functions to set the DN and attributes of this entry.
316
Netscape Directory Server Plug-In Programmer's Guide • August 2002
Entry to which you want to add values.
Attribute type to which you want to add values.
Slapi_ValueSet data value that you want to add to the entry.
when successful; any other value returned signals failure.
0
Slapi_ValueSet
. If space cannot be allocated (for example, if no more virtual memory
program terminates.
slapd
Slapi_Entry
data type. If the entry does not contain the
Slapi_ValueSet
.
can be
vs
vs
Slapi_Entry
structure. You can call other
value.
.
NULL
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents