diff options
Diffstat (limited to 'src/testbed/testbed_helper.h')
-rw-r--r-- | src/testbed/testbed_helper.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/testbed/testbed_helper.h b/src/testbed/testbed_helper.h index 817ad559d..84059fef2 100644 --- a/src/testbed/testbed_helper.h +++ b/src/testbed/testbed_helper.h | |||
@@ -84,6 +84,52 @@ struct GNUNET_TESTBED_HelperReply | |||
84 | * un-compressed */ | 84 | * un-compressed */ |
85 | }; | 85 | }; |
86 | 86 | ||
87 | /** | ||
88 | * Initialization message for gnunet-cmds-testbed to start cmd binary. | ||
89 | */ | ||
90 | struct GNUNET_CMDS_HelperInit | ||
91 | { | ||
92 | /** | ||
93 | * Type is GNUNET_MESSAGE_TYPE_CMDS_HELPER_INIT | ||
94 | */ | ||
95 | struct GNUNET_MessageHeader header; | ||
96 | |||
97 | /** | ||
98 | * | ||
99 | */ | ||
100 | uint16_t plugin_name_size GNUNET_PACKED; | ||
101 | |||
102 | /* Followed by plugin name of the plugin running the test case. This is not NULL | ||
103 | * terminated */ | ||
104 | }; | ||
105 | |||
106 | /** | ||
107 | * Reply message from cmds helper process | ||
108 | */ | ||
109 | struct GNUNET_CMDS_HelperReply | ||
110 | { | ||
111 | /** | ||
112 | * Type is GNUNET_MESSAGE_TYPE_CMDS_HELPER_REPLY | ||
113 | */ | ||
114 | struct GNUNET_MessageHeader header; | ||
115 | }; | ||
116 | |||
117 | struct GNUNET_CMDS_PEER_STARTED | ||
118 | { | ||
119 | /** | ||
120 | * Type is GNUNET_MESSAGE_TYPE_CMDS_HELPER_PEER_STARTED | ||
121 | */ | ||
122 | struct GNUNET_MessageHeader header; | ||
123 | }; | ||
124 | |||
125 | struct GNUNET_CMDS_ALL_PEERS_STARTED | ||
126 | { | ||
127 | /** | ||
128 | * Type is GNUNET_MESSAGE_TYPE_CMDS_HELPER_ALL_PEERS_STARTED | ||
129 | */ | ||
130 | struct GNUNET_MessageHeader header; | ||
131 | }; | ||
132 | |||
87 | GNUNET_NETWORK_STRUCT_END | 133 | GNUNET_NETWORK_STRUCT_END |
88 | #endif | 134 | #endif |
89 | /* end of testbed_helper.h */ | 135 | /* end of testbed_helper.h */ |