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

slapi_be_is_flag_set()

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 (SLAPI_BE_FLAG_REMOTE_DATA, SLAPI_BE_FLAG_SUSPENDED).

Returns

This function returns one of the following values: