33.15. slapi_mod_init_byval()

Initializes a Slapi_Mod structure with a copy of an LDAPMod.
Syntax

#include "slapi-plugin.h"
void slapi_mod_init_byval(Slapi_Mod *smod, const LDAPMod *mod);

Parameters

This function takes the following parameters:

smod
Pointer to an uninitialized Slapi_Mod.
mod
Pointer to an LDAPMod.