Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 249

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 if values are found.
-1 if NULL.
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.
ber_bvecfree
Functions for Handling Attributes
berval
from the LDAP SDK for C.
Chapter 15
Function Reference
structure
249

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents