33.28. slapi_mods_add_modbvps()
This function appends a new mod to Slapi_Mods. The mod is constructed from copies of the values of modtype, type, and bvps. Use this function when you have the attribute values to hand as an array of berval.
#include "slapi-plugin.h" void slapi_mods_add_modbvps( Slapi_Mods *smods, int modtype, const char *type, struct berval **bvps );
This function takes the following parameters:
|
mods
| Pointer to an initialized Slapi_Mods. |
|
modtype
| One of LDAP_MOD_ADD, LDAP_MOD_DELETE, or LDAP_MOD_REPLACE. |
|
type
| The LDAP attribute type. |
|
bvps
| A null-terminated array of berval representing the attribute values. |
This function must not be used on a Slapi_Mods initialized with slapi_mods_init_byref().

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.