Show Table of Contents
32.4. slapi_matchingrule_is_ordering()
Determines if the matching rule is a valid ordering matching rule for the given syntax.
Syntax
This function takes the following syntax:
int slapi_matchingrule_is_ordering(const char *oid_or_name, const char *syntax_oid)
slapi_matchingrule_is_ordering Parameters
This function has the following parameters:
| Parameter | Description |
|---|---|
| oid_or_name | The OID or name of the matching rule being applied. |
| syntax_oid | The OID of the entry syntax. The function compares the type of matching rule to the allowed syntax. |
Return Values
This function returns either of two values:
1means that the matching rule is a valid ordering matching rule for the given syntax.0means that the matching rule could not be found, does not apply to the given syntax, or is not an ordering matching rule.

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.