diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-02-21 17:06:37 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-02-21 17:06:37 +0000 |
commit | d0d8c2ef267acbf339f27cb2277ed49beeb0afbb (patch) | |
tree | 713b74f9564b49f7f3f07ddc75eff1a5e713881f /src/testbed/testbed.h | |
parent | 9736f59357b31df37940cad1c4604d23ea0b9020 (diff) | |
download | gnunet-d0d8c2ef267acbf339f27cb2277ed49beeb0afbb.tar.gz gnunet-d0d8c2ef267acbf339f27cb2277ed49beeb0afbb.zip |
send configurations of newly started slave controllers as part of controller link operations
Diffstat (limited to 'src/testbed/testbed.h')
-rw-r--r-- | src/testbed/testbed.h | 38 |
1 files changed, 37 insertions, 1 deletions
diff --git a/src/testbed/testbed.h b/src/testbed/testbed.h index 3bed4ed56..c94e6a54b 100644 --- a/src/testbed/testbed.h +++ b/src/testbed/testbed.h | |||
@@ -166,7 +166,7 @@ struct GNUNET_TESTBED_ConfigureSharedServiceMessage | |||
166 | * requests for a particular client to a particular | 166 | * requests for a particular client to a particular |
167 | * sub-controller. | 167 | * sub-controller. |
168 | */ | 168 | */ |
169 | struct GNUNET_TESTBED_ControllerLinkMessage | 169 | struct GNUNET_TESTBED_ControllerLinkRequest |
170 | { | 170 | { |
171 | 171 | ||
172 | /** | 172 | /** |
@@ -207,6 +207,42 @@ struct GNUNET_TESTBED_ControllerLinkMessage | |||
207 | 207 | ||
208 | 208 | ||
209 | /** | 209 | /** |
210 | * Response message for ControllerLinkRequest message | ||
211 | */ | ||
212 | struct GNUNET_TESTBED_ControllerLinkResponse | ||
213 | { | ||
214 | |||
215 | /** | ||
216 | * Type is GNUNET_MESSAGE_TYPE_TESTBED_LINK_CONTROLLERS_RESULT | ||
217 | */ | ||
218 | struct GNUNET_MessageHeader header; | ||
219 | |||
220 | /** | ||
221 | * The size of the compressed configuration. Can be ZERO if the controller is | ||
222 | * not started (depends on the ControllerLinkRequest). NBO. | ||
223 | */ | ||
224 | uint16_t config_size GNUNET_PACKED; | ||
225 | |||
226 | /** | ||
227 | * Set to GNUNET_YES to signify SUCCESS; GNUNET_NO to signify failure | ||
228 | */ | ||
229 | uint16_t success GNUNET_PACKED; | ||
230 | |||
231 | /** | ||
232 | * The id of the operation which created this message. NBO | ||
233 | */ | ||
234 | uint64_t operation_id GNUNET_PACKED; | ||
235 | |||
236 | /* If controller linking is successful and configuration is present, then here | ||
237 | * comes the serialized gzip configuration with which the controller is | ||
238 | * running at the delegate host */ | ||
239 | |||
240 | /* In case of failure, here comes the error message (without \0 termination)*/ | ||
241 | |||
242 | }; | ||
243 | |||
244 | |||
245 | /** | ||
210 | * Message sent from client to testing service to | 246 | * Message sent from client to testing service to |
211 | * create (configure, but not start) a peer. | 247 | * create (configure, but not start) a peer. |
212 | */ | 248 | */ |