gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: forgot declaration of GNUNE


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: forgot declaration of GNUNET_h2s2
Date: Tue, 18 Jul 2017 23:03:08 +0200

This is an automated email from the git hooks/post-receive script.

lurchi pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 5494e5f35 forgot declaration of GNUNET_h2s2
5494e5f35 is described below

commit 5494e5f35f201244247c07fcddfe134f2234485b
Author: lurchi <address@hidden>
AuthorDate: Tue Jul 18 22:59:42 2017 +0200

    forgot declaration of GNUNET_h2s2
---
 src/include/gnunet_common.h | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

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);
 /**
  * @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).
  * This prints all 104 characters of a hashcode!
  * This is one of the very few calls in the entire API that is
  * NOT reentrant!

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]