aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/testbed/testbed_helper.h')
-rw-r--r--src/testbed/testbed_helper.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/testbed/testbed_helper.h b/src/testbed/testbed_helper.h
index aee2c5b47..8a3ea55e0 100644
--- a/src/testbed/testbed_helper.h
+++ b/src/testbed/testbed_helper.h
@@ -28,6 +28,8 @@
28#ifndef TESTBED_HELPER_H 28#ifndef TESTBED_HELPER_H
29#define TESTBED_HELPER_H 29#define TESTBED_HELPER_H
30 30
31GNUNET_NETWORK_STRUCT_BEGIN
32
31/** 33/**
32 * Initialization message for gnunet-helper-testbed to start testbed service 34 * Initialization message for gnunet-helper-testbed to start testbed service
33 */ 35 */
@@ -45,12 +47,21 @@ struct GNUNET_TESTBED_HelperInit
45 uint16_t cname_size GNUNET_PACKED; 47 uint16_t cname_size GNUNET_PACKED;
46 48
47 /** 49 /**
50 * The hostname size excluding the NULL termination character - strlen
51 * (hostname); cannot be zero
52 */
53 uint16_t hostname_size GNUNET_PACKED;
54
55 /**
48 * The size of the uncompressed configuration 56 * The size of the uncompressed configuration
49 */ 57 */
50 uint16_t config_size GNUNET_PACKED; 58 uint16_t config_size GNUNET_PACKED;
51 59
52 /* Followed by NULL terminated controller hostname */ 60 /* Followed by NULL terminated controller hostname */
53 61
62 /* Followed by hostname of the machine on which helper runs. This is not NULL
63 terminated */
64
54 /* Followed by serialized and compressed configuration which should be 65 /* Followed by serialized and compressed configuration which should be
55 * config_size long when un-compressed */ 66 * config_size long when un-compressed */
56}; 67};
@@ -74,6 +85,8 @@ struct GNUNET_TESTBED_HelperReply
74 * un-compressed */ 85 * un-compressed */
75}; 86};
76 87
88GNUNET_NETWORK_STRUCT_END
89
77#endif 90#endif
78 91
79/* end of testbed_helper.h */ 92/* end of testbed_helper.h */