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

slapi_mod_new()

Allocates a new Slapi_Mod structure.

Syntax

#include "slapi-plugin.h"
 Slapi_Mod* slapi_mod_new( void );

Parameters

This function takes no parameters.

Returns

This function returns a pointer to an allocated, uninitialized Slapi_Mod.

Description

This function allocates a new uninitialized Slapi_Mod . Use this function when you need to a Slapi_Mod allocated from the heap, rather than from the stack.

See Also

slapi_mod_free()