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

slapi_ldapmods_syntax_check()

Determines whether the proposed modifications comply with attribute syntax rules.

Syntax

#include "slapi-plugin.h"
int slapi_ldapmods_syntax_check( Slapi_PBlock *pb, LDAPMod **mods );

Parameters

This function takes the following parameters:

pb

Parameter block.

mods

Pointer to the modify structure whose attribute values are 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.