39.6. slapi_sdn_compare()
This function compares two DNs, sdn1 and sdn2. The comparison is case sensitive.
#include "slapi-plugin.h" int slapi_sdn_compare( const Slapi_DN *sdn1, const Slapi_DN *sdn2 );
This function takes the following parameters:
|
sdn1
| DN to compare with the value in sdn2. |
|
sdn2
| DN to compare with the value in sdn1. |
This function returns one of the following values:
- 0 if sdn1 is equal to sdn2.
- -1 if sdn1 is
NULL. - 1 if sdn2 is
NULLand sdn1 is notNULL.

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.