set a running flag, so server can be disconnected (allows larger topologies)
authorNathan S. Evans <evans@in.tum.de>
Tue, 27 Apr 2010 15:34:59 +0000 (15:34 +0000)
committerNathan S. Evans <evans@in.tum.de>
Tue, 27 Apr 2010 15:34:59 +0000 (15:34 +0000)
src/include/gnunet_testing_lib.h

index 4688781cda9a5e3393f918aa5c33504efd263ab0..3d36207bd7c1ed8d2e5e9ffe4632626c9dc0309e 100644 (file)
@@ -247,6 +247,11 @@ struct GNUNET_TESTING_Daemon
    * HELLO message for this peer
    */
   struct GNUNET_HELLO_Message *hello;
+
+  /**
+   * Set to GNUNET_YES once the peer is up.
+   */
+  int running;
 };