Skip to main content

Name

ec_fc_store_expire — Store entry in the cache with the provided key, key length and expiration time

Synopsis

#include "ec_fc.h"

| int **ec_fc_store_expire** ( | cache, |   | |   | entry, |   | |   | key, |   | |   | key_length, |   | |   | expire); |   |

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>; unsigned int <var class="pdparam">expire</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, key length and expiration time.

Parameters

cache

cache to operate on

entry

entry to store in cache

key

key to associate with entry when stored in cache

key_length

length of key in bytes

expire

expiration time of entry in seconds

Was this page helpful?