Functions for Managing Entries
See Also
slapi_entry_attr_delete()
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, const 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
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, const char *type,
long l);
Parameters
This function takes the following parameters:
336
Netscape Directory Server Plug-in Programmer's Guide • October 2004
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.
integer
integer
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?