diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2024-08-01 21:23:02 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2024-08-01 21:23:02 +0200 |
commit | c1c95e4385eba5257cb796234aaf47d80051b957 (patch) | |
tree | f4e6a49f9d263e75708fb0021039bfb5d25eabea | |
parent | dc922c1c70a6eaeb31eb27b8812e5c5ff88fca02 (diff) |
more doxygen fixes
-rw-r--r-- | src/auditor/taler-helper-auditor-wire.c | 2 | ||||
-rw-r--r-- | src/auditordb/pg_del_auditor_emergency.c | 41 | ||||
-rw-r--r-- | src/auditordb/pg_del_auditor_emergency.h | 35 | ||||
-rw-r--r-- | src/auditordb/pg_del_emergency.h | 4 | ||||
-rw-r--r-- | src/auditordb/pg_del_emergency_by_count.h | 2 | ||||
-rw-r--r-- | src/auditordb/pg_get_auditor_closure_lags.c | 4 | ||||
-rw-r--r-- | src/auditordb/pg_get_auditor_closure_lags.h | 2 | ||||
-rw-r--r-- | src/auditordb/pg_get_balances.h | 2 | ||||
-rw-r--r-- | src/auditordb/pg_get_purse_not_closed_inconsistencies.c | 4 | ||||
-rw-r--r-- | src/auditordb/pg_get_reserve_balance_insufficient_inconsistency.c | 4 |
10 files changed, 10 insertions, 90 deletions
diff --git a/src/auditor/taler-helper-auditor-wire.c b/src/auditor/taler-helper-auditor-wire.c index 3d6f04ebf..c2c56e7a0 100644 --- 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 deleted file mode 100644 index a4afd14c5..000000000 --- a/src/auditordb/pg_del_auditor_emergency.c +++ /dev/null @@ -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 deleted file mode 100644 index 94c8bc4e9..000000000 --- a/src/auditordb/pg_del_auditor_emergency.h +++ /dev/null @@ -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 index a99d09c93..91cef7363 100644 --- 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 index 734c7ae7e..52f7f4db8 100644 --- 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 index 751ff2641..e13fe1319 100644 --- 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 index 7c1148575..45db7c8c7 100644 --- 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 index 4507c277f..e2883ad8f 100644 --- 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 index adf306ed5..c764292fe 100644 --- 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 index f84d5bbaa..97f2f523b 100644 --- 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 +} |