summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_trait_hash.c
diff options
context:
space:
mode:
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 = {