diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_core_service.h | 4 | ||||
-rw-r--r-- | src/include/gnunet_protocols.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/include/gnunet_core_service.h b/src/include/gnunet_core_service.h index abfcd1d3b..8c57b23b7 100644 --- a/src/include/gnunet_core_service.h +++ b/src/include/gnunet_core_service.h | |||
@@ -357,13 +357,13 @@ GNUNET_CORE_peer_change_preference_cancel (struct GNUNET_CORE_InformationRequest | |||
357 | /** | 357 | /** |
358 | * Iterate over all connected peers. | 358 | * Iterate over all connected peers. |
359 | * | 359 | * |
360 | * @param h core handle | 360 | * @param cfg configuration handle |
361 | * @param peer_cb function to call with the peer information | 361 | * @param peer_cb function to call with the peer information |
362 | * @param cb_cls closure for peer_cb | 362 | * @param cb_cls closure for peer_cb |
363 | * @return GNUNET_OK on success, GNUNET_SYSERR on errors | 363 | * @return GNUNET_OK on success, GNUNET_SYSERR on errors |
364 | */ | 364 | */ |
365 | int | 365 | int |
366 | GNUNET_CORE_iterate_peers (struct GNUNET_CORE_Handle *h, | 366 | GNUNET_CORE_iterate_peers (const struct GNUNET_CONFIGURATION_Handle *cfg, |
367 | GNUNET_CORE_ConnectEventHandler peer_cb, | 367 | GNUNET_CORE_ConnectEventHandler peer_cb, |
368 | void *cb_cls); | 368 | void *cb_cls); |
369 | 369 | ||
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h index 4d9fec4ca..e9eee668a 100644 --- a/src/include/gnunet_protocols.h +++ b/src/include/gnunet_protocols.h | |||
@@ -377,6 +377,10 @@ extern "C" | |||
377 | */ | 377 | */ |
378 | #define GNUNET_MESSAGE_TYPE_CORE_REQUEST_CONNECT 77 | 378 | #define GNUNET_MESSAGE_TYPE_CORE_REQUEST_CONNECT 77 |
379 | 379 | ||
380 | /** | ||
381 | * Request for peer iteration from CORE service. | ||
382 | */ | ||
383 | #define GNUNET_MESSAGE_TYPE_CORE_ITERATE_PEERS 78 | ||
380 | 384 | ||
381 | /** | 385 | /** |
382 | * Session key exchange between peers. | 386 | * Session key exchange between peers. |