Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 372

Table of Contents

Advertisement

Functions for LDAPMod Manipulation
slapi_mods_new()
Allocates a new uninitialized
Syntax
#include "slapi-plugin.h"
Slapi_Mods* slapi_mods_new( void );
Parameters
This function takes no parameters.
Returns
This function returns a pointer to an allocated uninitialized
Description
This function allocates a new initialized
Memory Concerns
Use this function when you need a
than from the stack.
See Also
slapi_mods_free()
slapi_mods_remove()
Removes the
Syntax
#include "slapi-plugin.h"
void slapi_mods_remove(Slapi_Mods *smods);
Parameters
This function takes the following parameter:
smods
Description
This function removes the
372
Netscape Directory Server Plug-In Programmer's Guide • May 2002
Slapi_Mods
at the current
mod
Slapi_Mods
Pointer to an initialized Slapi_Mods.
at the current iterator position.
mod
structure.
.
Slapi_Mods
allocated from the heap, rather
Slapi_Mods
iterator position.
.
Slapi_Mods

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents