Slapi_Mods_Get_First_Smod(); Slapi_Mods_Get_Ldapmods_Byref() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

slapi_mods_get_first_smod()

Initializes a
Slapi_Mods
Syntax
#include "slapi-plugin.h"
Slapi_Mod *slapi_mods_get_first_smod(Slapi_Mods *smods,
Slapi_Mod *smod);
Parameters
This function takes the following parameters:
smods
smod
Returns
This function returns one of the following values:
A pointer to the
NULL
Description
Use this function in conjunction with
through the mods in a
Memory Concerns
Only one thread may be iterating through a particular
time.
See Also
slapi_mods_get_next_mod()

slapi_mods_get_ldapmods_byref()

Gets a reference to the array of
Syntax
#include "slapi-plugin.h"
LDAPMod **slapi_mods_get_ldapmods_byref(Slapi_Mods *smods);
iterator and returns the first
Slapi_Mods
structure.
A pointer to a an initialized Slapi_Mods.
Pointer to a Slapi_Mods that will be used to hold the mod.
Slapi_Mod
if no
exist.
mod
Slapi_Mods
, wrapping the first
mod
slapi_mods_get_next_smod()
using a
Slapi_Mods
in a
LDAPMod
Slapi_Mods
Functions for LDAPMod Manipulation
wrapped in a
mod
.
to iterate
wrapper.
at any given
Slapi_Mods
structure.
Chapter 15
Function Reference
417

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents