aboutsummaryrefslogtreecommitdiff
path: root/doc/documentation/tutorial-examples/021.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/documentation/tutorial-examples/021.c')
-rw-r--r--doc/documentation/tutorial-examples/021.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/documentation/tutorial-examples/021.c b/doc/documentation/tutorial-examples/021.c
new file mode 100644
index 0000000000..688a31fe0e
--- /dev/null
+++ b/doc/documentation/tutorial-examples/021.c
@@ -0,0 +1,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
+}
+