TFCache

#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

PFnTFCacheGet TFCache::get

Function to get a value for a key.

remove

PFnTFCacheRemove TFCache::remove

Function to remove an entry in the cache.

set

PFnTFCacheSet TFCache::set

Function to set a value for a key.

user_data

void * TFCache::user_data

Data passed to each callback.