diff options
Diffstat (limited to 'src/psyc/psyc.h')
-rw-r--r-- | src/psyc/psyc.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/psyc/psyc.h b/src/psyc/psyc.h index 47f2a0122..66c8de898 100644 --- a/src/psyc/psyc.h +++ b/src/psyc/psyc.h | |||
@@ -250,19 +250,36 @@ struct MasterJoinDecision | |||
250 | struct GNUNET_MessageHeader header; | 250 | struct GNUNET_MessageHeader header; |
251 | 251 | ||
252 | /** | 252 | /** |
253 | * #GNUNET_YES if the slave was admitted. | ||
254 | */ | ||
255 | int32_t is_admitted; | ||
256 | |||
257 | /** | ||
253 | * Public key of the joining slave. | 258 | * Public key of the joining slave. |
254 | */ | 259 | */ |
255 | struct GNUNET_CRYPTO_EddsaPublicKey slave_key; | 260 | struct GNUNET_CRYPTO_EddsaPublicKey slave_key; |
256 | 261 | ||
262 | /* Followed by struct GNUNET_MessageHeader join_response */ | ||
263 | }; | ||
264 | |||
265 | |||
266 | struct SlaveJoinDecision | ||
267 | { | ||
268 | /** | ||
269 | * Type: GNUNET_MESSAGE_TYPE_PSYC_JOIN_DECISION | ||
270 | */ | ||
271 | struct GNUNET_MessageHeader header; | ||
272 | |||
257 | /** | 273 | /** |
258 | * #GNUNET_YES if the slave was admitted. | 274 | * #GNUNET_YES if the slave was admitted. |
259 | */ | 275 | */ |
260 | uint8_t is_admitted; | 276 | int32_t is_admitted; |
261 | 277 | ||
262 | /* Followed by struct GNUNET_MessageHeader join_response */ | 278 | /* Followed by struct GNUNET_MessageHeader join_response */ |
263 | }; | 279 | }; |
264 | 280 | ||
265 | 281 | ||
282 | |||
266 | GNUNET_NETWORK_STRUCT_END | 283 | GNUNET_NETWORK_STRUCT_END |
267 | 284 | ||
268 | #endif | 285 | #endif |