Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 358

Table of Contents

Advertisement

Functions for LDAPMod Manipulation
Syntax
#include "slapi-plugin.h"
void slapi_mods_add_mod_values( Slapi_Mods *smods, int modtype,
const char *type, Slapi_Value **va );;
Parameters
This function takes the following parameters:
smods
modtype
type
va
Description
This function appends a new mod to a
copies of the values of
attribute values to hand as an array of
Memory Concerns
This function must not be used on a
slapi_mods_init_byref()
See Also
slapi_mods_add()
slapi_mods_add_ldapmod()
slapi_mods_add_modbvps()
slapi_mods_add_string()
slapi_mods_add_modbvps()
Appends a new
an array of
358
Netscape Directory Server Plug-In Programmer's Guide • May 2002
Pointer to an initialized Slapi_Mods.
One of LDAP_MOD_ADD, LDAP_MOD_DELETE,
LDAP_MOD_REPLACE.
The LDAP attribute type.
A null-terminated array of Slapi_Value representing the
attribute values.
,
modtype
.
to a
mod
Slapi_Mods
.
berval
. The mod is constructed from
Slapi_Mods
and
. Use this function when you have the
type
va
.
Slapi_Value
initialized with
Slapi_Mods
structure, with attribute values provided as

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents