Sun Java System Directory Server Enterprise Edition 6.3 Developer's Guide

slapi_entry_attr_set_ulong()

Replaces the value or values of an attribute in an entry with a specified unsigned long data type value.

Syntax

#include "slapi-plugin.h"
void slapi_entry_attr_set_ulong(Slapi_Entry* e, const char *type,
    unsigned 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

Unsigned long value that you want assigned to the attribute.

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.