aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-07-28 16:10:42 +0200
committerChristian Grothoff <christian@grothoff.org>2024-07-29 12:18:49 +0200
commit5fd27712c37297d1b32d5a0d6a37823bfcf19a39 (patch)
tree6a520519a111570a81f48330f1409c359b167669 /src/include
parent55e4498e02d4c4e37d4533fbb26de31d574a962b (diff)
work on test_kyc_api
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_exchangedb_plugin.h3
-rw-r--r--src/include/taler_testing_lib.h35
2 files changed, 22 insertions, 16 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h
index 844e0b6d6..b52e109eb 100644
--- a/src/include/taler_exchangedb_plugin.h
+++ b/src/include/taler_exchangedb_plugin.h
@@ -6865,6 +6865,8 @@ struct TALER_EXCHANGEDB_Plugin
* can be NULL if @a h_payto is already
* guaranteed to be in wire_targets
* @param h_payto hash of @a payto_uri
+ * @param account_pub public key to enable for the
+ * KYC authorization, NULL if not known
* @param jmeasures serialized MeasureSet to put in place
* @param display_priority priority of the rule
* @param[out] requirement_row set to legitimization requirement row for this check
@@ -6875,6 +6877,7 @@ struct TALER_EXCHANGEDB_Plugin
void *cls,
const char *payto_uri,
const struct TALER_PaytoHashP *h_payto,
+ const union TALER_AccountPublicKeyP *account_pub,
const json_t *jmeasures,
uint32_t display_priority,
uint64_t *requirement_row);
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h
index d417c490c..37a4afa4d 100644
--- a/src/include/taler_testing_lib.h
+++ b/src/include/taler_testing_lib.h
@@ -1028,11 +1028,12 @@ TALER_TESTING_cmd_exec_aggregator_with_kyc (const char *label,
* @return the command.
*/
struct TALER_TESTING_Command
-TALER_TESTING_cmd_exec_closer (const char *label,
- const char *config_filename,
- const char *expected_amount,
- const char *expected_fee,
- const char *expected_reserve_ref);
+TALER_TESTING_cmd_exec_closer (
+ const char *label,
+ const char *config_filename,
+ const char *expected_amount,
+ const char *expected_fee,
+ const char *expected_reserve_ref);
/**
@@ -1061,11 +1062,12 @@ TALER_TESTING_cmd_exec_transfer (const char *label,
* @return the withdraw command to be executed by the interpreter.
*/
struct TALER_TESTING_Command
-TALER_TESTING_cmd_withdraw_amount (const char *label,
- const char *reserve_reference,
- const char *amount,
- uint8_t age,
- unsigned int expected_response_code);
+TALER_TESTING_cmd_withdraw_amount (
+ const char *label,
+ const char *reserve_reference,
+ const char *amount,
+ uint8_t age,
+ unsigned int expected_response_code);
/**
@@ -1143,12 +1145,13 @@ TALER_TESTING_cmd_batch_withdraw_with_conflict (
* @return the withdraw command to be executed by the interpreter.
*/
struct TALER_TESTING_Command
-TALER_TESTING_cmd_age_withdraw (const char *label,
- const char *reserve_reference,
- uint8_t max_age,
- unsigned int expected_response_code,
- const char *amount,
- ...);
+TALER_TESTING_cmd_age_withdraw (
+ const char *label,
+ const char *reserve_reference,
+ uint8_t max_age,
+ unsigned int expected_response_code,
+ const char *amount,
+ ...);
/**
* Create a "age-withdraw reveal" command.