Slapi_Mods_New(); Slapi_Mods_Remove() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
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
428
Netscape Directory Server Plug-in Programmer's Guide • October 2004
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
Need help?

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

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents