This commit is contained in:
Christian Grothoff 2022-11-21 14:56:46 +01:00
parent 3583885978
commit 9d43bf92c4
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
15 changed files with 43 additions and 56 deletions

View File

@ -994,6 +994,7 @@ TEH_RESPONSE_compile_reserve_history (
* requested withdraw operation.
*
* @param connection connection to the client
* @param ec error code to return
* @param ebalance expected balance based on our database
* @param withdraw_amount amount that the client requested to withdraw
* @param rh reserve history to return

View File

@ -45,7 +45,7 @@ struct AuditorsIteratorContext
/**
* Helper function for #postgres_iterate_active_auditors().
* Helper function for #TEH_PG_iterate_active_auditors().
* Calls the callback with each auditor.
*
* @param cls a `struct SignkeysIteratorContext`
@ -91,7 +91,6 @@ auditors_cb_helper (void *cls,
}
enum GNUNET_DB_QueryStatus
TEH_PG_iterate_active_auditors (void *cls,
TALER_EXCHANGEDB_AuditorsCallback cb,
@ -105,7 +104,7 @@ TEH_PG_iterate_active_auditors (void *cls,
.cb = cb,
.cb_cls = cb_cls,
};
/* Used in #postgres_iterate_active_auditors() */
PREPARE (pg,
"select_auditors",
"SELECT"

View File

@ -26,7 +26,6 @@
#include "pg_helper.h"
/**
* Closure for #signkeys_cb_helper()
*/
@ -46,7 +45,7 @@ struct SignkeysIteratorContext
/**
* Helper function for #postgres_iterate_active_signkeys().
* Helper function for #TEH_PG_iterate_active_signkeys().
* Calls the callback with each signkey.
*
* @param cls a `struct SignkeysIteratorContext`

View File

@ -43,7 +43,7 @@ struct AuditorDenomsIteratorContext
/**
* Helper function for #postgres_iterate_auditor_denominations().
* Helper function for #TEH_PG_iterate_auditor_denominations().
* Calls the callback with each auditor and denomination pair.
*
* @param cls a `struct AuditorDenomsIteratorContext`

View File

@ -49,7 +49,7 @@ struct DenomIteratorContext
/**
* Helper function for #postgres_iterate_denomination_info().
* Helper function for #TEH_PG_iterate_denomination_info().
* Calls the callback with each denomination key.
*
* @param cls a `struct DenomIteratorContext`
@ -132,14 +132,6 @@ domination_cb_helper (void *cls,
}
/**
* Fetch information about all known denomination keys.
*

View File

@ -26,8 +26,6 @@
#include "pg_helper.h"
/**
* Closure for #dominations_cb_helper()
*/
@ -51,7 +49,7 @@ struct DenomsIteratorContext
/**
* Helper function for #postgres_iterate_denominations().
* Helper function for #TEH_PG_iterate_denominations().
* Calls the callback with each denomination key.
*
* @param cls a `struct DenomsIteratorContext`

View File

@ -60,7 +60,7 @@ struct GlobalFeeLookupContext
/**
* Helper function for #postgres_lookup_global_fee_by_time().
* Helper function for #TEH_PG_lookup_global_fee_by_time().
* Calls the callback with each denomination key.
*
* @param cls a `struct GlobalFeeLookupContext`
@ -138,9 +138,6 @@ global_fee_by_time_helper (void *cls,
}
enum GNUNET_DB_QueryStatus
TEH_PG_lookup_global_fee_by_time (
void *cls,
@ -186,4 +183,3 @@ TEH_PG_lookup_global_fee_by_time (
&global_fee_by_time_helper,
&wlc);
}

View File

@ -46,7 +46,7 @@ struct WireFeeLookupContext
/**
* Helper function for #postgres_lookup_wire_fee_by_time().
* Helper function for #TEH_PG_lookup_wire_fee_by_time().
* Calls the callback with the wire fee structure.
*
* @param cls a `struct WireFeeLookupContext`

View File

@ -14,8 +14,8 @@
TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
*/
/**
* @file exchangedb/pg_lookup_wire_tranfer.c
* @brief Implementation of the lookup_wire_tranfer function for Postgres
* @file exchangedb/pg_lookup_wire_transfer.c
* @brief Implementation of the lookup_wire_transfer function for Postgres
* @author Christian Grothoff
*/
#include "platform.h"
@ -128,6 +128,7 @@ handle_wt_result (void *cls,
}
}
enum GNUNET_DB_QueryStatus
TEH_PG_lookup_wire_transfer (
void *cls,

View File

@ -14,8 +14,8 @@
TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
*/
/**
* @file exchangedb/pg_lookup_wire_tranfer.h
* @brief implementation of the lookup_wire_tranfer function for Postgres
* @file exchangedb/pg_lookup_wire_transfer.h
* @brief implementation of the lookup_wire_transfer function for Postgres
* @author Christian Grothoff
*/
#ifndef PG_LOOKUP_WIRE_TRANSFER_H

View File

@ -14,8 +14,8 @@
TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
*/
/**
* @file exchangedb/pg_prefligth.c
* @brief Implementation of the prefligth function for Postgres
* @file exchangedb/pg_preflight.c
* @brief Implementation of the preflight function for Postgres
* @author Christian Grothoff
*/
#include "platform.h"

View File

@ -14,12 +14,12 @@
TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
*/
/**
* @file exchangedb/pg_prefligth.h
* @brief implementation of the prefligth function for Postgres
* @file exchangedb/pg_preflight.h
* @brief implementation of the preflight function for Postgres
* @author Christian Grothoff
*/
#ifndef PG_PREFLIGHT_H
#define PG_PREFLIGHT_H
#ifndef PG_PREFLIGTH_H
#define PG_PREFLIGTH_H
#include "taler_util.h"
#include "taler_json_lib.h"
@ -40,4 +40,5 @@
enum GNUNET_GenericReturnValue
TEH_PG_preflight (void *cls);
#endif

View File

@ -14,8 +14,8 @@
TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
*/
/**
* @file exchangedb/pg_start_read_commited.c
* @brief Implementation of the start_read_commited function for Postgres
* @file exchangedb/pg_start_read_committed.c
* @brief Implementation of the start_read_committed function for Postgres
* @author Christian Grothoff
*/
#include "platform.h"

View File

@ -14,8 +14,8 @@
TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
*/
/**
* @file exchangedb/pg_start_read_commited.h
* @brief implementation of the start_read_commited function for Postgres
* @file exchangedb/pg_start_read_committed.h
* @brief implementation of the start_read_committed function for Postgres
* @author Christian Grothoff
*/
#ifndef PG_START_READ_COMMITTED_H

View File

@ -2519,7 +2519,7 @@ TALER_CRYPTO_helper_cs_sign (
* @param reqs information about the keys to sign with and the values to sign
* @param reqs_length length of the @a reqs array
* @param for_melt true if this is for a melt operation
* @param[out] bs array set to the blind signatures, must be of length @a reqs_length!
* @param[out] bss array set to the blind signatures, must be of length @a reqs_length!
* @return #TALER_EC_NONE on success
*/
enum TALER_ErrorCode
@ -2606,7 +2606,7 @@ TALER_CRYPTO_helper_cs_r_derive (
* @param cdrs array with derivation input data
* @param cdrs_length length of the @a cdrs array
* @param for_melt true if this is for a melt operation
* @param[out] crp array set to the pair of R values, must be of length @a cdrs_length
* @param[out] crps array set to the pair of R values, must be of length @a cdrs_length
* @return set to the error code (or #TALER_EC_NONE on success)
*/
enum TALER_ErrorCode