diff options
author | lurchi <lurchi@strangeplace.net> | 2017-07-18 22:59:42 +0200 |
---|---|---|
committer | lurchi <lurchi@strangeplace.net> | 2017-07-18 23:02:52 +0200 |
commit | 5494e5f35f201244247c07fcddfe134f2234485b (patch) | |
tree | 9280dd4c06350e62b2dcacde5c8a7bc06783a9d5 /src/include/gnunet_common.h | |
parent | 07b12468549c690048d38a30e2c4db8dc0583eda (diff) | |
download | gnunet-5494e5f35f201244247c07fcddfe134f2234485b.tar.gz gnunet-5494e5f35f201244247c07fcddfe134f2234485b.zip |
forgot declaration of GNUNET_h2s2
Diffstat (limited to 'src/include/gnunet_common.h')
-rw-r--r-- | src/include/gnunet_common.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h index bda011fb2..d7f7b76ff 100644 --- a/src/include/gnunet_common.h +++ b/src/include/gnunet_common.h | |||
@@ -585,6 +585,21 @@ GNUNET_h2s (const struct GNUNET_HashCode * hc); | |||
585 | /** | 585 | /** |
586 | * @ingroup logging | 586 | * @ingroup logging |
587 | * Convert a hash value to a string (for printing debug messages). | 587 | * Convert a hash value to a string (for printing debug messages). |
588 | * This is one of the very few calls in the entire API that is | ||
589 | * NOT reentrant! Identical to #GNUNET_h2s(), except that another | ||
590 | * buffer is used so both #GNUNET_h2s() and #GNUNET_h2s2() can be | ||
591 | * used within the same log statement. | ||
592 | * | ||
593 | * @param hc the hash code | ||
594 | * @return string | ||
595 | */ | ||
596 | const char * | ||
597 | GNUNET_h2s2 (const struct GNUNET_HashCode * hc); | ||
598 | |||
599 | |||
600 | /** | ||
601 | * @ingroup logging | ||
602 | * Convert a hash value to a string (for printing debug messages). | ||
588 | * This prints all 104 characters of a hashcode! | 603 | * This prints all 104 characters of a hashcode! |
589 | * This is one of the very few calls in the entire API that is | 604 | * This is one of the very few calls in the entire API that is |
590 | * NOT reentrant! | 605 | * NOT reentrant! |