Sun Directory Server Enterprise Edition 7.0 Developer's Guide

slapi_be_get_readonly()

Indicates if the database associated with the backend is in read-only mode.

Syntax

#include "slapi-plugin.h"
 int slapi_be_get_readonly(Slapi_Backend *be);

Parameters

This function takes the following parameter:

be

Pointer to the structure containing the backend configuration.

Returns

This function returns one of the following values: