ec_alerting_inc_count

March 26, 2020 Contributors

Name

ec_alerting_inc_count — Increment a counter for an arbitrary key for a given binding/domain

Synopsis

#include "modules/generic/alerting.h"

| uint64_t **ec_alerting_inc_count** ( | binding, |   |
|   | domain, |   |
|   | key); |   |

int <var class="pdparam">binding</var>;
const char * <var class="pdparam">domain</var>;
const char * <var class="pdparam">key</var>;

Description

Increment a counter for an arbitrary key for a given binding/domain.

Parameters

binding

The binding of interest.

domain

The domain of interest

key

The key to increment.

Returns the newly incremented value.

Threading

It is legal to call this function in any thread.

See Also

Chapter 42, Scriptlet (and Alerting) Functions