51.3. slapi_task_begin()

Updates the task entry state to indicate that the task is running. Call this as soon as necessary to begin performing the work for the custom task.
Syntax

void slapi_task_begin(Slapi_Task *task, int total_work)

Parameters

This function takes the following parameters:

task Points to the task operation which is being performed by the server.
total_work Gives the total number of work items needed to complete the task. This can be used to update the task status with partial progress as the task runs.