39.17. slapi_sdn_is_rdn_component()

Not implemented; do not use.
Description

This function checks whether a Slapi_DN structure contains an RDN value that is a component of the DN structure.

Syntax

#include "slapi-plugin.h"
int slapi_sdn_is_rdn_component(const Slapi_DN *rdn, const Slapi_Attr *a, const Slapi_Value *v);

Parameters

This function takes the following parameters:

rdn
Pointer to the Slapi_DN structure that is going to be checked.
a
A pointer to an attribute used to check the RDN value.
v
Holds the value of the attribute.
Returns

This function returns one of the following values:

  • 1 if there is no RDN value (normalized or not) present in the Slapi_DN structure.
  • 0 if rdn is a component of the Slapi_DN structure.