From 5494e5f35f201244247c07fcddfe134f2234485b Mon Sep 17 00:00:00 2001 From: lurchi Date: Tue, 18 Jul 2017 22:59:42 +0200 Subject: forgot declaration of GNUNET_h2s2 --- src/include/gnunet_common.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/include/gnunet_common.h') 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). -- cgit v1.2.3