diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-08-03 08:22:59 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-08-03 08:22:59 +0000 |
commit | 7d86288c8819afc624d08cb88e3ed77ab05f541d (patch) | |
tree | ac95abbcf293a8ed18317d8f902fdc1ae421957b /src/include/gnunet_core_service.h | |
parent | 6805357073d73c41c8712c8e852f3a95030bad89 (diff) | |
download | gnunet-7d86288c8819afc624d08cb88e3ed77ab05f541d.tar.gz gnunet-7d86288c8819afc624d08cb88e3ed77ab05f541d.zip |
iterate topoogy header related stuff
Diffstat (limited to 'src/include/gnunet_core_service.h')
-rw-r--r-- | src/include/gnunet_core_service.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/gnunet_core_service.h b/src/include/gnunet_core_service.h index 2434e3770..5dac1fa38 100644 --- a/src/include/gnunet_core_service.h +++ b/src/include/gnunet_core_service.h | |||
@@ -359,6 +359,20 @@ GNUNET_CORE_peer_change_preference (struct GNUNET_SCHEDULER_Handle *sched, | |||
359 | void | 359 | void |
360 | GNUNET_CORE_peer_change_preference_cancel (struct GNUNET_CORE_InformationRequestContext *irc); | 360 | GNUNET_CORE_peer_change_preference_cancel (struct GNUNET_CORE_InformationRequestContext *irc); |
361 | 361 | ||
362 | /** | ||
363 | * Obtain statistics and/or change preferences for the given peer. | ||
364 | * | ||
365 | * @param sched scheduler to use | ||
366 | * @param cfg configuration to use | ||
367 | * @param peer_cb function to call with the peer information | ||
368 | * @param cb_cls closure for peer_cb | ||
369 | * @return GNUNET_OK if iterating, GNUNET_SYSERR on error | ||
370 | */ | ||
371 | int | ||
372 | GNUNET_CORE_iterate_peers (struct GNUNET_SCHEDULER_Handle *sched, | ||
373 | const struct GNUNET_CONFIGURATION_Handle *cfg, | ||
374 | GNUNET_CORE_ConnectEventHandler peer_cb, | ||
375 | void *cb_cls); | ||
362 | 376 | ||
363 | /** | 377 | /** |
364 | * Handle for a transmission request. | 378 | * Handle for a transmission request. |