Sun Directory Server Enterprise Edition 7.0 Developer's Guide

slapi_be_issuffix()

Verifies that the specified suffix matches a registered backend suffix.

Syntax

#include "slapi-plugin.h"
 int slapi_be_issuffix(const Slapi_Backend *be,
    const Slapi_DN *suffix);

Parameters

This function takes the following parameters:

be

Pointer to the structure containing the backend configuration.

suffix

DN of the suffix for which you are looking.

Returns

This function returns one of the following values:

Description

This function checks if the specified suffix exactly matches a registered suffix on a specified backend.