summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_trait_hash.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-02 11:46:53 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-02 11:47:25 +0200
commited7b39b035fa18b777b71ddc568deff2f7977c82 (patch)
treea0b6e7b61deb1ee359d73dc5087452cdd166319b /src/testing/testing_api_trait_hash.c
parent3e8be4c4f824a09df14734ac4ccb9bcc5b2535d2 (diff)
downloadanastasis-ed7b39b035fa18b777b71ddc568deff2f7977c82.tar.gz
anastasis-ed7b39b035fa18b777b71ddc568deff2f7977c82.tar.bz2
anastasis-ed7b39b035fa18b777b71ddc568deff2f7977c82.zip
-more documentation fixes
Diffstat (limited to 'src/testing/testing_api_trait_hash.c')
-rw-r--r--src/testing/testing_api_trait_hash.c25
1 files changed, 5 insertions, 20 deletions
diff --git a/src/testing/testing_api_trait_hash.c b/src/testing/testing_api_trait_hash.c
index 18be1ea..fb5015e 100644
--- a/src/testing/testing_api_trait_hash.c
+++ b/src/testing/testing_api_trait_hash.c
@@ -17,7 +17,7 @@
<http://www.gnu.org/licenses/>
*/
/**
- * @file lib/testing_api_trait_hash.c
+ * @file testing/testing_api_trait_hash.c
* @brief traits to offer a hash
* @author Christian Grothoff
*/
@@ -27,17 +27,9 @@
#define ANASTASIS_TESTING_TRAIT_HASH "anastasis-hash"
-/**
- * Obtain a hash from @a cmd.
- *
- * @param cmd command to extract the number from.
- * @param index the number's index number.
- * @param n[out] set to the number coming from @a cmd.
- * @return #GNUNET_OK on success.
- */
int
-ANASTASIS_TESTING_get_trait_hash
- (const struct TALER_TESTING_Command *cmd,
+ANASTASIS_TESTING_get_trait_hash (
+ const struct TALER_TESTING_Command *cmd,
unsigned int index,
const struct GNUNET_HashCode **h)
{
@@ -48,16 +40,9 @@ ANASTASIS_TESTING_get_trait_hash
}
-/**
- * Offer a hash.
- *
- * @param index the number's index number.
- * @param h the hash to offer.
- * @return #GNUNET_OK on success.
- */
struct TALER_TESTING_Trait
-ANASTASIS_TESTING_make_trait_hash
- (unsigned int index,
+ANASTASIS_TESTING_make_trait_hash (
+ unsigned int index,
const struct GNUNET_HashCode *h)
{
struct TALER_TESTING_Trait ret = {