ec_fc_purge2

March 26, 2020 Contributors

Name

ec_fc_purge2 — Quickly purge all items from the cache

Synopsis

#include "ec_fc.h"

| unsigned int **ec_fc_purge2** ( | cache, |   |
|   | reset_key_index); |   |

ec_fc_t * <var class="pdparam">cache</var>;
int <var class="pdparam">reset_key_index</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.

Quickly purge all items from the cache.

Parameters

cache

cache to purge all entries from

reset_key_index

whether to reset the key index or just destroy it

Return Values

Returns number of purged entries.