Determines whether the proposed modifications comply with attribute syntax rules.
#include "slapi-plugin.h" int slapi_ldapmods_syntax_check( Slapi_PBlock *pb, LDAPMod **mods );
This function takes the following parameters:
Parameter block.
Pointer to the modify structure whose attribute values are to be checked.
Returns one of the following values:
0 if the proposed modifications comply with attribute syntax rules, or if syntax checking is turned off.
1 if the modifications 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.