ec_fc_invalidate_key
Name
ec_fc_invalidate_key — Remove an entry from the cache with the associated key and key length
Synopsis
#include "ec_fc.h"
| int **ec_fc_invalidate_key** (
| cache, | |
| | key, | |
| | key_length)
; | |
ec_fc_t * <var class="pdparam">cache</var>
;
const void * <var class="pdparam">key</var>
;
size_t <var class="pdparam">key_length</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 an entry from the cache with the associated key and key length.
- cache
-
cache to operate on
- key
-
key to invalidate from cache
- key_length
-
length of key in bytes
Returns -1 if an entry with the given key is not found, otherwise returns 0.