be
flag
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.
slapi_be_issuffix()
Verifies that the specified suffix matches a registered backend suffix.
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
suffix
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.
Description
This function checks if the specified suffix exactly matches a registered suffix on a
specified backend.
Pointer to the structure containing the backend configuration.
Flag to check (for example, SLAPI_BE_FLAG_REMOTE_DATA).
Pointer to the structure containing the backend configuration.
DN of the suffix for which you are looking.
Functions for Managing Backend Operations
Chapter 15
Function Reference
269