Slapi_Entry_Attr_Has_Syntax_Value(); Slapi_Entry_Attr_Merge_Sv() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

0

slapi_entry_attr_has_syntax_value()

Determines if an attribute in an entry contains a specified value.
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 );
if the entry does not contain the attribute specified.
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
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
333

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents