diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-11-16 15:21:20 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-11-16 15:21:20 +0000 |
commit | 03b104dab570998b1f791994a8134d35b4b4dc0a (patch) | |
tree | 98851c89adfbdeef8e0f1a3eff3d1854160ebd48 /src/include/gnunet_core_service.h | |
parent | 7f8e018e0b12b0ecc1a6021020af9e5f84846b02 (diff) | |
download | gnunet-03b104dab570998b1f791994a8134d35b4b4dc0a.tar.gz gnunet-03b104dab570998b1f791994a8134d35b4b4dc0a.zip |
Testing changes required to work with new core api. Revert GNUNET_CORE_iterate_peers call to work properly.
Diffstat (limited to 'src/include/gnunet_core_service.h')
-rw-r--r-- | src/include/gnunet_core_service.h | 4 |
1 files changed, 2 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 | ||