summaryrefslogtreecommitdiff
path: root/src/exchange-lib/testing_api_trait_blinding_key.c
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-02-16 10:57:23 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-02-16 10:57:23 +0100
commit513a22c34404d87c0fba1f6054ef049553e19d6e (patch)
treebaf95b8fd5bb054648877a7be3bde24feb24ad44 /src/exchange-lib/testing_api_trait_blinding_key.c
parent63109b69105930654889f5a5641989b29c92f467 (diff)
downloadexchange-513a22c34404d87c0fba1f6054ef049553e19d6e.tar.gz
exchange-513a22c34404d87c0fba1f6054ef049553e19d6e.tar.bz2
exchange-513a22c34404d87c0fba1f6054ef049553e19d6e.zip
offering amount _objects_ as traits (a string version of
it was already implemented). "Withdraw" command uses it.
Diffstat (limited to 'src/exchange-lib/testing_api_trait_blinding_key.c')
-rw-r--r--src/exchange-lib/testing_api_trait_blinding_key.c30
1 files changed, 17 insertions, 13 deletions
diff --git a/src/exchange-lib/testing_api_trait_blinding_key.c b/src/exchange-lib/testing_api_trait_blinding_key.c
index c9415cae9..23eb7acc1 100644
--- a/src/exchange-lib/testing_api_trait_blinding_key.c
+++ b/src/exchange-lib/testing_api_trait_blinding_key.c
@@ -2,16 +2,18 @@
This file is part of TALER
Copyright (C) 2018 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 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.
+ 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
+ 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/>
*/
/**
@@ -39,9 +41,10 @@
* @return #GNUNET_OK on success
*/
int
-TALER_TESTING_get_trait_blinding_key (const struct TALER_TESTING_Command *cmd,
- unsigned int index,
- struct TALER_DenominationBlindingKeyP **blinding_key)
+TALER_TESTING_get_trait_blinding_key (
+ const struct TALER_TESTING_Command *cmd,
+ unsigned int index,
+ struct TALER_DenominationBlindingKeyP **blinding_key)
{
return cmd->traits (cmd->cls,
(void **) blinding_key,
@@ -51,8 +54,9 @@ TALER_TESTING_get_trait_blinding_key (const struct TALER_TESTING_Command *cmd,
struct TALER_TESTING_Trait
-TALER_TESTING_make_trait_blinding_key (unsigned int index,
- const struct TALER_DenominationBlindingKeyP *blinding_key)
+TALER_TESTING_make_trait_blinding_key (
+ unsigned int index,
+ const struct TALER_DenominationBlindingKeyP *blinding_key)
{
struct TALER_TESTING_Trait ret = {
.index = index,