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

Field Documentation

◆ cls

void* GNUNET_BLOCK_PluginFunctions::cls

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