summaryrefslogtreecommitdiff
path: root/src/testbed/testbed.h
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-05-07 14:35:46 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-05-07 14:35:46 +0000
commit05aa8d8001e3977adb5d68d851db608c075dffee (patch)
tree2c4e23e307a917d67fb41719f2b858bccea590aa /src/testbed/testbed.h
parent3029a328070bd5eb422261fb3559b01f415ae51c (diff)
downloadgnunet-05aa8d8001e3977adb5d68d851db608c075dffee.tar.gz
gnunet-05aa8d8001e3977adb5d68d851db608c075dffee.zip
fix #2665: peer reconfiguration now implemented
Diffstat (limited to 'src/testbed/testbed.h')
-rw-r--r--src/testbed/testbed.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/testbed/testbed.h b/src/testbed/testbed.h
index ed4e27dc6..904e7acba 100644
--- a/src/testbed/testbed.h
+++ b/src/testbed/testbed.h
@@ -219,14 +219,14 @@ struct GNUNET_TESTBED_PeerCreateMessage
219 struct GNUNET_MessageHeader header; 219 struct GNUNET_MessageHeader header;
220 220
221 /** 221 /**
222 * Unique operation id 222 * On which host should the peer be started?
223 */ 223 */
224 uint64_t operation_id GNUNET_PACKED; 224 uint32_t host_id GNUNET_PACKED;
225 225
226 /** 226 /**
227 * On which host should the peer be started? 227 * Unique operation id
228 */ 228 */
229 uint32_t host_id GNUNET_PACKED; 229 uint64_t operation_id GNUNET_PACKED;
230 230
231 /** 231 /**
232 * Unique ID for the peer. 232 * Unique ID for the peer.
@@ -236,7 +236,7 @@ struct GNUNET_TESTBED_PeerCreateMessage
236 /** 236 /**
237 * Size of the uncompressed configuration 237 * Size of the uncompressed configuration
238 */ 238 */
239 uint32_t config_size GNUNET_PACKED; 239 uint16_t config_size GNUNET_PACKED;
240 240
241 /* followed by serialized peer configuration; 241 /* followed by serialized peer configuration;
242 * gzip'ed configuration file in INI format */ 242 * gzip'ed configuration file in INI format */
@@ -252,7 +252,7 @@ struct GNUNET_TESTBED_PeerReconfigureMessage
252{ 252{
253 253
254 /** 254 /**
255 * Type is GNUNET_MESSAGE_TYPDE_TESTBED_RECONFIGURE_PEER 255 * Type is GNUNET_MESSAGE_TYPE_TESTBED_RECONFIGURE_PEER
256 */ 256 */
257 struct GNUNET_MessageHeader header; 257 struct GNUNET_MessageHeader header;
258 258
@@ -266,6 +266,11 @@ struct GNUNET_TESTBED_PeerReconfigureMessage
266 */ 266 */
267 uint64_t operation_id GNUNET_PACKED; 267 uint64_t operation_id GNUNET_PACKED;
268 268
269 /**
270 * The length of the serialized configuration when uncompressed
271 */
272 uint16_t config_size GNUNET_PACKED;
273
269 /* followed by serialized peer configuration; 274 /* followed by serialized peer configuration;
270 * gzip'ed configuration file in INI format */ 275 * gzip'ed configuration file in INI format */
271 276