Sun Directory Server Enterprise Edition 7.0 Developer's Guide

slapi_entry_syntax_check()

This function determines whether the values of attributes present on the specified entry comply with attribute syntax rules.

Syntax

#include "slapi-plugin.h"
int slapi_entry_syntax_check( Slapi_PBlock *pb, Slapi_Entry *e );

Parameters

This function takes the following parameters:

pb

Parameter block.

e

Entry whose attributes to check for syntax compliance.

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.