Netscape DIRECTORY SERVER 6.01 - PLUG-IN Manual page 369

Table of Contents

Advertisement

slapi_mods_insert_at()
Inserts an
Syntax
#include "slapi-plugin.h"
void slapi_mods_insert_at(Slapi_Mods *smods, LDAPMod *mod, int pos);
Parameters
This function takes the following parameters:
smods
mod
pos
Description
This function inserts an
(zero) refers to the first
an append.
given position refers to the newly inserted
Memory Concerns
Responsibility for the
must not be used on a
slapi_mods_insert_before()
Inserts an
Syntax
#include "slapi-plugin.h"
void slapi_mods_insert_before(Slapi_Mods *smods, LDAPMod *mod);
Parameters
This function takes the following parameters:
smods
anywhere in a
LDAPMod
Pointer to an initialized Slapi_Mods.
Pointer to the LDAPMod to be inserted.
Position at which to insert the new mod. Minimum value is 0.
Maximum value is the current number of mods.
LDAPMod
. A position equal to the current number of mods causes
mod
at and above the specified position are moved up by one, and the
mods
LDAPMod
Slapi_Mods
into a
LDAPMod
Slapi_Mods
Pointer to an initialized Slapi_Mods with valid iterator
position.
.
Slapi_Mods
at a given position in
.
mod
is transferred to the
Slapi_Mods
initialized with
slapi_mods_init_byref()
structure before the current iterator position.
Functions for LDAPMod Manipulation
. Position 0
Slapi_Mods
. This function
Chapter 14
Function Reference
.
369

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETSCAPE DIRECTORY SERVER 6.01 - PLUG-IN and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Directory server 6.01

Table of Contents