aboutsummaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_refreshes_reveal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchange/taler-exchange-httpd_refreshes_reveal.c')
-rw-r--r--src/exchange/taler-exchange-httpd_refreshes_reveal.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/exchange/taler-exchange-httpd_refreshes_reveal.c b/src/exchange/taler-exchange-httpd_refreshes_reveal.c
index dc4bdf0e6..4ca6bd15b 100644
--- a/src/exchange/taler-exchange-httpd_refreshes_reveal.c
+++ b/src/exchange/taler-exchange-httpd_refreshes_reveal.c
@@ -201,7 +201,6 @@ check_exists_cb (void *cls,
201 * 201 *
202 * @param cls closure of type `struct RevealContext` 202 * @param cls closure of type `struct RevealContext`
203 * @param connection MHD request which triggered the transaction 203 * @param connection MHD request which triggered the transaction
204 * @param session database session to use
205 * @param[out] mhd_ret set to MHD response status for @a connection, 204 * @param[out] mhd_ret set to MHD response status for @a connection,
206 * if transaction failed (!) 205 * if transaction failed (!)
207 * @return transaction status 206 * @return transaction status
@@ -209,7 +208,6 @@ check_exists_cb (void *cls,
209static enum GNUNET_DB_QueryStatus 208static enum GNUNET_DB_QueryStatus
210refreshes_reveal_preflight (void *cls, 209refreshes_reveal_preflight (void *cls,
211 struct MHD_Connection *connection, 210 struct MHD_Connection *connection,
212 struct TALER_EXCHANGEDB_Session *session,
213 MHD_RESULT *mhd_ret) 211 MHD_RESULT *mhd_ret)
214{ 212{
215 struct RevealContext *rctx = cls; 213 struct RevealContext *rctx = cls;
@@ -217,7 +215,6 @@ refreshes_reveal_preflight (void *cls,
217 215
218 /* Try to see if we already have given an answer before. */ 216 /* Try to see if we already have given an answer before. */
219 qs = TEH_plugin->get_refresh_reveal (TEH_plugin->cls, 217 qs = TEH_plugin->get_refresh_reveal (TEH_plugin->cls,
220 session,
221 &rctx->rc, 218 &rctx->rc,
222 &check_exists_cb, 219 &check_exists_cb,
223 rctx); 220 rctx);
@@ -258,7 +255,6 @@ refreshes_reveal_preflight (void *cls,
258 * 255 *
259 * @param cls closure of type `struct RevealContext` 256 * @param cls closure of type `struct RevealContext`
260 * @param connection MHD request which triggered the transaction 257 * @param connection MHD request which triggered the transaction
261 * @param session database session to use
262 * @param[out] mhd_ret set to MHD response status for @a connection, 258 * @param[out] mhd_ret set to MHD response status for @a connection,
263 * if transaction failed (!) 259 * if transaction failed (!)
264 * @return transaction status 260 * @return transaction status
@@ -266,7 +262,6 @@ refreshes_reveal_preflight (void *cls,
266static enum GNUNET_DB_QueryStatus 262static enum GNUNET_DB_QueryStatus
267refreshes_reveal_transaction (void *cls, 263refreshes_reveal_transaction (void *cls,
268 struct MHD_Connection *connection, 264 struct MHD_Connection *connection,
269 struct TALER_EXCHANGEDB_Session *session,
270 MHD_RESULT *mhd_ret) 265 MHD_RESULT *mhd_ret)
271{ 266{
272 struct RevealContext *rctx = cls; 267 struct RevealContext *rctx = cls;
@@ -276,7 +271,6 @@ refreshes_reveal_transaction (void *cls,
276 /* Obtain basic information about the refresh operation and what 271 /* Obtain basic information about the refresh operation and what
277 gamma we committed to. */ 272 gamma we committed to. */
278 qs = TEH_plugin->get_melt (TEH_plugin->cls, 273 qs = TEH_plugin->get_melt (TEH_plugin->cls,
279 session,
280 &rctx->rc, 274 &rctx->rc,
281 &melt); 275 &melt);
282 if (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS == qs) 276 if (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS == qs)
@@ -441,7 +435,6 @@ refreshes_reveal_transaction (void *cls,
441 * 435 *
442 * @param cls closure of type `struct RevealContext` 436 * @param cls closure of type `struct RevealContext`
443 * @param connection MHD request which triggered the transaction 437 * @param connection MHD request which triggered the transaction
444 * @param session database session to use
445 * @param[out] mhd_ret set to MHD response status for @a connection, 438 * @param[out] mhd_ret set to MHD response status for @a connection,
446 * if transaction failed (!) 439 * if transaction failed (!)
447 * @return transaction status 440 * @return transaction status
@@ -449,7 +442,6 @@ refreshes_reveal_transaction (void *cls,
449static enum GNUNET_DB_QueryStatus 442static enum GNUNET_DB_QueryStatus
450refreshes_reveal_persist (void *cls, 443refreshes_reveal_persist (void *cls,
451 struct MHD_Connection *connection, 444 struct MHD_Connection *connection,
452 struct TALER_EXCHANGEDB_Session *session,
453 MHD_RESULT *mhd_ret) 445 MHD_RESULT *mhd_ret)
454{ 446{
455 struct RevealContext *rctx = cls; 447 struct RevealContext *rctx = cls;
@@ -470,7 +462,6 @@ refreshes_reveal_persist (void *cls,
470 rrc->coin_sig = rctx->ev_sigs[i]; 462 rrc->coin_sig = rctx->ev_sigs[i];
471 } 463 }
472 qs = TEH_plugin->insert_refresh_reveal (TEH_plugin->cls, 464 qs = TEH_plugin->insert_refresh_reveal (TEH_plugin->cls,
473 session,
474 &rctx->rc, 465 &rctx->rc,
475 rctx->num_fresh_coins, 466 rctx->num_fresh_coins,
476 rrcs, 467 rrcs,
@@ -621,7 +612,6 @@ resolve_refreshes_reveal_denominations (struct MHD_Connection *connection,
621 612
622 if (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT != 613 if (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT !=
623 (qs = TEH_plugin->get_melt (TEH_plugin->cls, 614 (qs = TEH_plugin->get_melt (TEH_plugin->cls,
624 NULL,
625 &rctx->rc, 615 &rctx->rc,
626 &melt))) 616 &melt)))
627 { 617 {