aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/testbed/testbed.h')
-rw-r--r--src/testbed/testbed.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/testbed/testbed.h b/src/testbed/testbed.h
index c9692c088..82747de5c 100644
--- a/src/testbed/testbed.h
+++ b/src/testbed/testbed.h
@@ -768,6 +768,37 @@ struct GNUNET_TESTBED_ShutdownPeersMessage
768}; 768};
769 769
770 770
771/**
772 * Message to start/stop services of a peer
773 */
774struct GNUNET_TESTBED_ManagePeerServiceMessage
775{
776 /**
777 * Type is GNUNET_MESSAGE_TYPE_TESTBED_SHUTDOWN_PEERS
778 */
779 struct GNUNET_MessageHeader header;
780
781 /**
782 * Unique ID of the peer whose service has to be managed.
783 */
784 uint32_t peer_id GNUNET_PACKED;
785
786 /**
787 * Operation ID
788 */
789 uint64_t operation_id GNUNET_PACKED;
790
791 /**
792 * set this to 1 to start the service; 0 to stop the service
793 */
794 uint8_t start;
795
796 /**
797 * The NULL-terminated name of the service to start/stop follows here
798 */
799};
800
801
771GNUNET_NETWORK_STRUCT_END 802GNUNET_NETWORK_STRUCT_END
772#endif 803#endif
773/* end of testbed.h */ 804/* end of testbed.h */