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

slapi_mod_done()

Frees the internals of Slapi_Mod structure.

Syntax

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

Parameters

This function takes the following parameter:

mod

Pointer to a Slapi_Mod.

Description

This function frees the internals of a Slapi_Mod, leaving it in the uninitialized state.

Memory Concerns

Use this function on a stack-allocated Slapi_Mod when you have finished with it, or wish to reuse it.

See Also

slapi_mod_init()

slapi_mod_init_byref()

slapi_mod_init_byval()

slapi_mod_init_passin()