Determines whether or not the client has abandoned the current operation (the operation that passes in the parameter block).
#include "slapi-plugin.h" int slapi_op_abandoned( Slapi_PBlock *pb );
This function takes the following parameter:
Parameter block passed in from the current operation.
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 from long-running plug-ins.
This function returns one of the following values:
1 if the operation has been abandoned.
0 if the operation has not been abandoned.