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( const 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 15
Functions for Handling Attributes
structure
berval
Function Reference
259
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?
Questions and answers