diff options
Diffstat (limited to 'brandt.h')
-rw-r--r-- | brandt.h | 26 |
1 files changed, 16 insertions, 10 deletions
@@ -153,21 +153,27 @@ BRANDT_join (BRANDT_CbBroadcast broadcast, * black-box pointer, do NOT dereference/change it or the data it points to! */ struct BRANDT_Auction * -BRANDT_new (BRANDT_CbBroadcast broadcast, - BRANDT_CbResult result, - void *auction_closure, - void **auction_data, - size_t *auction_data_len, +BRANDT_new (BRANDT_CbBroadcast broadcast, + BRANDT_CbResult result, + void *auction_closure, + void **auction_data, + size_t *auction_data_len, struct GNUNET_TIME_Absolute time_start, struct GNUNET_TIME_Relative time_round, - uint16_t num_prices, - uint16_t m, - int outcome_public); + void *description, + uint32_t description_len, + uint16_t num_prices, + uint16_t m, + int outcome_public); -/** \todo */ +/** + * Clean up this auction on shutdown. + * + * @param[in] auction The pointer returned by BRANDT_join() or BRANDT_new(). + * \todo: implement (de)serialization */ void -BRANDT_free (); +BRANDT_destroy (struct BRANDT_Auction *auction); /** |