Compares two RDNs.
#include "slapi-plugin.h" int slapi_rdn_compare(Slapi_RDN *rdn1, Slapi_RDN *rdn2);
This function takes the following parameters:
The first RDN to compare.
The second RDN to compare.
This function returns 0 if rdn1 and rdn2 have the same RDN components, or -1 if they do not.
This function compares rdn1 and rdn2. For rdn1 and rdn2 to be considered equal RDNs, their components do not necessarily have to be in the same order.