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

slapi_sdn_compare()

Compares two DNs.

Syntax

#include "slapi-plugin.h"
 int slapi_sdn_compare( const Slapi_DN *sdn1, const Slapi_DN *sdn2 );

Parameters

This function takes the following parameters:

sdn1

DN to compare with the value in sdn2.

sdn2

DN to compare with the value in sdn1.

Returns

This function returns one of the following values:

Description

This function compares two DNs, sdn1 and sdn2. The comparison is case sensitive.