a
numValues
Returns
This function always returns 0.
Description
This function counts the number of values in an attribute and places that count in
an integer.
See Also
slapi_attr_first_value()
slapi_attr_next_value()
slapi_attr_get_oid_copy()
Searches the syntaxes for an attribute type, and returns a copy of its OID string.
Syntax
#include "slapi-plugin.h"
int slapi_attr_get_oid_copy( const Slapi_Attr *attr, char **oidp );
Parameters
This function takes the following parameters:
attr
oidp
Returns
This function returns one of the following values:
•
0 if the attribute type is found.
•
-1 if it is not.
Attribute containing the values to be counted.
Integer to hold the counted values.
Attribute that contains the desired type.
Destination string of the copied attribute type oid.
Functions for Handling Attributes
Chapter 14
Function Reference
211
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.02 - PLUG-IN and is the answer not in the manual?
Questions and answers