From: lurchi Date: Tue, 18 Jul 2017 20:59:42 +0000 (+0200) Subject: forgot declaration of GNUNET_h2s2 X-Git-Tag: gnunet-0.11.0rc0~186 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5494e5f35f201244247c07fcddfe134f2234485b;p=oweals%2Fgnunet.git forgot declaration of GNUNET_h2s2 --- 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 @@ -582,6 +582,21 @@ const char * GNUNET_h2s (const struct GNUNET_HashCode * hc); +/** + * @ingroup logging + * Convert a hash value to a string (for printing debug messages). + * This is one of the very few calls in the entire API that is + * NOT reentrant! Identical to #GNUNET_h2s(), except that another + * buffer is used so both #GNUNET_h2s() and #GNUNET_h2s2() can be + * used within the same log statement. + * + * @param hc the hash code + * @return string + */ +const char * +GNUNET_h2s2 (const struct GNUNET_HashCode * hc); + + /** * @ingroup logging * Convert a hash value to a string (for printing debug messages).