aboutsummaryrefslogtreecommitdiff
path: root/internals.h
diff options
context:
space:
mode:
Diffstat (limited to 'internals.h')
-rw-r--r--internals.h10
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 */