HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
17.2 slapi_delete_internal_pb()
Description This function performs an internal delete operation based on a parameter block to
remove a directory entry. The parameter block should be initialized by calling
slapi_delete_internal_set_pb().
Syntax
#include "slapi-plugin.h"
int slapi_delete_internal_pb(Slapi_PBlock *pb);
Parameters This function takes the following parameter:
A parameter block that has been initialized using
slapi_delete_internal_set_pb().
pb
Returns This function returns one of the following values:
0 if successful.
-1 if an error occurs. If -1 is returned, the SLAPI_PLUGIN_INTOP_RESULT field of the
parameter block should be consulted to determine the precise LDAP result code.
Memory concerns None of the parameters that are passed to
slapi_delete_internal_set_pb() are altered or consumed by this function.
17.3 slapi_free_search_results_internal()
Description Frees search results returned by the slapi_search_internal_pb() and
slapi_search_internal_callback_pb() functions.
This function must be called when you are finished with the entries before freeing the pblock.
Syntax
#include "slapi-plugin.h"
void slapi_free_search_results_internal(Slapi_PBlock *pb);
Parameters This function takes the following parameters:
Parameter block returned by the slapi_search_internal_pb() and
slapi_search_internal_callback_pb() functions.
pb
17.4 slapi_modify_internal_pb()
Description This function performs an internal modify operation based on a parameter block.
The parameter block should be initialized by calling slapi_modify_internal_set_pb().
Syntax
#include "slapi-plugin.h"
int slapi_modify_internal_pb(Slapi_PBlock *pb);
Parameters This function takes the following parameter:
A parameter block that has been initialized using
slapi_modify_internal_set_pb().
pb
Returns This function returns one of the following values:
0 if successful.
-1 if an error occurs. If -1 is returned, the SLAPI_PLUGIN_INTOP_RESULT field of the
parameter block should be consulted to determine the precise LDAP result code.
Memory concerns None of the parameters that are passed to
slapi_modify_internal_set_pb() are altered or consumed by this function.
160 Functions for internal operations and plug-in callback