Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 321

Table of Contents

Advertisement

Returns
This function returns one of the following values:
The first value in the attribute converted to an integer.
0
slapi_entry_attr_get_long()
Gets the first value of an attribute in an entry as a long data type.
Syntax
#include "slapi-plugin.h"
long slapi_entry_attr_get_long( const Slapi_Entry* e,
const char *type);
Parameters
This function takes the following parameters:
e
type
Returns
This function returns one of the following values:
The first value in the attribute converted to a
0
slapi_entry_attr_get_uint()
Gets the first value of an attribute in an entry as a unsigned integer data type.
Syntax
#include "slapi-plugin.h"
unsigned int slapi_entry_attr_get_uint( const Slapi_Entry* e,
const char *type);
Parameters
This function takes the following parameters:
if the entry does not contain the attribute.
Entry from which you want to get the long value.
Attribute type from which you want to get the value.
if the entry does not contain the attribute specified.
Functions for Managing Entries
type.
long
Chapter 15
Function Reference
321

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents