GNUnet 0.21.1
Data Cache plugin API

API for database backends for the datacache. More...

Collaboration diagram for Data Cache plugin API:

Data Structures

struct  GNUNET_DATACACHE_PluginEnvironment
 The datastore service will pass a pointer to a struct of this type as the first and only argument to the entry point of each datastore plugin. More...
 
struct  GNUNET_DATACACHE_PluginFunctions
 struct returned by the initialization function of the plugin More...
 

Typedefs

typedef void(* GNUNET_DATACACHE_DeleteNotifyCallback) (void *cls, const struct GNUNET_HashCode *key, size_t size)
 Function called by plugins to notify the datacache about content deletions. More...
 

Detailed Description

API for database backends for the datacache.

Typedef Documentation

◆ GNUNET_DATACACHE_DeleteNotifyCallback

typedef void(* GNUNET_DATACACHE_DeleteNotifyCallback) (void *cls, const struct GNUNET_HashCode *key, size_t size)

Function called by plugins to notify the datacache about content deletions.

Parameters
clsclosure
keykey of the content that was deleted
sizenumber of bytes that were made available

Definition at line 57 of file gnunet_datacache_plugin.h.