aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2010-07-30 14:44:00 +0000
committerNathan S. Evans <evans@in.tum.de>2010-07-30 14:44:00 +0000
commit1d605879a1c408422e38e7cf10f5a2682f8780aa (patch)
tree536194aa89a7184090be8c126ccf72107eb90753 /src
parent8feed578afc70ea0fcd42f9fb4965a0b5b275546 (diff)
downloadgnunet-1d605879a1c408422e38e7cf10f5a2682f8780aa.tar.gz
gnunet-1d605879a1c408422e38e7cf10f5a2682f8780aa.zip
h2s_full, useful for testing
Diffstat (limited to 'src')
-rw-r--r--src/include/gnunet_common.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h
index 0639ba0a2..8703dc3b7 100644
--- a/src/include/gnunet_common.h
+++ b/src/include/gnunet_common.h
@@ -228,6 +228,16 @@ void GNUNET_logger_remove (GNUNET_Logger logger, void *logger_cls);
228 */ 228 */
229const char *GNUNET_h2s (const GNUNET_HashCode *hc); 229const char *GNUNET_h2s (const GNUNET_HashCode *hc);
230 230
231/**
232 * Convert a hash value to a string (for printing debug messages).
233 * This prints all 104 characters of a hashcode!
234 * This is one of the very few calls in the entire API that is
235 * NOT reentrant!
236 *
237 * @param hc the hash code
238 * @return string
239 */
240const char *GNUNET_h2s_full (const GNUNET_HashCode *hc);
231 241
232/** 242/**
233 * Convert a peer identity to a string (for printing debug messages). 243 * Convert a peer identity to a string (for printing debug messages).