HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
Parameters This function takes the following parameter:
Points to the task operation which is being performed by the server.
task
See also
slapi_task_dec_refcount()
slapi_task_get_refcount()
51.12 slapi_task_log_notice()
Writes changes to a log attribute for the task entry.
Directory task entries log all their messages to a log attribute in the configuration entry,
nsTaskLog. This function adds a line to the nsTaskLog value. This value is cumulative, so any
new message logged is appended to the existing value.
Syntax
void slapi_task_log_notice(Slapi_Task *task, char *format, ...)
Parameters This function takes the following parameters:
Points to the task operation which is being performed by the server.
task
A printf-style format string.format
See also
slapi_task_log_status()
51.13 slapi_task_log_status()
Updates the status attribute for the task entry.
Directory task entries record their status in the nsTaskStatus attribute. This function generates
the value for nsTaskStatus. Unlike the nsTaskLog attribute, this value is overwritten whenever
it is updated.
Syntax
void slapi_task_log_status(Slapi_Task *task, char *format, ...)
Parameters This function takes the following parameters:
Points to the task operation which is being performed by the server.
task
A printf-style format string.format
See also
slapi_task_log_notice()
51.14 slapi_task_register_handler()
Registers a new task handler function.
The name parameter passed in the function the value of the cn attribute of the task container for
the new task for which the plug-in is being written. The handler function is called when a new
task entry is created inside of the container entry matching the name parameter.
Typically, call this from the plug-in start function.
Syntax
int slapi_task_register_handler(const char *name, dseCallbackFn func)
51.12 slapi_task_log_notice() 381