Sun Java System Directory Server Enterprise Edition 6.0 Developer's Guide


Creates a new parameter block.


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


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.