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
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_smod()
slapi_mods_add_ldapmod()
slapi_mods_add_modbvps()
slapi_mods_add_string()
slapi_mods_add_smod()
Appends a new
duplicated, but the reference is used directly.
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.
to a
mod
,
modtype
type
Slapi_Mods
.
to a
smod
Slapi_Mods
Functions for LDAPMod Manipulation
. The mod is constructed from
Slapi_Mods
and
. Use this function when you have the
va
.
Slapi_Value
initialized with
structure. The
passed in is not copied or
mod
Chapter 15
Function Reference
401
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.1 - PLUG-IN and is the answer not in the manual?
Questions and answers