HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
See also
“slapi_mods_insert_before()”
“slapi_mods_insert_smod_at()”
33.48 slapi_mods_iterator_backone()
Description Decrements the Slapi_Mods current iterator position. This function moves the
iterator back one position.
Syntax
#include "slapi-plugin.h"
void slapi_mods_iterator_backone(Slapi_Mods *smods);
Parameters This function takes the following parameter:
Pointer to an initialized Slapi_Mods.mods
See also
“slapi_mods_get_first_mod()”
“slapi_mods_get_next_mod()”
“slapi_mods_get_first_smod()”
“slapi_mods_get_next_smod()”
33.49 slapi_mods_new()
This function allocates a new initialized Slapi_Mods.
Syntax
#include "slapi-plugin.h"
Slapi_Mods* slapi_mods_new( void );
Parameters This function takes no parameters.
Returns This function returns a pointer to an allocated uninitialized Slapi_Mods.
Memory concerns Use this function when you need a Slapi_Mods allocated from the heap
rather than from the stack.
See also “slapi_mods_free()”
33.50 slapi_mods_remove()
Description This function removes the mod at the current Slapi_Mods iterator position.
Syntax
#include "slapi-plugin.h"
void slapi_mods_remove(Slapi_Mods *smods);
Parameters This function takes the following parameter:
Pointer to an initialized Slapi_Mods.mods
See also
“slapi_mods_get_first_mod()”
“slapi_mods_get_next_mod()”
“slapi_mods_get_first_smod()”
“slapi_mods_get_next_smod()”
33.48 slapi_mods_iterator_backone() 283