slapi_pblock_new()

Creates a new parameter block.

Syntax

#include "slapi-plugin.h"
Slapi_PBlock *slapi_pblock_new();

Returns

Pointer to the new parameter block.

Memory Concerns

The parameter block pointer allocated with slapi_pblock_new() must
always be freed by slapi_pblock_destroy().
The use of other memory liberators such as free() is not
supported and may lead to crashes or memory leaks.