Slapi_Attr_Get_Oid_Copy() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

a
numValues
Returns
This function always returns
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
-1
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.
if the attribute type is found.
if it is not.
.
0
Functions for Handling Attributes
Chapter 15
Function Reference
261

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents