Sun Java System Directory Server Enterprise Edition 6.2 Developer's Guide

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

Pointer to the first attribute type that you want to compare.

t2

Pointer to the second attribute type that you want to compare.

Returns

This function returns the one of the following values:

See Also

slapi_attr_add_value()

slapi_attr_first_value_const()

slapi_attr_next_value_const()

slapi_attr_get_numvalues()

slapi_attr_value_find()