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

slapi_value_get_length()

Gets the actual length of the value.

Syntax

#include "slapi-plugin.h"
 size_t slapi_value_get_length(const Slapi_Value *value);

Parameters

This function takes the following parameter:

value

Pointer to the Slapi_Value of which you wish to get the length.

Returns

This function returns the length of the value contained in Slapi_Value, or 0 if there is no value.

Description

This function returns the actual length of a value contained in the Slapi_Value structure.