Sun Java System Directory Server Enterprise Edition 6.3 Developer's Guide

slapi_rdn_get_num_components()

Gets the number of RDN type/value pairs present in a Slapi_RDN structure.

Syntax

#include "slapi-plugin.h"
 int slapi_rdn_get_num_components(Slapi_RDN *rdn);

Parameters

This function takes the following parameter:

rdn

The target Slapi_RDN structure.

Returns

This function returns the number of RDN type/value pairs present in rdn.

See Also

slapi_rdn_add()