diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-06-06 13:01:03 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-06-06 13:01:03 +0000 |
commit | 93f5382bea48b79e65e3f634f0fa9af4f25d255d (patch) | |
tree | b9d3e932f9522a98fe475283c31147d20ba31b64 /src/testbed/testbed.h | |
parent | 0c0e1876f6fbd88b15ab5bad49ab6ce22706d03c (diff) | |
download | gnunet-93f5382bea48b79e65e3f634f0fa9af4f25d255d.tar.gz gnunet-93f5382bea48b79e65e3f634f0fa9af4f25d255d.zip |
-minor edits
Diffstat (limited to 'src/testbed/testbed.h')
-rw-r--r-- | src/testbed/testbed.h | 74 |
1 files changed, 63 insertions, 11 deletions
diff --git a/src/testbed/testbed.h b/src/testbed/testbed.h index b7b10ffa6..8fd847bb2 100644 --- a/src/testbed/testbed.h +++ b/src/testbed/testbed.h | |||
@@ -42,10 +42,10 @@ struct GNUNET_TESTBED_Message | |||
42 | struct GNUNET_MessageHeader header; | 42 | struct GNUNET_MessageHeader header; |
43 | 43 | ||
44 | /** | 44 | /** |
45 | * Host ID that the controller is either given | 45 | * Host ID that the controller is either given (if this is the |
46 | * (if this is the dominating client communicating | 46 | * dominating client) or assumed to have (for peer-connections |
47 | * via stdin) or assumed to have (for peer-connections | 47 | * between controllers). A controller must check that all |
48 | * between controllers). | 48 | * connections make consistent claims... |
49 | */ | 49 | */ |
50 | uint32_t host_id GNUNET_PACKED; | 50 | uint32_t host_id GNUNET_PACKED; |
51 | 51 | ||
@@ -496,13 +496,6 @@ struct GNUNET_TESTBED_PeerCreateSuccessEventMessage | |||
496 | */ | 496 | */ |
497 | uint64_t operation_id GNUNET_PACKED; | 497 | uint64_t operation_id GNUNET_PACKED; |
498 | 498 | ||
499 | /** | ||
500 | * Identity of the peer. | ||
501 | */ | ||
502 | struct GNUNET_PeerIdentity peer_id; | ||
503 | |||
504 | /* followed by gzip-compressed configuration of the peer */ | ||
505 | |||
506 | }; | 499 | }; |
507 | 500 | ||
508 | 501 | ||
@@ -532,4 +525,63 @@ struct GNUNET_TESTBED_GenericOperationSuccessEventMessage | |||
532 | 525 | ||
533 | }; | 526 | }; |
534 | 527 | ||
528 | |||
529 | |||
530 | |||
531 | /** | ||
532 | * Message sent from client to testing service to | ||
533 | * obtain the configuration of a peer. | ||
534 | */ | ||
535 | struct GNUNET_TESTBED_PeerGetConfigurationMessage | ||
536 | { | ||
537 | |||
538 | /** | ||
539 | * Type is | ||
540 | */ | ||
541 | struct GNUNET_MessageHeader header; | ||
542 | |||
543 | /** | ||
544 | * Unique ID for the peer. | ||
545 | */ | ||
546 | uint32_t peer_id GNUNET_PACKED; | ||
547 | |||
548 | /** | ||
549 | * Operation ID that is used to identify this operation. | ||
550 | */ | ||
551 | uint64_t operation_id GNUNET_PACKED; | ||
552 | |||
553 | }; | ||
554 | |||
555 | |||
556 | |||
557 | /** | ||
558 | * Event notification from a controller to a client. | ||
559 | */ | ||
560 | struct GNUNET_TESTBED_PeerConfigurationInformationMessage | ||
561 | { | ||
562 | |||
563 | /** | ||
564 | * Type is | ||
565 | */ | ||
566 | struct GNUNET_MessageHeader header; | ||
567 | |||
568 | /** | ||
569 | * Peer identity of the peer that was created. | ||
570 | */ | ||
571 | uint32_t peer_id GNUNET_PACKED; | ||
572 | |||
573 | /** | ||
574 | * Operation ID of the operation that created this event. | ||
575 | */ | ||
576 | uint64_t operation_id GNUNET_PACKED; | ||
577 | |||
578 | /** | ||
579 | * Identity of the peer. | ||
580 | */ | ||
581 | struct GNUNET_PeerIdentity peer_id; | ||
582 | |||
583 | /* followed by gzip-compressed configuration of the peer */ | ||
584 | |||
585 | }; | ||
586 | |||
535 | #endif | 587 | #endif |