33.8. slapi_mod_get_ldapmod_passout()

Description

Use this function to get the LDAPMod out of a Slapi_Mod.

Syntax

#include "slapi-plugin.h"
LDAPMod *slapi_mod_get_ldapmod_passout(Slapi_Mod *smod);

Parameters

This function takes the following parameter:

smod
Pointer to an initialized Slapi_Mod.
Returns

This function returns a pointer to an LDAPMod owned by the caller.

Memory Concerns

Responsibility for the LDAPMod transfers to the caller. The Slapi_Mod is left in the uninitialized state.