diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-06-24 13:39:32 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-06-24 13:39:32 +0000 |
commit | a913b5f73410eb3f0568670046d3ecf3b233744f (patch) | |
tree | dcb13bbc2aa2ed6c23832e4c55a0f843c0a68f31 /src/include/gnunet_common.h | |
parent | b2b1773aaa6e7c0c61ff7ac5a5766a8a2ea25495 (diff) | |
download | gnunet-a913b5f73410eb3f0568670046d3ecf3b233744f.tar.gz gnunet-a913b5f73410eb3f0568670046d3ecf3b233744f.zip |
stuff
Diffstat (limited to 'src/include/gnunet_common.h')
-rw-r--r-- | src/include/gnunet_common.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h index 18358c029..aacf6328a 100644 --- a/src/include/gnunet_common.h +++ b/src/include/gnunet_common.h | |||
@@ -207,6 +207,17 @@ void GNUNET_logger_remove (GNUNET_Logger logger, void *logger_cls); | |||
207 | 207 | ||
208 | 208 | ||
209 | /** | 209 | /** |
210 | * Convert a hash value to a string (for printing debug messages). | ||
211 | * This is one of the very few calls in the entire API that is | ||
212 | * NOT reentrant! | ||
213 | * | ||
214 | * @param hc the hash code | ||
215 | * @return string | ||
216 | */ | ||
217 | const char *GNUNET_h2s (const GNUNET_HashCode *hc); | ||
218 | |||
219 | |||
220 | /** | ||
210 | * Convert a peer identity to a string (for printing debug messages). | 221 | * Convert a peer identity to a string (for printing debug messages). |
211 | * This is one of the very few calls in the entire API that is | 222 | * This is one of the very few calls in the entire API that is |
212 | * NOT reentrant! | 223 | * NOT reentrant! |