![]() |
GNUnet
0.16.x
|
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 64 of file gnunet_datacache_plugin.h.
const struct GNUNET_CONFIGURATION_Handle* GNUNET_DATACACHE_PluginEnvironment::cfg |
Configuration to use.
Definition at line 69 of file gnunet_datacache_plugin.h.
Referenced by gnunet_testing.Peer::__del__(), client_configure_plugin(), core_init_cb(), execute_get(), gnunet_testing.Peer::get_statistics_value(), gnunet_try_connect(), init_connection(), libgnunet_plugin_transport_tcp_init(), libgnunet_plugin_transport_unix_init(), server_configure_plugin(), server_start_report_addresses(), setup_broadcast(), setup_sockets(), sqlite_plugin_put(), gnunet_testing.Peer::start(), and gnunet_testing.Peer::stop().
const char* GNUNET_DATACACHE_PluginEnvironment::section |
Configuration section to use.
Definition at line 74 of file gnunet_datacache_plugin.h.
void* GNUNET_DATACACHE_PluginEnvironment::cls |
Closure to use for callbacks.
Definition at line 79 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(), find_closest(), 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_del(), 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_del(), 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().
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 85 of file gnunet_datacache_plugin.h.
Referenced by find_closest(), postgres_plugin_del(), and sqlite_plugin_del().
unsigned long long GNUNET_DATACACHE_PluginEnvironment::quota |
How much space are we allowed to use?
Definition at line 90 of file gnunet_datacache_plugin.h.