33.49. slapi_mods_new()

This function allocates a new initialized Slapi_Mods.
Syntax

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

Parameters

This function takes no parameters.

Returns

This function returns a pointer to an allocated uninitialized Slapi_Mods.

Memory Concerns

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