differentiate starting functions better

This commit is contained in:
Markus Teich 2016-08-19 22:55:42 +02:00
parent 0a2c2fba3f
commit 4ee150eac2
2 changed files with 7 additions and 7 deletions

View File

@ -51,7 +51,7 @@ BRANDT_init (struct GNUNET_CRYPTO_EccDlogContext *dlogctx)
void void
BRANDT_start (struct BRANDT_Auction *auction, BRANDT_bidder_start (struct BRANDT_Auction *auction,
uint16_t n) uint16_t n)
{ {
GNUNET_assert (n > 0); GNUNET_assert (n > 0);
@ -61,7 +61,7 @@ BRANDT_start (struct BRANDT_Auction *auction,
static void static void
start_auction (void *arg) seller_start (void *arg)
{ {
struct BRANDT_Auction *ad = (struct BRANDT_Auction *)arg; struct BRANDT_Auction *ad = (struct BRANDT_Auction *)arg;
@ -127,7 +127,7 @@ BRANDT_new (BRANDT_CbResult result,
until_start = GNUNET_TIME_absolute_get_remaining (time_start); until_start = GNUNET_TIME_absolute_get_remaining (time_start);
ret->task = GNUNET_SCHEDULER_add_delayed (until_start, ret->task = GNUNET_SCHEDULER_add_delayed (until_start,
&start_auction, &seller_start,
ret); ret);
*auction_desc_len = sizeof (struct BRANDT_DescrP); *auction_desc_len = sizeof (struct BRANDT_DescrP);
@ -273,7 +273,7 @@ advance_round (struct BRANDT_Auction *ad,
gcry_mpi_clear_highbit (ad->round_progress, 0); gcry_mpi_clear_highbit (ad->round_progress, 0);
if (msg_last == ++(ad->cur_round)) if (msg_last == ++(ad->cur_round))
{ {
/** \todo: finish */ /** \todo: unify …_determine_outcome function signature and call here */
} }
if (!handler_out[atype][outcome][ad->cur_round] || if (!handler_out[atype][outcome][ad->cur_round] ||

View File

@ -222,7 +222,7 @@ BRANDT_new (BRANDT_CbResult result,
* @param[in] n The amount of bidders (from the start announcement message). * @param[in] n The amount of bidders (from the start announcement message).
*/ */
void void
BRANDT_start (struct BRANDT_Auction *auction, BRANDT_bidder_start (struct BRANDT_Auction *auction,
uint16_t n); uint16_t n);