Parameters
This function takes the following parameters:
smods
modtype
type
bvps
Description
This function appends a new
copies of the values of
the 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_mod_values()
slapi_mods_add_string()
slapi_mods_add_string()
Appends a new
as a string.
Syntax
#include "slapi-plugin.h"
void slapi_mods_add_string( Slapi_Mods *smods, int modtype,
const char *type, const char *val);
Parameters
This function takes the following parameters:
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 berval representing the attribute
values.
to
mod
Slapi_Mods
,
modtype
type
Slapi_Mods
.
to
structure with a single attribute value provided
mod
Slapi_Mods
Functions for LDAPMod Manipulation
. The
mod
, and
. Use this function when you have
bvps
.
berval
initialized with
Chapter 15
is constructed from
Function Reference
413
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?
Questions and answers