44.3. slapi_vattr_schema_check_type()

Performs a schema check on the attribute types in the entry.
Syntax

#include "slapi-plugin.h"
int slapi_vattr_schema_check_type(Slapi_Entry *e, char *type);

Parameters

This function takes the following parameters:

e
The entry to be checked.
type
The attribute type in the schema.
Returns

Return 0 if success, -1 if error.