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...
#include <gnunet_datacache_plugin.h>
Data Fields | |
const struct GNUNET_CONFIGURATION_Handle * | cfg |
Configuration to use. More... | |
const char * | section |
Configuration section to use. More... | |
void * | cls |
Closure to use for callbacks. More... | |
GNUNET_DATACACHE_DeleteNotifyCallback | delete_notify |
Function to call whenever the plugin needs to discard content that it was asked to store. More... | |
unsigned long long | quota |
How much space are we allowed to use? More... | |
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.
Definition at line 68 of file gnunet_datacache_plugin.h.
const struct GNUNET_CONFIGURATION_Handle* GNUNET_DATACACHE_PluginEnvironment::cfg |
Configuration to use.
Definition at line 73 of file gnunet_datacache_plugin.h.
const char* GNUNET_DATACACHE_PluginEnvironment::section |
Configuration section to use.
Definition at line 78 of file gnunet_datacache_plugin.h.
void* GNUNET_DATACACHE_PluginEnvironment::cls |
Closure to use for callbacks.
Definition at line 83 of file gnunet_datacache_plugin.h.
Referenced by libgnunet_plugin_datacache_heap_init(), libgnunet_plugin_datacache_postgres_init(), libgnunet_plugin_datacache_sqlite_init(), and libgnunet_plugin_datacache_template_init().
GNUNET_DATACACHE_DeleteNotifyCallback GNUNET_DATACACHE_PluginEnvironment::delete_notify |
Function to call whenever the plugin needs to discard content that it was asked to store.
Definition at line 89 of file gnunet_datacache_plugin.h.
unsigned long long GNUNET_DATACACHE_PluginEnvironment::quota |
How much space are we allowed to use?
Definition at line 94 of file gnunet_datacache_plugin.h.