Internal state of the datacache library. More...
Data Fields | |
struct GNUNET_CONTAINER_BloomFilter * | filter |
Bloomfilter to quickly tell if we don't have the content. More... | |
const struct GNUNET_CONFIGURATION_Handle * | cfg |
Our configuration. More... | |
struct GNUNET_STATISTICS_Handle * | stats |
Opaque handle for the statistics service. More... | |
char * | section |
Configuration section to use. More... | |
struct GNUNET_DATACACHE_PluginFunctions * | api |
API of the transport as returned by the plugin's initialization function. More... | |
char * | short_name |
Short name for the plugin (e.g. More... | |
char * | lib_name |
Name of the library (e.g. More... | |
char * | bloom_name |
Name for the bloom filter file. More... | |
struct GNUNET_DATACACHE_PluginEnvironment | env |
Environment provided to our plugin. More... | |
unsigned long long | utilization |
How much space is in use right now? More... | |
Internal state of the datacache library.
Definition at line 40 of file datacache.c.
struct GNUNET_CONTAINER_BloomFilter* GNUNET_DATACACHE_Handle::filter |
Bloomfilter to quickly tell if we don't have the content.
Definition at line 45 of file datacache.c.
const struct GNUNET_CONFIGURATION_Handle* GNUNET_DATACACHE_Handle::cfg |
Our configuration.
Definition at line 50 of file datacache.c.
struct GNUNET_STATISTICS_Handle* GNUNET_DATACACHE_Handle::stats |
Opaque handle for the statistics service.
Definition at line 55 of file datacache.c.
char* GNUNET_DATACACHE_Handle::section |
Configuration section to use.
Definition at line 60 of file datacache.c.
Referenced by httpdomain.httpdomain.DocRef::__init__(), httpdomain.httpdomain.DocRef::__repr__(), and GNUNET_DATACACHE_create().
struct GNUNET_DATACACHE_PluginFunctions* GNUNET_DATACACHE_Handle::api |
API of the transport as returned by the plugin's initialization function.
Definition at line 66 of file datacache.c.
char* GNUNET_DATACACHE_Handle::short_name |
char* GNUNET_DATACACHE_Handle::lib_name |
Name of the library (e.g.
"gnunet_plugin_datacache_sqlite").
Definition at line 76 of file datacache.c.
char* GNUNET_DATACACHE_Handle::bloom_name |
Name for the bloom filter file.
Definition at line 81 of file datacache.c.
struct GNUNET_DATACACHE_PluginEnvironment GNUNET_DATACACHE_Handle::env |
Environment provided to our plugin.
Definition at line 86 of file datacache.c.
Referenced by httpdomain.httpdomain.HTTPResource::add_target_and_index(), and typescriptdomain.TypeScriptDefinition::run().
unsigned long long GNUNET_DATACACHE_Handle::utilization |
How much space is in use right now?
Definition at line 91 of file datacache.c.