diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-10-05 14:12:49 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-10-05 14:12:49 +0000 |
commit | 87566df009e48391b08d3f1cdf3dedf7debcac7b (patch) | |
tree | e56d091c02b989535754dbd723c39d30620aa905 /src/testbed/testbed_helper.h | |
parent | 69d9d1763c430be814457f744b468140d278e3e9 (diff) | |
download | gnunet-87566df009e48391b08d3f1cdf3dedf7debcac7b.tar.gz gnunet-87566df009e48391b08d3f1cdf3dedf7debcac7b.zip |
testing now includes valid hostname rewriting
Diffstat (limited to 'src/testbed/testbed_helper.h')
-rw-r--r-- | src/testbed/testbed_helper.h | 13 |
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 | ||
31 | GNUNET_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 | ||
88 | GNUNET_NETWORK_STRUCT_END | ||
89 | |||
77 | #endif | 90 | #endif |
78 | 91 | ||
79 | /* end of testbed_helper.h */ | 92 | /* end of testbed_helper.h */ |