39.14. slapi_sdn_get_ndn_len()

Description

This function gets the length of the normalized DN of a Slapi_DN structure. This function contains the length of the normalized DN and normalizes sdn if it has not already been normalized.

Syntax

#include "slapi-plugin.h"
int slapi_sdn_get_ndn_len(const Slapi_DN *sdn);

Parameters

This function takes the following parameter:

sdn
The Slapi_DN structure containing the DN value.
Returns

This function returns the length of the normalized DN.