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

slapi_sdn_issuffix()

Checks whether a Slapi_DN structure contains a suffix of another Slapi_DN structure.

Syntax

#include "slapi-plugin.h"
 int slapi_sdn_issuffix(const Slapi_DN *sdn,
    const Slapi_DN *suffixsdn);

Parameters

This function takes the following parameters:

sdn

Pointer to the Slapi_DN structure to be checked.

suffixsdn

Pointer to the Slapi_DN structure of the suffix.

Returns

This function returns one of the following values:

See Also

slapi_sdn_isparent()