37.18. slapi_rdn_isempty()

Checks whether an RDN value is stored in a Slapi_RDN structure.
Syntax

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

Parameters

This function takes the following parameter:

rdn
The target Slapi_RDN structure.
Returns

This function returns one of the following values:

  • 1 if there is no RDN value present.
  • 0 if rdn contains a value.