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

For plug-in
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
the
slapd
Description
This function returns an empty
front-end functions to set the DN and attributes of this entry.
326
Netscape Directory Server Plug-in Programmer's Guide • October 2004
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, e.g., no more virtual memory exists,
program terminates.
data type. If the entry does not contain the
Slapi_ValueSet
.
can be
vs
vs
Slapi_Entry
structure. You can call other
Slapi_Entry
value.
.
NULL
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents