diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2016-07-13 14:01:24 +0200 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2016-07-13 14:01:24 +0200 |
commit | 99e5a11de13a3283c07f353471e08df241511d19 (patch) | |
tree | a92cce7ff2f96bbd0e096f6a3a267dacaa362a3d /internals.h | |
parent | 8c7bd0fda283f8c529e5a582182b08150d875736 (diff) |
major random stuff
Diffstat (limited to 'internals.h')
-rw-r--r-- | internals.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/internals.h b/internals.h index 7dab0d6..4624347 100644 --- a/internals.h +++ b/internals.h @@ -40,8 +40,10 @@ enum rounds { /** * This struct describes an auction and has to be followed by #description_len * bytes of arbitrary data where the description of the item to be sold is - * stored. */ -struct AuctionDescr { + * stored. + * + * \todo: align to a multiple of 64bit */ +struct BRANDT_AuctionDescrP { /** The length of the description in bytes directly following this struct */ uint32_t description_len; @@ -55,11 +57,13 @@ struct AuctionDescr { /** The amount of possible prices */ uint16_t price_range; + + /** \todo: time */ }; struct BRANDT_Auction { - struct AuctionDescr *desc; /** pointer to the auction information */ + struct BRANDT_AuctionDescrP *desc; /** pointer to the auction information */ BRANDT_CbBroadcast bcast; /** broadcast callback */ BRANDT_CbUnicast ucast; /** unicast callback */ |