20.26. slapi_is_root_suffix()

Description

Checks if a suffix is a root suffix of the DIT.

Syntax

#include "slapi-plugin.h"
int slapi_is_root_suffix(Slapi_DN * dn);

Parameters

This function takes the following parameter:

dn DN to check.
Returns

This function returns one of the following values:

  • 0 if the DN is not a root suffix.
  • 1 if the DN is a root suffix.