![Netscape NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION Manual Download Page 385](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-2-gateway-customization/netscape-directory-server-6-2-gateway-customization_manual_1674642385.webp)
Functions for LDAPMod Manipulation
Chapter
15
Function Reference
385
slapi_entry2mods()
Creates an array of
LDAPMod
from a
Slapi_Entry
.
Syntax
#include “slapi-plugin.h”
int slapi_entry2mods(const Slapi_Entry *e,
char **dn, LDAPMod ***attrs);
Parameters
This function takes the following parameters:
Returns
This function returns one of the following values:
•
0 if successful.
slapi_mods_init_passin()
Initializes a
Slapi_Mods
structure from an array of
LDAPMod
.
slapi_mods_insert_after()
Inserts an
LDAPMod
into a
Slapi_Mods
structure after the current
iterator position.
slapi_mods_insert_at()
Inserts an
LDAPMod
anywhere in a
Slapi_Mods
.
slapi_mods_insert_before()
Inserts an
LDAPMod
into a
Slapi_Mods
structure before the
current iterator position.
slapi_mods_insert_smod_at()
Inserts an
smod
anywhere in a
Slapi_Mods
structure.
slapi_mods_insert_smod_before()
Inserts an
smod
before a
Slapi_Mods
structure.
slapi_mods_iterator_backbone()
Decrements the
Slapi_Mods
current iterator position.
slapi_mods_new()
Allocates a new uninitialized
Slapi_Mods
structure.
slapi_mods_remove()
Removes the mod at the current
Slapi_Mods
iterator position.
e
Pointer to a
Slapi_Entry
.
dn
Address of a
char*
that will be set on return to the entry DN.
attrs
Address of an array of
LDAPMod
that will be set on return to a
copy of the entry attributes.
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...