From 758ce80519f17b580807f432192eae9ff13cb418 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 29 Jan 2015 00:45:07 +0100 Subject: clean up /withdraw/sign logic --- src/mint/taler-mint-httpd_responses.h | 14 ++++++++++++++ 1 file changed, 14 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 5e2f98638..ebe1038fd 100644 --- a/src/mint/taler-mint-httpd_responses.h +++ b/src/mint/taler-mint-httpd_responses.h @@ -208,6 +208,20 @@ TALER_MINT_reply_withdraw_status_success (struct MHD_Connection *connection, const struct ReserveHistory *rh); +/** + * Send reserve status information to client with the + * message that we have insufficient funds for the + * requested /withdraw/sign operation. + * + * @param connection connection to the client + * @param rh reserve history to return + * @return MHD result code + */ +int +TALER_MINT_reply_withdraw_sign_insufficient_funds (struct MHD_Connection *connection, + const struct ReserveHistory *rh); + + /** * Send blinded coin information to client. * -- cgit v1.2.3