Show Table of Contents
33.21. slapi_mod_set_operation()
Sets the operation type of a Slapi_Mod structure.
Syntax
#include "slapi-plugin.h" void slapi_mod_set_operation(Slapi_Mod *smod, int op);
Parameters
This function takes the following parameters:
|
smod
| Pointer to an initialized Slapi_Mod. |
|
op
| One of LDAP_MOD_ADD, LDAP_MOD_DELETE, or LDAP_MOD_REPLACE, combined using the bitwise or operator with LDAP_MOD_BYVALUES. |
See Also

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.