aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-11-27 00:26:30 +0100
committerChristian Grothoff <christian@grothoff.org>2020-11-27 00:26:30 +0100
commitb1932df0ce88c7d39502af58f19e0a709e08048c (patch)
tree1e751d9722b4131b391c51d130ed678dd73e6899 /src/include
parent1e6091d1dd8ac9886d44969d3756868a4a359780 (diff)
add new cmd to revoke denominations via HTTP API
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_testing_lib.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h
index 051726445..9ddc28a3b 100644
--- a/src/include/taler_testing_lib.h
+++ b/src/include/taler_testing_lib.h
@@ -2104,14 +2104,19 @@ TALER_TESTING_cmd_offline_sign_keys (const char *label,
* Revoke an exchange denomination key.
*
* @param label command label.
+ * @param expected_http_status expected HTTP status from exchange
+ * @param bad_sig should we use a bogus signature?
* @param denom_ref reference to a command that identifies
* a denomination key (i.e. because it was used to
* withdraw a coin).
* @return the command
*/
struct TALER_TESTING_Command
-TALER_TESTING_cmd_revoke_denom_key (const char *label,
- const char *denom_ref);
+TALER_TESTING_cmd_revoke_denomination (
+ const char *label,
+ unsigned int expected_response_code,
+ bool bad_sig,
+ const char *denom_ref);
/**