diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-05-31 09:13:03 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-05-31 09:13:03 +0200 |
commit | 94e167995537015f5100b526791cd51268aa0f2f (patch) | |
tree | f17ce7c4921fe0e574134c84b5f7d561c0162086 /src/include/taler_exchangedb_plugin.h | |
parent | ef81e9db227b15e56bd9fdf2992b29940b8a6a29 (diff) | |
download | exchange-94e167995537015f5100b526791cd51268aa0f2f.tar.xz |
adding a few more uniqueness constraints to DB
Diffstat (limited to 'src/include/taler_exchangedb_plugin.h')
-rw-r--r-- | src/include/taler_exchangedb_plugin.h | 12 |
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); + }; |