HP-UX Directory Server 8.1 plug-in reference

Table Of Contents
24.23 slapi_entry_attr_set_int()
Description 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.
Syntax
#include "slapi-plugin.h"
void slapi_entry_attr_set_int(Slapi_Entry* e, const char *type,
int l);
Parameters This function takes the following parameters:
Entry in which you want to set the value.
e
Attribute type in which you want to set the value.
type
Integer value that you want assigned to the attribute.
l
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:
Entry in which you want to set the value.
e
Attribute type in which you want to set the value.
type
Long integer value that you want assigned to the attribute.
l
24.25 slapi_entry_attr_set_uint()
Description This function will replace the value or values of an attribute with the unsigned
integer value that you specify. If the attribute does not exist, it is created with the unsigned
integer value you specify.
Syntax
#include "slapi-plugin.h"
void slapi_entry_attr_set_uint(Slapi_Entry* e, const char *type,
unsigned int l);
Parameters This function takes the following parameters:
Entry in which you want to set the value.
e
Attribute type in which you want to set the value.
type
Unsigned integer value that you want assigned to the attribute.
l
24.26 slapi_entry_attr_set_ulong()
Description This function will replace the value or values of an attribute with the unsigned
long value that you specify. If the attribute does not exist, it is created with the unsigned long
value that you specify.
Syntax
222 Functions for managing entries