aboutsummaryrefslogtreecommitdiff
path: root/src/regex/plugin_block_regex.c
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-02-26 23:39:29 +0100
committerFlorian Dold <florian.dold@gmail.com>2017-02-26 23:39:29 +0100
commit82242cae3bb6313ee10df20570e4c14627828033 (patch)
treec628b5323c1ec8cbf0915e04bb7a1fa7864d7ea9 /src/regex/plugin_block_regex.c
parentcc8f37a834298d95c233769d19eb9cd17e3dbcfd (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.c2
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,