31.4. slapi_counter_get_value()

Atomically gets the current value of the counter.
Syntax

#include "slapi-plugin.h"
PRUint64 slapi_counter_get_value(Slapi_Counter *counter);

Parameters

This function takes the following parameter:

counter The name of the counter for which the value is checked.
Returns

The function returns the value of the counter (the current count).