gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r12412 - gnunet/src/include


From: gnunet
Subject: [GNUnet-SVN] r12412 - gnunet/src/include
Date: Fri, 30 Jul 2010 16:44:00 +0200

Author: nevans
Date: 2010-07-30 16:44:00 +0200 (Fri, 30 Jul 2010)
New Revision: 12412

Modified:
   gnunet/src/include/gnunet_common.h
Log:
h2s_full, useful for testing

Modified: gnunet/src/include/gnunet_common.h
===================================================================
--- gnunet/src/include/gnunet_common.h  2010-07-30 14:43:32 UTC (rev 12411)
+++ gnunet/src/include/gnunet_common.h  2010-07-30 14:44:00 UTC (rev 12412)
@@ -228,6 +228,16 @@
  */
 const char *GNUNET_h2s (const GNUNET_HashCode *hc);
 
+/**
+ * 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!
+ *
+ * @param hc the hash code
+ * @return string
+ */
+const char *GNUNET_h2s_full (const GNUNET_HashCode *hc);
 
 /**
  * Convert a peer identity to a string (for printing debug messages).




reply via email to

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