aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-10-14 18:27:22 +0000
committerChristian Grothoff <christian@grothoff.org>2012-10-14 18:27:22 +0000
commitf2061adfbfeabe988a185145d9df140d14131e74 (patch)
tree496e7deaebf0dc8c75c2c7f1e308ef9f3c633b2f /src/include
parenta4582ea33040edb25b836eb4533ba085fe70752e (diff)
downloadgnunet-f2061adfbfeabe988a185145d9df140d14131e74.tar.gz
gnunet-f2061adfbfeabe988a185145d9df140d14131e74.zip
-enable peer API to return pointer to interned peer hash code
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_peer_lib.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/gnunet_peer_lib.h b/src/include/gnunet_peer_lib.h
index 617aca67c..6f5dee845 100644
--- a/src/include/gnunet_peer_lib.h
+++ b/src/include/gnunet_peer_lib.h
@@ -98,6 +98,16 @@ void
98GNUNET_PEER_resolve (GNUNET_PEER_Id id, struct GNUNET_PeerIdentity *pid); 98GNUNET_PEER_resolve (GNUNET_PEER_Id id, struct GNUNET_PeerIdentity *pid);
99 99
100 100
101/**
102 * Convert an interned PID to a normal peer identity.
103 *
104 * @param id interned PID to convert
105 * @return pointer to peer identity, valid as long 'id' is valid
106 */
107const struct GNUNET_PeerIdentity *
108GNUNET_PEER_resolve2 (GNUNET_PEER_Id id);
109
110
101#if 0 /* keep Emacsens' auto-indent happy */ 111#if 0 /* keep Emacsens' auto-indent happy */
102{ 112{
103#endif 113#endif