diff options
Diffstat (limited to 'src/exchange/taler-exchange-httpd_responses.h')
-rw-r--r-- | src/exchange/taler-exchange-httpd_responses.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_responses.h b/src/exchange/taler-exchange-httpd_responses.h index 7182629eb..d4acd2132 100644 --- a/src/exchange/taler-exchange-httpd_responses.h +++ b/src/exchange/taler-exchange-httpd_responses.h @@ -63,6 +63,26 @@ TEH_RESPONSE_reply_unknown_denom_pub_hash ( /** + * Send assertion that the given denomination key hash + * is not usable (typically expired) at this time. + * + * @param connection connection to the client + * @param dph denomination public key hash + * @param now timestamp to use + * @param ec error code to use + * @param name of the operation that is not allowed at this time + * @return MHD result code + */ +MHD_RESULT +TEH_RESPONSE_reply_expired_denom_pub_hash ( + struct MHD_Connection *connection, + const struct GNUNET_HashCode *dph, + struct GNUNET_TIME_Absolute now, + enum TALER_ErrorCode ec, + const char *oper); + + +/** * Send proof that a request is invalid to client because of * insufficient funds. This function will create a message with all * of the operations affecting the coin that demonstrate that the coin |