Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 234

Table of Contents

Advertisement

Functions for Managing Backend Operations
slapi_be_setentrypoint()
Sets the entry point in the backend to the specified function.
Syntax
#include "slapi-plugin.h"
int slapi_be_setentrypoint(Slapi_Backend *be, int entrypoint,
void *ret_fnptr, Slapi_PBlock *pb);
Parameters
This function takes the following parameters:
be
entrypoint
ret_fnptr
pb
Returns
This function returns 0 if successful, -1 otherwise.
slapi_get_first_backend()
Returns a pointer of the backend structure of the first backend.
Syntax
#include "slapi-plugin.h"
Slapi_Backend* slapi_get_first_backend(char **cookie);
Parameters
This function takes the following parameter:
cookie
234
Netscape Directory Server Plug-In Programmer's Guide • May 2002
Pointer to the structure containing the backend configuration.
Entry point in the backend.
Opaque pointer to store function address.
Pointer to the parameter block.
Output parameter containing the index of the returned backed.
This is useful for calls to slapi_get_next_backend().
Contains 0 in output if no backend is returned.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents