Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 323

Table of Contents

Advertisement

Syntax
#include "slapi-plugin.h"
int slapi_entry_attr_has_syntax_value(const Slapi_Entry *e,
const char *type, const Slapi_Value *value);
Parameters
e
type
value
Returns
This function returns one of the following values:
1
0
Memory Concerns
value
Description
This function replaces the deprecated
and takes into consideration the syntax of the attribute type.
slapi_entry_attr_merge_sv()
Adds an array of
entry. If the attribute does not exist, it is created with the
Syntax
#include "slapi-plugin.h"
int slapi_entry_attr_merge_sv( Slapi_Entry *e,
const char *type, Slapi_Value **vals );
Parameters
This function takes the following parameters:
e
Entry that you want to check.
Attribute type that you want to test for the value specified.
Value that you want to find in the attribute.
if the attribute contains the specified value.
if the attribute does not contain the specified value.
must not be
.
NULL
Slapi_Value
Entry to which you want to add values.
slapi_entry_attr_hasvalue(
data values to the existing attribute values in an
Functions for Managing Entries
) function
specified.
Slapi_Value
Chapter 15
Function Reference
323

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents