From 99e5a11de13a3283c07f353471e08df241511d19 Mon Sep 17 00:00:00 2001 From: Markus Teich Date: Wed, 13 Jul 2016 14:01:24 +0200 Subject: major random stuff --- internals.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'internals.h') 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 */ -- cgit v1.2.3