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

slapi_mods_new()

Allocates a new uninitialized Slapi_Mods structure.

Syntax

#include "slapi-plugin.h"
 Slapi_Mods* slapi_mods_new( void );

Parameters

This function takes no parameters.

Returns

A pointer to an allocated uninitialized Slapi_Mods.

Description

This function allocates a new initialized Slapi_Mods .

Memory Concerns

Use this function when you need a Slapi_Mods allocated from the heap, rather than from the stack.

See Also

slapi_mods_free()