diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-02-26 23:39:29 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-02-26 23:39:29 +0100 |
commit | 82242cae3bb6313ee10df20570e4c14627828033 (patch) | |
tree | c628b5323c1ec8cbf0915e04bb7a1fa7864d7ea9 /src/include/gnunet_block_plugin.h | |
parent | cc8f37a834298d95c233769d19eb9cd17e3dbcfd (diff) |
add validation for inner consensus element
The nested block validation requires the block context, and thus the
evaluate callback not also receives the block context.
Diffstat (limited to 'src/include/gnunet_block_plugin.h')
-rw-r--r-- | src/include/gnunet_block_plugin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/gnunet_block_plugin.h b/src/include/gnunet_block_plugin.h index 171b6cfc05..3eb031573e 100644 --- a/src/include/gnunet_block_plugin.h +++ b/src/include/gnunet_block_plugin.h @@ -171,6 +171,7 @@ typedef struct GNUNET_BLOCK_Group * * be done with the "get_key" function. * * @param cls closure + * @param ctx block context * @param type block type * @param group which block group to use for evaluation * @param eo evaluation options to control evaluation @@ -183,6 +184,7 @@ typedef struct GNUNET_BLOCK_Group * */ typedef enum GNUNET_BLOCK_EvaluationResult (*GNUNET_BLOCK_EvaluationFunction) (void *cls, + struct GNUNET_BLOCK_Context *ctx, enum GNUNET_BLOCK_Type type, struct GNUNET_BLOCK_Group *group, enum GNUNET_BLOCK_EvaluationOptions eo, |