Show Table of Contents
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. |

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.