audit_series_remove_item

March 26, 2020 Contributors

Name

audit_series_remove_item — Remove the item identified by key in a named series

Synopsis

#include "modules/validate/audit_series.h"

| int **audit_series_remove_item** ( | name, |   |
|   | key, |   |
|   | ac); |   |

const char * <var class="pdparam">name</var>;
char * <var class="pdparam">key</var>;
accept_construct * <var class="pdparam">ac</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

Remove the item identified by key in a named series.

Parameters

name
  • name of the series.
key
  • the key for which the counts is desired. For series of type "cidr", key is of the form "ip/mask". to use the remote IP of current session, caller can pass in "ac" instead.
ac
  • accept construct. This is the alternative for passing in an IP for cidr series.

Return Values

0 if successful, -1 if error.

**Configuration Change. ** This feature is available starting from Momentum 3.1.