aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_peer_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_peer_lib.h')
-rw-r--r--src/include/gnunet_peer_lib.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/gnunet_peer_lib.h b/src/include/gnunet_peer_lib.h
index 0121e84..6f5dee8 100644
--- a/src/include/gnunet_peer_lib.h
+++ b/src/include/gnunet_peer_lib.h
@@ -98,6 +98,24 @@ void
GNUNET_PEER_resolve (GNUNET_PEER_Id id, struct GNUNET_PeerIdentity *pid);
+/**
+ * Convert an interned PID to a normal peer identity.
+ *
+ * @param id interned PID to convert
+ * @return pointer to peer identity, valid as long 'id' is valid
+ */
+const struct GNUNET_PeerIdentity *
+GNUNET_PEER_resolve2 (GNUNET_PEER_Id id);
+
+
+#if 0 /* keep Emacsens' auto-indent happy */
+{
+#endif
+#ifdef __cplusplus
+}
+#endif
+
+
/* ifndef GNUNET_PEER_LIB_H */
#endif
/* end of gnunet_peer_lib.h */