Determines whether or not a particular DN is the parent of another specified DN. Before calling this function, you should call slapi_dn_normalize_case() to normalize the DNs and convert all characters to lowercase.
Syntax
#include "slapi-plugin.h"
int slapi_dn_isparent( const char *parentdn, char *childdn );
Note that in the Netscape Directory Server 3.x releases, the parentdn argument was not declared with const:
int slapi_dn_isparent( char *parentdn, char *childdn );
Parameters
The function has the following parameters:
Returns
A non-zero value if parentdn is the parent of childdn, or 0 if the parentdn is not the parent of childdn.
Example
[To be added]
See Also