aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--brandt.c10
-rw-r--r--brandt.h4
2 files changed, 7 insertions, 7 deletions
diff --git a/brandt.c b/brandt.c
index 571d5b8..a376242 100644
--- a/brandt.c
+++ b/brandt.c
@@ -51,8 +51,8 @@ BRANDT_init (struct GNUNET_CRYPTO_EccDlogContext *dlogctx)
51 51
52 52
53void 53void
54BRANDT_start (struct BRANDT_Auction *auction, 54BRANDT_bidder_start (struct BRANDT_Auction *auction,
55 uint16_t n) 55 uint16_t n)
56{ 56{
57 GNUNET_assert (n > 0); 57 GNUNET_assert (n > 0);
58 auction->n = n; 58 auction->n = n;
@@ -61,7 +61,7 @@ BRANDT_start (struct BRANDT_Auction *auction,
61 61
62 62
63static void 63static void
64start_auction (void *arg) 64seller_start (void *arg)
65{ 65{
66 struct BRANDT_Auction *ad = (struct BRANDT_Auction *)arg; 66 struct BRANDT_Auction *ad = (struct BRANDT_Auction *)arg;
67 67
@@ -127,7 +127,7 @@ BRANDT_new (BRANDT_CbResult result,
127 127
128 until_start = GNUNET_TIME_absolute_get_remaining (time_start); 128 until_start = GNUNET_TIME_absolute_get_remaining (time_start);
129 ret->task = GNUNET_SCHEDULER_add_delayed (until_start, 129 ret->task = GNUNET_SCHEDULER_add_delayed (until_start,
130 &start_auction, 130 &seller_start,
131 ret); 131 ret);
132 132
133 *auction_desc_len = sizeof (struct BRANDT_DescrP); 133 *auction_desc_len = sizeof (struct BRANDT_DescrP);
@@ -273,7 +273,7 @@ advance_round (struct BRANDT_Auction *ad,
273 gcry_mpi_clear_highbit (ad->round_progress, 0); 273 gcry_mpi_clear_highbit (ad->round_progress, 0);
274 if (msg_last == ++(ad->cur_round)) 274 if (msg_last == ++(ad->cur_round))
275 { 275 {
276 /** \todo: finish */ 276 /** \todo: unify …_determine_outcome function signature and call here */
277 } 277 }
278 278
279 if (!handler_out[atype][outcome][ad->cur_round] || 279 if (!handler_out[atype][outcome][ad->cur_round] ||
diff --git a/brandt.h b/brandt.h
index 9487e06..569db11 100644
--- a/brandt.h
+++ b/brandt.h
@@ -222,8 +222,8 @@ BRANDT_new (BRANDT_CbResult result,
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 */ 223 */
224void 224void
225BRANDT_start (struct BRANDT_Auction *auction, 225BRANDT_bidder_start (struct BRANDT_Auction *auction,
226 uint16_t n); 226 uint16_t n);
227 227
228 228
229/** 229/**