aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_auditordb_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/taler_auditordb_plugin.h')
-rw-r--r--src/include/taler_auditordb_plugin.h802
1 files changed, 789 insertions, 13 deletions
diff --git a/src/include/taler_auditordb_plugin.h b/src/include/taler_auditordb_plugin.h
index 818c72a95..fea1f85f4 100644
--- a/src/include/taler_auditordb_plugin.h
+++ b/src/include/taler_auditordb_plugin.h
@@ -225,7 +225,7 @@ struct TALER_AUDITORDB_AmountArithmeticInconsistency
struct TALER_AUDITORDB_CoinInconsistency
{
unsigned int row_id;
- char*operation; // TODO: change to string
+ char* operation; // TODO: change to string
struct TALER_Amount exchange_amount;
struct TALER_Amount auditor_amount;
struct TALER_CoinSpendPublicKeyP coin_pub;
@@ -359,8 +359,18 @@ struct TALER_AUDITORDB_ReserveBalanceInsufficientInconsistency
struct TALER_Amount inconsistency_amount;
};
+struct TALER_AUDITORDB_ReserveInInconsistency
+{
+ unsigned int row_id;
+ struct TALER_Amount amount_exchange_expected;
+ struct TALER_Amount amount_wired;
+ struct TALER_ReservePublicKeyP reserve_pub;
+ int64_t timestamp;
+ char * account;
+ char * diagnostic;
+ bool suppressed;
-// MARK: CRUD
+};
/**
* Function called with arithmetic inconsistencies stored in
@@ -636,6 +646,152 @@ struct TALER_AUDITORDB_DenominationCirculationData
uint64_t num_issued;
};
+struct TALER_AUDITORDB_DenominationsWithoutSigs
+{
+ unsigned int row_id;
+ struct TALER_DenominationHashP denompub_h;
+ struct TALER_Amount value;
+ int64_t start_time;
+ int64_t end_time;
+ bool suppressed;
+
+};
+
+struct TALER_AUDITORDB_MisattributionInInconsistency
+{
+ unsigned int row_id;
+ struct TALER_Amount amount;
+ int64_t bank_row;
+ struct TALER_ReservePublicKeyP reserve_pub;
+ bool suppressed;
+
+};
+
+struct TALER_AUDITORDB_Reserves
+{
+ unsigned int row_id;
+ int64_t auditor_reserves_rowid;
+ struct TALER_ReservePublicKeyP reserve_pub;
+ struct TALER_Amount reserve_balance;
+ struct TALER_Amount reserve_loss;
+ struct TALER_Amount withdraw_fee_balance;
+ struct TALER_Amount close_fee_balance;
+ struct TALER_Amount purse_fee_balance;
+ struct TALER_Amount open_fee_balance;
+ struct TALER_Amount history_fee_balance;
+ int64_t expiration_date;
+ char * origin_account;
+ bool suppressed;
+
+};
+
+struct TALER_AUDITORDB_Purses
+{
+ unsigned int row_id;
+ int64_t auditor_purses_rowid;
+ struct TALER_PurseContractPublicKeyP purse_pub;
+ struct TALER_Amount balance;
+ struct TALER_Amount target;
+ int64_t expiration_date;
+ bool suppressed;
+
+};
+
+struct TALER_AUDITORDB_HistoricDenominationRevenue
+{
+ unsigned int row_id;
+ struct TALER_DenominationHashP denom_pub_hash;
+ int64_t revenue_timestamp;
+ struct TALER_Amount revenue_balance;
+ struct TALER_Amount loss_balance;
+ bool suppressed;
+
+};
+
+struct TALER_AUDITORDB_DenominationPending
+{
+ unsigned int row_id;
+ struct TALER_DenominationHashP denom_pub_hash;
+ struct TALER_Amount denom_balance;
+ struct TALER_Amount denom_loss;
+ int64_t num_issued;
+ struct TALER_Amount denom_risk;
+ struct TALER_Amount recoup_loss;
+ bool suppressed;
+
+};
+
+struct TALER_AUDITORDB_HistoricReserveSummary
+{
+ unsigned int row_id;
+ int64_t start_date;
+ int64_t end_date;
+ struct TALER_Amount reserve_profits;
+ bool suppressed;
+
+};
+
+struct TALER_AUDITORDB_ExchangeSignkeys
+{
+ unsigned int row_id;
+ struct TALER_ExchangePublicKeyP exchange_pub;
+ struct TALER_MasterSignatureP master_sig;
+ int64_t ep_valid_from;
+ int64_t ep_expire_sign;
+ int64_t ep_expire_legal;
+ bool suppressed;
+
+};
+
+struct TALER_AUDITORDB_WireFormatInconsistency
+{
+ unsigned int row_id;
+ struct TALER_Amount amount;
+ int64_t wire_offset;
+ char * diagnostic;
+ bool suppressed;
+
+};
+
+struct TALER_AUDITORDB_WireOutInconsistency
+{
+ unsigned int row_id;
+ char * destination_account;
+ struct TALER_Amount expected;
+ struct TALER_Amount claimed;
+ bool suppressed;
+
+};
+
+struct TALER_AUDITORDB_RowMinorInconsistencies
+{
+ unsigned int row_id;
+ char * row_table;
+ char * diagnostic;
+ bool suppressed;
+
+};
+
+struct TALER_AUDITORDB_ReserveBalanceSummaryWrongInconsistency
+{
+ unsigned int row_id;
+ struct TALER_ReservePublicKeyP reserve_pub;
+ struct TALER_Amount exchange_amount;
+ struct TALER_Amount auditor_amount;
+ bool suppressed;
+
+};
+
+struct TALER_AUDITORDB_ReserveNotClosedInconsistency
+{
+ unsigned int row_id;
+ struct TALER_ReservePublicKeyP reserve_pub;
+ struct TALER_Amount balance;
+ int64_t expiration_time;
+ char * diagnostic;
+ bool suppressed;
+
+};
/**
* Function called with deposit confirmations stored in
@@ -689,6 +845,92 @@ typedef enum GNUNET_GenericReturnValue
struct GNUNET_TIME_Timestamp expiration_date);
+typedef enum GNUNET_GenericReturnValue
+(*TALER_AUDITORDB_ReserveInInconsistencyCallback)(
+ void *cls,
+ uint64_t serial_id,
+ const struct TALER_AUDITORDB_ReserveInInconsistency *dc);
+
+typedef enum GNUNET_GenericReturnValue
+(*TALER_AUDITORDB_ReserveNotClosedInconsistencyCallback)(
+ void *cls,
+ uint64_t serial_id,
+ const struct TALER_AUDITORDB_ReserveNotClosedInconsistency *dc);
+
+typedef enum GNUNET_GenericReturnValue
+(*TALER_AUDITORDB_DenominationsWithoutSigsCallback)(
+ void *cls,
+ uint64_t serial_id,
+ const struct TALER_AUDITORDB_DenominationsWithoutSigs *dc);
+
+
+typedef enum GNUNET_GenericReturnValue
+(*TALER_AUDITORDB_MisattributionInInconsistencyCallback)(
+ void *cls,
+ uint64_t serial_id,
+ const struct TALER_AUDITORDB_MisattributionInInconsistency *dc);
+
+typedef enum GNUNET_GenericReturnValue
+(*TALER_AUDITORDB_ReservesCallback)(
+ void *cls,
+ uint64_t serial_id,
+ const struct TALER_AUDITORDB_Reserves *dc);
+
+typedef enum GNUNET_GenericReturnValue
+(*TALER_AUDITORDB_PursesCallback)(
+ void *cls,
+ uint64_t serial_id,
+ const struct TALER_AUDITORDB_Purses *dc);
+
+typedef enum GNUNET_GenericReturnValue
+(*TALER_AUDITORDB_HistoricDenominationRevenueCallback)(
+ void *cls,
+ uint64_t serial_id,
+ const struct TALER_AUDITORDB_HistoricDenominationRevenue *dc);
+
+typedef enum GNUNET_GenericReturnValue
+(*TALER_AUDITORDB_DenominationPendingCallback)(
+ void *cls,
+ uint64_t serial_id,
+ const struct TALER_AUDITORDB_DenominationPending *dc);
+
+typedef enum GNUNET_GenericReturnValue
+(*TALER_AUDITORDB_HistoricReserveSummaryCallback)(
+ void *cls,
+ uint64_t serial_id,
+ const struct TALER_AUDITORDB_HistoricReserveSummary *dc);
+
+typedef enum GNUNET_GenericReturnValue
+(*TALER_AUDITORDB_ExchangeSignkeysCallback)(
+ void *cls,
+ uint64_t serial_id,
+ const struct TALER_AUDITORDB_ExchangeSignkeys *dc);
+
+
+typedef enum GNUNET_GenericReturnValue
+(*TALER_AUDITORDB_WireFormatInconsistencyCallback)(
+ void *cls,
+ uint64_t serial_id,
+ const struct TALER_AUDITORDB_WireFormatInconsistency *dc);
+
+typedef enum GNUNET_GenericReturnValue
+(*TALER_AUDITORDB_WireOutInconsistencyCallback)(
+ void *cls,
+ uint64_t serial_id,
+ const struct TALER_AUDITORDB_WireOutInconsistency *dc);
+
+typedef enum GNUNET_GenericReturnValue
+(*TALER_AUDITORDB_ReserveBalanceSummaryWrongInconsistencyCallback)(
+ void *cls,
+ uint64_t serial_id,
+ const struct TALER_AUDITORDB_ReserveBalanceSummaryWrongInconsistency *dc);
+
+typedef enum GNUNET_GenericReturnValue
+(*TALER_AUDITORDB_RowMinorInconsistenciesCallback)(
+ void *cls,
+ uint64_t serial_id,
+ const struct TALER_AUDITORDB_RowMinorInconsistencies *dc);
+
/**
* @brief The plugin API, returned from the plugin's "init" function.
* The argument given to "init" is simply a configuration handle.
@@ -1012,7 +1254,8 @@ struct TALER_AUDITORDB_Plugin
enum GNUNET_DB_QueryStatus
(*get_amount_arithmetic_inconsistency)(
void *cls,
- uint64_t start_id,
+ int64_t limit,
+ uint64_t offset,
bool return_suppressed,
TALER_AUDITORDB_AmountArithmeticInconsistencyCallback cb,
void *cb_cls);
@@ -1020,7 +1263,8 @@ struct TALER_AUDITORDB_Plugin
enum GNUNET_DB_QueryStatus
(*get_coin_inconsistency)(
void *cls,
- uint64_t start_id,
+ int64_t limit,
+ uint64_t offset,
bool return_suppressed,
TALER_AUDITORDB_CoinInconsistencyCallback cb,
void *cb_cls);
@@ -1028,7 +1272,8 @@ struct TALER_AUDITORDB_Plugin
enum GNUNET_DB_QueryStatus
(*get_row_inconsistency)(
void *cls,
- uint64_t start_id,
+ int64_t limit,
+ uint64_t offset,
bool return_suppressed,
TALER_AUDITORDB_RowInconsistencyCallback cb,
void *cb_cls);
@@ -1036,7 +1281,8 @@ struct TALER_AUDITORDB_Plugin
enum GNUNET_DB_QueryStatus
(*get_emergency)(
void *cls,
- uint64_t start_id,
+ int64_t limit,
+ uint64_t offset,
bool return_suppressed,
TALER_AUDITORDB_EmergencyCallback cb,
void *cb_cls);
@@ -1044,7 +1290,8 @@ struct TALER_AUDITORDB_Plugin
enum GNUNET_DB_QueryStatus
(*get_emergency_by_count)(
void *cls,
- uint64_t start_id,
+ int64_t limit,
+ uint64_t offset,
bool return_suppressed,
TALER_AUDITORDB_EmergenciesByCountCallback cb,
void *cb_cls);
@@ -1052,7 +1299,8 @@ struct TALER_AUDITORDB_Plugin
enum GNUNET_DB_QueryStatus
(*get_denomination_key_validity_withdraw_inconsistency)(
void *cls,
- uint64_t start_id,
+ int64_t limit,
+ uint64_t offset,
bool return_suppressed,
TALER_AUDITORDB_DenominationKeyValidityWithdrawInconsistencyCallback cb,
void *cb_cls);
@@ -1060,7 +1308,8 @@ struct TALER_AUDITORDB_Plugin
enum GNUNET_DB_QueryStatus
(*get_purse_not_closed_inconsistencies)(
void *cls,
- uint64_t start_id,
+ int64_t limit,
+ uint64_t offset,
bool return_suppressed,
TALER_AUDITORDB_PurseNotClosedInconsistenciesCallback cb,
void *cb_cls);
@@ -1068,7 +1317,8 @@ struct TALER_AUDITORDB_Plugin
enum GNUNET_DB_QueryStatus
(*get_reserve_balance_insufficient_inconsistency)(
void *cls,
- uint64_t start_id,
+ int64_t limit,
+ uint64_t offset,
bool return_suppressed,
TALER_AUDITORDB_ReserveBalanceInsufficientInconsistencyCallback cb,
void *cb_cls);
@@ -1085,7 +1335,8 @@ struct TALER_AUDITORDB_Plugin
enum GNUNET_DB_QueryStatus
(*get_auditor_closure_lags)(
void *cls,
- uint64_t start_id,
+ int64_t limit,
+ uint64_t offset,
bool return_suppressed,
TALER_AUDITORDB_ClosureLagsCallback cb,
void *cb_cls);
@@ -1093,7 +1344,8 @@ struct TALER_AUDITORDB_Plugin
enum GNUNET_DB_QueryStatus
(*get_progress)(
void *cls,
- uint64_t start_id,
+ int64_t limit,
+ uint64_t offset,
bool return_suppressed,
TALER_AUDITORDB_ProgressCallback cb,
void *cb_cls);
@@ -1101,7 +1353,8 @@ struct TALER_AUDITORDB_Plugin
enum GNUNET_DB_QueryStatus
(*get_refreshes_hanging)(
void *cls,
- uint64_t start_id,
+ int64_t limit,
+ uint64_t offset,
bool return_suppressed,
TALER_AUDITORDB_RefreshesHangingCallback cb,
void *cb_cls);
@@ -1249,6 +1502,529 @@ struct TALER_AUDITORDB_Plugin
const struct TALER_AUDITORDB_Generic_Update *gu);
+
+ enum GNUNET_DB_QueryStatus
+ (*update_emergency_by_count)(
+ void *cls,
+ const struct TALER_AUDITORDB_Generic_Update *gu);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*update_row_inconsistency)(
+ void *cls,
+ const struct TALER_AUDITORDB_Generic_Update *gu);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*update_purse_not_closed_inconsistencies)(
+ void *cls,
+ const struct TALER_AUDITORDB_Generic_Update *gu);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*update_reserve_balance_insufficient_inconsistency)(
+ void *cls,
+ const struct TALER_AUDITORDB_Generic_Update *gu);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*update_coin_inconsistency)(
+ void *cls,
+ const struct TALER_AUDITORDB_Generic_Update *gu);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*update_progress)(
+ void *cls,
+ const struct TALER_AUDITORDB_Generic_Update *gu);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*update_denomination_key_validity_withdraw_inconsistency)(
+ void *cls,
+ const struct TALER_AUDITORDB_Generic_Update *gu);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*update_refreshes_hanging)(
+ void *cls,
+ const struct TALER_AUDITORDB_Generic_Update *gu);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*update_emergency)(
+ void *cls,
+ const struct TALER_AUDITORDB_Generic_Update *gu);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*update_closure_lags)(
+ void *cls,
+ const struct TALER_AUDITORDB_Generic_Update *gu);
+
+
+
+
+
+
+
+ enum GNUNET_DB_QueryStatus
+ (*get_reserve_in_inconsistency)(
+ void *cls,
+ int64_t limit,
+ uint64_t offset,
+ bool return_suppressed,
+ TALER_AUDITORDB_ReserveInInconsistencyCallback cb,
+ void *cb_cls);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*delete_reserve_in_inconsistency)(
+ void *cls,
+ uint64_t row_id);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*insert_reserve_in_inconsistency)(
+ void *cls,
+ const struct TALER_AUDITORDB_ReserveInInconsistency *dc);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*update_reserve_in_inconsistency)(
+ void *cls,
+ const struct TALER_AUDITORDB_Generic_Update *gu);
+
+
+
+
+
+
+
+
+ enum GNUNET_DB_QueryStatus
+ (*get_reserve_not_closed_inconsistency)(
+ void *cls,
+ int64_t limit,
+ uint64_t offset,
+ bool return_suppressed,
+ TALER_AUDITORDB_ReserveNotClosedInconsistencyCallback cb,
+ void *cb_cls);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*delete_reserve_not_closed_inconsistency)(
+ void *cls,
+ uint64_t row_id);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*insert_reserve_not_closed_inconsistency)(
+ void *cls,
+ const struct TALER_AUDITORDB_ReserveNotClosedInconsistency *dc);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*update_reserve_not_closed_inconsistency)(
+ void *cls,
+ const struct TALER_AUDITORDB_Generic_Update *gu);
+
+
+
+
+
+
+
+
+ enum GNUNET_DB_QueryStatus
+ (*get_denominations_without_sigs)(
+ void *cls,
+ int64_t limit,
+ uint64_t offset,
+ bool return_suppressed,
+ TALER_AUDITORDB_DenominationsWithoutSigsCallback cb,
+ void *cb_cls);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*delete_denominations_without_sigs)(
+ void *cls,
+ uint64_t row_id);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*insert_denominations_without_sigs)(
+ void *cls,
+ const struct TALER_AUDITORDB_DenominationsWithoutSigs *dc);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*update_denominations_without_sigs)(
+ void *cls,
+ const struct TALER_AUDITORDB_Generic_Update *gu);
+
+
+
+
+
+
+
+
+ enum GNUNET_DB_QueryStatus
+ (*get_misattribution_in_inconsistency)(
+ void *cls,
+ int64_t limit,
+ uint64_t offset,
+ bool return_suppressed,
+ TALER_AUDITORDB_MisattributionInInconsistencyCallback cb,
+ void *cb_cls);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*delete_misattribution_in_inconsistency)(
+ void *cls,
+ uint64_t row_id);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*insert_misattribution_in_inconsistency)(
+ void *cls,
+ const struct TALER_AUDITORDB_MisattributionInInconsistency *dc);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*update_misattribution_in_inconsistency)(
+ void *cls,
+ const struct TALER_AUDITORDB_Generic_Update *gu);
+
+
+
+
+ enum GNUNET_DB_QueryStatus
+ (*get_reserves)(
+ void *cls,
+ int64_t limit,
+ uint64_t offset,
+ bool return_suppressed,
+ TALER_AUDITORDB_ReservesCallback cb,
+ void *cb_cls);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*delete_reserves)(
+ void *cls,
+ uint64_t row_id);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*insert_reserves)(
+ void *cls,
+ const struct TALER_AUDITORDB_Reserves *dc);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*update_reserves)(
+ void *cls,
+ const struct TALER_AUDITORDB_Generic_Update *gu);
+
+
+
+
+
+
+
+
+ enum GNUNET_DB_QueryStatus
+ (*get_purses)(
+ void *cls,
+ int64_t limit,
+ uint64_t offset,
+ bool return_suppressed,
+ TALER_AUDITORDB_PursesCallback cb,
+ void *cb_cls);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*delete_purses)(
+ void *cls,
+ uint64_t row_id);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*insert_purses)(
+ void *cls,
+ const struct TALER_AUDITORDB_Purses *dc);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*update_purses)(
+ void *cls,
+ const struct TALER_AUDITORDB_Generic_Update *gu);
+
+
+
+
+
+
+
+
+ enum GNUNET_DB_QueryStatus
+ (*get_historic_denomination_revenue)(
+ void *cls,
+ int64_t limit,
+ uint64_t offset,
+ bool return_suppressed,
+ TALER_AUDITORDB_HistoricDenominationRevenueCallback cb,
+ void *cb_cls);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*delete_historic_denomination_revenue)(
+ void *cls,
+ uint64_t row_id);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*insert_historic_denomination_revenue)(
+ void *cls,
+ const struct TALER_AUDITORDB_HistoricDenominationRevenue *dc);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*update_historic_denomination_revenue)(
+ void *cls,
+ const struct TALER_AUDITORDB_Generic_Update *gu);
+
+
+
+
+ enum GNUNET_DB_QueryStatus
+ (*get_denomination_pending)(
+ void *cls,
+ int64_t limit,
+ uint64_t offset,
+ bool return_suppressed,
+ TALER_AUDITORDB_DenominationPendingCallback cb,
+ void *cb_cls);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*delete_denomination_pending)(
+ void *cls,
+ uint64_t row_id);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*insert_denomination_pending)(
+ void *cls,
+ const struct TALER_AUDITORDB_DenominationPending *dc);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*update_denomination_pending)(
+ void *cls,
+ const struct TALER_AUDITORDB_Generic_Update *gu);
+
+
+
+
+
+
+
+ enum GNUNET_DB_QueryStatus
+ (*get_historic_reserve_summary)(
+ void *cls,
+ int64_t limit,
+ uint64_t offset,
+ bool return_suppressed,
+ TALER_AUDITORDB_HistoricReserveSummaryCallback cb,
+ void *cb_cls);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*delete_historic_reserve_summary)(
+ void *cls,
+ uint64_t row_id);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*insert_historic_reserve_summary)(
+ void *cls,
+ const struct TALER_AUDITORDB_HistoricReserveSummary *dc);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*update_historic_reserve_summary)(
+ void *cls,
+ const struct TALER_AUDITORDB_Generic_Update *gu);
+
+
+
+
+
+
+
+
+ enum GNUNET_DB_QueryStatus
+ (*get_exchange_signkeys)(
+ void *cls,
+ int64_t limit,
+ uint64_t offset,
+ bool return_suppressed,
+ TALER_AUDITORDB_ExchangeSignkeysCallback cb,
+ void *cb_cls);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*delete_exchange_signkeys)(
+ void *cls,
+ uint64_t row_id);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*insert_exchange_signkeys)(
+ void *cls,
+ const struct TALER_AUDITORDB_ExchangeSignkeys *dc);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*update_exchange_signkeys)(
+ void *cls,
+ const struct TALER_AUDITORDB_Generic_Update *gu);
+
+
+
+
+
+
+
+
+ enum GNUNET_DB_QueryStatus
+ (*get_wire_format_inconsistency)(
+ void *cls,
+ int64_t limit,
+ uint64_t offset,
+ bool return_suppressed,
+ TALER_AUDITORDB_WireFormatInconsistencyCallback cb,
+ void *cb_cls);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*delete_wire_format_inconsistency)(
+ void *cls,
+ uint64_t row_id);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*insert_wire_format_inconsistency)(
+ void *cls,
+ const struct TALER_AUDITORDB_WireFormatInconsistency *dc);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*update_wire_format_inconsistency)(
+ void *cls,
+ const struct TALER_AUDITORDB_Generic_Update *gu);
+
+
+
+
+
+ enum GNUNET_DB_QueryStatus
+ (*get_wire_out_inconsistency)(
+ void *cls,
+ int64_t limit,
+ uint64_t offset,
+ bool return_suppressed,
+ TALER_AUDITORDB_WireOutInconsistencyCallback cb,
+ void *cb_cls);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*delete_wire_out_inconsistency)(
+ void *cls,
+ uint64_t row_id);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*insert_wire_out_inconsistency)(
+ void *cls,
+ const struct TALER_AUDITORDB_WireOutInconsistency *dc);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*update_wire_out_inconsistency)(
+ void *cls,
+ const struct TALER_AUDITORDB_Generic_Update *gu);
+
+
+
+
+
+
+
+ enum GNUNET_DB_QueryStatus
+ (*get_reserve_balance_summary_wrong_inconsistency)(
+ void *cls,
+ int64_t limit,
+ uint64_t offset,
+ bool return_suppressed,
+ TALER_AUDITORDB_ReserveBalanceSummaryWrongInconsistencyCallback cb,
+ void *cb_cls);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*delete_reserve_balance_summary_wrong_inconsistency)(
+ void *cls,
+ uint64_t row_id);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*insert_reserve_balance_summary_wrong_inconsistency)(
+ void *cls,
+ const struct TALER_AUDITORDB_ReserveBalanceSummaryWrongInconsistency *dc);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*update_reserve_balance_summary_wrong_inconsistency)(
+ void *cls,
+ const struct TALER_AUDITORDB_Generic_Update *gu);
+
+
+
+
+
+
+
+
+ enum GNUNET_DB_QueryStatus
+ (*get_row_minor_inconsistencies)(
+ void *cls,
+ int64_t limit,
+ uint64_t offset,
+ bool return_suppressed,
+ TALER_AUDITORDB_RowMinorInconsistenciesCallback cb,
+ void *cb_cls);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*delete_row_minor_inconsistencies)(
+ void *cls,
+ uint64_t row_id);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*insert_row_minor_inconsistencies)(
+ void *cls,
+ const struct TALER_AUDITORDB_RowMinorInconsistencies *dc);
+
+
+ enum GNUNET_DB_QueryStatus
+ (*update_row_minor_inconsistencies)(
+ void *cls,
+ const struct TALER_AUDITORDB_Generic_Update *gu);
+
+
/**
* Insert information about a reserve. There must not be an
* existing record for the reserve.