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, | |||
153 | * black-box pointer, do NOT dereference/change it or the data it points to! | 153 | * black-box pointer, do NOT dereference/change it or the data it points to! |
154 | */ | 154 | */ |
155 | struct BRANDT_Auction * | 155 | struct BRANDT_Auction * |
156 | BRANDT_new (BRANDT_CbBroadcast broadcast, | 156 | BRANDT_new (BRANDT_CbBroadcast broadcast, |
157 | BRANDT_CbResult result, | 157 | BRANDT_CbResult result, |
158 | void *auction_closure, | 158 | void *auction_closure, |
159 | void **auction_data, | 159 | void **auction_data, |
160 | size_t *auction_data_len, | 160 | size_t *auction_data_len, |
161 | struct GNUNET_TIME_Absolute time_start, | 161 | struct GNUNET_TIME_Absolute time_start, |
162 | struct GNUNET_TIME_Relative time_round, | 162 | struct GNUNET_TIME_Relative time_round, |
163 | uint16_t num_prices, | 163 | void *description, |
164 | uint16_t m, | 164 | uint32_t description_len, |
165 | int outcome_public); | 165 | uint16_t num_prices, |
166 | uint16_t m, | ||
167 | int outcome_public); | ||
166 | 168 | ||
167 | 169 | ||
168 | /** \todo */ | 170 | /** |
171 | * Clean up this auction on shutdown. | ||
172 | * | ||
173 | * @param[in] auction The pointer returned by BRANDT_join() or BRANDT_new(). | ||
174 | * \todo: implement (de)serialization */ | ||
169 | void | 175 | void |
170 | BRANDT_free (); | 176 | BRANDT_destroy (struct BRANDT_Auction *auction); |
171 | 177 | ||
172 | 178 | ||
173 | /** | 179 | /** |