GNUnet  0.11.x
Data Fields
GNUNET_DATACACHE_Handle Struct Reference

Internal state of the datacache library. More...

Collaboration diagram for GNUNET_DATACACHE_Handle:
[legend]

Data Fields

struct GNUNET_CONTAINER_BloomFilterfilter
 Bloomfilter to quickly tell if we don't have the content. More...
 
const struct GNUNET_CONFIGURATION_Handlecfg
 Our configuration. More...
 
struct GNUNET_STATISTICS_Handlestats
 Opaque handle for the statistics service. More...
 
char * section
 Configuration section to use. More...
 
struct GNUNET_DATACACHE_PluginFunctionsapi
 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...
 

Detailed Description

Internal state of the datacache library.

Definition at line 40 of file datacache.c.

Field Documentation

◆ filter

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.

◆ cfg

const struct GNUNET_CONFIGURATION_Handle* GNUNET_DATACACHE_Handle::cfg

◆ stats

struct GNUNET_STATISTICS_Handle* GNUNET_DATACACHE_Handle::stats

Opaque handle for the statistics service.

Definition at line 55 of file datacache.c.

◆ section

char* GNUNET_DATACACHE_Handle::section

Configuration section to use.

Definition at line 60 of file datacache.c.

◆ api

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.

◆ short_name

char* GNUNET_DATACACHE_Handle::short_name

Short name for the plugin (e.g.

"sqlite").

Definition at line 71 of file datacache.c.

◆ lib_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.

◆ bloom_name

char* GNUNET_DATACACHE_Handle::bloom_name

Name for the bloom filter file.

Definition at line 81 of file datacache.c.

◆ env

struct GNUNET_DATACACHE_PluginEnvironment GNUNET_DATACACHE_Handle::env

Environment provided to our plugin.

Definition at line 81 of file datacache.c.

◆ utilization

unsigned long long GNUNET_DATACACHE_Handle::utilization

How much space is in use right now?

Definition at line 91 of file datacache.c.


The documentation for this struct was generated from the following file: