[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] 65/90: -DOC: Documentation cleanup pass through BLOCK library
From: |
gnunet |
Subject: |
[gnunet] 65/90: -DOC: Documentation cleanup pass through BLOCK library |
Date: |
Tue, 18 Oct 2022 03:07:04 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
commit 2d2c37c438c9a0a98798ff1ddd7c99550bdabae9
Author: Willow Liquorice <willow@howhill.com>
AuthorDate: Wed Sep 7 21:48:07 2022 +0100
-DOC: Documentation cleanup pass through BLOCK library
---
src/block/plugin_block_template.c | 7 +++----
src/block/plugin_block_test.c | 7 +++----
src/include/gnunet_block_lib.h | 1 -
3 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/src/block/plugin_block_template.c
b/src/block/plugin_block_template.c
index 46a370924..4a271fa42 100644
--- a/src/block/plugin_block_template.c
+++ b/src/block/plugin_block_template.c
@@ -55,7 +55,7 @@
* by this @a type of block (this is not an error)
*/
static struct GNUNET_BLOCK_Group *
-block_plugin_template_create_group (void *cls,
+block_plugin_template_create_group (void *ctx,
enum GNUNET_BLOCK_Type type,
const void *raw_data,
size_t raw_data_size,
@@ -79,7 +79,7 @@ block_plugin_template_create_group (void *cls,
bf_size = TEMPLATE_BF_SIZE;
}
GNUNET_break (NULL == va_arg (va, const char *));
- return GNUNET_BLOCK_GROUP_bf_create (cls,
+ return GNUNET_BLOCK_GROUP_bf_create (ctx,
bf_size,
BLOOMFILTER_K,
type,
@@ -92,10 +92,9 @@ block_plugin_template_create_group (void *cls,
* Function called to validate a query.
*
* @param cls closure
- * @param ctx block context
* @param type block type
* @param query original query (hash)
- * @param xquery extrended query data (can be NULL, depending on type)
+ * @param xquery extended query data (can be NULL, depending on type)
* @param xquery_size number of bytes in @a xquery
* @return #GNUNET_OK if the query is fine, #GNUNET_NO if not, #GNUNET_SYSERR
if not supported
*/
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 @@
* by this @a type of block (this is not an error)
*/
static struct GNUNET_BLOCK_Group *
-block_plugin_test_create_group (void *cls,
+block_plugin_test_create_group (void *ctx,
enum GNUNET_BLOCK_Type type,
const void *raw_data,
size_t raw_data_size,
@@ -77,7 +77,7 @@ block_plugin_test_create_group (void *cls,
bf_size = TEST_BF_SIZE;
}
GNUNET_break (NULL == va_arg (va, const char *));
- return GNUNET_BLOCK_GROUP_bf_create (cls,
+ return GNUNET_BLOCK_GROUP_bf_create (ctx,
bf_size,
BLOOMFILTER_K,
type,
@@ -90,10 +90,9 @@ block_plugin_test_create_group (void *cls,
* Function called to validate a query.
*
* @param cls closure
- * @param ctx block context
* @param type block type
* @param query original query (hash)
- * @param xquery extrended query data (can be NULL, depending on type)
+ * @param xquery extended query data (can be NULL, depending on type)
* @param xquery_size number of bytes in @a xquery
* @return #GNUNET_OK if the query is fine, #GNUNET_NO if not, #GNUNET_SYSERR
if @a type is not supported
*/
diff --git a/src/include/gnunet_block_lib.h b/src/include/gnunet_block_lib.h
index a9a5ec8af..6a6de712b 100644
--- a/src/include/gnunet_block_lib.h
+++ b/src/include/gnunet_block_lib.h
@@ -131,7 +131,6 @@ struct GNUNET_BLOCK_Group;
*
* @param ctx block context in which the block group is created
* @param type type of the block for which we are creating the group
- * @param nonce random value used to seed the group creation
* @param raw_data optional serialized prior state of the group, NULL if
unavailable/fresh
* @param raw_data_size number of bytes in @a raw_data, 0 if unavailable/fresh
* @param ... type-specific additional data, can be empty
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnunet] 31/90: -DOC: Major doc comment stripping pass through TRANSPORT, (continued)
- [gnunet] 31/90: -DOC: Major doc comment stripping pass through TRANSPORT, gnunet, 2022/10/17
- [gnunet] 12/90: -DOC: Comment stripping pass in old SET subsystem, gnunet, 2022/10/17
- [gnunet] 30/90: -DOC: Redirected doxygen warnings to doxygen_warnings.log, gnunet, 2022/10/17
- [gnunet] 34/90: -DOC: Another comment stripping pass through RECLAIM, gnunet, 2022/10/17
- [gnunet] 18/90: -DOC: Comment stripping pass in STATISTICS service, gnunet, 2022/10/17
- [gnunet] 39/90: -DOC: Comment stripping pass through PEERSTORE, gnunet, 2022/10/17
- [gnunet] 38/90: -DOC: Comment stripping pass through NAT service, gnunet, 2022/10/17
- [gnunet] 51/90: -DOC: Documentation cleanup pass through DHT subsystem, gnunet, 2022/10/17
- [gnunet] 48/90: -DOC: Documentation cleanup pass through ABD subsystem, gnunet, 2022/10/17
- [gnunet] 66/90: -DOC: Documentation cleanup pass through HELLO library, gnunet, 2022/10/17
- [gnunet] 65/90: -DOC: Documentation cleanup pass through BLOCK library,
gnunet <=
- [gnunet] 74/90: -DOC: Documentation cleanup pass through EXIT daemon, gnunet, 2022/10/17
- [gnunet] 81/90: -DOC: Documentation cleanup pass through STATISTICS subsystem, gnunet, 2022/10/17
- [gnunet] 24/90: -DOC: Comment stripping pass in SECRETSHARING service, gnunet, 2022/10/17
- [gnunet] 17/90: -DOC: Comment stripping pass in SQ library, gnunet, 2022/10/17
- [gnunet] 28/90: -DOC: used \f$ commands to bracket formulae here, so the inside is actually treated like LaTeX, gnunet, 2022/10/17
- [gnunet] 32/90: -DOC: Another comment stripping pass through TESTBED, gnunet, 2022/10/17
- [gnunet] 35/90: -DOC: Another comment stripping pass through old SET subsystem, gnunet, 2022/10/17
- [gnunet] 36/90: -DOC: Another comment stripping pass through SETU, gnunet, 2022/10/17
- [gnunet] 45/90: -DOC: Documentation cleanup pass through CADET subsystem, gnunet, 2022/10/17
- [gnunet] 47/90: -DOC: Documentation cleanup pass through RECLAIM subsystem, gnunet, 2022/10/17