20.11. slapi_be_is_flag_set()

Description

Checks if a flag is set in the backend configuration.

Syntax

#include "slapi-plugin.h"
int slapi_be_is_flag_set(Slapi_Backend * be, int flag);

Parameters

This function takes the following parameters:

be Pointer to the structure containing the backend configuration.
flag Flag to check; for example, SLAPI_BE_FLAG_REMOTE_DATA.
Returns

This function returns one of the following values:

  • 0 if a flag is not set in the backend configuration.
  • 1 if a flag is set in the backend configuration.