GNUnet  0.11.x
Data Fields
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_EvaluationFunction evaluate
 Main function of a block 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...
 

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 222 of file gnunet_block_plugin.h.

Field Documentation

◆ cls

void* GNUNET_BLOCK_PluginFunctions::cls

Closure for all of the callbacks.

Definition at line 227 of file gnunet_block_plugin.h.

Referenced by GNUNET_GNSRECORD_number_to_typename(), GNUNET_GNSRECORD_string_to_value(), GNUNET_GNSRECORD_typename_to_number(), GNUNET_GNSRECORD_value_to_string(), GNUNET_RECLAIM_attribute_number_to_typename(), GNUNET_RECLAIM_attribute_string_to_value(), GNUNET_RECLAIM_attribute_typename_to_number(), GNUNET_RECLAIM_attribute_value_to_string(), GNUNET_RECLAIM_credential_get_attributes(), GNUNET_RECLAIM_credential_get_expiration(), GNUNET_RECLAIM_credential_get_issuer(), GNUNET_RECLAIM_credential_get_presentation(), GNUNET_RECLAIM_credential_number_to_typename(), GNUNET_RECLAIM_credential_string_to_value(), GNUNET_RECLAIM_credential_typename_to_number(), GNUNET_RECLAIM_credential_value_to_string(), GNUNET_RECLAIM_presentation_get_attributes(), GNUNET_RECLAIM_presentation_get_expiration(), GNUNET_RECLAIM_presentation_get_issuer(), GNUNET_RECLAIM_presentation_number_to_typename(), GNUNET_RECLAIM_presentation_string_to_value(), GNUNET_RECLAIM_presentation_typename_to_number(), GNUNET_RECLAIM_presentation_value_to_string(), libgnunet_plugin_block_consensus_done(), 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_mysql_done(), libgnunet_plugin_datastore_mysql_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_dhtu_gnunet_done(), libgnunet_plugin_dhtu_ip_done(), 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_flat_done(), libgnunet_plugin_peerstore_sqlite_done(), libgnunet_plugin_rest_config_done(), libgnunet_plugin_rest_copying_done(), libgnunet_plugin_rest_gns_done(), libgnunet_plugin_rest_identity_done(), libgnunet_plugin_rest_namestore_done(), libgnunet_plugin_rest_openid_connect_done(), libgnunet_plugin_rest_peerinfo_done(), libgnunet_plugin_rest_reclaim_done(), LIBGNUNET_PLUGIN_TRANSPORT_DONE(), libgnunet_plugin_transport_tcp_done(), libgnunet_plugin_transport_template_init(), libgnunet_plugin_transport_unix_done(), and libgnunet_plugin_transport_unix_init().

◆ types

enum GNUNET_BLOCK_Type* GNUNET_BLOCK_PluginFunctions::types

◆ evaluate

GNUNET_BLOCK_EvaluationFunction GNUNET_BLOCK_PluginFunctions::evaluate

◆ get_key

GNUNET_BLOCK_GetKeyFunction GNUNET_BLOCK_PluginFunctions::get_key

◆ create_group

GNUNET_BLOCK_GroupCreateFunction GNUNET_BLOCK_PluginFunctions::create_group

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