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) | |||
50 | } | 50 | } |
51 | 51 | ||
52 | 52 | ||
53 | void | ||
53 | BRANDT_start (struct BRANDT_Auction *auction, | 54 | BRANDT_start (struct BRANDT_Auction *auction, |
54 | uint16_t n){ | 55 | uint16_t n) |
56 | { | ||
55 | GNUNET_assert (n > 0); | 57 | GNUNET_assert (n > 0); |
56 | auction->n = n; | 58 | auction->n = n; |
57 | /** \todo: send first message */ | 59 | /** \todo: send first message */ |
@@ -216,16 +216,17 @@ BRANDT_new (BRANDT_CbResult result, | |||
216 | 216 | ||
217 | /** | 217 | /** |
218 | * This function must be called when bidding after receipt of the start | 218 | * This function must be called when bidding after receipt of the start |
219 | * notification. | 219 | * notification from the seller. |
220 | * | 220 | * |
221 | * @param[in] auction The pointer returned by BRANDT_join(). | 221 | * @param[in] auction The pointer returned by BRANDT_join(). |
222 | * @param[in] n The amount of bidders (from the start announcement message). | 222 | * @param[in] n The amount of bidders (from the start announcement message). |
223 | void | 223 | */ |
224 | BRANDT_start (struct BRANDT_Auction *auction, | 224 | void |
225 | BRANDT_start (struct BRANDT_Auction *auction, | ||
225 | uint16_t n); | 226 | uint16_t n); |
226 | 227 | ||
227 | 228 | ||
228 | /** | 229 | /** |
229 | * Clean up this auction on shutdown. | 230 | * Clean up this auction on shutdown. |
230 | * | 231 | * |
231 | * @param[in] auction The pointer returned by BRANDT_join() or BRANDT_new(). | 232 | * @param[in] auction The pointer returned by BRANDT_join() or BRANDT_new(). |