aboutsummaryrefslogtreecommitdiff
path: root/doc/documentation/tutorial-examples/021.c
blob: 688a31fe0e228aec2ee75a926e3499ec6a74afce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
static enum GNUNET_BLOCK_EvaluationResult
block_plugin_SERVICE_evaluate (void *cls,
                              enum GNUNET_BLOCK_Type type,
                              struct GNUNET_BlockGroup *bg,
                              const GNUNET_HashCode *query,
                              const void *xquery,
                              size_t xquery_size,
                              const void *reply_block,
                              size_t reply_block_size)
{
  // Verify type, block and bg
}