Checks whether a Slapi_DN structure contains a suffix of another Slapi_DN structure.
#include "slapi-plugin.h" int slapi_sdn_issuffix(const Slapi_DN *sdn, const Slapi_DN *suffixsdn);
This function takes the following parameters:
Pointer to the Slapi_DN structure to be checked.
Pointer to the Slapi_DN structure of the suffix.
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.