summaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_responses.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-01-20 15:17:41 +0100
committerChristian Grothoff <christian@grothoff.org>2015-01-20 15:17:41 +0100
commit93a98f8091329d44fe63c092da5f4eaf3bcb983d (patch)
tree8bb70e9d3bc4513a484bc136d3a53d9d5a8b8c56 /src/mint/taler-mint-httpd_responses.h
parented51946442e5e22a7dea68f14ff2bf563503c755 (diff)
downloadexchange-93a98f8091329d44fe63c092da5f4eaf3bcb983d.tar.gz
exchange-93a98f8091329d44fe63c092da5f4eaf3bcb983d.tar.bz2
exchange-93a98f8091329d44fe63c092da5f4eaf3bcb983d.zip
starting to refactor refresh code, moving response generation logic to response generation file
Diffstat (limited to 'src/mint/taler-mint-httpd_responses.h')
-rw-r--r--src/mint/taler-mint-httpd_responses.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/mint/taler-mint-httpd_responses.h b/src/mint/taler-mint-httpd_responses.h
index ce7557e1d..ca6b68d50 100644
--- a/src/mint/taler-mint-httpd_responses.h
+++ b/src/mint/taler-mint-httpd_responses.h
@@ -159,4 +159,22 @@ TALER_MINT_reply_withdraw_sign_success (struct MHD_Connection *connection,
const struct CollectableBlindcoin *collectable);
+/**
+ * Send a response to a "/refresh/commit" request.
+ *
+ * FIXME: maybe not the ideal argument type for @a refresh_session here.
+ *
+ * @param connection the connection to send the response to
+ * @param refresh_session the refresh session
+ * @return a MHD status code
+ */
+int
+TALER_MINT_reply_refresh_commit_success (struct MHD_Connection *connection,
+ struct RefreshSession *refresh_session);
+
+
+
+
+
+
#endif