33.37. slapi_mods_get_next_mod()
This function increments the Slapi_Mods iterator and returns the next LDAPMod. Use this function in conjunction with slapi_mods_get_first_mod() to iterate through the mods in a Slapi_Mods. This will return an LDAPMod each time until the end.
#include "slapi-plugin.h" LDAPMod *slapi_mods_get_next_mod(Slapi_Mods *smods);
This function takes the following parameter:
|
smod
| A pointer to an initialized Slapi_Mods. |
This function returns either a pointer to the next LDAPMod or NULL if there are no more.
Only one thread may be iterating through a particular Slapi_Mods at any given time.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.