diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2016-08-03 01:28:51 +0200 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2016-08-03 01:28:51 +0200 |
commit | fd52f708ddb8a985d785fac9c51c8da3fe2ff937 (patch) | |
tree | 6d77e0abef948610ec0046d2f892fdb5f16d815a /internals.h | |
parent | 017a90a88cf17a680f82aa99e733785709c05613 (diff) |
update tests
Diffstat (limited to 'internals.h')
-rw-r--r-- | internals.h | 20 |
1 files changed, 17 insertions, 3 deletions
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 */ |