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_testing_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_testing_lib.h')
-rw-r--r-- | src/include/gnunet_testing_lib.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/include/gnunet_testing_lib.h b/src/include/gnunet_testing_lib.h index a00e59976..97bc36a79 100644 --- a/src/include/gnunet_testing_lib.h +++ b/src/include/gnunet_testing_lib.h | |||
@@ -205,11 +205,6 @@ typedef void (*GNUNET_TESTING_NotifyConnections)(void *cls, | |||
205 | struct GNUNET_TESTING_Daemon | 205 | struct GNUNET_TESTING_Daemon |
206 | { | 206 | { |
207 | /** | 207 | /** |
208 | * Our scheduler. | ||
209 | */ | ||
210 | struct GNUNET_SCHEDULER_Handle *sched; | ||
211 | |||
212 | /** | ||
213 | * Our configuration. | 208 | * Our configuration. |
214 | */ | 209 | */ |
215 | struct GNUNET_CONFIGURATION_Handle *cfg; | 210 | struct GNUNET_CONFIGURATION_Handle *cfg; |
@@ -410,7 +405,6 @@ typedef void (*GNUNET_TESTING_NotifyTopology)(void *cls, | |||
410 | * reachable via "ssh" (unless the hostname is "NULL") without the | 405 | * reachable via "ssh" (unless the hostname is "NULL") without the |
411 | * need to enter a password. | 406 | * need to enter a password. |
412 | * | 407 | * |
413 | * @param sched scheduler to use | ||
414 | * @param cfg configuration to use | 408 | * @param cfg configuration to use |
415 | * @param timeout how long to wait starting up peers | 409 | * @param timeout how long to wait starting up peers |
416 | * @param hostname name of the machine where to run GNUnet | 410 | * @param hostname name of the machine where to run GNUnet |
@@ -426,8 +420,7 @@ typedef void (*GNUNET_TESTING_NotifyTopology)(void *cls, | |||
426 | * @return handle to the daemon (actual start will be completed asynchronously) | 420 | * @return handle to the daemon (actual start will be completed asynchronously) |
427 | */ | 421 | */ |
428 | struct GNUNET_TESTING_Daemon * | 422 | struct GNUNET_TESTING_Daemon * |
429 | GNUNET_TESTING_daemon_start (struct GNUNET_SCHEDULER_Handle *sched, | 423 | GNUNET_TESTING_daemon_start (const struct GNUNET_CONFIGURATION_Handle *cfg, |
430 | const struct GNUNET_CONFIGURATION_Handle *cfg, | ||
431 | struct GNUNET_TIME_Relative timeout, | 424 | struct GNUNET_TIME_Relative timeout, |
432 | const char *hostname, | 425 | const char *hostname, |
433 | const char *ssh_username, | 426 | const char *ssh_username, |
@@ -569,7 +562,6 @@ void GNUNET_TESTING_daemons_connect (struct GNUNET_TESTING_Daemon *d1, | |||
569 | * adjusted to ensure that no two peers running on the same system | 562 | * adjusted to ensure that no two peers running on the same system |
570 | * have the same port(s) in their respective configurations. | 563 | * have the same port(s) in their respective configurations. |
571 | * | 564 | * |
572 | * @param sched scheduler to use | ||
573 | * @param cfg configuration template to use | 565 | * @param cfg configuration template to use |
574 | * @param total number of daemons to start | 566 | * @param total number of daemons to start |
575 | * @param timeout total time allowed for peers to start | 567 | * @param timeout total time allowed for peers to start |
@@ -587,8 +579,7 @@ void GNUNET_TESTING_daemons_connect (struct GNUNET_TESTING_Daemon *d1, | |||
587 | * @return NULL on error, otherwise handle to control peer group | 579 | * @return NULL on error, otherwise handle to control peer group |
588 | */ | 580 | */ |
589 | struct GNUNET_TESTING_PeerGroup * | 581 | struct GNUNET_TESTING_PeerGroup * |
590 | GNUNET_TESTING_daemons_start (struct GNUNET_SCHEDULER_Handle *sched, | 582 | GNUNET_TESTING_daemons_start (const struct GNUNET_CONFIGURATION_Handle *cfg, |
591 | const struct GNUNET_CONFIGURATION_Handle *cfg, | ||
592 | unsigned int total, | 583 | unsigned int total, |
593 | struct GNUNET_TIME_Relative timeout, | 584 | struct GNUNET_TIME_Relative timeout, |
594 | GNUNET_TESTING_NotifyHostkeyCreated hostkey_callback, | 585 | GNUNET_TESTING_NotifyHostkeyCreated hostkey_callback, |