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 47f2a01224..66c8de8983 100644 --- a/src/psyc/psyc.h +++ b/src/psyc/psyc.h @@ -250,19 +250,36 @@ struct MasterJoinDecision struct GNUNET_MessageHeader header; /** + * #GNUNET_YES if the slave was admitted. + */ + int32_t is_admitted; + + /** * Public key of the joining slave. */ struct GNUNET_CRYPTO_EddsaPublicKey slave_key; + /* Followed by struct GNUNET_MessageHeader join_response */ +}; + + +struct SlaveJoinDecision +{ + /** + * Type: GNUNET_MESSAGE_TYPE_PSYC_JOIN_DECISION + */ + struct GNUNET_MessageHeader header; + /** * #GNUNET_YES if the slave was admitted. */ - uint8_t is_admitted; + int32_t is_admitted; /* Followed by struct GNUNET_MessageHeader join_response */ }; + GNUNET_NETWORK_STRUCT_END #endif |