diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-12-30 13:45:36 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-12-30 13:45:36 +0100 |
commit | b7000379ed2c7ca31aeb4561a0ffc1c4bf9405c7 (patch) | |
tree | 50006273f188424fa93403c9866377961fd47619 /src/exchangedb/pg_update_kyc_attributes.h | |
parent | 5169abcdcd2710d002721ff0d1c6fcc53b8dab54 (diff) | |
download | exchange-b7000379ed2c7ca31aeb4561a0ffc1c4bf9405c7.tar.xz |
-add prototypes
Diffstat (limited to 'src/exchangedb/pg_update_kyc_attributes.h')
-rw-r--r-- | src/exchangedb/pg_update_kyc_attributes.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/exchangedb/pg_update_kyc_attributes.h b/src/exchangedb/pg_update_kyc_attributes.h index 252d27686..5d17eb7fa 100644 --- a/src/exchangedb/pg_update_kyc_attributes.h +++ b/src/exchangedb/pg_update_kyc_attributes.h @@ -26,4 +26,32 @@ #include "taler_exchangedb_plugin.h" +/** + * Update KYC attribute data. + * + * @param cls closure + * @param h_payto account for which the attribute data is stored + * @param kyc_prox key for similarity search + * @param provider_section provider that must be checked + * @param birthdate birthdate of user, in format YYYY-MM-DD; can be NULL; + * digits can be 0 if exact day, month or year are unknown + * @param collection_time when was the data collected + * @param expiration_time when does the data expire + * @param enc_attributes_size number of bytes in @a enc_attributes + * @param enc_attributes encrypted attribute data + * @return database transaction status + */ +enum GNUNET_DB_QueryStatus +TEH_PG_update_kyc_attributes ( + void *cls, + const struct TALER_PaytoHashP *h_payto, + const struct GNUNET_ShortHashCode *kyc_prox, + const char *provider_section, + const char *birthdate, + struct GNUNET_TIME_Timestamp collection_time, + struct GNUNET_TIME_Timestamp expiration_time, + size_t enc_attributes_size, + const void *enc_attributes); + + #endif |