Replaces the value or values of an attribute in an entry with a specified integer data value.
#include "slapi-plugin.h" void slapi_entry_attr_set_int(Slapi_Entry* e, const char *type, int l);
This function takes the following parameters:
Entry in which you want to set the value.
Attribute type in which you want to set the value.
Integer value that you want assigned to the attribute.
This function will replace the value or values of an attribute with the integer value that you specify. If the attribute does not exist, it is created with the integer value that you specify.