Chapter 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 pre-operation, database, or post-operation compare function, you can get these values by calling the slapi_pblock_get() function.
Parameter ID Data Type Description
SLAPI_COMPARE_TARGET char * DN of the entry to be compared.
SLAPI_COMPARE_TYPE char * Attribute type to use in the comparison.
SLAPI_COMPARE_VALUE struct berval * Attribute value to use in the comparison
See Section 7.5, “Processing an LDAP Compare Operation”, for more information on these parameters.