Show Table of Contents
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.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.