39.16. slapi_sdn_get_rdn()

Description

This function takes the DN stored in the Slapi_DN structure pointed to by sdn and retrieves its returned RDN within the Slapi_RDN structure pointed to by rdn.

Syntax

#include "slapi-plugin.h"
void slapi_sdn_get_rdn(const Slapi_DN *sdn, Slapi_RDN *rdn);

Parameters

This function takes the following parameters:

sdn
Pointer to the Slapi_DN structure containing the DN.
rdn
Pointer to the Slapi_RDN structure where the RDN is returned.