HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
37.14 slapi_rdn_init()
Description This function initializes a given Slapi_RDN structure with NULL values; both the
RDN value and the array of split RDNs are set to NULL.
Syntax
#include "slapi-plugin.h"
void slapi_rdn_init(Slapi_RDN *rdn);
Parameters This function takes the following parameters:
The Slapi_RDN structure to be initialized.rdn
See also
“slapi_rdn_new()”
“slapi_rdn_free()”
“slapi_rdn_done()”
37.15 slapi_rdn_init_dn()
Description This function initializes a given Slapi_RDN structure with the RDN value taken
from the DN passed in the dn parameter.
Syntax
#include "slapi-plugin.h"
void slapi_rdn_init_dn(Slapi_RDN *rdn,const char *dn);
Parameters This function takes the following parameters:
The Slapi_RDN structure to be initialized.rdn
The DN value whose RDN will be used to initialize the new Slapi_RDN structure.dn
See also
“slapi_rdn_init_sdn()”
“slapi_rdn_init_rdn()”
37.16 slapi_rdn_init_rdn()
Description This function initializes a given Slapi_RDN structure with the RDN value in
fromrdn.
Syntax
#include "slapi-plugin.h"
void slapi_rdn_init_rdn(Slapi_RDN *rdn,const Slapi_RDN *fromrdn);
Parameters This function takes the following parameters:
The Slapi_RDN structure to be initialized.rdn
The RDN value to be set in the new Slapi_RDN structure.fromrdn
See also
“slapi_rdn_init_dn()”
“slapi_rdn_init_sdn()”
37.14 slapi_rdn_init() 301