20.20. slapi_be_set_readonly()

Description

Sets a flag to denote that the backend is meant tobe read-only.

Syntax

#include "slapi-plugin.h"
void slapi_be_set_readonly(Slapi_Backend *be, int readonly);

Parameters

This function takes the following parameters:

be Pointer to the structure containing the backend configuration.
readonly Flag to specify the read-only status.