33.30. slapi_mods_done()

Description

This function frees the internals of a Slapi_Mods, leaving it in the uninitialized state. Use this function on a stack-allocated Slapi_Mods when you are finished with it, or when you wish to reuse it.

Syntax

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

Parameters

This function takes the following parameter:

smod
Pointer to a Slapi_Mods.