diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_exchangedb_plugin.h | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index c7bffbd89..5cd63f2bf 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -34,16 +34,24 @@ */ enum TALER_EXCHANGEDB_AgeCommitmentHash_Conflict { - /* Value OK, no conflict */ + /** + * Value OK, no conflict + */ TALER_AgeCommitmentHash_NoConflict = 0, - /* Given hash had a value, but NULL (or zero) was expected */ + /** + * Given hash had a value, but NULL (or zero) was expected + */ TALER_AgeCommitmentHash_NullExpected = 1, - /* Given hash was NULL, but value was expected */ + /** + * Given hash was NULL, but value was expected + */ TALER_AgeCommitmentHash_ValueExpected = 2, - /* Given hash differs from value in the known coin */ + /** + * Given hash differs from value in the known coin + */ TALER_AgeCommitmentHash_ValueDiffers = 3, }; @@ -7206,6 +7214,18 @@ struct TALER_EXCHANGEDB_Plugin const char *provider_account_id, const char *provider_legitimization_id); + /** + * Function called to inject auditor triggers into the + * database, triggering the real-time auditor upon + * relevant INSERTs. + * + * @param cls closure + * @return #GNUNET_OK on success, + * #GNUNET_SYSERR on DB errors + */ + enum GNUNET_GenericReturnValue + (*inject_auditor_triggers)(void *cls); + }; #endif /* _TALER_EXCHANGE_DB_H */ |