GNUnet  0.18.1
GNUNET_DATACACHE_PluginEnvironment Struct Reference

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>

Collaboration diagram for GNUNET_DATACACHE_PluginEnvironment:
[legend]

Data Fields

const struct GNUNET_CONFIGURATION_Handlecfg
 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...
 

Detailed Description

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.

Field Documentation

◆ cfg

◆ section

const char* GNUNET_DATACACHE_PluginEnvironment::section

Configuration section to use.

Definition at line 78 of file gnunet_datacache_plugin.h.

Referenced by httpdomain.httpdomain.DocRef::__repr__().

◆ cls

void* GNUNET_DATACACHE_PluginEnvironment::cls

Closure to use for callbacks.

Definition at line 83 of file gnunet_datacache_plugin.h.

Referenced by address_notification(), analyze_send_error(), broadcast_mst_cb(), client_receive_mst_cb(), core_connect_cb(), create_source(), create_target(), database_setup(), execute_get(), execute_select(), handle_core_message(), handle_helper_message(), handle_tcp_data(), handle_tcp_welcome(), http_client_plugin_get_session(), http_client_plugin_session_disconnect(), iface_proc(), libgnunet_plugin_datacache_heap_init(), libgnunet_plugin_datacache_postgres_init(), libgnunet_plugin_datacache_sqlite_init(), libgnunet_plugin_datacache_template_init(), libgnunet_plugin_dhtu_gnunet_done(), libgnunet_plugin_dhtu_ip_done(), LIBGNUNET_PLUGIN_TRANSPORT_DONE(), libgnunet_plugin_transport_http_client_done(), libgnunet_plugin_transport_unix_done(), mysql_plugin_drop(), mysql_plugin_put(), mysql_plugin_remove_key(), nse_cb(), peerinfo_cb(), postgres_plugin_put(), postgres_plugin_remove_key(), process_data(), process_inbound_tokenized_messages(), process_result(), process_udp_message(), read_cb(), server_add_address(), server_delete_session(), server_lookup_connection(), server_notify_external_hostname(), server_receive_mst_cb(), server_remove_address(), sqlite_plugin_put(), sqlite_plugin_remove_key(), tcp_nat_port_map_callback(), tcp_plugin_disconnect_session(), tcp_plugin_get_session(), udp_disconnect_session(), udp_nat_port_map_callback(), udp_plugin_get_session(), udp_select_read(), unix_demultiplexer(), unix_plugin_session_disconnect(), and wlan_plugin_disconnect_session().

◆ delete_notify

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.

◆ quota

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.


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