diff options
-rw-r--r-- | src/include/gnunet_rps_service.h | 7 | ||||
-rw-r--r-- | src/rps/rps_api.c | 9 |
2 files changed, 16 insertions, 0 deletions
diff --git a/src/include/gnunet_rps_service.h b/src/include/gnunet_rps_service.h index 497e9b67e..f7dd253e0 100644 --- a/src/include/gnunet_rps_service.h +++ b/src/include/gnunet_rps_service.h | |||
@@ -105,6 +105,13 @@ GNUNET_RPS_request_peers (struct GNUNET_RPS_Handle *h, uint64_t n, | |||
105 | void *cls); | 105 | void *cls); |
106 | 106 | ||
107 | /** | 107 | /** |
108 | * Seed rps service with peerIDs. | ||
109 | */ | ||
110 | void | ||
111 | GNUNET_RPS_seed_ids (struct GNUNET_RPS_Handle *h, uint64_t n, | ||
112 | struct GNUNET_PeerIdentity * ids); | ||
113 | |||
114 | /** | ||
108 | * Cancle an issued request. | 115 | * Cancle an issued request. |
109 | * | 116 | * |
110 | * @param rh handle of the pending request to be canceled | 117 | * @param rh handle of the pending request to be canceled |
diff --git a/src/rps/rps_api.c b/src/rps/rps_api.c index ba8a594b7..6dd6c5748 100644 --- a/src/rps/rps_api.c +++ b/src/rps/rps_api.c | |||
@@ -256,6 +256,15 @@ GNUNET_RPS_request_peers (struct GNUNET_RPS_Handle *h, uint64_t n, | |||
256 | } | 256 | } |
257 | 257 | ||
258 | /** | 258 | /** |
259 | * Seed rps service with peerIDs. | ||
260 | */ | ||
261 | void | ||
262 | GNUNET_RPS_seed_ids (struct GNUNET_RPS_Handle *h, uint64_t n, | ||
263 | struct GNUNET_PeerIdentity * ids) | ||
264 | { | ||
265 | } | ||
266 | |||
267 | /** | ||
259 | * Cancle an issued request. | 268 | * Cancle an issued request. |
260 | */ | 269 | */ |
261 | void | 270 | void |