Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 251

Table of Contents

Advertisement

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 15
Function Reference
251

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents