From 6b434c626f6335f8174e0164ead61b3874752c4a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 29 Nov 2020 16:21:10 +0100 Subject: work on DB logic, add auditor_name to /management/auditors API --- src/include/taler_exchangedb_plugin.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/include/taler_exchangedb_plugin.h') diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index 400d6a723..0f5e693d5 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -2997,9 +2997,9 @@ struct TALER_EXCHANGEDB_Plugin * @param session a session * @param auditor_pub key of the auditor * @param auditor_url base URL of the auditor's REST service + * @param auditor_name name of the auditor (for humans) * @param start_date date when the auditor was added by the offline system * (only to be used for replay detection) - * @param master_sig signature affirming the addition of the auditor * @return transaction status code */ enum GNUNET_DB_QueryStatus @@ -3007,8 +3007,8 @@ struct TALER_EXCHANGEDB_Plugin struct TALER_EXCHANGEDB_Session *session, const struct TALER_AuditorPublicKeyP *auditor_pub, const char *auditor_url, - struct GNUNET_TIME_Absolute start_date, - const struct TALER_MasterSignatureP *master_sig); + const char *auditor_name, + struct GNUNET_TIME_Absolute start_date); /** @@ -3018,9 +3018,9 @@ struct TALER_EXCHANGEDB_Plugin * @param session a session * @param auditor_pub key of the auditor (primary key for the existing record) * @param auditor_url base URL of the auditor's REST service, to be updated + * @param auditor_name name of the auditor (for humans) * @param change_date date when the auditor status was last changed * (only to be used for replay detection) - * @param master_sig signature affirming the change in status (enable or disable) * @param enabled true to enable, false to disable * @return transaction status code */ @@ -3029,8 +3029,8 @@ struct TALER_EXCHANGEDB_Plugin struct TALER_EXCHANGEDB_Session *session, const struct TALER_AuditorPublicKeyP *auditor_pub, const char *auditor_url, + const char *auditor_name, struct GNUNET_TIME_Absolute change_date, - const struct TALER_MasterSignatureP *master_sig, bool enabled); -- cgit v1.2.3