gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] 69/90: -DOC: Documentation cleanup pass through CONSENSUS subsy


From: gnunet
Subject: [gnunet] 69/90: -DOC: Documentation cleanup pass through CONSENSUS subsystem
Date: Tue, 18 Oct 2022 03:07:08 +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 20bd667f1d4f60730118dfc0cd56f3f9fad49330
Author: Willow Liquorice <willow@howhill.com>
AuthorDate: Wed Sep 7 23:03:03 2022 +0100

    -DOC: Documentation cleanup pass through CONSENSUS subsystem
---
 src/consensus/plugin_block_consensus.c |  1 -
 src/include/gnunet_my_lib.h            |  4 ++--
 src/my/my_query_helper.c               | 14 +++++++-------
 src/my/my_result_helper.c              |  7 -------
 src/mysql/mysql.c                      |  1 -
 5 files changed, 9 insertions(+), 18 deletions(-)

diff --git a/src/consensus/plugin_block_consensus.c 
b/src/consensus/plugin_block_consensus.c
index f30b9b0d7..241d8fc7b 100644
--- a/src/consensus/plugin_block_consensus.c
+++ b/src/consensus/plugin_block_consensus.c
@@ -52,7 +52,6 @@ struct BlockContext
  * 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)
diff --git a/src/include/gnunet_my_lib.h b/src/include/gnunet_my_lib.h
index 74f8353e0..16b609979 100644
--- a/src/include/gnunet_my_lib.h
+++ b/src/include/gnunet_my_lib.h
@@ -367,8 +367,8 @@ GNUNET_MY_query_param_uint64 (const uint64_t *x);
  * Variable-size result expected
  *
  * @param[out] dst where to store the result, allocated
- * @param[out] sptr where to store the size of @a dst
- * @return array entru for the result specification to use
+ * @param[out] ptr_size where to store the size of @a dst
+ * @return array entry for the result specification to use
  */
 struct GNUNET_MY_ResultSpec
 GNUNET_MY_result_spec_variable_size (void **dst,
diff --git a/src/my/my_query_helper.c b/src/my/my_query_helper.c
index 97ea04fd1..e44caad91 100644
--- a/src/my/my_query_helper.c
+++ b/src/my/my_query_helper.c
@@ -48,7 +48,7 @@ my_clean_query (void *cls,
  * Function called to convert input argument into SQL parameters.
  *
  * @param cls closure
- * @param pq data about the query
+ * @param qp data about the query
  * @param qbind array of parameters to initialize
  * @return -1 on error
  */
@@ -95,7 +95,7 @@ GNUNET_MY_query_param_fixed_size (const void *ptr,
  * Function called to convert input argument into SQL parameters.
  *
  * @param cls closure
- * @param pq data about the query
+ * @param qp data about the query
  * @param qbind array of parameters to initialize
  * @return -1 on error
  */
@@ -138,7 +138,7 @@ GNUNET_MY_query_param_string (const char *ptr)
  * Function called to convert input argument into SQL parameters
  *
  * @param cls closure
- * @param pq data about the query
+ * @param qp data about the query
  * @param qbind array of parameters to initialize
  * @return -1 on error
  */
@@ -182,7 +182,7 @@ GNUNET_MY_query_param_uint16 (const uint16_t *x)
  * Function called to convert input argument into SQL parameters
  *
  * @param cls closure
- * @param pq data about the query
+ * @param qp data about the query
  * @param qbind array of parameters to initialize
  * @return -1 on error
  */
@@ -226,7 +226,7 @@ GNUNET_MY_query_param_uint32 (const uint32_t *x)
  * Function called to convert input argument into SQL parameters
  *
  * @param cls closure
- * @param pq data about the query
+ * @param qp data about the query
  * @param qbind array of parameters to initialize
  * @return -1 on error
  */
@@ -270,7 +270,7 @@ GNUNET_MY_query_param_uint64 (const uint64_t *x)
  * Function called to convert input argument into SQL parameters
  *
  * @param cls closure
- * @param pq data about the query
+ * @param qp data about the query
  * @param qbind array of parameters to initialize
  * @return -1 on error
  */
@@ -322,7 +322,7 @@ GNUNET_MY_query_param_rsa_public_key (const struct
  * Function called to convert input argument into SQL parameters
  *
  *@param cls closure
- *@param pq data about the query
+ *@param qp data about the query
  *@param qbind array of parameters to initialize
  *@return -1 on error
  */
diff --git a/src/my/my_result_helper.c b/src/my/my_result_helper.c
index fd810b41c..e500c0b27 100644
--- a/src/my/my_result_helper.c
+++ b/src/my/my_result_helper.c
@@ -129,13 +129,6 @@ cleanup_varsize_blob (void *cls,
 }
 
 
-/**
- * Variable-size result expected
- *
- * @param[out] dst where to store the result, allocated
- * @param[out] ptr_size where to store the size of @a dst
- * @return array entru for the result specification to use
- */
 struct GNUNET_MY_ResultSpec
 GNUNET_MY_result_spec_variable_size (void **dst,
                                      size_t *ptr_size)
diff --git a/src/mysql/mysql.c b/src/mysql/mysql.c
index 738659864..4c701905c 100644
--- a/src/mysql/mysql.c
+++ b/src/mysql/mysql.c
@@ -430,7 +430,6 @@ GNUNET_MYSQL_statement_run (struct GNUNET_MYSQL_Context 
*mc, const char *sql)
 /**
  * Prepare a statement for running.
  *
- * @param mc mysql context
  * @param sh statement handle to prepare
  * @return #GNUNET_OK on success
  */

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]