Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 385

Table of Contents

Advertisement

Table 15-19 LDAPMod Manipulation Routines (Continued)
Function
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
Returns
This function returns one of the following values:
0 if successful.
Description
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
385

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents