diff options
Diffstat (limited to 'src/include/gnunet_peer_lib.h')
-rw-r--r-- | src/include/gnunet_peer_lib.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/gnunet_peer_lib.h b/src/include/gnunet_peer_lib.h index 036eea1dc..b6cba7d32 100644 --- a/src/include/gnunet_peer_lib.h +++ b/src/include/gnunet_peer_lib.h | |||
@@ -48,6 +48,15 @@ typedef unsigned int GNUNET_PEER_Id; | |||
48 | 48 | ||
49 | 49 | ||
50 | /** | 50 | /** |
51 | * Search for a peer identity. The reference counter is not changed. | ||
52 | * | ||
53 | * @param pid identity to find | ||
54 | * @return the interned identity or 0. | ||
55 | */ | ||
56 | GNUNET_PEER_Id GNUNET_PEER_search (const struct GNUNET_PeerIdentity *pid); | ||
57 | |||
58 | |||
59 | /** | ||
51 | * Intern an peer identity. If the identity is already known, its | 60 | * Intern an peer identity. If the identity is already known, its |
52 | * reference counter will be increased by one. | 61 | * reference counter will be increased by one. |
53 | * | 62 | * |