Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 296

Table of Contents

Advertisement

Functions for Managing Entries
Note that if this function fails, it leaves the values for
an indeterminate state. The present value set 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
in an entry, use this function in conjunction with the
function.
Syntax
#include "slapi-plugin.h"
int slapi_entry_next_attr( 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()
296
Netscape Directory Server Plug-In Programmer's Guide • May 2002
type, vals, 1 /* Ignore Errors */ );
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
.
can be
vals
vals
NULL
in an entry. To iterate through the attributes
prevattr
. Use
slapi_attr_dup()
within a pointer to
type
.
slapi_entry_first_attr()
to make a copy if a copy is
in
e

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents