Functions for Monitoring Operations
Chapter
15
Function Reference
419
Functions for Monitoring Operations
This section contains reference information on operation routines.
slapi_op_abandoned()
Determines whether or not the client has abandoned the current operation (the
operation that passes in the parameter block).
Syntax
#include “slapi-plugin.h”
int slapi_op_abandoned( Slapi_PBlock *pb );
Parameters
This function takes the following parameters:
Description
This function allows you to verify if the operation associated to the
pblock
in the
parameter has been abandoned. This function is useful to periodically check the
operations status of long-running plug-ins.
Returns
This function returns one of the following values:
•
1 if the operation has been abandoned.
•
0 if the operation has not been abandoned.
Table 15-20
Operation Routines
Function
Description
slapi_op_abandoned()
Determines if the client has abandoned the current operation.
slapi_op_get_type()
Gets the type of a
Slapi_Operation
.
pb
Parameter block passed in from the current operation.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION
Page 1: ...Plug In Programmer s Guide Netscape Directory Server Version6 2 December 2003...
Page 18: ...18 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 56: ...56 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 112: ...112 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 168: ...Plug In API Reference 168 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 170: ...170 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 600: ...600 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 612: ...612 Netscape Directory Server Plug In Programmer s Guide December 2003...