HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
20.12 slapi_be_issuffix()
Description This function checks if the specified suffix exactly matches a registered suffix on a
specified back end.
Syntax
#include "slapi-plugin.h"
int slapi_be_issuffix(const Slapi_Back end *be, const Slapi_DN *suffix );
Parameters This function takes the following parameters:
Pointer to the structure containing the back end configuration.
be
DN of the suffix for which you are looking.
suffix
Returns This function returns one of the following values:
0 if the suffix is not part of the specified back end.
1 if the suffix is part of the specified back end.
20.13 slapi_be_logchanges()
Description Indicates whether the changes applied to the back end should be logged in the
changelog.
Syntax
#include "slapi-plugin.h"
int slapi_be_logchanges(Slapi_Back end *be);
Parameters This function takes the following parameter:
Pointer to the structure containing the back end configuration.
be
Returns This function returns one of the following values:
0 if the changes applied to the specific back end should not be logged in the changelog.
1 if the changes should be logged in the changelog.
20.14 slapi_be_new()
Description Creates a new back end structure, allocates memory for it, and initializes values
for relevant parameters.
Syntax
#include "slapi-plugin.h"
Slapi_Back end *slapi_be_new( const char *type,
const char *name, int is private, int logchanges );
Parameters This function takes the following parameters:
Database type.
type
Database name.
name
Flag to denote whether the database is private.
isprivate
Flag for indicating whether changes are to be logged.
logchanges
Returns This function returns a pointer to the newly-created back end.
20.12 slapi_be_issuffix() 187