diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-11-05 18:21:50 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-11-05 18:21:50 +0000 |
commit | 75a33a1499cf60ea4364c9aa673816629a6c1413 (patch) | |
tree | 0620da4312bb04de4d7b65074fdd3b0c3dd6cc0e /src/include/gnunet_peerinfo_service.h | |
parent | 7217c601ad30760872823193d62307e7a335d226 (diff) | |
download | gnunet-75a33a1499cf60ea4364c9aa673816629a6c1413.tar.gz gnunet-75a33a1499cf60ea4364c9aa673816629a6c1413.zip |
big scheduler refactoring, expect some issues
Diffstat (limited to 'src/include/gnunet_peerinfo_service.h')
-rw-r--r-- | src/include/gnunet_peerinfo_service.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/include/gnunet_peerinfo_service.h b/src/include/gnunet_peerinfo_service.h index d88c6fb41..228e698b3 100644 --- a/src/include/gnunet_peerinfo_service.h +++ b/src/include/gnunet_peerinfo_service.h | |||
@@ -50,14 +50,12 @@ struct GNUNET_PEERINFO_Handle; | |||
50 | /** | 50 | /** |
51 | * Connect to the peerinfo service. | 51 | * Connect to the peerinfo service. |
52 | * | 52 | * |
53 | * @param sched scheduler to use | ||
54 | * @param cfg configuration to use | 53 | * @param cfg configuration to use |
55 | * @return NULL on error (configuration related, actual connection | 54 | * @return NULL on error (configuration related, actual connection |
56 | * etablishment may happen asynchronously). | 55 | * etablishment may happen asynchronously). |
57 | */ | 56 | */ |
58 | struct GNUNET_PEERINFO_Handle * | 57 | struct GNUNET_PEERINFO_Handle * |
59 | GNUNET_PEERINFO_connect (struct GNUNET_SCHEDULER_Handle *sched, | 58 | GNUNET_PEERINFO_connect (const struct GNUNET_CONFIGURATION_Handle *cfg); |
60 | const struct GNUNET_CONFIGURATION_Handle *cfg); | ||
61 | 59 | ||
62 | 60 | ||
63 | 61 | ||
@@ -164,14 +162,12 @@ struct GNUNET_PEERINFO_NotifyContext; | |||
164 | * twice with the same peer information. | 162 | * twice with the same peer information. |
165 | * | 163 | * |
166 | * @param cfg configuration to use | 164 | * @param cfg configuration to use |
167 | * @param sched scheduler to use | ||
168 | * @param callback the method to call for each peer | 165 | * @param callback the method to call for each peer |
169 | * @param callback_cls closure for callback | 166 | * @param callback_cls closure for callback |
170 | * @return NULL on error | 167 | * @return NULL on error |
171 | */ | 168 | */ |
172 | struct GNUNET_PEERINFO_NotifyContext * | 169 | struct GNUNET_PEERINFO_NotifyContext * |
173 | GNUNET_PEERINFO_notify (const struct GNUNET_CONFIGURATION_Handle *cfg, | 170 | GNUNET_PEERINFO_notify (const struct GNUNET_CONFIGURATION_Handle *cfg, |
174 | struct GNUNET_SCHEDULER_Handle *sched, | ||
175 | GNUNET_PEERINFO_Processor callback, | 171 | GNUNET_PEERINFO_Processor callback, |
176 | void *callback_cls); | 172 | void *callback_cls); |
177 | 173 | ||