42.11. slapi_value_get_ulong()

Description

Converts the value contained in the Slapi_Value structure into an unsigned long integer.

Syntax

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

Parameters

This function takes the following parameter:

value
Pointer to the value that you wish to get as an unsigned integer.
Returns

This function returns one of the following values:

  • An unsigned long integer which corresponds to the value stored in the Slapi_Value structure.
  • 0 if there is no value.