diff options
-rw-r--r-- | brandt.c | 4 | ||||
-rw-r--r-- | brandt.h | 9 |
2 files changed, 8 insertions, 5 deletions
@@ -50,8 +50,10 @@ BRANDT_init (struct GNUNET_CRYPTO_EccDlogContext *dlogctx) } +void BRANDT_start (struct BRANDT_Auction *auction, - uint16_t n){ + uint16_t n) +{ GNUNET_assert (n > 0); auction->n = n; /** \todo: send first message */ @@ -216,16 +216,17 @@ BRANDT_new (BRANDT_CbResult result, /** * This function must be called when bidding after receipt of the start - * notification. + * notification from the seller. * * @param[in] auction The pointer returned by BRANDT_join(). * @param[in] n The amount of bidders (from the start announcement message). - void - BRANDT_start (struct BRANDT_Auction *auction, + */ +void +BRANDT_start (struct BRANDT_Auction *auction, uint16_t n); - /** +/** * Clean up this auction on shutdown. * * @param[in] auction The pointer returned by BRANDT_join() or BRANDT_new(). |