42.7. slapi_value_get_length()

Description

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

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 one of the following values:

  • The length of the value contained in Slapi_Value.
  • 0 if there is no value.