-improve UDP logging
[oweals/gnunet.git] / src / testbed / testbed_helper.h
index 8a3ea55e0edcd8ab41f45f34c591a365d9e23cdd..90946030946c9bcd8d9f6e8b43dab6438b5fd146 100644 (file)
@@ -1,6 +1,6 @@
 /*
       This file is part of GNUnet
-      (C) 2012 Christian Grothoff (and other contributing authors)
+      Copyright (C) 2008--2013 Christian Grothoff (and other contributing authors)
 
       GNUnet is free software; you can redistribute it and/or modify
       it under the terms of the GNU General Public License as published
 #define TESTBED_HELPER_H
 
 GNUNET_NETWORK_STRUCT_BEGIN
-
 /**
  * Initialization message for gnunet-helper-testbed to start testbed service
  */
-struct GNUNET_TESTBED_HelperInit
+    struct GNUNET_TESTBED_HelperInit
 {
   /**
    * Type is GNUNET_MESSAGE_TYPE_TESTBED_HELPER_INIT
@@ -44,7 +43,7 @@ struct GNUNET_TESTBED_HelperInit
    * The controller hostname size excluding the NULL termination character -
    * strlen (hostname); cannot be zero
    */
-  uint16_t cname_size GNUNET_PACKED;
+  uint16_t trusted_ip_size GNUNET_PACKED;
 
   /**
    * The hostname size excluding the NULL termination character - strlen
@@ -57,10 +56,10 @@ struct GNUNET_TESTBED_HelperInit
    */
   uint16_t config_size GNUNET_PACKED;
 
-  /* Followed by NULL terminated controller hostname */
+  /* Followed by NULL terminated trusted ip */
 
   /* Followed by hostname of the machine on which helper runs. This is not NULL
-     terminated */
+   * terminated */
 
   /* Followed by serialized and compressed configuration which should be
    * config_size long when un-compressed */
@@ -86,7 +85,5 @@ struct GNUNET_TESTBED_HelperReply
 };
 
 GNUNET_NETWORK_STRUCT_END
-
 #endif
-
 /* end of testbed_helper.h */