summaryrefslogtreecommitdiff
path: root/src/include/taler_exchangedb_plugin.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-11-29 14:32:39 +0100
committerChristian Grothoff <christian@grothoff.org>2020-11-29 14:32:39 +0100
commit3240844e48dc62b80c6167558677bcd7b83dd3c0 (patch)
tree5e22bc6185bbd2f1a03c7886a1badcb4269d0333 /src/include/taler_exchangedb_plugin.h
parentb65a2f77eb19b23063a5b73bc9ce5fb2e3622431 (diff)
downloadexchange-3240844e48dc62b80c6167558677bcd7b83dd3c0.tar.gz
exchange-3240844e48dc62b80c6167558677bcd7b83dd3c0.tar.bz2
exchange-3240844e48dc62b80c6167558677bcd7b83dd3c0.zip
get code for most new endpoints to build (but DB not done)
Diffstat (limited to 'src/include/taler_exchangedb_plugin.h')
-rw-r--r--src/include/taler_exchangedb_plugin.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h
index 60ad0e65..400d6a72 100644
--- a/src/include/taler_exchangedb_plugin.h
+++ b/src/include/taler_exchangedb_plugin.h
@@ -2977,7 +2977,8 @@ struct TALER_EXCHANGEDB_Plugin
* @param cls closure
* @param session a session
* @param auditor_pub key to look up information for
- * @param[out] set to the base URL of the auditor's REST API
+ * @param[out] set to the base URL of the auditor's REST API; memory to be
+ * released by the caller!
* @param[out] enabled set if the auditor is currently in use
* @return transaction status code
*/
@@ -2985,7 +2986,7 @@ struct TALER_EXCHANGEDB_Plugin
(*lookup_auditor_status)(void *cls,
struct TALER_EXCHANGEDB_Session *session,
const struct TALER_AuditorPublicKeyP *auditor_pub,
- char *auditor_url,
+ char **auditor_url,
bool *enabled);
@@ -3057,7 +3058,8 @@ struct TALER_EXCHANGEDB_Plugin
* @param payto_uri wire account of the exchange
* @param start_date date when the account was added by the offline system
* (only to be used for replay detection)
- * @param master_sig signature affirming the addition of the account
+ * @param master_sig public signature affirming the existence of the account,
+ * must be of purpose #TALER_SIGNATURE_MASTER_WIRE_DETAILS
* @return transaction status code
*/
enum GNUNET_DB_QueryStatus
@@ -3076,7 +3078,6 @@ struct TALER_EXCHANGEDB_Plugin
* @param payto_uri account the update is about
* @param change_date date when the account 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 (the actual change)
* @return transaction status code
*/
@@ -3085,7 +3086,6 @@ struct TALER_EXCHANGEDB_Plugin
struct TALER_EXCHANGEDB_Session *session,
const char *payto_uri,
struct GNUNET_TIME_Absolute change_date,
- const struct TALER_MasterSignatureP *master_sig,
bool enabled);