Sun Java System Directory Server Enterprise Edition 6.2 Developer's Guide

slapi_mods_remove_at()

Removes the mod at the specified Slapi_Mods iterator position.

Syntax

#include "slapi-plugin.h"
void slapi_mods_remove_at(Slapi_Mods *smods, int pos);

Parameters

This function takes the following parameters:

smods

Pointer to an initialized Slapi_Mods.

pos

Position of the mod to remove.

Description

This function removes the mod at the pos iterator position, obtained by counting as you iterate through the modifications in a Slapi_Mods.

See Also

slapi_mods_get_first_mod()

slapi_mods_get_first_smod()

slapi_mods_get_next_mod()

slapi_mods_get_next_smod()