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

slapi_rdn_syntax_check()

This function determines whether the value of the RDN complies with attribute syntax rules.

Syntax

#include "slapi-plugin.h"
int slapi_rdn_syntax_check( Slapi_PBlock *pb, const char *rdn );

Parameters

This function takes the following parameters:

pb

Parameter block.

rdn

Value whose compliance is to be checked.

Returns

Returns one of the following values:

Memory Concerns

The pb argument can be NULL. It is used only to get the SLAPI_IS_REPLICATED_OPERATION flag. If that flag is present, no syntax checking is done.