commit c9803c8917f4eca576545bd0f203456aeef348d3
parent 15e70b7ccc67b831200537db0ede96b78774a107
Author: Pius Loosli <loosp2@bfh.ch>
Date: Fri, 5 Jan 2024 16:26:24 +0100
Rename DONAU_EddsaPublicKeyP to DONAU_DonauPublicKeyP everywhere to make naming more consistent
Diffstat:
3 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/src/include/donau_crypto_lib.h b/src/include/donau_crypto_lib.h
@@ -40,7 +40,7 @@
/**
* Regular online message signing key used by Donau.
*/
-struct DONAU_EddsaPublicKeyP
+struct DONAU_DonauPublicKeyP
{
/**
* Donau uses EdDSA for non-blind signing.
@@ -277,7 +277,7 @@ DONAU_donation_statement_verify (
const struct TALER_Amount *amount_tot,
const unsigned int year,
const struct DONAU_HashDonorTaxId *i,
- const struct DONAU_EddsaPublicKeyP *donau_pub,
+ const struct DONAU_DonauPublicKeyP *donau_pub,
const struct DONAU_DonauSignatureP *statement_sig);
diff --git a/src/include/donaudb_plugin.h b/src/include/donaudb_plugin.h
@@ -119,7 +119,7 @@ typedef void
typedef void
(*DONAUDB_ActiveSignkeysCallback)(
void *cls,
- const struct DONAU_EddsaPublicKeyP *donau_pub,
+ const struct DONAU_DonauPublicKeyP *donau_pub,
const struct DONAUDB_SignkeyMetaData *meta);
@@ -149,7 +149,7 @@ struct DONAUDB_Plugin
* @return #GNUNET_OK upon success; #GNUNET_SYSERR upon failure
*/
enum GNUNET_GenericReturnValue
- (*drop_tables)(void *cls);
+ (*drop_tables)(void *cls);
/**
* Create the necessary tables if they are not present
@@ -162,9 +162,9 @@ struct DONAUDB_Plugin
* @return #GNUNET_OK upon success; #GNUNET_SYSERR upon failure
*/
enum GNUNET_GenericReturnValue
- (*create_tables)(void *cls,
- bool support_partitions,
- uint32_t num_partitions);
+ (*create_tables)(void *cls,
+ bool support_partitions,
+ uint32_t num_partitions);
/**
@@ -176,8 +176,8 @@ struct DONAUDB_Plugin
* @return #GNUNET_OK on success
*/
enum GNUNET_GenericReturnValue
- (*start)(void *cls,
- const char *name);
+ (*start)(void *cls,
+ const char *name);
/**
@@ -189,8 +189,8 @@ struct DONAUDB_Plugin
* @return #GNUNET_OK on success
*/
enum GNUNET_GenericReturnValue
- (*start_read_committed)(void *cls,
- const char *name);
+ (*start_read_committed)(void *cls,
+ const char *name);
/**
* Start a READ ONLY serializable transaction.
@@ -201,8 +201,8 @@ struct DONAUDB_Plugin
* @return #GNUNET_OK on success
*/
enum GNUNET_GenericReturnValue
- (*start_read_only)(void *cls,
- const char *name);
+ (*start_read_only)(void *cls,
+ const char *name);
/**
@@ -212,7 +212,7 @@ struct DONAUDB_Plugin
* @return transaction status
*/
enum GNUNET_DB_QueryStatus
- (*commit)(void *cls);
+ (*commit)(void *cls);
/**
@@ -226,7 +226,7 @@ struct DONAUDB_Plugin
* #GNUNET_SYSERR on hard errors
*/
enum GNUNET_GenericReturnValue
- (*preflight)(void *cls);
+ (*preflight)(void *cls);
/**
diff --git a/src/util/donau_signatures.c b/src/util/donau_signatures.c
@@ -89,7 +89,7 @@ DONAU_donation_statement_verify (
const struct TALER_Amount *amount_tot,
const unsigned int year,
const struct DONAU_HashDonorTaxId *i,
- const struct DONAU_EddsaPublicKeyP *donau_pub,
+ const struct DONAU_DonauPublicKeyP *donau_pub,
const struct DONAU_DonauSignatureP *statement_sig)
{
struct DONAU_DonationStatementConfirmationPS tps = {