Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 186

Table of Contents

Advertisement

Summary of Data Types and Structures
See Also
slapi_send_ldap_search_entry()
Slapi_Attr
Represents an attribute in an entry.
Syntax
#include slapi-plugin.h
typedef struct slapi_attr Slapi_Attr;
Description
Slapi_Attr
a directory entry. In certain cases, your server plug-in may need to work with an
entry's attributes.
The following table summarizes the front-end API functions that you can call to
work with attributes.
To do this...
Add an attribute value
Return the base type of an attribute
Duplicate an attribute
Get the first value of an attribute
Determine if certain flags are set
Free an attribute
Puts the values contained in an attribute
into an array of berval structures
Get the flags associated with an attribute
Put the count of values of an attribute
into an integer
Search for an attribute type and gives its
OID string
Get the type of an attribute
Get the next value of an attribute
Determine the next value of an attribute
186
Netscape Directory Server Plug-In Programmer's Guide • August 2002
is the data type for an opaque structure that represents an attribute in
Call this function
slapi_attr_add_value()
slapi_attr_basetype()
slapi_attr_dup()
slapi_attr_first_value()
slapi_attr_flag_is_set()
slapi_attr_free()
slapi_attr_get_bervals_copy()
slapi_attr_get_flags()
slapi_attr_get_numvalues()
slapi_attr_get_oid_copy()
slapi_attr_get_type()
slapi_attr_get_valueset()
slapi_attr_next_value()

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents