Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 326

Table of Contents

Advertisement

Functions for Managing Entries
slapi_entry_attr_set_int()
Replaces the value or values of an attribute in an entry with a specified integer data
value.
Syntax
#include "slapi-plugin.h"
void slapi_entry_attr_set_int(Slapi_Entry* e, char *type,
int l);
Parameters
This function takes the following parameters:
e
type
l
Description
This function will replace the value or values of an attribute with the
value that you specify. If the attribute does not exist, it is created with the integer
value that you specify.
slapi_entry_attr_set_long()
Replaces the value or values of an attribute in an entry with a specified long data
type value.
Syntax
#include "slapi-plugin.h"
void slapi_entry_attr_set_long(Slapi_Entry* e, char *type,
unsigned long l);
Parameters
This function takes the following parameters:
e
type
l
326
Netscape Directory Server Plug-In Programmer's Guide • August 2002
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.
Entry in which you want to set the value.
Attribute type in which you want to set the value.
Long integer value that you want assigned to the attribute.
integer

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents