![Netscape NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION Manual Download Page 337](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-2-gateway-customization/netscape-directory-server-6-2-gateway-customization_manual_1674642337.webp)
Functions for Managing Entries
Chapter
15
Function Reference
337
char *dn = slapi_ch_strdup(some_dn);
Slapi_Entry *e = slapi_entry_alloc()
slapi_entry_init(e, dn, NULL);l
dn
is not freed in this context, but will eventually be freed when
slapi_entry_free()
is called.
See Also
slapi_entry_free()
slapi_entry_alloc()
slapi_ch_strdup()
slapi_entry_merge_values_sv()
Merges (adds) and array of
Slapi_Value
data values to a specified attribute in an
entry. If the entry does not contain the attribute specified, the attribute is created
with the value supplied.
Syntax
#include “slapi-plugin.h”
int slapi_entry_merge_values_sv( Slapi_Entry *e,
const char *type, Slapi_Value **vals );
Parameters
This function takes the following parameters:
Returns
This function returns one of the following values:
•
LDAP_SUCCESS
.
•
LDAP_NO_SUCH_ATTRIBUTE
.
e
Entry into which you want to merge values.
type
Attribute type that contains the values you want to merge.
vals
Values that you want to merge into the entry. Values are of type
Slapi_Value.
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...