From ad3870165e0c80ac5ec04d5ac78251eeba13e403 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Mon, 2 Jul 2012 14:56:30 +0000 Subject: porting transport testing to new testing lib (mantis 2453) --- src/transport/transport-testing.h | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) (limited to 'src/transport/transport-testing.h') diff --git a/src/transport/transport-testing.h b/src/transport/transport-testing.h index 3129bc0a0..0b1f24591 100644 --- a/src/transport/transport-testing.h +++ b/src/transport/transport-testing.h @@ -27,9 +27,7 @@ #include "platform.h" #include "gnunet_common.h" -#include "gnunet_getopt_lib.h" #include "gnunet_hello_lib.h" -#include "gnunet_os_lib.h" #include "gnunet_program_lib.h" #include "gnunet_container_lib.h" #include "gnunet_transport_service.h" @@ -145,16 +143,6 @@ struct PeerContext */ void *cb_cls; - /** - * Peer's service home directory - */ - char *servicehome; - - /** - * Hostkey file - */ - char *hostkeyfile; - /** * An unique number to identify the peer */ @@ -179,19 +167,29 @@ struct ConnectingContext struct GNUNET_TRANSPORT_TESTING_handle { - struct ConnectingContext *cc_head; - struct ConnectingContext *cc_tail; - /** * Testing library system handle */ struct GNUNET_TESTING_System *tl_system; - char *hostkey_data; - int hostkeys_total; - int hostkeys_last; + /** + * head DLL of connect contexts + */ + struct ConnectingContext *cc_head; + + /** + * head DLL of connect contexts + */ + struct ConnectingContext *cc_tail; + /** + * head DLL of peers + */ struct PeerContext *p_head; + + /** + * tail DLL of peers + */ struct PeerContext *p_tail; }; -- cgit v1.2.3