Skip to main content

Name

ec_fc_store — Store entry in the cache with the provided key and key length

Synopsis

#include "ec_fc.h"

| int **ec_fc_store** ( | cache, |   | |   | entry, |   | |   | key, |   | |   | key_length); |   |

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

Store entry in the cache with the provided key and key length.

Parameters

cache

cache to operate on

entry

entry to associate key with and add to cache

key

key to associate with entry

key_length

length of key in bytes

Return Values

Returns 0 on success, non-zero on failure.

Was this page helpful?