diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-02-03 12:57:04 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-02-03 12:57:04 +0100 |
commit | f6877449eb6aa994df6cc1a125f983ece1f6ad39 (patch) | |
tree | 9779059f00578f30ffd481dbd80415d7a7a16269 /src/include | |
parent | e0687b90f1f208a4dd72c4a0792334ee54debf03 (diff) | |
download | exchange-f6877449eb6aa994df6cc1a125f983ece1f6ad39.tar.xz |
implement testing_api_cmd_take_aml_decision.c
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_exchange_service.h | 1 | ||||
-rw-r--r-- | src/include/taler_testing_lib.h | 8 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index 7c61b7b5e..7b301aec7 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -433,6 +433,7 @@ struct TALER_EXCHANGE_HttpResponse * reply (too big, invalid JSON). */ const json_t *reply; + /** * Set to the human-readable 'hint' that is optionally * provided by the exchange together with errors. NULL diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 50563b9b6..a54e05e53 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -2739,7 +2739,9 @@ TALER_TESTING_cmd_set_officer ( * @param ref_operation command that previously created an * h_payto which to make an AML decision about * @param new_threshold new threshold to set - * @param block set to true to block the account + * @param justification justification given for the decision + * @param new_state new AML state for the account + * @param expected_response expected HTTP return status * @return the command */ struct TALER_TESTING_Command @@ -2748,7 +2750,9 @@ TALER_TESTING_cmd_take_aml_decision ( const char *ref_officer, const char *ref_operation, const char *new_threshold, - bool block); + const char *justification, + enum TALER_AmlDecisionState new_state, + unsigned int expected_response); /** |