aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_testing_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-09-02 11:21:00 +0000
committerChristian Grothoff <christian@grothoff.org>2011-09-02 11:21:00 +0000
commit147d72a99e4ed0558c98fe7c9c41062ede51a68a (patch)
treef712c8aa222e53dc3e299972f3144ad92b15b180 /src/include/gnunet_testing_lib.h
parent8439fe12f24ab3ae5a1821face2b79d443fa044e (diff)
downloadgnunet-147d72a99e4ed0558c98fe7c9c41062ede51a68a.tar.gz
gnunet-147d72a99e4ed0558c98fe7c9c41062ede51a68a.zip
cleanup API for get_hello and get_hello_cancel
Diffstat (limited to 'src/include/gnunet_testing_lib.h')
-rw-r--r--src/include/gnunet_testing_lib.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/include/gnunet_testing_lib.h b/src/include/gnunet_testing_lib.h
index 786522cdd..945a3900b 100644
--- a/src/include/gnunet_testing_lib.h
+++ b/src/include/gnunet_testing_lib.h
@@ -319,6 +319,11 @@ struct GNUNET_TESTING_Daemon
319 struct GNUNET_TRANSPORT_Handle *th; 319 struct GNUNET_TRANSPORT_Handle *th;
320 320
321 /** 321 /**
322 * Handle for getting HELLOs from transport
323 */
324 struct GNUNET_TRANSPORT_GetHelloHandle *ghh;
325
326 /**
322 * HELLO message for this peer 327 * HELLO message for this peer
323 */ 328 */
324 struct GNUNET_HELLO_Message *hello; 329 struct GNUNET_HELLO_Message *hello;
@@ -723,7 +728,7 @@ GNUNET_TESTING_daemons_continue_startup (struct GNUNET_TESTING_PeerGroup *pg);
723 * @param cb function to call at the end 728 * @param cb function to call at the end
724 * @param cb_cls closure for cb 729 * @param cb_cls closure for cb
725 */ 730 */
726struct GNUNET_TESTING_ConnectContext * 731void /* struct GNUNET_TESTING_ConnectContext * */
727GNUNET_TESTING_daemons_connect (struct GNUNET_TESTING_Daemon *d1, 732GNUNET_TESTING_daemons_connect (struct GNUNET_TESTING_Daemon *d1,
728 struct GNUNET_TESTING_Daemon *d2, 733 struct GNUNET_TESTING_Daemon *d2,
729 struct GNUNET_TIME_Relative timeout, 734 struct GNUNET_TIME_Relative timeout,
@@ -733,6 +738,7 @@ GNUNET_TESTING_daemons_connect (struct GNUNET_TESTING_Daemon *d1,
733 void *cb_cls); 738 void *cb_cls);
734 739
735 740
741#if 0
736/** 742/**
737 * Cancel an attempt to connect two daemons. 743 * Cancel an attempt to connect two daemons.
738 * 744 *
@@ -741,6 +747,7 @@ GNUNET_TESTING_daemons_connect (struct GNUNET_TESTING_Daemon *d1,
741void 747void
742GNUNET_TESTING_daemons_connect_cancel (struct GNUNET_TESTING_ConnectContext 748GNUNET_TESTING_daemons_connect_cancel (struct GNUNET_TESTING_ConnectContext
743 *cc); 749 *cc);
750#endif
744 751
745 752
746/** 753/**