summaryrefslogtreecommitdiff
path: root/src/include/taler_merchantdb_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/taler_merchantdb_plugin.h')
-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.
*