slapi_dn_issuffix()
slapi_dn_issuffix() determines whether
a DN is equal to the specified suffix.
- Syntax
#include "slapi-plugin.h" int slapi_dn_issuffix( char *dn, char *suffix );- Parameters
-
- dn
- The DN that you want to check.
- suffix
- The suffix you want compared against the DN.
- Returns
- A 1 is returned if the specified DN is the same as the specified suffix, or 0 is returned if the DN is not the same as the suffix.