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

slapi_entry_schema_check()

Determines whether or not the specified entry complies with the schema for its object class.

Syntax

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

Parameters

This function takes the following parameters:

pb

Parameter block.

e

Entry of which you want to check the schema.

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 schema checking is done.