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_BLOCK_evaluate(), GNUNET_BLOCK_get_key(), GNUNET_BLOCK_group_create(), 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(), and libgnunet_plugin_block_test_done().

◆ 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: