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

slapi_value_get_long()

Converts the value into a long integer.

Syntax

#include "slapi-plugin.h"
 long slapi_value_get_long(const Slapi_Value *value);

Parameters

This function takes the following parameter:

value

Pointer to the Slapi_Value of which you wish to get as a long integer.

Returns

This function returns a long integer that corresponds to the value stored in the Slapi_Value structure, or 0 if there is no value.

Description

This function converts the value contained in the Slapi_Value structure into a long integer.

See Also

slapi_value_get_int()

slapi_value_get_uint()

slapi_value_get_ulong()