Table 15-19 LDAPMod Manipulation Routines (Continued)
Function
slapi_mods_init_byref()
slapi_mods_init_passin()
slapi_mods_insert_after()
slapi_mods_insert_at()
slapi_mods_insert_before()
slapi_mods_insert_smod_at()
slapi_mods_insert_smod_before()
slapi_mods_iterator_backbone()
slapi_mods_new()
slapi_mods_remove()
slapi_entry2mods()
Creates an array of
Syntax
#include "slapi-plugin.h"
int slapi_entry2mods(const Slapi_Entry *e,
char **dn, LDAPMod ***attrs);
Parameters
This function takes the following parameters:
e
dn
attrs
Description
Initializes a Slapi_Mods that is a wrapper for an existing array of
LDAPMod.
Initializes a Slapi_Mods structure from an array of LDAPMod.
Inserts an LDAPMod into a Slapi_Mods structure after the current
iterator position.
Inserts an LDAPMod anywhere in a Slapi_Mods.
Inserts an LDAPMod into a Slapi_Mods structure before the
current iterator position.
Inserts an smod anywhere in a Slapi_Mods structure.
Inserts an smod before a Slapi_Mods structure.
Decrements the Slapi_Mods current iterator position.
Allocates a new uninitialized Slapi_Mods structure.
Removes the mod at the current Slapi_Mods iterator position.
from a
LDAPMod
Slapi_Entry
Pointer to a Slapi_Entry.
Address of a char* that will be set on return to the entry DN.
Address of an array of LDAPMod that will be set on return to a
copy of the entry attributes.
Functions for LDAPMod Manipulation
.
Chapter 15
Function Reference
395
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?
Questions and answers