summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-01 11:55:11 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-01 11:56:52 +0200
commit76cf111084c13d5dc2d4ba686ecbbdeb8ff1ade9 (patch)
treed4fc196e98d9d0b10563e939d626ace7c03fcb34 /src/include
parent42d323d4344c748e1e793a606646c932d998cb47 (diff)
downloadmerchant-76cf111084c13d5dc2d4ba686ecbbdeb8ff1ade9.tar.gz
merchant-76cf111084c13d5dc2d4ba686ecbbdeb8ff1ade9.tar.bz2
merchant-76cf111084c13d5dc2d4ba686ecbbdeb8ff1ade9.zip
-implement lock expiratin (#6937)
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_merchantdb_plugin.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/taler_merchantdb_plugin.h b/src/include/taler_merchantdb_plugin.h
index 91c33f60..f8ac0eaf 100644
--- a/src/include/taler_merchantdb_plugin.h
+++ b/src/include/taler_merchantdb_plugin.h
@@ -1011,6 +1011,17 @@ struct TALER_MERCHANTDB_Plugin
/**
+ * Release all expired product locks, including
+ * those from expired offers -- across all
+ * instances.
+ *
+ * @param cls closure
+ */
+ void
+ (*expire_locks)(void *cls);
+
+
+ /**
* Delete information about an order. Note that the transaction must
* enforce that the order is not awaiting payment anymore.
*