Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 538

Table of Contents

Advertisement

Functions for Managing Computed Attributes
Table 15-32 Routines for Computed Attributes
Function
slapi_compute_add_evaluator()
slapi_compute_add_search_rewriter()
compute_rewrite_search_filter()
slapi_compute_add_evaluator()
Registers the specified function as an evaluator that the server will call to generate
a computed attribute.
Syntax
#include "slapi-plugin.h"
int slapi_compute_add_evaluator( slapi_compute_callback_t function);
Parameters
This function takes the following parameters:
function
Returns
This function returns one of the following values:
0 if the function is successfully registered.
ENOMEM
Description
The
slapi_compute_callback_t
Before the server sends an entry as a search result back to the client, the server
determines if any of the requested attributes are computed attributes and generates
the values for those attributes.
538
Netscape Directory Server Plug-In Programmer's Guide • August 2002
Description
Registers a function as an evaluator that the server will call to
generate a computed attribute.
Registers callbacks for filter and search rewriting.
Call evaluator
filter.
Function registered by the plug-in that will be used in
evaluating the computed attributes.
if memory cannot be allocated to register this function.
slapi_compute_add_evaluator()
functions to see if there is a match with a search
function registers a function of the
type as an evaluator of computed attributes.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents