aboutsummaryrefslogtreecommitdiff
path: root/brandt.h
diff options
context:
space:
mode:
Diffstat (limited to 'brandt.h')
-rw-r--r--brandt.h26
1 files changed, 16 insertions, 10 deletions
diff --git a/brandt.h b/brandt.h
index 318da4f..108e082 100644
--- a/brandt.h
+++ b/brandt.h
@@ -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 */
155struct BRANDT_Auction * 155struct BRANDT_Auction *
156BRANDT_new (BRANDT_CbBroadcast broadcast, 156BRANDT_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 */
169void 175void
170BRANDT_free (); 176BRANDT_destroy (struct BRANDT_Auction *auction);
171 177
172 178
173/** 179/**