20.12. slapi_be_issuffix()

Description

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

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:

  • 0 if the suffix is not part of the specified backend.
  • 1 if the suffix is part of the specified backend.