Slapi_Mods_Add_Smod() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

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, or
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
Slapi_Mods
mod
and
. Use this function when you have the
va
.
Slapi_Value
initialized with
structure. The
passed in is not copied or
mod
Chapter 15
is constructed from
Function Reference
411

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents