GNUnet 0.22.2
GNUNET_BLOCK_PluginFunctions Struct Reference

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>

Collaboration diagram for GNUNET_BLOCK_PluginFunctions:
[legend]

Data Fields

void * cls
 Closure for all of the callbacks. More...
 
enum GNUNET_BLOCK_Typetypes
 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...
 

Detailed Description

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.

Field Documentation

◆ cls

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().

◆ types

◆ get_key

◆ create_group

◆ check_query

◆ check_block

◆ check_reply


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