diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-05-17 12:12:52 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-05-17 12:12:52 +0200 |
commit | 7bd1828482cd7c421bf5fcd66603ae86f956d779 (patch) | |
tree | a7a8cec8928e3049c6ee370fd2dc0f2a3c3515b2 /src/exchange/taler-exchange-httpd_responses.h | |
parent | ccc7743fdd90d7e15f0c0c9081b01378686a2b08 (diff) | |
download | exchange-7bd1828482cd7c421bf5fcd66603ae86f956d779.tar.gz exchange-7bd1828482cd7c421bf5fcd66603ae86f956d779.tar.bz2 exchange-7bd1828482cd7c421bf5fcd66603ae86f956d779.zip |
-deduplicate
Diffstat (limited to 'src/exchange/taler-exchange-httpd_responses.h')
-rw-r--r-- | src/exchange/taler-exchange-httpd_responses.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_responses.h b/src/exchange/taler-exchange-httpd_responses.h index 03841e801..2c4ac018c 100644 --- a/src/exchange/taler-exchange-httpd_responses.h +++ b/src/exchange/taler-exchange-httpd_responses.h @@ -59,6 +59,22 @@ TEH_RESPONSE_reply_unknown_denom_pub_hash ( /** + * Return error message indicating that a reserve had + * an insufficient balance for the given operation. + * + * @param connection connection to the client + * @param balance_required the balance required for the operation + * @param reserve_pub the reserve with insufficient balance + * @return MHD result code + */ +MHD_RESULT +TEH_RESPONSE_reply_reserve_insufficient_balance ( + struct MHD_Connection *connection, + const struct TALER_Amount *balance_required, + const struct TALER_ReservePublicKeyP *reserve_pub); + + +/** * Send assertion that the given denomination key hash * is not usable (typically expired) at this time. * |