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

slapi_value_get_int()

Converts the value to an integer.

Syntax

#include "slapi-plugin.h"
 int slapi_value_get_int(const Slapi_Value *value);

Parameters

This function takes the following parameter:

value

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

Returns

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

Description

Converts the value in the Slapi_Value to an integer.

See Also

slapi_value_get_long()

slapi_value_get_uint()