Chapter 34. Functions for Monitoring Operations
Table 34.1. 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. |
34.1. slapi_op_abandoned()
This function allows you to verify if the operation associated to the pblock in the parameter has been abandoned. This function is useful to check periodically the operations status of long-running plug-ins.
#include "slapi-plugin.h" int slapi_op_abandoned( Slapi_PBlock *pb );
This function takes the following parameter:
|
pb
| Parameter block passed in from the current operation. |
This function returns one of the following values:
- 1 if the operation has been abandoned.
- 0 if the operation has not been abandoned.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.