Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 399

Table of Contents

Advertisement

Description
This function creates a
LDAP_MODD_ADD
See Also
slapi_entry2mods()
slapi_mods_add()
Appends a new
Syntax
#include "slapi-plugin.h"
void slapi_mods_add( Slapi_Mods *smods, int modtype,
const char *type, unsigned long len, const char *val);
Parameters
This function takes the following parameters:
smods
modtype
type
len
val
Description
This function appends a new
The
mod
Memory Concerns
This function must not be used on
slapi_mods_init_byref()
See Also
slapi_mods_add_ldapmod()
slapi_mods_add_modbvps()
slapi_mods_add_mod_values()
Slapi_Entry
.
with a single attribute value to
mod
Pointer to an initialized Slapi_Mods.
One of LDAP_MOD_ADD, LDAP_MOD_DELETE,
LDAP_MOD_REPLACE.
The LDAP attribute type.
The length in bytes of the attribute value.
The attribute value.
is constructed from copies of the values of
.
from a copy of an array of
with a single attribute value to a
mod
initialized with
Slapi_Mods
Functions for LDAPMod Manipulation
LDAPMod
structure.
Slapi_Mods
Slapi_Mods
,
,
, and
modtype
type
len
Chapter 15
Function Reference
of type
.
.
val
399

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents