Slapi_Attr - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
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
in 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 ...
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.
Put 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.
196
Netscape Directory Server Plug-in Programmer's Guide • October 2004
is the data type for an opaque structure that represents an attribute
... 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
Need help?

Need help?

Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents