HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
58 Parameters for the compare function
The following table lists the parameters in the parameter block passed to the database compare
function. If you are writing a preoperation, database, or postoperation compare function, you
can get these values by calling the “slapi_pblock_get()” function.
DescriptionData typeParameter ID
DN of the entry to be compared.
char *SLAPI_COMPARE_TARGET
Attribute type to use in the comparison.
char *SLAPI_COMPARE_TYPE
Attribute value to use in the comparison
struct berval *SLAPI_COMPARE_VALUE
See “Processing an LDAP compare operation”, for more information on these parameters.
407