From 513a22c34404d87c0fba1f6054ef049553e19d6e Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Fri, 16 Feb 2018 10:57:23 +0100 Subject: offering amount _objects_ as traits (a string version of it was already implemented). "Withdraw" command uses it. --- src/exchange-lib/testing_api_trait_blinding_key.c | 30 +++++++++++++---------- 1 file changed, 17 insertions(+), 13 deletions(-) (limited to 'src/exchange-lib/testing_api_trait_blinding_key.c') 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 */ /** @@ -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, -- cgit v1.2.3