33.36. slapi_mods_get_ldapmods_passout()

Description

Gets the array of LDAPMod out of a Slapi_Mods. Responsibility for the array transfers to the caller. The Slapi_Mods is left in the uninitialized state.

Syntax

#include "slapi-plugin.h"
LDAPMod **slapi_mods_get_ldapmods_passout(Slapi_Mods *smods);

Parameters

This function takes the following parameter:

smod
Pointer to an initialized Slapi_Mods.
Returns

This function returns a null-terminated array LDAPMod owned by the caller.