aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-01-22 12:21:24 +0100
committerChristian Grothoff <christian@grothoff.org>2017-01-22 12:21:24 +0100
commit02132e8fc311b966154fd5d9f0b3686ea8c2bf86 (patch)
tree2917a9efadd6c66432b21c88131691c0ca38424a /src/include
parent0e6da3245dec82dd5f3a0f1cd3f3505bf454422d (diff)
downloadgnunet-02132e8fc311b966154fd5d9f0b3686ea8c2bf86.tar.gz
gnunet-02132e8fc311b966154fd5d9f0b3686ea8c2bf86.zip
introcude GNUNET_i2s2()
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_common.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h
index 9ad604711..fdcae66fa 100644
--- a/src/include/gnunet_common.h
+++ b/src/include/gnunet_common.h
@@ -614,6 +614,22 @@ GNUNET_i2s (const struct GNUNET_PeerIdentity *pid);
614 * @ingroup logging 614 * @ingroup logging
615 * Convert a peer identity to a string (for printing debug messages). 615 * Convert a peer identity to a string (for printing debug messages).
616 * This is one of the very few calls in the entire API that is 616 * This is one of the very few calls in the entire API that is
617 * NOT reentrant! Identical to #GNUNET_i2s(), except that another
618 * buffer is used so both #GNUNET_i2s() and #GNUNET_i2s2() can be
619 * used within the same log statement.
620 *
621 * @param pid the peer identity
622 * @return string form of the pid; will be overwritten by next
623 * call to #GNUNET_i2s().
624 */
625const char *
626GNUNET_i2s2 (const struct GNUNET_PeerIdentity *pid);
627
628
629/**
630 * @ingroup logging
631 * Convert a peer identity to a string (for printing debug messages).
632 * This is one of the very few calls in the entire API that is
617 * NOT reentrant! 633 * NOT reentrant!
618 * 634 *
619 * @param pid the peer identity 635 * @param pid the peer identity