diff options
author | Florian Dold <florian.dold@gmail.com> | 2015-12-22 11:26:10 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2015-12-22 11:26:10 +0100 |
commit | 24bfedf04e2603b263e5c28ef94b45b2643e2ab2 (patch) | |
tree | fe34fb68e41519931815c6364103135b04342bb8 /src/mint/taler-mint-httpd_responses.c | |
parent | fdf51f8c73fadca9301f53fede630a43cc33091a (diff) | |
parent | 204f732c1a408490d6d13fa36b0635ce72fd4575 (diff) | |
download | exchange-24bfedf04e2603b263e5c28ef94b45b2643e2ab2.tar.gz exchange-24bfedf04e2603b263e5c28ef94b45b2643e2ab2.tar.bz2 exchange-24bfedf04e2603b263e5c28ef94b45b2643e2ab2.zip |
Merge branch 'master' of ssh://taler.net/var/git/mint
Diffstat (limited to 'src/mint/taler-mint-httpd_responses.c')
-rw-r--r-- | src/mint/taler-mint-httpd_responses.c | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/mint/taler-mint-httpd_responses.c b/src/mint/taler-mint-httpd_responses.c index 3b04fdb3c..f3498b469 100644 --- a/src/mint/taler-mint-httpd_responses.c +++ b/src/mint/taler-mint-httpd_responses.c @@ -1050,4 +1050,55 @@ TMH_RESPONSE_reply_refresh_link_success (struct MHD_Connection *connection, } +/** + * A merchant asked for details about a deposit, but + * we do not know anything about the deposit. Generate the + * 404 reply. + * + * @param connection connection to the client + * @param + * @return MHD result code + */ +int +TMH_RESPONSE_reply_deposit_unknown (struct MHD_Connection *connection, + ...) +{ + GNUNET_break (0); // FIXME: not implemented + return MHD_NO; +} + + +/** + * A merchant asked for details about a deposit, but + * we did not execute the deposit yet. Generate a 202 reply. + * + * @param connection connection to the client + * @param + * @return MHD result code + */ +int +TMH_RESPONSE_reply_deposit_pending (struct MHD_Connection *connection, + ...) +{ + GNUNET_break (0); // FIXME: not implemented + return MHD_NO; +} + + +/** + * A merchant asked for details about a deposit. Provide + * them. Generates the 200 reply. + * + * @param connection connection to the client + * @param + * @return MHD result code + */ +int +TMH_RESPONSE_reply_deposit_wtid (struct MHD_Connection *connection, + ...) +{ + GNUNET_break (0); // FIXME: not implemented + return MHD_NO; +} + /* end of taler-mint-httpd_responses.c */ |