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_client_lib.h | |
parent | 7217c601ad30760872823193d62307e7a335d226 (diff) | |
download | gnunet-75a33a1499cf60ea4364c9aa673816629a6c1413.tar.gz gnunet-75a33a1499cf60ea4364c9aa673816629a6c1413.zip |
big scheduler refactoring, expect some issues
Diffstat (limited to 'src/include/gnunet_client_lib.h')
-rw-r--r-- | src/include/gnunet_client_lib.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/include/gnunet_client_lib.h b/src/include/gnunet_client_lib.h index 49ccc6c6b..41dbe4efc 100644 --- a/src/include/gnunet_client_lib.h +++ b/src/include/gnunet_client_lib.h | |||
@@ -49,15 +49,11 @@ struct GNUNET_CLIENT_Connection; | |||
49 | /** | 49 | /** |
50 | * Get a connection with a service. | 50 | * Get a connection with a service. |
51 | * | 51 | * |
52 | * @param sched scheduler to use | ||
53 | * @param service_name name of the service | 52 | * @param service_name name of the service |
54 | * @param cfg configuration to use | 53 | * @param cfg configuration to use |
55 | * @return NULL on error (service unknown to configuration) | 54 | * @return NULL on error (service unknown to configuration) |
56 | */ | 55 | */ |
57 | struct GNUNET_CLIENT_Connection *GNUNET_CLIENT_connect (struct | 56 | struct GNUNET_CLIENT_Connection *GNUNET_CLIENT_connect (const char |
58 | GNUNET_SCHEDULER_Handle | ||
59 | *sched, | ||
60 | const char | ||
61 | *service_name, | 57 | *service_name, |
62 | const struct | 58 | const struct |
63 | GNUNET_CONFIGURATION_Handle | 59 | GNUNET_CONFIGURATION_Handle |
@@ -210,7 +206,6 @@ GNUNET_CLIENT_transmit_and_get_response (struct GNUNET_CLIENT_Connection *sock, | |||
210 | /** | 206 | /** |
211 | * Wait until the service is running. | 207 | * Wait until the service is running. |
212 | * | 208 | * |
213 | * @param sched scheduler to use | ||
214 | * @param service name of the service to wait for | 209 | * @param service name of the service to wait for |
215 | * @param cfg configuration to use | 210 | * @param cfg configuration to use |
216 | * @param timeout how long to wait at most in ms | 211 | * @param timeout how long to wait at most in ms |
@@ -219,8 +214,7 @@ GNUNET_CLIENT_transmit_and_get_response (struct GNUNET_CLIENT_Connection *sock, | |||
219 | * or "TIMEOUT" (service not known to be running)) | 214 | * or "TIMEOUT" (service not known to be running)) |
220 | * @param task_cls closure for task | 215 | * @param task_cls closure for task |
221 | */ | 216 | */ |
222 | void GNUNET_CLIENT_service_test (struct GNUNET_SCHEDULER_Handle *sched, | 217 | void GNUNET_CLIENT_service_test (const char *service, |
223 | const char *service, | ||
224 | const struct GNUNET_CONFIGURATION_Handle *cfg, | 218 | const struct GNUNET_CONFIGURATION_Handle *cfg, |
225 | struct GNUNET_TIME_Relative timeout, | 219 | struct GNUNET_TIME_Relative timeout, |
226 | GNUNET_SCHEDULER_Task task, void *task_cls); | 220 | GNUNET_SCHEDULER_Task task, void *task_cls); |