aboutsummaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_responses.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-01-29 00:45:07 +0100
committerChristian Grothoff <christian@grothoff.org>2015-01-29 00:45:07 +0100
commit758ce80519f17b580807f432192eae9ff13cb418 (patch)
tree376867e94f59dd34caa0856eed104deed9b25dc3 /src/mint/taler-mint-httpd_responses.h
parent8adde040ab5c3fdc40b06537d3bab1aa60ecc5e5 (diff)
clean up /withdraw/sign logic
Diffstat (limited to 'src/mint/taler-mint-httpd_responses.h')
-rw-r--r--src/mint/taler-mint-httpd_responses.h14
1 files changed, 14 insertions, 0 deletions
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
@@ -209,6 +209,20 @@ TALER_MINT_reply_withdraw_status_success (struct MHD_Connection *connection,
/**
+ * 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.
*
* @param connection connection to the client