Functions for Managing RDN
Chapter
15
Function Reference
431
See Also
slapi_rdn_get_num_components()
slapi_rdn_compare()
Compares two RDNs.
Syntax
#include “slapi-plugin.h”
int slapi_rdn_compare(Slapi_RDN *rdn1, Slapi_RDN *rdn2);
Parameters
This function takes the following parameters:
Returns
This function returns one of the following values:
•
0
if
rdn1
and
rdn2
have the same RDN components.
•
-1
if they do not have the same components.
Description
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.
slapi_rdn_contains()
Checks whether a
Slapi_RDN
structure holds any RDN matching a given
type/value pair.
Syntax
#include “slapi-plugin.h”
int slapi_rdn_contains(Slapi_RDN *rdn, const char *type,
const char *value,size_t length);
rdn1
The first RDN to compare.
rdn2
The second RDN to compare.
Содержание NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION
Страница 1: ...Plug In Programmer s Guide Netscape Directory Server Version6 2 December 2003...
Страница 18: ...18 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 26: ...Types of Directory Server Plug Ins 26 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 38: ...Compiling a Directory Server Plug In 38 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 54: ...An Example Pre Operation Plug In 54 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 56: ...56 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 90: ...Processing an LDAP Abandon Operation 90 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 110: ...Using SASL with an LDAP Client 110 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 112: ...112 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 122: ...Specifying Start and Close Functions 122 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 168: ...Plug In API Reference 168 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 170: ...170 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 214: ...Summary of Data Types and Structures 214 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 554: ...Functions for Registering Additional Plug Ins 554 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 596: ...Parameters for the Virtual Attribute Service 596 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 600: ...600 Netscape Directory Server Plug In Programmer s Guide December 2003...
Страница 612: ...612 Netscape Directory Server Plug In Programmer s Guide December 2003...