33.3. slapi_mod_done()

Description

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

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.
Memory Concerns

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