51.6. slapi_task_finish()

Called when the task is completed. As with other functions which terminate a task, this updates the task entry to record that the task is complete and returns a result code to the user. This function queues an event to destroy the task, which frees the task itself as well as any cleanup defined in a custom destructor callback function.
Syntax

void slapi_task_finish(Slapi_Task *task, int rc)

Parameters

This function takes the following parameters:

task Points to the task operation which is being performed by the server.
rc Contains the result code for the task.