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

slapi_vattr_is_virtual()

Check whether an attribute is virtually generated.

Syntax

#include "slapi-plugin.h"
int slapi_vattr_is_virtual( Slapi_Entry *e, const char *attrtype,
    Slapi_Value *v);

Parameters

This function takes the following parameters:

e

Entry to check.

attrtype

Attribute type to check.

v

Not currently used.

Returns

This functions returns 1 if the attribute value is virtually generated. Otherwise, it returns 0.