Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 342

Table of Contents

Advertisement

Functions for LDAPMod Manipulation
Table 14-19 LDAPMod Manipulation Routines (Continued)
Function
slapi_mods_insert_after()
slapi_mods_insert_at()
slapi_mods_insert_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.
A non-zero value if not successful.
342
Netscape Directory Server Plug-In Programmer's Guide • May 2002
Description
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.
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.
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents