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/regex/plugin_block_regex.c | |
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/regex/plugin_block_regex.c')
-rw-r--r-- | src/regex/plugin_block_regex.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/regex/plugin_block_regex.c b/src/regex/plugin_block_regex.c index a345dfedb3..0b3ef703e6 100644 --- a/src/regex/plugin_block_regex.c +++ b/src/regex/plugin_block_regex.c @@ -269,6 +269,7 @@ evaluate_block_regex_accept (void *cls, * be done with the #GNUNET_BLOCK_get_key() function. * * @param cls closure + * @param ctx block context * @param type block type * @param bg group to evaluate against * @param eo control flags @@ -281,6 +282,7 @@ evaluate_block_regex_accept (void *cls, */ static enum GNUNET_BLOCK_EvaluationResult block_plugin_regex_evaluate (void *cls, + struct GNUNET_BLOCK_Context *ctx, enum GNUNET_BLOCK_Type type, struct GNUNET_BLOCK_Group *bg, enum GNUNET_BLOCK_EvaluationOptions eo, |