summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_responses.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-29 16:57:20 +0200
committerChristian Grothoff <christian@grothoff.org>2017-03-29 16:57:20 +0200
commitc329b92ccf1c461e4032e75164b6ffa6bb509a69 (patch)
tree0edbf79cdb304e1b930ff8b603980f8eaf51c052 /src/exchange/taler-exchange-httpd_responses.h
parent21d26132877990d7beac118b33e336aaed395234 (diff)
downloadexchange-c329b92ccf1c461e4032e75164b6ffa6bb509a69.tar.gz
exchange-c329b92ccf1c461e4032e75164b6ffa6bb509a69.tar.bz2
exchange-c329b92ccf1c461e4032e75164b6ffa6bb509a69.zip
implementing remaining /payback responses
Diffstat (limited to 'src/exchange/taler-exchange-httpd_responses.h')
-rw-r--r--src/exchange/taler-exchange-httpd_responses.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/exchange/taler-exchange-httpd_responses.h b/src/exchange/taler-exchange-httpd_responses.h
index 27b20d353..e12229565 100644
--- a/src/exchange/taler-exchange-httpd_responses.h
+++ b/src/exchange/taler-exchange-httpd_responses.h
@@ -560,9 +560,8 @@ TEH_RESPONSE_reply_refresh_link_success (struct MHD_Connection *connection,
/**
- * A wallet asked for /payback, but we do not know anything
- * about the original withdraw operation given. Generates a
- * 404 reply.
+ * A wallet asked for /payback, but we do not know anything about the
+ * original withdraw operation specified. Generates a 404 reply.
*
* @param connection connection to the client
* @param ec Taler error code
@@ -577,6 +576,7 @@ TEH_RESPONSE_reply_payback_unknown (struct MHD_Connection *connection,
* A wallet asked for /payback, return the successful response.
*
* @param connection connection to the client
+ * @param coin_pub coin for which we are processing the payback request
* @param wire_subject the wire subject we will use for the pay back operation
* @param amount the amount we will wire back
* @param payback_deadline deadline by which the exchange promises to pay
@@ -584,6 +584,7 @@ TEH_RESPONSE_reply_payback_unknown (struct MHD_Connection *connection,
*/
int
TEH_RESPONSE_reply_payback_success (struct MHD_Connection *connection,
+ const struct TALER_CoinSpendPublicKeyP *coin_pub,
const char *wire_subject,
const struct TALER_Amount *amount,
struct GNUNET_TIME_Absolute payback_deadline);