From fd52f708ddb8a985d785fac9c51c8da3fe2ff937 Mon Sep 17 00:00:00 2001 From: Markus Teich Date: Wed, 3 Aug 2016 01:28:51 +0200 Subject: update tests --- internals.h | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'internals.h') diff --git a/internals.h b/internals.h index 4624347..656e798 100644 --- a/internals.h +++ b/internals.h @@ -37,13 +37,27 @@ enum rounds { }; +enum auction_type { + auction_firstPrice, + auction_mPlusFirstPrice, + auction_last +}; + + +enum outcome_type { + outcome_private, + outcome_public, + outcome_last +}; + + /** * 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. - * + * * \todo: align to a multiple of 64bit */ -struct BRANDT_AuctionDescrP { +struct BRANDT_DescrP { /** The length of the description in bytes directly following this struct */ uint32_t description_len; @@ -63,7 +77,7 @@ struct BRANDT_AuctionDescrP { struct BRANDT_Auction { - struct BRANDT_AuctionDescrP *desc; /** pointer to the auction information */ + struct BRANDT_DescrP *desc; /** pointer to the auction information */ BRANDT_CbBroadcast bcast; /** broadcast callback */ BRANDT_CbUnicast ucast; /** unicast callback */ -- cgit v1.2.3