Show Table of Contents
39.21. slapi_sdn_issuffix()
Checks whether a Slapi_DN structure contains a suffix of another Slapi_DN structure.
Syntax
#include "slapi-plugin.h" int slapi_sdn_issuffix(const Slapi_DN *sdn, const Slapi_DN *suffixsdn);
Parameters
This function takes the following parameters:
|
sdn
| Pointer to the Slapi_DN structure to be checked. |
|
suffixsdn
| Pointer to the Slapi_DN structure of the suffix. |
Returns
This function returns one of the following values:
- 1 if the DN is suffixsdn is the suffix of sdn.
- 0 if the DN in suffixsdn is not a suffix of sdn.
See Also

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.