diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2023-09-01 14:27:48 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2023-09-01 14:27:48 +0200 |
commit | 35dcd4514a93ba0f5353ecd1194fc9b515f2aad4 (patch) | |
tree | 399d8f8fbebf5e8ac383fc318b7be08901279a31 /src/backenddb/pg_update_account.h | |
parent | 858e3047b8b595ab693e16ce0bbe0b8983b072ed (diff) | |
download | merchant-35dcd4514a93ba0f5353ecd1194fc9b515f2aad4.tar.gz merchant-35dcd4514a93ba0f5353ecd1194fc9b515f2aad4.tar.bz2 merchant-35dcd4514a93ba0f5353ecd1194fc9b515f2aad4.zip |
new CRUD APIs for OTP devices and merchant accounts (fixes #7929, #7824), one minor test is still failing...
Diffstat (limited to 'src/backenddb/pg_update_account.h')
-rw-r--r-- | src/backenddb/pg_update_account.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/backenddb/pg_update_account.h b/src/backenddb/pg_update_account.h index 52b476d9..794b99d8 100644 --- a/src/backenddb/pg_update_account.h +++ b/src/backenddb/pg_update_account.h @@ -31,14 +31,18 @@ * * @param cls closure * @param id identifier of the instance - * @param account_details details about the account + * @param h_wire which account to update + * @param credit_facade_url new facade URL, can be NULL + * @param credit_facade_credentials new credentials, can be NULL to keep previous credentials * @return database result code */ enum GNUNET_DB_QueryStatus TMH_PG_update_account ( void *cls, const char *id, - const struct TALER_MERCHANTDB_AccountDetails *account_details); + const struct TALER_MerchantWireHashP *h_wire, + const char *credit_facade_url, + const json_t *credit_facade_credentials); #endif |