This function determines whether the values of attributes present on the specified entry comply with attribute syntax rules.
#include "slapi-plugin.h" int slapi_entry_syntax_check( Slapi_PBlock *pb, Slapi_Entry *e );
This function takes the following parameters:
Parameter block.
Entry whose attributes to check for syntax compliance.
Returns one of the following values:
0 if the entry attribute values comply or if syntax checking is turned off.
1 if the entry attribute values do not comply with attribute syntax rules.
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.