Slapi_Vattr_Values_Type_Thang_Get() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

Description
This function returns the values for an attribute type from an entry, including the
values for any subtypes of the specified attribute type. The routine will return the
values of virtual attributes in that entry if requested to do so.
Memory Concerns
slapi_vattr_values_free()
type names, passing the
See Also
slapi_vattr_values_free()

slapi_vattr_values_type_thang_get()

Gets values for an attribute type in the list only if the results field for that attribute
type is
Syntax
#include "slapi-plugin.h"
int slapi_vattr_values_type_thang_get
Slapi_Entry *e,
vattr_type_thang *type_thang,
Slapi_ValueSet** results,
int *type_name_disposition,
char **actual_type_name,
int flags,
int *buffer_flags);
Parameters
This function takes the following parameters:
e
type
results
type_name_disposition
actual_type_name
flags
buffer_flags
.
NULL
Entry to be compared.
Attribute type name.
Pointer to the result set: 0 if the compare is true, 1 if the compare
is false.
Matching result. Valid value is as follows:
SLAPI_VIRTUALATTRS_TYPE_NAME_MATCHED_EXACTLY_OR
_ALIAS
Type name as found.
Not used. You should pass 0 for this parameter.
Functions Specific to Virtual Attribute Service
should be used to free the retrurned result set and
value returned from this routine.
Chapter 15
Function Reference
541

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents