aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_common.h')
-rw-r--r--src/include/gnunet_common.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h
index 487bd32da..3221ad868 100644
--- a/src/include/gnunet_common.h
+++ b/src/include/gnunet_common.h
@@ -438,6 +438,17 @@ GNUNET_h2s_full (const GNUNET_HashCode * hc);
438const char * 438const char *
439GNUNET_i2s (const struct GNUNET_PeerIdentity *pid); 439GNUNET_i2s (const struct GNUNET_PeerIdentity *pid);
440 440
441/**
442 * Convert a peer identity to a string (for printing debug messages).
443 * This is one of the very few calls in the entire API that is
444 * NOT reentrant!
445 *
446 * @param pid the peer identity
447 * @return string form of the pid; will be overwritten by next
448 * call to GNUNET_i2s.
449 */
450const char *
451GNUNET_i2s_full (const struct GNUNET_PeerIdentity *pid);
441 452
442/** 453/**
443 * Convert a "struct sockaddr*" (IPv4 or IPv6 address) to a string 454 * Convert a "struct sockaddr*" (IPv4 or IPv6 address) to a string