From a1f20a92a0578e63b2b5d764ac802dbe45ab08e0 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 19 Jan 2015 21:04:58 +0100 Subject: restructuring more of deposit logic towards desired flow structure --- src/mint/taler-mint-httpd_responses.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/mint/taler-mint-httpd_responses.h') diff --git a/src/mint/taler-mint-httpd_responses.h b/src/mint/taler-mint-httpd_responses.h index be662319..6dd8cda9 100644 --- a/src/mint/taler-mint-httpd_responses.h +++ b/src/mint/taler-mint-httpd_responses.h @@ -32,6 +32,7 @@ #include #include "taler-mint-httpd.h" #include "taler-mint-httpd_mhd.h" +#include "mint_db.h" /** @@ -122,6 +123,16 @@ int TALER_MINT_reply_invalid_json (struct MHD_Connection *connection); +/** + * Send confirmation of deposit success to client. + * + * @param connection connection to the client + * @param deposit deposit request to confirm + * @return MHD result code + */ +int +TALER_MINT_reply_deposit_success (struct MHD_Connection *connection, + const struct Deposit *deposit); -- cgit v1.2.3