Sun Directory Server Enterprise Edition 7.0 Developer's Guide

slapi_entry_vattr_find()

This function determines whether the specified virtual attribute is present, and returns that attribute if available.

Syntax

#include "slapi-plugin.h"
int slapi_entry_vattr_find(const Slapi_Entry *e,
    const char *type, Slapi_Attr **a, int *buffer_flags);

Parameters

This function takes the following parameters:

e

Entry to check for the virtual attribute.

type

Attribute type of the virtual attribute.

a

Structure to hold the virtual attribute.

buffer_flags

Bitmask indicated whether the caller needs to free the attribute.

Returns

Returns one of the following values: