summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-02-17 20:48:28 +0100
committerChristian Grothoff <christian@grothoff.org>2021-02-17 20:48:28 +0100
commit441d1a5915beb96556541292f95f8d3a434e1d9a (patch)
tree133114236d22616677b31a9bed659d27dd29e239 /src/include
parentf8bc94d00f82f12d1e7caf3d37bf7aac10c9d108 (diff)
downloadmerchant-441d1a5915beb96556541292f95f8d3a434e1d9a.tar.gz
merchant-441d1a5915beb96556541292f95f8d3a434e1d9a.tar.bz2
merchant-441d1a5915beb96556541292f95f8d3a434e1d9a.zip
fix account re-enable issue, related to #6755, but not exactly
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_merchantdb_plugin.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/taler_merchantdb_plugin.h b/src/include/taler_merchantdb_plugin.h
index 7d7bd9dc..963f9234 100644
--- a/src/include/taler_merchantdb_plugin.h
+++ b/src/include/taler_merchantdb_plugin.h
@@ -846,6 +846,18 @@ struct TALER_MERCHANTDB_Plugin
(*inactivate_account)(void *cls,
const struct GNUNET_HashCode *h_wire);
+
+ /**
+ * Set an instance's account in our database to "active".
+ *
+ * @param cls closure
+ * @param h_wire hash of the wire account to set to active
+ * @return database result code
+ */
+ enum GNUNET_DB_QueryStatus
+ (*activate_account)(void *cls,
+ const struct GNUNET_HashCode *h_wire);
+
/**
* Lookup all of the products the given instance has configured.
*