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.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/include/gnunet_peer_lib.h b/src/include/gnunet_peer_lib.h
index da364dd44..89413aa59 100644
--- a/src/include/gnunet_peer_lib.h
+++ b/src/include/gnunet_peer_lib.h
@@ -53,7 +53,8 @@ typedef unsigned int GNUNET_PEER_Id;
53 * @param pid identity to find 53 * @param pid identity to find
54 * @return the interned identity or 0. 54 * @return the interned identity or 0.
55 */ 55 */
56GNUNET_PEER_Id GNUNET_PEER_search (const struct GNUNET_PeerIdentity *pid); 56GNUNET_PEER_Id
57GNUNET_PEER_search (const struct GNUNET_PeerIdentity *pid);
57 58
58 59
59/** 60/**
@@ -63,7 +64,8 @@ GNUNET_PEER_Id GNUNET_PEER_search (const struct GNUNET_PeerIdentity *pid);
63 * @param pid identity to intern 64 * @param pid identity to intern
64 * @return the interned identity. 65 * @return the interned identity.
65 */ 66 */
66GNUNET_PEER_Id GNUNET_PEER_intern (const struct GNUNET_PeerIdentity *pid); 67GNUNET_PEER_Id
68GNUNET_PEER_intern (const struct GNUNET_PeerIdentity *pid);
67 69
68 70
69/** 71/**
@@ -72,7 +74,8 @@ GNUNET_PEER_Id GNUNET_PEER_intern (const struct GNUNET_PeerIdentity *pid);
72 * @param id identity to change the RC of 74 * @param id identity to change the RC of
73 * @param delta how much to change the RC 75 * @param delta how much to change the RC
74 */ 76 */
75void GNUNET_PEER_change_rc (GNUNET_PEER_Id id, int delta); 77void
78GNUNET_PEER_change_rc (GNUNET_PEER_Id id, int delta);
76 79
77 80
78/** 81/**
@@ -81,7 +84,8 @@ void GNUNET_PEER_change_rc (GNUNET_PEER_Id id, int delta);
81 * @param ids array of PIDs to decrement the RCs of 84 * @param ids array of PIDs to decrement the RCs of
82 * @param count size of the ids array 85 * @param count size of the ids array
83 */ 86 */
84void GNUNET_PEER_decrement_rcs (const GNUNET_PEER_Id *ids, unsigned int count); 87void
88GNUNET_PEER_decrement_rcs (const GNUNET_PEER_Id *ids, unsigned int count);
85 89
86 90
87/** 91/**
@@ -90,7 +94,8 @@ void GNUNET_PEER_decrement_rcs (const GNUNET_PEER_Id *ids, unsigned int count);
90 * @param id interned PID to convert 94 * @param id interned PID to convert
91 * @param pid where to write the normal peer identity 95 * @param pid where to write the normal peer identity
92 */ 96 */
93void GNUNET_PEER_resolve (GNUNET_PEER_Id id, struct GNUNET_PeerIdentity *pid); 97void
98GNUNET_PEER_resolve (GNUNET_PEER_Id id, struct GNUNET_PeerIdentity *pid);
94 99
95 100
96/* ifndef GNUNET_PEER_LIB_H */ 101/* ifndef GNUNET_PEER_LIB_H */