clean up for configs
[oweals/gnunet.git] / src / secretsharing / secretsharing.h
index 7025fdfeacd65d6c4224b9f72db22ce329390b63..8bd1b05b5dab3dee7b51ed85d3ac1f15d9cd26b5 100644 (file)
@@ -67,10 +67,10 @@ struct GNUNET_SECRETSHARING_CreateMessage
 };
 
 
-struct GNUNET_SECRETSHARING_SecretEstablishedMessage
+struct GNUNET_SECRETSHARING_SecretReadyMessage
 {
   /**
-   * Type: GNUNET_MESSAGE_TYPE_SECRETSHARING_CLIENT_ESTABLISHED
+   * Type: GNUNET_MESSAGE_TYPE_SECRETSHARING_CLIENT_SECRET_READY
    */
   struct GNUNET_MessageHeader header;
 
@@ -79,6 +79,11 @@ struct GNUNET_SECRETSHARING_SecretEstablishedMessage
    */
   unsigned char secret[GNUNET_SECRETSHARING_KEY_BITS / 8];
 
+  /**
+   * Secret share in network byte order.
+   */
+  struct GNUNET_SECRETSHARING_PublicKey public_key;
+
   /**
    * Number of peers at the end of this message.
    * Includes peers that are part of the established
@@ -90,10 +95,10 @@ struct GNUNET_SECRETSHARING_SecretEstablishedMessage
 };
 
 
-struct GNUNET_SECRETSHARING_DecryptMessage
+struct GNUNET_SECRETSHARING_DecryptRequestMessage
 {
   /**
-   * Type: GNUNET_MESSAGE_TYPE_SECRETSHARING_CLIENT_DECRYPT
+   * Type: GNUNET_MESSAGE_TYPE_SECRETSHARING_CLIENT_DECRYPT_REQUEST
    */
   struct GNUNET_MessageHeader header;
 
@@ -113,10 +118,10 @@ struct GNUNET_SECRETSHARING_DecryptMessage
 };
 
 
-struct GNUNET_SECRETSHARING_DecryptDoneMessage
+struct GNUNET_SECRETSHARING_DecryptResponseMessage
 {
   /**
-   * Type: GNUNET_MESSAGE_TYPE_SECRETSHARING_CLIENT_DECRYPT_DONE
+   * Type: GNUNET_MESSAGE_TYPE_SECRETSHARING_CLIENT_DECRYPT_RESPONSE
    */
   struct GNUNET_MessageHeader header;