diff options
Diffstat (limited to 'src/include/gnunet_friends_lib.h')
-rw-r--r-- | src/include/gnunet_friends_lib.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/gnunet_friends_lib.h b/src/include/gnunet_friends_lib.h index dda1d3245..a60787654 100644 --- a/src/include/gnunet_friends_lib.h +++ b/src/include/gnunet_friends_lib.h | |||
@@ -33,10 +33,10 @@ | |||
33 | * Signature of a function called on each friend found. | 33 | * Signature of a function called on each friend found. |
34 | * | 34 | * |
35 | * @param cls closure | 35 | * @param cls closure |
36 | * @param friend peer identity of the friend | 36 | * @param friend_id peer identity of the friend |
37 | */ | 37 | */ |
38 | typedef void (*GNUNET_FRIENDS_Callback)(void *cls, | 38 | typedef void (*GNUNET_FRIENDS_Callback)(void *cls, |
39 | const struct GNUNET_PeerIdentity *friend); | 39 | const struct GNUNET_PeerIdentity *friend_id); |
40 | 40 | ||
41 | 41 | ||
42 | /** | 42 | /** |
@@ -84,12 +84,12 @@ GNUNET_FRIENDS_write_stop (struct GNUNET_FRIENDS_Writer *w); | |||
84 | * Add a friend to the friends file. | 84 | * Add a friend to the friends file. |
85 | * | 85 | * |
86 | * @param w write handle | 86 | * @param w write handle |
87 | * @param friend friend to add | 87 | * @param friend_id friend to add |
88 | * @return #GNUNET_OK on success, #GNUNET_SYSERR on error | 88 | * @return #GNUNET_OK on success, #GNUNET_SYSERR on error |
89 | */ | 89 | */ |
90 | int | 90 | int |
91 | GNUNET_FRIENDS_write (struct GNUNET_FRIENDS_Writer *w, | 91 | GNUNET_FRIENDS_write (struct GNUNET_FRIENDS_Writer *w, |
92 | const struct GNUNET_PeerIdentity *friend); | 92 | const struct GNUNET_PeerIdentity *friend_id); |
93 | 93 | ||
94 | 94 | ||
95 | #endif | 95 | #endif |