Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 424

Table of Contents

Advertisement

Functions for Managing Parameter Block
See Also
slapi_pblock_destroy()
slapi_pblock_set()
slapi_pblock_new()
Creates a new parameter block.
Syntax
#include "slapi-plugin.h"
Slapi_PBlock *slapi_pblock_new();
Returns
This function returns a pointer to the new parameter block.
Memory Concerns
The
pblock
slapi_pblock_destroy()
free()
slapi_pblock_set()
Sets the value of a name-value pair in a parameter block.
Syntax
#include "slapi-plugin.h"
int slapi_pblock_set( Slapi_PBlock *pb, int arg, void *value );
Parameters
This function takes the following parameters:
pb
arg
value
Returns
This function returns one of the following values:
424
Netscape Directory Server Plug-In Programmer's Guide • December 2003
pointer allocated with this function must always be freed by
. The use of other memory deallocators (for example,
) is not supported and may lead to crashes or memory leaks.
Parameter block.
ID of the name-value pair that you want to set. For a list of IDs that you
can specify, see Chapter 16, "Parameter Block Reference."
Pointer to the value that you want to set in the parameter block.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents