diff options
Diffstat (limited to 'src/include/taler_auditordb_plugin.h')
-rw-r--r-- | src/include/taler_auditordb_plugin.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/include/taler_auditordb_plugin.h b/src/include/taler_auditordb_plugin.h index 4dc3a2531..2beb3e0e0 100644 --- a/src/include/taler_auditordb_plugin.h +++ b/src/include/taler_auditordb_plugin.h @@ -198,6 +198,16 @@ struct TALER_AUDITORDB_DepositConfirmation // MARK: CRUD /** + * Information about a row inconsistency + */ +struct TALER_AUDITORDB_Generic_Update +{ + uint64_t row_id; + bool suppressed; + bool ancient; +}; + +/** * Information about an arithmetic inconsistency */ struct TALER_AUDITORDB_AmountArithmeticInconsistency @@ -1066,7 +1076,8 @@ struct TALER_AUDITORDB_Plugin enum GNUNET_DB_QueryStatus (*get_bad_sig_losses)( void *cls, - uint64_t start_id, + int64_t limit, + uint64_t offset, bool return_suppressed, TALER_AUDITORDB_BadSigLossesCallback cb, void *cb_cls); @@ -1232,6 +1243,12 @@ struct TALER_AUDITORDB_Plugin void *cls, const struct TALER_AUDITORDB_RefreshesHanging *dc); + enum GNUNET_DB_QueryStatus + (*update_bad_sig_losses)( + void *cls, + const struct TALER_AUDITORDB_Generic_Update *gu); + + /** * Insert information about a reserve. There must not be an * existing record for the reserve. |