testbed api: controller link message
[oweals/gnunet.git] / src / testbed / testbed.h
index 3c096399a394b9ebb66a080061c28277b90a21bf..4e5d90c1a174f1605b4da491f2588e94416fd530 100644 (file)
@@ -33,7 +33,7 @@
 /**
  * Initial message from a client to a testing control service.
  */
-struct GNUNET_TESTBED_Message
+struct GNUNET_TESTBED_InitMessage
 {
 
   /**
@@ -54,7 +54,6 @@ struct GNUNET_TESTBED_Message
    * is interested in.  In NBO.
    */
   uint64_t event_mask GNUNET_PACKED;
-
 };
 
 
@@ -96,6 +95,7 @@ struct GNUNET_TESTBED_AddHostMessage
 /**
  * Confirmation from the service that adding a host
  * worked (or failed).
+ * FIXME: Where is this required?
  */
 struct GNUNET_TESTBED_HostConfirmedMessage
 {
@@ -169,10 +169,10 @@ struct GNUNET_TESTBED_ControllerLinkMessage
   uint32_t slave_host_id GNUNET_PACKED;
 
   /**
-   * Is the receiving controller the master controller for
-   * the slave host (and thus responsible for starting it?). NBO.
+   * Set to 1 if the receiving controller is the master controller for
+   * the slave host (and thus responsible for starting it?). 0 if not
    */
-  int32_t is_subordinate GNUNET_PACKED;
+  uint8_t is_subordinate;
 
   /* followed by serialized slave configuration;
      gzip'ed configuration file in INI format */