Each plugin is required to return a pointer to a struct of this type as the return value from its entry point. More...
#include <gnunet_block_plugin.h>
Data Fields | |
void * | cls |
Closure for all of the callbacks. More... | |
enum GNUNET_BLOCK_Type * | types |
0-terminated array of block types supported by this plugin. More... | |
GNUNET_BLOCK_GetKeyFunction | get_key |
Obtain the key for a given block (if possible). More... | |
GNUNET_BLOCK_GroupCreateFunction | create_group |
Create a block group to process a bunch of blocks in a shared context (i.e. More... | |
GNUNET_BLOCK_QueryEvaluationFunction | check_query |
Check that a query is well-formed. More... | |
GNUNET_BLOCK_BlockEvaluationFunction | check_block |
Check that a block is well-formed. More... | |
GNUNET_BLOCK_ReplyEvaluationFunction | check_reply |
Check that a reply block matches a query. More... | |
Each plugin is required to return a pointer to a struct of this type as the return value from its entry point.
Definition at line 253 of file gnunet_block_plugin.h.
void* GNUNET_BLOCK_PluginFunctions::cls |
Closure for all of the callbacks.
Definition at line 258 of file gnunet_block_plugin.h.
Referenced by DHTU_gnunet_done(), DHTU_ip_done(), libgnunet_plugin_block_consensus_done(), libgnunet_plugin_block_consensus_init(), libgnunet_plugin_block_dht_done(), libgnunet_plugin_block_dns_done(), libgnunet_plugin_block_fs_done(), libgnunet_plugin_block_gns_done(), libgnunet_plugin_block_regex_done(), libgnunet_plugin_block_revocation_done(), libgnunet_plugin_block_revocation_init(), libgnunet_plugin_block_set_test_done(), libgnunet_plugin_block_seti_test_done(), libgnunet_plugin_block_setu_test_done(), libgnunet_plugin_block_template_done(), libgnunet_plugin_block_test_done(), libgnunet_plugin_datacache_heap_done(), libgnunet_plugin_datacache_heap_init(), libgnunet_plugin_datacache_postgres_done(), libgnunet_plugin_datacache_postgres_init(), libgnunet_plugin_datacache_sqlite_done(), libgnunet_plugin_datacache_sqlite_init(), libgnunet_plugin_datacache_template_done(), libgnunet_plugin_datacache_template_init(), libgnunet_plugin_datastore_heap_done(), libgnunet_plugin_datastore_heap_init(), libgnunet_plugin_datastore_postgres_done(), libgnunet_plugin_datastore_postgres_init(), libgnunet_plugin_datastore_sqlite_done(), libgnunet_plugin_datastore_template_done(), libgnunet_plugin_datastore_template_init(), libgnunet_plugin_namecache_flat_done(), libgnunet_plugin_namecache_postgres_done(), libgnunet_plugin_namecache_sqlite_done(), libgnunet_plugin_namestore_flat_done(), libgnunet_plugin_namestore_postgres_done(), libgnunet_plugin_namestore_sqlite_done(), libgnunet_plugin_peerstore_sqlite_done(), libgnunet_plugin_rest_reclaim_done(), REST_config_done(), REST_copying_done(), REST_gns_done(), REST_identity_done(), REST_namestore_done(), REST_openid_done(), and REST_reclaim_done().
enum GNUNET_BLOCK_Type* GNUNET_BLOCK_PluginFunctions::types |
0-terminated array of block types supported by this plugin.
Definition at line 263 of file gnunet_block_plugin.h.
Referenced by libgnunet_plugin_block_consensus_init(), libgnunet_plugin_block_dht_init(), libgnunet_plugin_block_dns_init(), libgnunet_plugin_block_fs_init(), libgnunet_plugin_block_gns_init(), libgnunet_plugin_block_regex_init(), libgnunet_plugin_block_revocation_init(), libgnunet_plugin_block_SERVICE_init(), libgnunet_plugin_block_set_test_init(), libgnunet_plugin_block_seti_test_init(), libgnunet_plugin_block_setu_test_init(), libgnunet_plugin_block_template_init(), and libgnunet_plugin_block_test_init().
GNUNET_BLOCK_GetKeyFunction GNUNET_BLOCK_PluginFunctions::get_key |
Obtain the key for a given block (if possible).
Definition at line 268 of file gnunet_block_plugin.h.
Referenced by libgnunet_plugin_block_consensus_init(), libgnunet_plugin_block_dht_init(), libgnunet_plugin_block_dns_init(), libgnunet_plugin_block_fs_init(), libgnunet_plugin_block_gns_init(), libgnunet_plugin_block_regex_init(), libgnunet_plugin_block_revocation_init(), libgnunet_plugin_block_SERVICE_init(), libgnunet_plugin_block_set_test_init(), libgnunet_plugin_block_seti_test_init(), libgnunet_plugin_block_setu_test_init(), libgnunet_plugin_block_template_init(), libgnunet_plugin_block_test_init(), libgnunet_plugin_datastore_heap_init(), libgnunet_plugin_datastore_postgres_init(), and libgnunet_plugin_datastore_template_init().
GNUNET_BLOCK_GroupCreateFunction GNUNET_BLOCK_PluginFunctions::create_group |
Create a block group to process a bunch of blocks in a shared context (i.e.
to detect duplicates).
Definition at line 274 of file gnunet_block_plugin.h.
Referenced by libgnunet_plugin_block_dht_init(), libgnunet_plugin_block_dns_init(), libgnunet_plugin_block_fs_init(), libgnunet_plugin_block_gns_init(), libgnunet_plugin_block_regex_init(), libgnunet_plugin_block_revocation_init(), libgnunet_plugin_block_template_init(), and libgnunet_plugin_block_test_init().
GNUNET_BLOCK_QueryEvaluationFunction GNUNET_BLOCK_PluginFunctions::check_query |
Check that a query is well-formed.
Definition at line 279 of file gnunet_block_plugin.h.
Referenced by libgnunet_plugin_block_consensus_init(), libgnunet_plugin_block_dht_init(), libgnunet_plugin_block_dns_init(), libgnunet_plugin_block_fs_init(), libgnunet_plugin_block_gns_init(), libgnunet_plugin_block_regex_init(), libgnunet_plugin_block_revocation_init(), libgnunet_plugin_block_set_test_init(), libgnunet_plugin_block_seti_test_init(), libgnunet_plugin_block_setu_test_init(), libgnunet_plugin_block_template_init(), and libgnunet_plugin_block_test_init().
GNUNET_BLOCK_BlockEvaluationFunction GNUNET_BLOCK_PluginFunctions::check_block |
Check that a block is well-formed.
Definition at line 284 of file gnunet_block_plugin.h.
Referenced by libgnunet_plugin_block_consensus_init(), libgnunet_plugin_block_dht_init(), libgnunet_plugin_block_dns_init(), libgnunet_plugin_block_fs_init(), libgnunet_plugin_block_gns_init(), libgnunet_plugin_block_regex_init(), libgnunet_plugin_block_revocation_init(), libgnunet_plugin_block_set_test_init(), libgnunet_plugin_block_seti_test_init(), libgnunet_plugin_block_setu_test_init(), libgnunet_plugin_block_template_init(), and libgnunet_plugin_block_test_init().
GNUNET_BLOCK_ReplyEvaluationFunction GNUNET_BLOCK_PluginFunctions::check_reply |
Check that a reply block matches a query.
Definition at line 289 of file gnunet_block_plugin.h.
Referenced by libgnunet_plugin_block_consensus_init(), libgnunet_plugin_block_dht_init(), libgnunet_plugin_block_dns_init(), libgnunet_plugin_block_fs_init(), libgnunet_plugin_block_gns_init(), libgnunet_plugin_block_regex_init(), libgnunet_plugin_block_revocation_init(), libgnunet_plugin_block_set_test_init(), libgnunet_plugin_block_seti_test_init(), libgnunet_plugin_block_setu_test_init(), libgnunet_plugin_block_template_init(), and libgnunet_plugin_block_test_init().