![Netscape NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION Manual Download Page 384](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-2-gateway-customization/netscape-directory-server-6-2-gateway-customization_manual_1674642384.webp)
Functions for LDAPMod Manipulation
384
Netscape Directory Server Plug-In Programmer’s Guide • December 2003
slapi_mod_new()
Allocates a new
Slapi_Mod
structure.
slapi_mod_remove_value()
Removes the value at the current
Slapi_Mod
iterator position.
slapi_mod_set_operation()
Sets the operation type of a
Slapi_Mod
structure.
slapi_mod_set_type()
Sets the attribute type of a
Slapi_Mod
.
slapi_mods2entry()
Creates a
Slapi_Entry
from an array of
LDAPMod
.
slapi_mods_add()
Appends a new mod with a single attribute value to
Slapi_Mods
structure.
slapi_mods_add_ldapmod()
Appends an
LDAPMod
to a
Slapi_Mods
structure.
slapi_mods_add_mod_values()
Appends a new mod to a
Slapi_Mods
structure, with attribute
values provided as an array of
Slapi_Value
.
slapi_mods_add_modbvps()
Appends a new mod to a
Slapi_Mods
structure, with attribute
values provided as an array of
berval
.
slapi_mods_add_smod()
Appends a new
smod
to a
Slapi_Mods
structure
.
slapi_mods_add_string()
Appends a new mod to
Slapi_Mods
structure with a single
attribute value provided as a string.
slapi_mods_done()
Frees internals of a
Slapi_Mods
structure.
slapi_mods_dump()
Dumps the contents of a
Slapi_Mods
structure to the server log.
slapi_mods_free()
Frees a
Slapi_Mods
structure.
slapi_mods_get_first_mod()
Initializes a
Slapi_Mods
iterator and return the first
LDAPMod
.
slapi_mods_get_first_smod()
Initializes a
Slapi_Mods
iterator and returns the first mod
wrapped in a
Slapi_Mods
structure.
slapi_mods_get_ldapmods_byref()
Gets a reference to the array of
LDAPMod
in a
Slapi_Mods
structure.
slapi_mods_get_ldapmods_passout()
Retrieves the array of
LDAPMod
contained in a
Slapi_Mods
structure.
slapi_mods_get_next_mod()
Increments the
Slapi_Mods
iterator and return the next
LDAPMod
.
slapi_mods_get_next_smod()
Increments the
Slapi_Mods
iterator and return the next mod
wrapped in a
Slapi_Mods
.
slapi_mods_get_num_mods()
Gets the number of mods in a
Slapi_Mods
structure.
slapi_mods_init()
Initializes a
Slapi_Mods
.
slapi_mods_init_byref()
Initializes a
Slapi_Mods
that is a wrapper for an existing array of
LDAPMod
.
Table 15-19
LDAPMod Manipulation Routines (Continued)
Function
Description
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...