summaryrefslogtreecommitdiff
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.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/include/gnunet_peer_lib.h b/src/include/gnunet_peer_lib.h
index b1c7220e2..e7caa1062 100644
--- a/src/include/gnunet_peer_lib.h
+++ b/src/include/gnunet_peer_lib.h
@@ -11,12 +11,12 @@
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18 SPDX-License-Identifier: AGPL3.0-or-later 18 SPDX-License-Identifier: AGPL3.0-or-later
19*/ 19 */
20 20
21/** 21/**
22 * @author Christian Grothoff 22 * @author Christian Grothoff
@@ -58,7 +58,7 @@ typedef unsigned int GNUNET_PEER_Id;
58 * @return the interned identity or 0. 58 * @return the interned identity or 0.
59 */ 59 */
60GNUNET_PEER_Id 60GNUNET_PEER_Id
61GNUNET_PEER_search (const struct GNUNET_PeerIdentity *pid); 61GNUNET_PEER_search(const struct GNUNET_PeerIdentity *pid);
62 62
63 63
64/** 64/**
@@ -69,7 +69,7 @@ GNUNET_PEER_search (const struct GNUNET_PeerIdentity *pid);
69 * @return the interned identity. 69 * @return the interned identity.
70 */ 70 */
71GNUNET_PEER_Id 71GNUNET_PEER_Id
72GNUNET_PEER_intern (const struct GNUNET_PeerIdentity *pid); 72GNUNET_PEER_intern(const struct GNUNET_PeerIdentity *pid);
73 73
74 74
75/** 75/**
@@ -79,7 +79,7 @@ GNUNET_PEER_intern (const struct GNUNET_PeerIdentity *pid);
79 * @param delta how much to change the RC 79 * @param delta how much to change the RC
80 */ 80 */
81void 81void
82GNUNET_PEER_change_rc (GNUNET_PEER_Id id, int delta); 82GNUNET_PEER_change_rc(GNUNET_PEER_Id id, int delta);
83 83
84 84
85/** 85/**
@@ -89,8 +89,8 @@ GNUNET_PEER_change_rc (GNUNET_PEER_Id id, int delta);
89 * @param count size of the @a ids array 89 * @param count size of the @a ids array
90 */ 90 */
91void 91void
92GNUNET_PEER_decrement_rcs (const GNUNET_PEER_Id *ids, 92GNUNET_PEER_decrement_rcs(const GNUNET_PEER_Id *ids,
93 unsigned int count); 93 unsigned int count);
94 94
95 95
96/** 96/**
@@ -100,8 +100,8 @@ GNUNET_PEER_decrement_rcs (const GNUNET_PEER_Id *ids,
100 * @param pid where to write the normal peer identity 100 * @param pid where to write the normal peer identity
101 */ 101 */
102void 102void
103GNUNET_PEER_resolve (GNUNET_PEER_Id id, 103GNUNET_PEER_resolve(GNUNET_PEER_Id id,
104 struct GNUNET_PeerIdentity *pid); 104 struct GNUNET_PeerIdentity *pid);
105 105
106 106
107/** 107/**
@@ -111,7 +111,7 @@ GNUNET_PEER_resolve (GNUNET_PEER_Id id,
111 * @return pointer to peer identity, valid as long @a id is valid 111 * @return pointer to peer identity, valid as long @a id is valid
112 */ 112 */
113const struct GNUNET_PeerIdentity * 113const struct GNUNET_PeerIdentity *
114GNUNET_PEER_resolve2 (GNUNET_PEER_Id id); 114GNUNET_PEER_resolve2(GNUNET_PEER_Id id);
115 115
116 116
117#if 0 /* keep Emacsens' auto-indent happy */ 117#if 0 /* keep Emacsens' auto-indent happy */