Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 396

Table of Contents

Advertisement

Functions for LDAPMod Manipulation
Returns
This function returns one of the following values:
1 if the
0 if the
Description
Use this function to verify that the contents of
valid if the operation type is one of
LDAP_MOD_REPLACE
LDAP_MOD_BYVALUES
attribute value for add and replace operations.
slapi_mod_new()
Allocates a new
Syntax
#include "slapi-plugin.h"
Slapi_Mod* slapi_mod_new( void );
Parameters
This function takes no parameters.
Returns
This function returns a pointer to an allocated, uninitialized
Description
This function allocates a new uninitialized
need to a
See Also
slapi_mod_free()
slapi_mod_remove_value()
Removes the value at the current
Syntax
#include "slapi-plugin.h"
void slapi_mod_remove_value(Slapi_Mod *smod);
396
Netscape Directory Server Plug-In Programmer's Guide • August 2002
is valid.
Slapi_Mod
is not valid.
Slapi_Mod
, combined using the bitwise or operator with
; the attribute type is not
structure.
Slapi_Mod
allocated from the heap, rather than from the stack.
Slapi_Mod
Slapi_Mod
,
LDAP_MOD_ADD
LDAP_MOD_DELETE
; and there is at least one
NULL
. Use this function when you
Slapi_Mod
iterator position.
Slapi_Mod
are valid. It is considered
,
.
Slapi_Mod

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents