aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_peerinfo_service.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2011-01-03 14:21:25 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2011-01-03 14:21:25 +0000
commit748e690fe49e2639076cb76e6a4a4c5eb04e130e (patch)
treef76bcad30b4efc1f8daaf309ba38c3496603ce82 /src/include/gnunet_peerinfo_service.h
parentcb3c882dbb05a797728dfd8b5983ade5a8999eac (diff)
downloadgnunet-748e690fe49e2639076cb76e6a4a4c5eb04e130e.tar.gz
gnunet-748e690fe49e2639076cb76e6a4a4c5eb04e130e.zip
Changed peerinfo api to distinguish between last element and timeout
Diffstat (limited to 'src/include/gnunet_peerinfo_service.h')
-rw-r--r--src/include/gnunet_peerinfo_service.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/gnunet_peerinfo_service.h b/src/include/gnunet_peerinfo_service.h
index 1c34d83bb..1411168c0 100644
--- a/src/include/gnunet_peerinfo_service.h
+++ b/src/include/gnunet_peerinfo_service.h
@@ -95,11 +95,13 @@ GNUNET_PEERINFO_add_peer (struct GNUNET_PEERINFO_Handle *h,
95 * @param cls closure 95 * @param cls closure
96 * @param peer id of the peer, NULL for last call 96 * @param peer id of the peer, NULL for last call
97 * @param hello hello message for the peer (can be NULL) 97 * @param hello hello message for the peer (can be NULL)
98 * @param error message
98 */ 99 */
99typedef void 100typedef void
100 (*GNUNET_PEERINFO_Processor) (void *cls, 101 (*GNUNET_PEERINFO_Processor) (void *cls,
101 const struct GNUNET_PeerIdentity * peer, 102 const struct GNUNET_PeerIdentity * peer,
102 const struct GNUNET_HELLO_Message * hello); 103 const struct GNUNET_HELLO_Message * hello,
104 const char * err_msg);
103 105
104 106
105/** 107/**