Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 209

Table of Contents

Advertisement

Syntax
#include "slapi-plugin.h"
int slapi_attr_get_bervals_copy( Slapi_Attr *a,
struct berval ***vals );
Parameters
This function takes the following parameters:
a
vals
Returns
This function returns one of the following values:
0
-1
Description
This function copies the values from an attribute into an array of
pointers.
Memory Concerns
You should free this array using
slapi_attr_get_flags()
Gets the flags associated with the specified attribute. These flags can identify an
attribute as a single-valued attribute, an operational attribute, or as a read-only
attribute.
Syntax
#include "slapi-plugin.h"
int slapi_attr_get_flags( Slapi_Attr *attr, unsigned long *flags );
Parameters
This function takes the following parameters:
Attribute that contains the desired values.
Pointer to an array of berval structure pointers to hold the
desired values.
if values are found.
if NULL.
from the LDAP SDK for C.
ber_bvecfree
Chapter 14
Functions for Handling Attributes
structure
berval
Function Reference
209

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents