19.20. slapi_attr_types_equivalent()

Description

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 attributed type that you want to compare.
Returns

This function returns one of the following values:

  • 1 if t1 and t2 represent the same attribute.
  • 0 if t1 and t2 do not represent the same attribute.