20.8. slapi_be_getentrypoint()

Description

Sets pointer to a callback function that corresponds to the specified entry point into a given backend.

Syntax

int slapi_be_getentrypoint(Slapi_Backend *be, int entrypoint, 
void **ret_fnptr, Slapi_PBlock *pb);

Parameters

This function takes the following parameters:

be Pointer to the structure containing the backend configuration.
entrypoint Entry point in the backend.
ret_fnptr Opaque pointer to store function address.
pb Pointer to the parameter block.
Returns

This function returns 0 if successful, -1 otherwise.