slapi_dn_compare_v3()
slapi_dn_compare_v3() compares two distinguished
names (DN).
- Syntax
#include "slapi-plugin.h" char *slapi_dn_compare_v3(char *dn1, char* dn2);- Parameters
-
- dn1
- A DN that you want to compare.
- dn2
- A DN that you want to compare.
- Returns
-
- Less than 0 if the value of
dn1is lexicographically less thandn2. - 0 if the value of
dn1is lexicographically equal todn2. - Greater than 0 if the value of
dn1is lexicographically greater thandn2.
- Less than 0 if the value of