diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2022-03-12 08:15:28 +0100 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2022-03-12 08:15:28 +0100 |
commit | aca54f89d9d95caf1b3535185208b83274d937a7 (patch) | |
tree | 102a406571368c8852f741da9b9c2d2105ddf4db /src/include | |
parent | 3ecdd45a715c745fa3fd73bb67b808425e907b75 (diff) | |
download | gnunet-aca54f89d9d95caf1b3535185208b83274d937a7.tar.gz gnunet-aca54f89d9d95caf1b3535185208b83274d937a7.zip |
consider HELLOs also from PUTs, remove exact duplicates even if block type is unknown
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_block_group_lib.h | 2 | ||||
-rw-r--r-- | src/include/gnunet_block_lib.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/gnunet_block_group_lib.h b/src/include/gnunet_block_group_lib.h index 6cb601757..b03e913c6 100644 --- a/src/include/gnunet_block_group_lib.h +++ b/src/include/gnunet_block_group_lib.h | |||
@@ -94,7 +94,7 @@ GNUNET_BLOCK_GROUP_bf_create (void *cls, | |||
94 | * @return #GNUNET_YES if @a hc is (likely) a duplicate | 94 | * @return #GNUNET_YES if @a hc is (likely) a duplicate |
95 | * #GNUNET_NO if @a hc was definitively not in @bg (but now is) | 95 | * #GNUNET_NO if @a hc was definitively not in @bg (but now is) |
96 | */ | 96 | */ |
97 | int | 97 | enum GNUNET_GenericReturnValue |
98 | GNUNET_BLOCK_GROUP_bf_test_and_set (struct GNUNET_BLOCK_Group *bg, | 98 | GNUNET_BLOCK_GROUP_bf_test_and_set (struct GNUNET_BLOCK_Group *bg, |
99 | const struct GNUNET_HashCode *hc); | 99 | const struct GNUNET_HashCode *hc); |
100 | 100 | ||
diff --git a/src/include/gnunet_block_lib.h b/src/include/gnunet_block_lib.h index 463c7af9f..515b8256c 100644 --- a/src/include/gnunet_block_lib.h +++ b/src/include/gnunet_block_lib.h | |||
@@ -294,7 +294,7 @@ GNUNET_BLOCK_group_destroy (struct GNUNET_BLOCK_Group *bg); | |||
294 | * | 294 | * |
295 | * @param ctx block contxt | 295 | * @param ctx block contxt |
296 | * @param type block type | 296 | * @param type block type |
297 | * @param group block group to use for evaluation | 297 | * @param[in,out] group block group to use for evaluation |
298 | * @param query original query (hash) | 298 | * @param query original query (hash) |
299 | * @param xquery extrended query data (can be NULL, depending on type) | 299 | * @param xquery extrended query data (can be NULL, depending on type) |
300 | * @param xquery_size number of bytes in @a xquery | 300 | * @param xquery_size number of bytes in @a xquery |