donau

Donation authority for GNU Taler (experimental)
Log | Files | Refs | Submodules | README | LICENSE

commit 4014b84dba98f4cb797db0cf539093f0716bc948
parent d2bebbac2b5cc38326190a552bac4f56f52c7c4d
Author: Pius Loosli <loosp2@bfh.ch>
Date:   Mon, 27 Nov 2023 13:13:02 +0100

[build]  WIP: src/includes donaudb_plugin.h and donaudb_lib.h

Diffstat:
Msrc/include/donaudb_lib.h | 3++-
Msrc/include/donaudb_plugin.h | 17+++++++++++------
2 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/src/include/donaudb_lib.h b/src/include/donaudb_lib.h @@ -1,3 +1,4 @@ +/* This file is part of TALER Copyright (C) 2014 - 2020 Taler Systems SA @@ -14,7 +15,7 @@ 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/> * -// ** +** *@file include / taler_donaudb_lib.h * @brief IO operations for the donau diff --git a/src/include/donaudb_plugin.h b/src/include/donaudb_plugin.h @@ -23,9 +23,10 @@ #include <jansson.h> #include <gnunet/gnunet_util_lib.h> #include <gnunet/gnunet_db_lib.h> -#include "taler_json_lib.h" -#include "taler_signatures.h" -#include "taler_extensions_policy.h" +#include "taler/taler_json_lib.h" +#include "donau_signatures.h" +#include "donau_util.h" +#include "taler/taler_extensions_policy.h" /** * Meta data about a donation unit key. @@ -45,7 +46,7 @@ struct TALER_DONAUDB_DonationUnitKeyMetaData /** * Hash code of the donation unit public key. */ - struct TALER_DonationUnitHashP donation_unit_hash; + struct DONAU_DonationUnitHashP donation_unit_hash; }; @@ -84,12 +85,12 @@ struct TALER_DONAUDB_DonationUnitKey * The private key of the donation unit. Will be NULL if the private * key is not available. */ - struct TALER_DonationUnitPrivateKey donation_unit_priv; + // struct TALER_DonationUnitPublicKey donation_unit_priv; /** * Decoded donation unit public key. */ - struct TALER_DonationUnitPublicKey donation_unit_pub; + // struct TALER_DonationUnitPublicKey donation_unit_pub; }; @@ -122,3 +123,6 @@ typedef void void *cls, const struct TALER_DonauPublicKeyP *donau_pub, const struct TALER_DONAUDB_SignkeyMetaData *meta); + + +#endif +\ No newline at end of file