aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_rps_service.h
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2015-08-02 14:48:28 +0000
committerJulius Bünger <buenger@mytum.de>2015-08-02 14:48:28 +0000
commitbae0066688e7571b4abdebfb914dba6df0578a6b (patch)
tree4ee2b2171170d169ff8cd55cfe5ad9adf640d5d2 /src/include/gnunet_rps_service.h
parent847e9575ed85eadb979bc416afec7cf898cf00d1 (diff)
downloadgnunet-bae0066688e7571b4abdebfb914dba6df0578a6b.tar.gz
gnunet-bae0066688e7571b4abdebfb914dba6df0578a6b.zip
cancellation of request and according test improvements
Diffstat (limited to 'src/include/gnunet_rps_service.h')
-rw-r--r--src/include/gnunet_rps_service.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/include/gnunet_rps_service.h b/src/include/gnunet_rps_service.h
index e99072cbf..47b153b14 100644
--- a/src/include/gnunet_rps_service.h
+++ b/src/include/gnunet_rps_service.h
@@ -56,7 +56,9 @@ struct GNUNET_RPS_Request_Handle;
56 * @param num_peers the number of peers returned 56 * @param num_peers the number of peers returned
57 * @param peers array with num_peers PeerIDs 57 * @param peers array with num_peers PeerIDs
58 */ 58 */
59typedef void (* GNUNET_RPS_NotifyReadyCB) (void *cls, uint64_t num_peers, const struct GNUNET_PeerIdentity *peers); 59typedef void (* GNUNET_RPS_NotifyReadyCB) (void *cls,
60 uint64_t num_peers,
61 const struct GNUNET_PeerIdentity *peers);
60 62
61/** 63/**
62 * Connect to the rps service 64 * Connect to the rps service
@@ -125,7 +127,8 @@ GNUNET_RPS_request_cancel (struct GNUNET_RPS_Request_Handle *rh);
125GNUNET_RPS_act_malicious (struct GNUNET_RPS_Handle *h, 127GNUNET_RPS_act_malicious (struct GNUNET_RPS_Handle *h,
126 uint32_t type, 128 uint32_t type,
127 uint32_t num_peers, 129 uint32_t num_peers,
128 const struct GNUNET_PeerIdentity *ids); 130 const struct GNUNET_PeerIdentity *ids,
131 const struct GNUNET_PeerIdentity *target_peer);
129#endif /* ENABLE_MALICIOUS */ 132#endif /* ENABLE_MALICIOUS */
130 133
131 134