aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_merchantdb_plugin.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-01-06 19:47:08 +0100
committerChristian Grothoff <christian@grothoff.org>2024-01-06 19:47:08 +0100
commit4d920a818432ba757189f9b03a0886a37901dbb2 (patch)
treef78d7164f2c30edb8c00333a9b777e87ab80dba1 /src/include/taler_merchantdb_plugin.h
parentced8baa6d7097367e29d30127d55e90ad3e705c4 (diff)
complete taler-merchant-depositcheck, 1st iteration, without testing
Diffstat (limited to 'src/include/taler_merchantdb_plugin.h')
-rw-r--r--src/include/taler_merchantdb_plugin.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/include/taler_merchantdb_plugin.h b/src/include/taler_merchantdb_plugin.h
index 8981a727..ae25feb5 100644
--- a/src/include/taler_merchantdb_plugin.h
+++ b/src/include/taler_merchantdb_plugin.h
@@ -3699,6 +3699,23 @@ struct TALER_MERCHANTDB_Plugin
TALER_MERCHANTDB_PendingDepositsCallback cb,
void *cb_cls);
+
+ /**
+ * Update the deposit confirmation status associated with
+ * the given @a deposit_serial.
+ *
+ * @param cls closure
+ * @param deposit_serial deposit to update status for
+ * @param future_retry when should we ask the exchange again
+ * @param emsg error message to record
+ * @return database result code
+ */
+ enum GNUNET_DB_QueryStatus
+ (*update_deposit_confirmation_status)(
+ void *cls,
+ uint64_t deposit_serial,
+ struct GNUNET_TIME_Absolute future_retry,
+ const char *emsg);
};
#endif