diff options
Diffstat (limited to 'internals.h')
-rw-r--r-- | internals.h | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/internals.h b/internals.h index 373c3d4..d6de9db 100644 --- a/internals.h +++ b/internals.h @@ -60,20 +60,10 @@ struct msg_head { /** - * This struct describes an auction and is always linked to a description buffer - * of #description_len bytes of arbitrary data where the description of the item - * to be sold is stored. This buffer should also contain information linking the - * auction to the payment system (which exact prices do the k possibilities - * refer to, payment system seller identity, …). All fields are stored in + * This struct describes the parameters of an auction. All fields are stored in * network byte order. - * - * \todo: align to a multiple of 64bit - * \todo: versionsnummer */ + */ struct BRANDT_DescrP { - /** Hash code over the remaining elements of this struct followed by the - * description buffer of #description_len bytes */ - struct GNUNET_HashCode hash GNUNET_PACKED; - /** Starting time of the auction. Bidders have to join the auction via * BRANDT_join until this time */ struct GNUNET_TIME_AbsoluteNBO time_start; @@ -81,12 +71,6 @@ struct BRANDT_DescrP { /** The maximum duration the participants have to complete each round. */ struct GNUNET_TIME_RelativeNBO time_round; - /** The length of the description in bytes */ - uint32_t description_len GNUNET_PACKED; - - /** reserved for future use. Must be zeroed out. */ - uint32_t reserved1 GNUNET_PACKED; - /** The amount of possible prices */ uint16_t k GNUNET_PACKED; @@ -99,7 +83,7 @@ struct BRANDT_DescrP { uint16_t outcome_public GNUNET_PACKED; /** reserved for future use. Must be zeroed out. */ - uint16_t reserved2 GNUNET_PACKED; + uint16_t reserved GNUNET_PACKED; }; GNUNET_NETWORK_STRUCT_END |