summaryrefslogtreecommitdiff
path: root/core/api-common.rst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-02-20 16:03:14 +0100
committerChristian Grothoff <christian@grothoff.org>2023-02-20 16:03:14 +0100
commit6b8969a04d97a8dadb2495a434b10b1333e303f6 (patch)
tree1b9d995b55b9326f758c3f1e75644f8ecc9412c9 /core/api-common.rst
parente26178d09d1cea5a56530b3d2033aaeeadc593c3 (diff)
downloaddocs-6b8969a04d97a8dadb2495a434b10b1333e303f6.tar.gz
docs-6b8969a04d97a8dadb2495a434b10b1333e303f6.tar.bz2
docs-6b8969a04d97a8dadb2495a434b10b1333e303f6.zip
fix warnings
Diffstat (limited to 'core/api-common.rst')
-rw-r--r--core/api-common.rst95
1 files changed, 94 insertions, 1 deletions
diff --git a/core/api-common.rst b/core/api-common.rst
index 9d123978..b91a8a6d 100644
--- a/core/api-common.rst
+++ b/core/api-common.rst
@@ -695,13 +695,23 @@ uses 512-bit hash codes (64 bytes).
};
-.. _officer-pub:
+.. _AmlDecisionState:
+.. sourcecode:: c
+
+ enum TALER_AmlDecisionState {
+ NORMAL, PENDING, FROZEN
+ };
+
+.. _AmlOfficerPublicKeyP:
.. sourcecode:: c
struct TALER_AmlOfficerPublicKeyP {
uint8_t eddsa_pub[32];
};
+.. _AmlOfficerPrivateKeyP:
+.. sourcecode:: c
+
struct TALER_AmlOfficerPrivateKeyP {
uint8_t eddsa_priv[32];
};
@@ -1663,3 +1673,86 @@ within the
struct GNUNET_TIME_AbsoluteNBO end_date;
struct TALER_PaytoHash h_wire;
};
+
+
+.. _TALER_MasterAmlOfficerStatusPS:
+.. sourcecode:: c
+
+ struct TALER_MasterAmlOfficerStatusPS {
+ /**
+ * purpose.purpose = TALER_SIGNATURE_MASTER_AML_KEY
+ */
+ struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
+ struct GNUNET_TIME_TimestampNBO change_date;
+ struct TALER_AmlOfficerPublicKeyP officer_pub;
+ struct GNUNET_HashCode h_officer_name GNUNET_PACKED;
+ uint32_t is_active GNUNET_PACKED;
+ };
+
+.. _TALER_PartnerConfigurationPS:
+.. sourcecode:: c
+
+ struct TALER_PartnerConfigurationPS {
+ /**
+ * purpose.purpose = TALER_SIGNATURE_MASTER_PARNTER_DETAILS
+ */
+ struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
+ struct TALER_MasterPublicKeyP partner_pub;
+ struct GNUNET_TIME_TimestampNBO start_date;
+ struct GNUNET_TIME_TimestampNBO end_date;
+ struct GNUNET_TIME_RelativeNBO wad_frequency;
+ struct TALER_AmountNBO wad_fee;
+ struct GNUNET_HashCode h_url;
+ };
+
+.. _TALER_ReserveOpenPS:
+.. sourcecode:: c
+
+ struct TALER_ReserveOpenPS {
+ /**
+ * Purpose.purpose = TALER_SIGNATURE_WALLET_RESERVE_OPEN
+ */
+ struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
+ struct TALER_AmountNBO reserve_payment;
+ struct GNUNET_TIME_TimestampNBO request_timestamp;
+ struct GNUNET_TIME_TimestampNBO reserve_expiration;
+ uint32_t purse_limit;
+ };
+
+.. _TALER_ReserveClosePS:
+.. sourcecode:: c
+
+ struct TALER_ReserveClosePS {
+ /**
+ * purpose.purpose = TALER_SIGNATURE_WALLET_RESERVE_CLOSE
+ */
+ struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
+ struct GNUNET_TIME_TimestampNBO request_timestamp;
+ struct TALER_PaytoHashP target_account_h_payto;
+ };
+
+.. _TALER_WalletReserveAttestRequestSignaturePS:
+.. sourcecode:: c
+
+ struct TALER_ReserveAttestRequestPS {
+ /**
+ * purpose.purpose = TALER_SIGNATURE_WALLET_ATTEST_REQUEST
+ */
+ struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
+ struct GNUNET_TIME_TimestampNBO request_timestamp;
+ struct GNUNET_HashCode h_details;
+ };
+
+.. _TALER_ExchangeAttestPS:
+.. sourcecode:: c
+
+ struct TALER_ExchangeAttestPS {
+ /**
+ * purpose.purpose = TALER_SIGNATURE_EXCHANGE_RESERVE_ATTEST_DETAILS
+ */
+ struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
+ struct GNUNET_TIME_TimestampNBO attest_timestamp;
+ struct GNUNET_TIME_TimestampNBO expiration_time;
+ struct TALER_ReservePublicKeyP reserve_pub;
+ struct GNUNET_HashCode h_attributes;
+ };