GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
- by the Free Software Foundation; either version 2, or (at your
+ by the Free Software Foundation; either version 3, or (at your
option) any later version.
GNUnet is distributed in the hope that it will be useful, but
GNUNET_NETWORK_STRUCT_BEGIN
+/**
+ * Sent by the client to the service,
+ * when the client wants the service to join a consensus session.
+ */
struct GNUNET_CONSENSUS_JoinMessage
{
/**
*/
struct GNUNET_MessageHeader header;
+ // uint32_t reserved GNUNET_PACKED; // FIXME...
+
/**
* Timeout for conclude
*/
/**
* Type: GNUNET_MESSAGE_TYPE_CONSENSUS_CLIENT_NEW_ELEMENT
*/
- uint16_t element_type GNUNET_PACKED; /* FIXME: alignment? */
+ uint16_t element_type GNUNET_PACKED; /* FIXME: alignment? => uint32_t */
/* rest: element data */
};
/**
* Do we want to keep and propagate the element?
*/
- uint8_t keep; /* FIXME: alignment!? */
+ uint8_t keep; /* FIXME: alignment!? => (u)int32_t */
/* FIXME: add message hash? */
};