diff options
Diffstat (limited to 'src/include/gnunet_common.h')
-rw-r--r-- | src/include/gnunet_common.h | 10 |
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 | */ |
229 | const char *GNUNET_h2s (const GNUNET_HashCode *hc); | 229 | const 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 | */ | ||
240 | const 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). |