Skip to main content

Name

sieve_inc_counter — Increment the specified counter

Synopsis

#include "sieve/ecsieve.h"

| void **sieve_inc_counter** ( | counter, |   | |   | clen, |   | |   | phase, |   | |   | plen, |   | |   | type); |   |

const char * <var class="pdparam">counter</var>; int <var class="pdparam">clen</var>; const char * <var class="pdparam">phase</var>; int <var class="pdparam">plen</var>; int <var class="pdparam">type</var>;

Description

Increment the specified counter.

Parameters

counter

The counter to increment.

clen

The length of the counter parameter.

phase

The phase in which to increment the counter.

plen

The length of the phase parameter.

type

One of the following counter types:

#define SIEVE_COUNTER_TYPE_5XX  0
#define SIEVE_COUNTER_TYPE_4XX  1
#define SIEVE_COUNTER_TYPE_INFO 2

Return Values

This function returns void.

Threading

It is legal to call this function in any thread.

Was this page helpful?