![Netscape NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION Manual Download Page 323](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-2-gateway-customization/netscape-directory-server-6-2-gateway-customization_manual_1674642323.webp)
Functions for Managing Entries
Chapter
15
Function Reference
323
Syntax
#include “slapi-plugin.h”
int slapi_entry_attr_has_syntax_value(const Slapi_Entry *e,
const char *type, const Slapi_Value *value);
Parameters
Returns
This function returns one of the following values:
•
1
if the attribute contains the specified value.
•
0
if the attribute does not contain the specified value.
Memory Concerns
value
must not be
NULL
.
Description
This function replaces the deprecated
slapi_entry_attr_hasvalue(
) function
and takes into consideration the syntax of the attribute type.
slapi_entry_attr_merge_sv()
Adds an array of
Slapi_Value
data values to the existing attribute values in an
entry. If the attribute does not exist, it is created with the
Slapi_Value
specified.
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.
type
Attribute type that you want to test for the value specified.
value
Value that you want to find in the attribute.
e
Entry to which you want to add values.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION
Page 1: ...Plug In Programmer s Guide Netscape Directory Server Version6 2 December 2003...
Page 18: ...18 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 56: ...56 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 112: ...112 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 168: ...Plug In API Reference 168 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 170: ...170 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 600: ...600 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 612: ...612 Netscape Directory Server Plug In Programmer s Guide December 2003...