summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-05-31 09:13:03 +0200
committerChristian Grothoff <christian@grothoff.org>2016-05-31 09:13:03 +0200
commit94e167995537015f5100b526791cd51268aa0f2f (patch)
treef17ce7c4921fe0e574134c84b5f7d561c0162086 /src/include
parentef81e9db227b15e56bd9fdf2992b29940b8a6a29 (diff)
downloadexchange-94e167995537015f5100b526791cd51268aa0f2f.tar.gz
exchange-94e167995537015f5100b526791cd51268aa0f2f.tar.bz2
exchange-94e167995537015f5100b526791cd51268aa0f2f.zip
adding a few more uniqueness constraints to DB
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_exchangedb_plugin.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h
index 978c335d6..d55bd8d15 100644
--- a/src/include/taler_exchangedb_plugin.h
+++ b/src/include/taler_exchangedb_plugin.h
@@ -1488,6 +1488,18 @@ struct TALER_EXCHANGEDB_Plugin
void *cb_cls);
+ /**
+ * Function called to perform "garbage collection" on the
+ * database, expiring records we no longer require.
+ *
+ * @param cls closure
+ * @return #GNUNET_OK on success,
+ * #GNUNET_NO if there was nothing to GC
+ * #GNUNET_SYSERR on DB errors
+ */
+ int
+ (*gc) (void *cls);
+
};