Functions for Managing DNs
Parameters
This function takes the following parameters:
parent
child
Returns
This function returns one of the following values:
•
1
•
0
child
See Also
slapi_sdn_issuffix()
slapi_sdn_get_parent()
slapi_sdn_issuffix()
Checks whether a
structure.
Syntax
#include "slapi-plugin.h"
int slapi_sdn_issuffix(const Slapi_DN *sdn,
const Slapi_DN *suffixsdn);
Parameters
This function takes the following parameters:
sdn
suffixsdn
474
Netscape Directory Server Plug-in Programmer's Guide • October 2004
Pointer to the Slapi_DN structure containing the DN which
claims to be the parent of the DN in child.
Pointer to the Slapi_DN structure containing the DN of the
supposed child of the DN in the structure pointed to by parent.
if the DN in
is the parent of the DN in
parent
if the DN in
does not match the DN of the parent of the DN in
parent
.
Slapi_DN
Pointer to the Slapi_DN structure to be checked.
Pointer to the Slapi_DN structure of the suffix.
structure contains a suffix of another
.
child
Slapi_DN
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?
Questions and answers