aboutsummaryrefslogtreecommitdiff
path: root/src/dht/test_dht_multipeer.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-09-28 07:52:34 +0000
committerChristian Grothoff <christian@grothoff.org>2011-09-28 07:52:34 +0000
commitaa01c9decb353071619a1186004135bbea392f39 (patch)
tree95fa96c099bc3b75039da6abb151910091bf707b /src/dht/test_dht_multipeer.c
parent434a4b0ca9418ec31eec243e5f77c1af8e67a070 (diff)
downloadgnunet-aa01c9decb353071619a1186004135bbea392f39.tar.gz
gnunet-aa01c9decb353071619a1186004135bbea392f39.zip
cleanup
Diffstat (limited to 'src/dht/test_dht_multipeer.c')
-rw-r--r--src/dht/test_dht_multipeer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/dht/test_dht_multipeer.c b/src/dht/test_dht_multipeer.c
index acc9b1652..8133c7576 100644
--- a/src/dht/test_dht_multipeer.c
+++ b/src/dht/test_dht_multipeer.c
@@ -28,7 +28,7 @@
28#include "gnunet_dht_service.h" 28#include "gnunet_dht_service.h"
29 29
30/* DEFINES */ 30/* DEFINES */
31#define VERBOSE GNUNET_NO 31#define VERBOSE GNUNET_YES
32 32
33/* Timeout for entire testcase */ 33/* Timeout for entire testcase */
34#define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_MINUTES, 5) 34#define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_MINUTES, 5)
@@ -549,8 +549,8 @@ do_put (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
549 GNUNET_TIME_UNIT_FOREVER_ABS, GNUNET_TIME_UNIT_FOREVER_REL, 549 GNUNET_TIME_UNIT_FOREVER_ABS, GNUNET_TIME_UNIT_FOREVER_REL,
550 &put_finished, test_put); 550 &put_finished, test_put);
551 test_put->disconnect_task = 551 test_put->disconnect_task =
552 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_get_forever (), 552 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL,
553 &put_disconnect_task, test_put); 553 &put_disconnect_task, test_put);
554 GNUNET_SCHEDULER_add_now (&do_put, test_put->next); 554 GNUNET_SCHEDULER_add_now (&do_put, test_put->next);
555} 555}
556 556
@@ -609,7 +609,7 @@ setup_puts_and_gets (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
609 * The emsg variable is NULL on success (peers connected), and non-NULL on 609 * The emsg variable is NULL on success (peers connected), and non-NULL on
610 * failure (peers failed to connect). 610 * failure (peers failed to connect).
611 */ 611 */
612void 612static void
613topology_callback (void *cls, const struct GNUNET_PeerIdentity *first, 613topology_callback (void *cls, const struct GNUNET_PeerIdentity *first,
614 const struct GNUNET_PeerIdentity *second, uint32_t distance, 614 const struct GNUNET_PeerIdentity *second, uint32_t distance,
615 const struct GNUNET_CONFIGURATION_Handle *first_cfg, 615 const struct GNUNET_CONFIGURATION_Handle *first_cfg,
@@ -752,7 +752,7 @@ create_topology ()
752 * @param d the daemon handle (pretty useless at this point, remove?) 752 * @param d the daemon handle (pretty useless at this point, remove?)
753 * @param emsg non-null on failure 753 * @param emsg non-null on failure
754 */ 754 */
755void 755static void
756hostkey_callback (void *cls, const struct GNUNET_PeerIdentity *id, 756hostkey_callback (void *cls, const struct GNUNET_PeerIdentity *id,
757 struct GNUNET_TESTING_Daemon *d, const char *emsg) 757 struct GNUNET_TESTING_Daemon *d, const char *emsg)
758{ 758{