aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-09-05 13:30:04 +0200
committerChristian Grothoff <christian@grothoff.org>2024-09-05 13:30:04 +0200
commita666b706247f7e2b152a396999f0c9e787190b30 (patch)
tree8e999c74e50e757c65a4f9a71e4aff2e7a032a63 /src/include
parentc39040ad2c4939b21d6ad57240a8a47dbc8f68e3 (diff)
exchange-side implementation of #9156
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_exchange_service.h3
-rw-r--r--src/include/taler_exchangedb_plugin.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h
index f6907138f..7887e3d93 100644
--- a/src/include/taler_exchange_service.h
+++ b/src/include/taler_exchange_service.h
@@ -6393,6 +6393,8 @@ struct TALER_EXCHANGE_AccountRule
* @param url HTTP base URL for the exchange
* @param h_payto payto URI hash of the account the
* decision is about
+ * @param payto_uri payto URI of the account, can
+ * be NULL if the exchange already knows the account
* @param decision_time when was the decision made
* @param successor_measure measure to activate after @a expiration_time if no rule applied
* @param new_measures space-separated list of measures
@@ -6417,6 +6419,7 @@ TALER_EXCHANGE_post_aml_decision (
struct GNUNET_CURL_Context *ctx,
const char *url,
const struct TALER_PaytoHashP *h_payto,
+ const char *payto_uri,
struct GNUNET_TIME_Timestamp decision_time,
const char *successor_measure,
const char *new_measures,
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h
index 44e1b8cfb..4859a8f52 100644
--- a/src/include/taler_exchangedb_plugin.h
+++ b/src/include/taler_exchangedb_plugin.h
@@ -7653,6 +7653,8 @@ struct TALER_EXCHANGEDB_Plugin
* status.
*
* @param cls closure
+ * @param payto_uri full URI of the account, optional,
+ * can be NULL if the backend already knows the account
* @param h_payto account for which the attribute data is stored
* @param decision_time when was the decision made
* @param expiration_time when does the decision expire
@@ -7674,6 +7676,7 @@ struct TALER_EXCHANGEDB_Plugin
enum GNUNET_DB_QueryStatus
(*insert_aml_decision)(
void *cls,
+ const char *payto_uri,
const struct TALER_PaytoHashP *h_payto,
struct GNUNET_TIME_Timestamp decision_time,
struct GNUNET_TIME_Timestamp expiration_time,