summaryrefslogtreecommitdiff
path: root/src/testbed/testbed.h
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-08-31 10:36:28 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-08-31 10:36:28 +0000
commita94a1861d123fe850d2ab5ae74cbb59b132a15ea (patch)
treea16d2518067d13f2463e83cd9dc66bdd6b733621 /src/testbed/testbed.h
parentd0c55c3ee57913977b1497ea0e6f20573820b206 (diff)
downloadgnunet-a94a1861d123fe850d2ab5ae74cbb59b132a15ea.tar.gz
gnunet-a94a1861d123fe850d2ab5ae74cbb59b132a15ea.zip
adhering to indentation standard
Diffstat (limited to 'src/testbed/testbed.h')
-rw-r--r--src/testbed/testbed.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/testbed/testbed.h b/src/testbed/testbed.h
index c7848135d..caeed6e08 100644
--- a/src/testbed/testbed.h
+++ b/src/testbed/testbed.h
@@ -44,7 +44,7 @@ struct GNUNET_TESTBED_InitMessage
44 /** 44 /**
45 * Host ID that the controller is either given (if this is the 45 * Host ID that the controller is either given (if this is the
46 * dominating client) or assumed to have (for peer-connections 46 * dominating client) or assumed to have (for peer-connections
47 * between controllers). A controller must check that all 47 * between controllers). A controller must check that all
48 * connections make consistent claims... 48 * connections make consistent claims...
49 */ 49 */
50 uint32_t host_id GNUNET_PACKED; 50 uint32_t host_id GNUNET_PACKED;
@@ -112,9 +112,9 @@ struct GNUNET_TESTBED_HostConfirmedMessage
112 */ 112 */
113 uint32_t host_id GNUNET_PACKED; 113 uint32_t host_id GNUNET_PACKED;
114 114
115 /* followed by the 0-terminated error message (on failure) 115 /* followed by the 0-terminated error message (on failure)
116 (typical errors include failure to login and 116 * (typical errors include failure to login and
117 host-id already in use) */ 117 * host-id already in use) */
118 118
119}; 119};
120 120
@@ -187,13 +187,13 @@ struct GNUNET_TESTBED_ControllerLinkMessage
187 uint8_t is_subordinate; 187 uint8_t is_subordinate;
188 188
189 /* followed by serialized slave configuration; 189 /* followed by serialized slave configuration;
190 gzip'ed configuration file in INI format */ 190 * gzip'ed configuration file in INI format */
191 191
192}; 192};
193 193
194 194
195/** 195/**
196 * Message sent from client to testing service to 196 * Message sent from client to testing service to
197 * create (configure, but not start) a peer. 197 * create (configure, but not start) a peer.
198 */ 198 */
199struct GNUNET_TESTBED_PeerCreateMessage 199struct GNUNET_TESTBED_PeerCreateMessage
@@ -225,13 +225,13 @@ struct GNUNET_TESTBED_PeerCreateMessage
225 uint32_t config_size GNUNET_PACKED; 225 uint32_t config_size GNUNET_PACKED;
226 226
227 /* followed by serialized peer configuration; 227 /* followed by serialized peer configuration;
228 gzip'ed configuration file in INI format */ 228 * gzip'ed configuration file in INI format */
229 229
230}; 230};
231 231
232 232
233/** 233/**
234 * Message sent from client to testing service to 234 * Message sent from client to testing service to
235 * reconfigure a (stopped) a peer. 235 * reconfigure a (stopped) a peer.
236 */ 236 */
237struct GNUNET_TESTBED_PeerReconfigureMessage 237struct GNUNET_TESTBED_PeerReconfigureMessage
@@ -253,8 +253,8 @@ struct GNUNET_TESTBED_PeerReconfigureMessage
253 uint64_t operation_id GNUNET_PACKED; 253 uint64_t operation_id GNUNET_PACKED;
254 254
255 /* followed by serialized peer configuration; 255 /* followed by serialized peer configuration;
256 gzip'ed configuration file in INI format */ 256 * gzip'ed configuration file in INI format */
257 257
258}; 258};
259 259
260 260
@@ -416,7 +416,7 @@ struct GNUNET_TESTBED_PeerEventMessage
416 * either GNUNET_TESTBED_ET_PEER_START or GNUNET_TESTBED_ET_PEER_STOP. 416 * either GNUNET_TESTBED_ET_PEER_START or GNUNET_TESTBED_ET_PEER_STOP.
417 */ 417 */
418 int32_t event_type GNUNET_PACKED; 418 int32_t event_type GNUNET_PACKED;
419 419
420 /** 420 /**
421 * Host where the peer is running. 421 * Host where the peer is running.
422 */ 422 */
@@ -451,7 +451,7 @@ struct GNUNET_TESTBED_ConnectionEventMessage
451 * either GNUNET_TESTBED_ET_CONNECT or GNUNET_TESTBED_ET_DISCONNECT. 451 * either GNUNET_TESTBED_ET_CONNECT or GNUNET_TESTBED_ET_DISCONNECT.
452 */ 452 */
453 int32_t event_type GNUNET_PACKED; 453 int32_t event_type GNUNET_PACKED;
454 454
455 /** 455 /**
456 * First peer. 456 * First peer.
457 */ 457 */
@@ -486,7 +486,7 @@ struct GNUNET_TESTBED_OperationFailureEventMessage
486 * GNUNET_TESTBED_ET_OPERATION_FINISHED. 486 * GNUNET_TESTBED_ET_OPERATION_FINISHED.
487 */ 487 */
488 int32_t event_type GNUNET_PACKED; 488 int32_t event_type GNUNET_PACKED;
489 489
490 /** 490 /**
491 * Operation ID of the operation that created this event. 491 * Operation ID of the operation that created this event.
492 */ 492 */
@@ -512,7 +512,7 @@ struct GNUNET_TESTBED_PeerCreateSuccessEventMessage
512 * Peer identity of the peer that was created. 512 * Peer identity of the peer that was created.
513 */ 513 */
514 uint32_t peer_id GNUNET_PACKED; 514 uint32_t peer_id GNUNET_PACKED;
515 515
516 /** 516 /**
517 * Operation ID of the operation that created this event. 517 * Operation ID of the operation that created this event.
518 */ 518 */
@@ -539,7 +539,7 @@ struct GNUNET_TESTBED_GenericOperationSuccessEventMessage
539 * GNUNET_TESTBED_ET_OPERATION_FINISHED. 539 * GNUNET_TESTBED_ET_OPERATION_FINISHED.
540 */ 540 */
541 int32_t event_type GNUNET_PACKED; 541 int32_t event_type GNUNET_PACKED;
542 542
543 /** 543 /**
544 * Operation ID of the operation that created this event. 544 * Operation ID of the operation that created this event.
545 */ 545 */
@@ -551,7 +551,7 @@ struct GNUNET_TESTBED_GenericOperationSuccessEventMessage
551 551
552 552
553/** 553/**
554 * Message sent from client to testing service to 554 * Message sent from client to testing service to
555 * obtain the configuration of a peer. 555 * obtain the configuration of a peer.
556 */ 556 */
557struct GNUNET_TESTBED_PeerGetConfigurationMessage 557struct GNUNET_TESTBED_PeerGetConfigurationMessage
@@ -591,7 +591,7 @@ struct GNUNET_TESTBED_PeerConfigurationInformationMessage
591 * The id of the peer relevant to this information 591 * The id of the peer relevant to this information
592 */ 592 */
593 uint32_t peer_id GNUNET_PACKED; 593 uint32_t peer_id GNUNET_PACKED;
594 594
595 /** 595 /**
596 * Operation ID of the operation that created this event. 596 * Operation ID of the operation that created this event.
597 */ 597 */