Functions for LDAPMod Manipulation
slapi_mods_get_next_smod()
Increments the
Slapi_Mods
Syntax
#include "slapi-plugin.h"
Slapi_Mod *slapi_mods_get_next_smod(Slapi_Mods *smods,
Slapi_Mod *smod);
Parameters
This function takes the following parameters:
smods
smod
Returns
This function returns a pointer to the
if there are no more mods.
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_first_smod()
slapi_mods_get_num_mods()
Gets the number of
Syntax
#include "slapi-plugin.h"
int slapi_mods_get_num_mods(const Slapi_Mods *smods);
420
Netscape Directory Server Plug-in Programmer's Guide • October 2004
iterator and returns the next
Slapi_Mods
.
Pointer to an initialized Slapi_Mods.
Pointer to a Slapi_Mods that will be used to hold the mod.
Slapi_Mods
in a
mods
Slapi_Mods
, wrapping the next
Slapi_Mod
slapi_mods_get_first_smod()
using a
wrapper.
Slapi_Mods
Slapi_Mods
structure.
wrapped in a
mod
, or
mod
NULL
to iterate
at any given
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?
Questions and answers