commit 83a38faa556ad60712dd63e9f6fbc7b119a1aa90
parent 7fd25d3d2ca7c1efd12393d5a7848884f1f4fa0d
Author: Christian Grothoff <christian@grothoff.org>
Date: Fri, 20 Feb 2026 22:23:56 +0100
-fix typos
Diffstat:
2 files changed, 30 insertions(+), 8 deletions(-)
diff --git a/src/include/taler/taler-exchange/get-aml-OFFICER_PUB-attributes-H_NORMALIZED_PAYTO.h b/src/include/taler/taler-exchange/get-aml-OFFICER_PUB-attributes-H_NORMALIZED_PAYTO.h
@@ -206,6 +206,12 @@ struct TALER_EXCHANGE_GetAmlAttributesCollectionEvent
uint64_t rowid;
/**
+ * True if the attributes were filed by an AML officer,
+ * false if provided directly by the customer.
+ */
+ bool by_aml_officer;
+
+ /**
* The collected KYC data. NULL if the attribute data could not
* be decrypted (internal error of the exchange, likely the
* attribute key was changed).
@@ -252,6 +258,16 @@ struct TALER_EXCHANGE_GetAmlAttributesResponse
} ok;
+ /**
+ * Details on #MHD_HTTP_NOT_IMPLEMENTED (501).
+ * Returned when the requested output format (e.g. application/pdf)
+ * is not supported by this exchange backend.
+ */
+ struct
+ {
+ /* no additional details */
+ } not_implemented;
+
} details;
};
diff --git a/src/include/taler/taler-exchange/get-aml-OFFICER_PUB-decisions.h b/src/include/taler/taler-exchange/get-aml-OFFICER_PUB-decisions.h
@@ -225,6 +225,12 @@ struct TALER_EXCHANGE_GetAmlDecisionsDecision
struct TALER_NormalizedPaytoHashP h_payto;
/**
+ * Full payto:// URI of the account the decision applies to.
+ * Since protocol v30 (rev 1).
+ */
+ const char *full_payto;
+
+ /**
* True if the underlying payto://-URI is for a wallet.
*/
bool is_wallet;
@@ -326,10 +332,10 @@ TALER_EXCHANGE_get_aml_decisions_create (
*
* @return the terminating object of struct TALER_EXCHANGE_GetAmlDecisionsOptionValue
*/
-#define TALER_EXCHANGE_get_aml_decisions_options_end_() \
- (const struct TALER_EXCHANGE_GetAmlDecisionsOptionValue) \
- { \
- .option = TALER_EXCHANGE_GET_AML_DECISIONS_OPTION_END \
+#define TALER_EXCHANGE_get_aml_decisions_option_end_() \
+ (const struct TALER_EXCHANGE_GetAmlDecisionsOptionValue) \
+ { \
+ .option = TALER_EXCHANGE_GET_AML_DECISIONS_OPTION_END \
}
/**
@@ -338,7 +344,7 @@ TALER_EXCHANGE_get_aml_decisions_create (
* @param l limit on the number of results to return
* @return representation of the option as a struct TALER_EXCHANGE_GetAmlDecisionsOptionValue
*/
-#define TALER_EXCHANGE_get_aml_decisions_options_limit(l) \
+#define TALER_EXCHANGE_get_aml_decisions_option_limit(l) \
(const struct TALER_EXCHANGE_GetAmlDecisionsOptionValue) \
{ \
.option = TALER_EXCHANGE_GET_AML_DECISIONS_OPTION_LIMIT, \
@@ -352,7 +358,7 @@ TALER_EXCHANGE_get_aml_decisions_create (
* @param o offset to use
* @return representation of the option as a struct TALER_EXCHANGE_GetAmlDecisionsOptionValue
*/
-#define TALER_EXCHANGE_get_get_aml_decisions_option_offset(o) \
+#define TALER_EXCHANGE_get_aml_decisions_option_offset(o) \
(const struct TALER_EXCHANGE_GetAmlDecisionsOptionValue) \
{ \
.option = TALER_EXCHANGE_GET_AML_DECISIONS_OPTION_OFFSET, \
@@ -441,10 +447,10 @@ TALER_EXCHANGE_get_aml_decisions_set_options_ (
#define TALER_EXCHANGE_get_aml_decisions_set_options(adgh,...) \
TALER_EXCHANGE_get_aml_decisions_set_options_ ( \
adgh, \
+ TALER_EXCHANGE_COMMON_OPTIONS_ARRAY_MAX_SIZE, \
((const struct TALER_EXCHANGE_GetAmlDecisionsOptionValue[]) \
{__VA_ARGS__, TALER_EXCHANGE_get_aml_decisions_option_end_ () } \
- ), \
- TALER_EXCHANGE_COMMON_OPTIONS_ARRAY_MAX_SIZE)
+ ))
#ifndef TALER_EXCHANGE_GET_AML_DECISIONS_RESULT_CLOSURE