diff options
Diffstat (limited to 'src/include/gnunet_peerinfo_service.h')
-rw-r--r-- | src/include/gnunet_peerinfo_service.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/src/include/gnunet_peerinfo_service.h b/src/include/gnunet_peerinfo_service.h index 04c63cbb1..2013eb60f 100644 --- a/src/include/gnunet_peerinfo_service.h +++ b/src/include/gnunet_peerinfo_service.h | |||
@@ -83,9 +83,8 @@ void GNUNET_PEERINFO_disconnect (struct GNUNET_PEERINFO_Handle *h); | |||
83 | * @param h handle to the peerinfo service | 83 | * @param h handle to the peerinfo service |
84 | * @param hello the verified (!) HELLO message | 84 | * @param hello the verified (!) HELLO message |
85 | */ | 85 | */ |
86 | void | 86 | void GNUNET_PEERINFO_add_peer (struct GNUNET_PEERINFO_Handle *h, |
87 | GNUNET_PEERINFO_add_peer (struct GNUNET_PEERINFO_Handle *h, | 87 | const struct GNUNET_HELLO_Message *hello); |
88 | const struct GNUNET_HELLO_Message *hello); | ||
89 | 88 | ||
90 | 89 | ||
91 | /** | 90 | /** |
@@ -97,11 +96,11 @@ GNUNET_PEERINFO_add_peer (struct GNUNET_PEERINFO_Handle *h, | |||
97 | * @param hello hello message for the peer (can be NULL) | 96 | * @param hello hello message for the peer (can be NULL) |
98 | * @param error message | 97 | * @param error message |
99 | */ | 98 | */ |
100 | typedef void | 99 | typedef void (*GNUNET_PEERINFO_Processor) (void *cls, |
101 | (*GNUNET_PEERINFO_Processor) (void *cls, | 100 | const struct GNUNET_PeerIdentity * |
102 | const struct GNUNET_PeerIdentity * peer, | 101 | peer, |
103 | const struct GNUNET_HELLO_Message * hello, | 102 | const struct GNUNET_HELLO_Message * |
104 | const char *err_msg); | 103 | hello, const char *err_msg); |
105 | 104 | ||
106 | 105 | ||
107 | /** | 106 | /** |
@@ -148,8 +147,8 @@ struct GNUNET_PEERINFO_IteratorContext *GNUNET_PEERINFO_iterate (struct | |||
148 | * | 147 | * |
149 | * @param ic context of the iterator to cancel | 148 | * @param ic context of the iterator to cancel |
150 | */ | 149 | */ |
151 | void | 150 | void GNUNET_PEERINFO_iterate_cancel (struct GNUNET_PEERINFO_IteratorContext |
152 | GNUNET_PEERINFO_iterate_cancel (struct GNUNET_PEERINFO_IteratorContext *ic); | 151 | *ic); |
153 | 152 | ||
154 | 153 | ||
155 | 154 | ||