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:
#include "slapi-plugin.h" int slapi_dn_isparent( const char *parentdn, char *childdn );
int slapi_dn_isparent( char *parentdn, char *childdn ); Parameters
int slapi_dn_isparent( char *parentdn, char *childdn );
The function has the following parameters:
parentdn
childdn
Returns
A non-zero value if parentdn is the parent of childdn, or 0 if the parentdn is not the parent of childdn.