summaryrefslogtreecommitdiff
path: root/src/testbed/testbed.h
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-10-01 14:59:31 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-10-01 14:59:31 +0000
commit6e08b7d1f56715c71ea6f0372b9abaddced8253b (patch)
tree86a0b09753e513687a63b0a818e064c425dfb12b /src/testbed/testbed.h
parentc2c1e98f13fe65acba7fb9123abc3dd515c61e78 (diff)
downloadgnunet-6e08b7d1f56715c71ea6f0372b9abaddced8253b.tar.gz
gnunet-6e08b7d1f56715c71ea6f0372b9abaddced8253b.zip
slave get config client part
Diffstat (limited to 'src/testbed/testbed.h')
-rw-r--r--src/testbed/testbed.h57
1 files changed, 56 insertions, 1 deletions
diff --git a/src/testbed/testbed.h b/src/testbed/testbed.h
index 27c8e3b93..ac8fed0a6 100644
--- a/src/testbed/testbed.h
+++ b/src/testbed/testbed.h
@@ -29,6 +29,7 @@
29 29
30#include "gnunet_util_lib.h" 30#include "gnunet_util_lib.h"
31 31
32GNUNET_NETWORK_STRUCT_BEGIN
32 33
33/** 34/**
34 * Initial message from a client to a testing control service. 35 * Initial message from a client to a testing control service.
@@ -641,12 +642,66 @@ struct GNUNET_TESTBED_PeerConfigurationInformationMessage
641 /** 642 /**
642 * The size of configuration when uncompressed 643 * The size of configuration when uncompressed
643 */ 644 */
644 uint16_t config_size; 645 uint16_t config_size GNUNET_PACKED;
646
647 /* followed by gzip-compressed configuration of the peer */
648
649};
650
651
652/**
653 * Message to request configuration of a slave controller
654 */
655struct GNUNET_TESTBED_SlaveGetConfigurationMessage
656{
657 /**
658 * Type is GNUNET_MESSAGE_TYPE_TESTBED_GETSLAVECONFIG
659 */
660 struct GNUNET_MessageHeader header;
661
662 /**
663 * The id of the slave host
664 */
665 uint32_t slave_id GNUNET_PACKED;
666
667 /**
668 * Operation ID
669 */
670 uint64_t operation_id GNUNET_PACKED;
671
672};
673
674
675/**
676 * Reply to GETSLAVECONFIG message
677 */
678struct GNUNET_TESTBED_SlaveConfiguration
679{
680 /**
681 * Type is GNUNET_MESSAGE_TYPE_TESTBED_SLAVECONFIG
682 */
683 struct GNUNET_MessageHeader header;
684
685 /**
686 * The id of the host where the slave is running
687 */
688 uint32_t slave_id GNUNET_PACKED;
689
690 /**
691 * Operation ID
692 */
693 uint64_t operation_id GNUNET_PACKED;
694
695 /**
696 * The size of the configuration when uncompressed
697 */
698 uint16_t config_size GNUNET_PACKED;
645 699
646 /* followed by gzip-compressed configuration of the peer */ 700 /* followed by gzip-compressed configuration of the peer */
647 701
648}; 702};
649 703
704GNUNET_NETWORK_STRUCT_END
650 705
651#endif 706#endif
652/* end of testbed.h */ 707/* end of testbed.h */