exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit c1c95e4385eba5257cb796234aaf47d80051b957
parent dc922c1c70a6eaeb31eb27b8812e5c5ff88fca02
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Thu,  1 Aug 2024 21:23:02 +0200

more doxygen fixes

Diffstat:
Msrc/auditor/taler-helper-auditor-wire.c | 2+-
Dsrc/auditordb/pg_del_auditor_emergency.c | 42------------------------------------------
Dsrc/auditordb/pg_del_auditor_emergency.h | 35-----------------------------------
Msrc/auditordb/pg_del_emergency.h | 4++--
Msrc/auditordb/pg_del_emergency_by_count.h | 2+-
Msrc/auditordb/pg_get_auditor_closure_lags.c | 5++---
Msrc/auditordb/pg_get_auditor_closure_lags.h | 2--
Msrc/auditordb/pg_get_balances.h | 2--
Msrc/auditordb/pg_get_purse_not_closed_inconsistencies.c | 5++---
Msrc/auditordb/pg_get_reserve_balance_insufficient_inconsistency.c | 5++---
10 files changed, 10 insertions(+), 94 deletions(-)

diff --git a/src/auditor/taler-helper-auditor-wire.c b/src/auditor/taler-helper-auditor-wire.c @@ -2306,7 +2306,7 @@ conclude_account (struct WireAccount *wa) * Analyze credit transaction @a details into @a wa. * * @param[in,out] wa account that received the transfer - * @param details transfer details + * @param credit_details transfer details * @return true on success, false to stop loop at this point */ static bool diff --git a/src/auditordb/pg_del_auditor_emergency.c b/src/auditordb/pg_del_auditor_emergency.c @@ -1,41 +0,0 @@ -/* - This file is part of TALER - Copyright (C) 2024 Taler Systems SA - - TALER is free software; you can redistribute it and/or modify it under the - terms of the GNU General Public License as published by the Free Software - Foundation; either version 3, or (at your option) any later version. - - TALER is distributed in the hope that it will be useful, but WITHOUT ANY - WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - A PARTICULAR PURPOSE. See the GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along with - TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/> - */ - -#include "pg_del_auditor_emergency.h" - -#include "taler_pq_lib.h" -#include "pg_helper.h" - -enum GNUNET_DB_QueryStatus -TAH_PG_del_emergency ( - void *cls, - uint64_t row_id) -{ - struct PostgresClosure *pg = cls; - struct GNUNET_PQ_QueryParam params[] = { - GNUNET_PQ_query_param_uint64 (&row_id), - GNUNET_PQ_query_param_end - }; - - PREPARE (pg, - "auditor_delete_emergency", - "DELETE" - " FROM auditor_emergency" - " WHERE row_id=$1;"); - return GNUNET_PQ_eval_prepared_non_select (pg->conn, - "auditor_delete_emergency", - params); -} -\ No newline at end of file diff --git a/src/auditordb/pg_del_auditor_emergency.h b/src/auditordb/pg_del_auditor_emergency.h @@ -1,35 +0,0 @@ -/* - This file is part of TALER - Copyright (C) 2024 Taler Systems SA - - TALER is free software; you can redistribute it and/or modify it under the - terms of the GNU General Public License as published by the Free Software - Foundation; either version 3, or (at your option) any later version. - - TALER is distributed in the hope that it will be useful, but WITHOUT ANY - WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - A PARTICULAR PURPOSE. See the GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along with - TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/> - */ - -#ifndef SRC_PG_DEL_AUDITOR_EMERGENCY_H -#define SRC_PG_DEL_AUDITOR_EMERGENCY_H - -#include "taler_util.h" -#include "taler_auditordb_plugin.h" - -/** - * Delete a row from the emergency table. - * - * @param cls the @e cls of this struct with the plugin-specific state - * @param row_id row to delete - * @return query transaction status - */ -enum GNUNET_DB_QueryStatus -TAH_PG_del_emergency ( - void *cls, - uint64_t row_id); - -#endif // SRC_PG_DEL_AUDITOR_EMERGENCY_H diff --git a/src/auditordb/pg_del_emergency.h b/src/auditordb/pg_del_emergency.h @@ -23,7 +23,7 @@ /** * Delete a row from the denom key validity withdraw inconsistency table. * - * @param cls the @e cls of this struct with the plugin-specific state + * @param cls the plugin-specific state * @param row_id row to delete * @return query transaction status */ @@ -32,4 +32,4 @@ TAH_PG_del_emergency ( void *cls, uint64_t row_id); -#endif // SRC_PG_DEL_EMERGENCY_H +#endif diff --git a/src/auditordb/pg_del_emergency_by_count.h b/src/auditordb/pg_del_emergency_by_count.h @@ -32,4 +32,4 @@ TAH_PG_del_emergency_by_count ( void *cls, uint64_t row_id); -#endif // SRC_PG_DEL_EMERGENCY_BY_COUNT_H +#endif diff --git a/src/auditordb/pg_get_auditor_closure_lags.c b/src/auditordb/pg_get_auditor_closure_lags.c @@ -49,7 +49,7 @@ struct ClosureLagsContext /** - * Helper function for #TAH_PG_get_closure_lags(). + * Helper function for #TAH_PG_get_auditor_closure_lags(). * To be called with the results of a SELECT statement * that has returned @a num_results results. * @@ -172,4 +172,4 @@ TAH_PG_get_auditor_closure_lags ( return dcc.qs; GNUNET_break (GNUNET_DB_STATUS_HARD_ERROR != qs); return qs; -} -\ No newline at end of file +} diff --git a/src/auditordb/pg_get_auditor_closure_lags.h b/src/auditordb/pg_get_auditor_closure_lags.h @@ -26,8 +26,6 @@ * Get information about auditor closure lags from the database. * * @param cls the @e cls of this struct with the plugin-specific state - * @param start_id row/serial ID where to start the iteration (0 from - * the start, exclusive, i.e. serial_ids must start from 1) * @param limit number of records to return, negative for descending * @param offset table row to start from, exclusive, direction determined by @a limit * @param return_suppressed should suppressed rows be returned anyway? diff --git a/src/auditordb/pg_get_balances.h b/src/auditordb/pg_get_balances.h @@ -27,8 +27,6 @@ * Get information about balances from the database. * * @param cls the @e cls of this struct with the plugin-specific state - * @param start_id row/serial ID where to start the iteration (0 from - * the start, exclusive, i.e. serial_ids must start from 1) * @param limit number of records to return, negative for descending * @param offset table row to start from, exclusive, direction determined by @a limit * @param return_suppressed should suppressed rows be returned anyway? diff --git a/src/auditordb/pg_get_purse_not_closed_inconsistencies.c b/src/auditordb/pg_get_purse_not_closed_inconsistencies.c @@ -54,7 +54,7 @@ struct PurseNotClosedInconsistenciesContext /** - * Helper function for #TAH_PG_purse_not_closed_inconsistencies(). + * Helper function for #TAH_PG_get_purse_not_closed_inconsistencies(). * To be called with the results of a SELECT statement * that has returned @a num_results results. * @@ -176,4 +176,4 @@ TAH_PG_get_purse_not_closed_inconsistencies ( return dcc.qs; GNUNET_break (GNUNET_DB_STATUS_HARD_ERROR != qs); return qs; -} -\ No newline at end of file +} diff --git a/src/auditordb/pg_get_reserve_balance_insufficient_inconsistency.c b/src/auditordb/pg_get_reserve_balance_insufficient_inconsistency.c @@ -52,7 +52,7 @@ struct ReserveBalanceInsufficientInconsistencyContext /** - * Helper function for #TAH_PG_reserve_balance_insufficient_inconsistency(). + * Helper function for #TAH_PG_get_reserve_balance_insufficient_inconsistency(). * To be called with the results of a SELECT statement * that has returned @a num_results results. * @@ -174,4 +174,4 @@ TAH_PG_get_reserve_balance_insufficient_inconsistency ( return dcc.qs; GNUNET_break (GNUNET_DB_STATUS_HARD_ERROR != qs); return qs; -} -\ No newline at end of file +}