Slapi_Attr_Types_Equivalent(); Slapi_Attr_Value_Cmp() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

slapi_attr_get_type()

slapi_attr_types_equivalent()

slapi_attr_basetype()
slapi_attr_types_equivalent()
Compares two attribute names to determine if they represent the same attribute.
Syntax
#include "slapi-plugin.h"
int slapi_attr_types_equivalent( const char *t1, const char *t2 );
Parameters
This function takes the following parameters:
t1
t2
Returns
This function returns one of the following values:
1
0
See Also
slapi_attr_add_value()
slapi_attr_first_value()
slapi_attr_next_value()
slapi_attr_get_numvalues()
slapi_attr_value_find()

slapi_attr_value_cmp()

Compares two values for a given attribute to determine if they are equal.
Pointer to the first attribute type that you want to compare.
Pointer to the second attributed type that you want to compare.
if
and
represent the same attribute.
t1
t2
if
and
do not represent the same attribute.
t1
t2
Functions for Handling Attributes
Chapter 15
Function Reference
269

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents