24.24. slapi_entry_attr_set_long()

Replaces the value or values of an attribute in an entry with a specified longdata type value.
Syntax

#include "slapi-plugin.h"
void slapi_entry_attr_set_long(Slapi_Entry* e, const char *type, long l);

Parameters

This function takes the following parameters:

e
Entry in which you want to set the value.
type
Attribute type in which you want to set the value.
l
Long integer value that you want assigned to the attribute.