diff options
Diffstat (limited to 'src/block/plugin_block_test.c')
-rw-r--r-- | src/block/plugin_block_test.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/block/plugin_block_test.c b/src/block/plugin_block_test.c index 2e404bbc2..5afac9205 100644 --- a/src/block/plugin_block_test.c +++ b/src/block/plugin_block_test.c | |||
@@ -53,7 +53,7 @@ | |||
53 | * by this @a type of block (this is not an error) | 53 | * by this @a type of block (this is not an error) |
54 | */ | 54 | */ |
55 | static struct GNUNET_BLOCK_Group * | 55 | static struct GNUNET_BLOCK_Group * |
56 | block_plugin_test_create_group (void *cls, | 56 | block_plugin_test_create_group (void *ctx, |
57 | enum GNUNET_BLOCK_Type type, | 57 | enum GNUNET_BLOCK_Type type, |
58 | const void *raw_data, | 58 | const void *raw_data, |
59 | size_t raw_data_size, | 59 | size_t raw_data_size, |
@@ -77,7 +77,7 @@ block_plugin_test_create_group (void *cls, | |||
77 | bf_size = TEST_BF_SIZE; | 77 | bf_size = TEST_BF_SIZE; |
78 | } | 78 | } |
79 | GNUNET_break (NULL == va_arg (va, const char *)); | 79 | GNUNET_break (NULL == va_arg (va, const char *)); |
80 | return GNUNET_BLOCK_GROUP_bf_create (cls, | 80 | return GNUNET_BLOCK_GROUP_bf_create (ctx, |
81 | bf_size, | 81 | bf_size, |
82 | BLOOMFILTER_K, | 82 | BLOOMFILTER_K, |
83 | type, | 83 | type, |
@@ -90,10 +90,9 @@ block_plugin_test_create_group (void *cls, | |||
90 | * Function called to validate a query. | 90 | * Function called to validate a query. |
91 | * | 91 | * |
92 | * @param cls closure | 92 | * @param cls closure |
93 | * @param ctx block context | ||
94 | * @param type block type | 93 | * @param type block type |
95 | * @param query original query (hash) | 94 | * @param query original query (hash) |
96 | * @param xquery extrended query data (can be NULL, depending on type) | 95 | * @param xquery extended query data (can be NULL, depending on type) |
97 | * @param xquery_size number of bytes in @a xquery | 96 | * @param xquery_size number of bytes in @a xquery |
98 | * @return #GNUNET_OK if the query is fine, #GNUNET_NO if not, #GNUNET_SYSERR if @a type is not supported | 97 | * @return #GNUNET_OK if the query is fine, #GNUNET_NO if not, #GNUNET_SYSERR if @a type is not supported |
99 | */ | 98 | */ |