TuningFork_Cache

#include <tuningfork.h>

An object used to cache upload data when no connection is available.

Summary

If you do not supply one of these, data is saved to a temporary file.

Public attributes

get
Function to get a value for a key.
remove
Function to remove an entry in the cache.
set
Function to set a value for a key.
user_data
void *
Data passed to each callback.

Public attributes

get

TuningFork_CacheGet TuningFork_Cache::get

Function to get a value for a key.

remove

TuningFork_CacheRemove TuningFork_Cache::remove

Function to remove an entry in the cache.

set

TuningFork_CacheSet TuningFork_Cache::set

Function to set a value for a key.

user_data

void * TuningFork_Cache::user_data

Data passed to each callback.