Parameters for the Compare function
The following table lists the parameters in the parameter
block that is 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. |