diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-09-02 10:49:51 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-09-02 10:49:51 +0000 |
commit | 8439fe12f24ab3ae5a1821face2b79d443fa044e (patch) | |
tree | 8e6ee45d7fe8c46aba99c62486340755f6d43d7b /src/include/gnunet_testing_lib.h | |
parent | 4fe5a61f8149aeaf7da9f32408b3c3195695e0c4 (diff) | |
download | gnunet-8439fe12f24ab3ae5a1821face2b79d443fa044e.tar.gz gnunet-8439fe12f24ab3ae5a1821face2b79d443fa044e.zip |
fix
Diffstat (limited to 'src/include/gnunet_testing_lib.h')
-rw-r--r-- | src/include/gnunet_testing_lib.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/include/gnunet_testing_lib.h b/src/include/gnunet_testing_lib.h index 42ee990c9..786522cdd 100644 --- a/src/include/gnunet_testing_lib.h +++ b/src/include/gnunet_testing_lib.h | |||
@@ -443,6 +443,7 @@ typedef void (*GNUNET_TESTING_NotifyTopology) (void *cls, | |||
443 | const struct GNUNET_PeerIdentity | 443 | const struct GNUNET_PeerIdentity |
444 | * second, const char *emsg); | 444 | * second, const char *emsg); |
445 | 445 | ||
446 | |||
446 | /** | 447 | /** |
447 | * Starts a GNUnet daemon. GNUnet must be installed on the target | 448 | * Starts a GNUnet daemon. GNUnet must be installed on the target |
448 | * system and available in the PATH. The machine must furthermore be | 449 | * system and available in the PATH. The machine must furthermore be |
@@ -486,6 +487,7 @@ GNUNET_TESTING_daemon_start (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
486 | void | 487 | void |
487 | GNUNET_TESTING_daemon_continue_startup (struct GNUNET_TESTING_Daemon *daemon); | 488 | GNUNET_TESTING_daemon_continue_startup (struct GNUNET_TESTING_Daemon *daemon); |
488 | 489 | ||
490 | |||
489 | /** | 491 | /** |
490 | * Check whether the given daemon is running. | 492 | * Check whether the given daemon is running. |
491 | * | 493 | * |
@@ -497,6 +499,7 @@ GNUNET_TESTING_daemon_continue_startup (struct GNUNET_TESTING_Daemon *daemon); | |||
497 | int | 499 | int |
498 | GNUNET_TESTING_daemon_running (struct GNUNET_TESTING_Daemon *daemon); | 500 | GNUNET_TESTING_daemon_running (struct GNUNET_TESTING_Daemon *daemon); |
499 | 501 | ||
502 | |||
500 | /** | 503 | /** |
501 | * Restart (stop and start) a GNUnet daemon. | 504 | * Restart (stop and start) a GNUnet daemon. |
502 | * | 505 | * |
@@ -509,6 +512,7 @@ GNUNET_TESTING_daemon_restart (struct GNUNET_TESTING_Daemon *d, | |||
509 | GNUNET_TESTING_NotifyDaemonRunning cb, | 512 | GNUNET_TESTING_NotifyDaemonRunning cb, |
510 | void *cb_cls); | 513 | void *cb_cls); |
511 | 514 | ||
515 | |||
512 | /** | 516 | /** |
513 | * Start a peer that has previously been stopped using the daemon_stop | 517 | * Start a peer that has previously been stopped using the daemon_stop |
514 | * call (and files weren't deleted and the allow restart flag) | 518 | * call (and files weren't deleted and the allow restart flag) |
@@ -524,6 +528,7 @@ GNUNET_TESTING_daemon_start_stopped (struct GNUNET_TESTING_Daemon *daemon, | |||
524 | GNUNET_TESTING_NotifyDaemonRunning cb, | 528 | GNUNET_TESTING_NotifyDaemonRunning cb, |
525 | void *cb_cls); | 529 | void *cb_cls); |
526 | 530 | ||
531 | |||
527 | /** | 532 | /** |
528 | * Starts a GNUnet daemon's service. | 533 | * Starts a GNUnet daemon's service. |
529 | * | 534 | * |
@@ -540,6 +545,7 @@ GNUNET_TESTING_daemon_start_service (struct GNUNET_TESTING_Daemon *d, | |||
540 | GNUNET_TESTING_NotifyDaemonRunning cb, | 545 | GNUNET_TESTING_NotifyDaemonRunning cb, |
541 | void *cb_cls); | 546 | void *cb_cls); |
542 | 547 | ||
548 | |||
543 | /** | 549 | /** |
544 | * Starts a GNUnet daemon's service which has been previously turned off. | 550 | * Starts a GNUnet daemon's service which has been previously turned off. |
545 | * | 551 | * |
@@ -557,6 +563,7 @@ GNUNET_TESTING_daemon_start_stopped_service (struct GNUNET_TESTING_Daemon *d, | |||
557 | GNUNET_TESTING_NotifyDaemonRunning | 563 | GNUNET_TESTING_NotifyDaemonRunning |
558 | cb, void *cb_cls); | 564 | cb, void *cb_cls); |
559 | 565 | ||
566 | |||
560 | /** | 567 | /** |
561 | * Get a certain testing daemon handle. | 568 | * Get a certain testing daemon handle. |
562 | * | 569 | * |
@@ -732,7 +739,8 @@ GNUNET_TESTING_daemons_connect (struct GNUNET_TESTING_Daemon *d1, | |||
732 | * @param cc connect context | 739 | * @param cc connect context |
733 | */ | 740 | */ |
734 | void | 741 | void |
735 | GNUNET_TESTING_daemons_connect_cancel (struct GNUNET_TESTING_ConnectContext *cc); | 742 | GNUNET_TESTING_daemons_connect_cancel (struct GNUNET_TESTING_ConnectContext |
743 | *cc); | ||
736 | 744 | ||
737 | 745 | ||
738 | /** | 746 | /** |