51.18. slapi_task_set_destructor_fn()

Sets a callback to be used when a task is destroyed.
The destruction of the task itself is taken care of automatically, but a callback can be set to clean up any data that were passed with slapi_task_set_data().
Syntax

void slapi_task_set_destructor_fn(Slapi_Task *task, TaskCallbackFn func)

Parameters

This function takes the following parameter:

task Points to the task operation which is being performed by the server.