Sets a callback for use by the server in evaluating which computed attributes to generate and include in an entry before returning a result to a client.
#include "slapi-plugin.h" int slapi_compute_add_evaluator(slapi_compute_callback_t fcn);
This function takes the following parameters:
Function to call when evaluating computed attributes
This function returns 0 if successful. Otherwise, it returns ENOMEM indicating that no memory could be allocated for the callback.
For a description of the callback, refer to slapi_compute_callback_t . Register the callback as part of plug-in initialization.