26.2. slapi_filter_compare()
This function allows you to determine if two filters are identical and/or are allowed to be in a different order.
#include "slapi-plugin.h" int slapi_filter_compare(struct slapi_filter *f1, struct slapi_filter *f2);
This function takes the following parameters:
|
f1
| First filter to compare. |
|
f2
| Second filter to compare. |
This function returns one of the following values:
- 0 if the two filters are identical.
- A value other than 0 if the two filters are not identical.

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.