diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-11-17 17:19:02 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-11-17 17:19:02 +0100 |
commit | e42f014cffae126a52c92fbf8151e6f5cecc9de0 (patch) | |
tree | d4d7754aec574bb35a830db30d690df592a224b1 /src/exchange-lib/testing_api_cmd_refresh.c | |
parent | cf1ce4786356cba7d3f84a74fab282650f612db9 (diff) |
use more const in taler_testing_lib.h
Diffstat (limited to 'src/exchange-lib/testing_api_cmd_refresh.c')
-rw-r--r-- | src/exchange-lib/testing_api_cmd_refresh.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/exchange-lib/testing_api_cmd_refresh.c b/src/exchange-lib/testing_api_cmd_refresh.c index 93939bf8..50ea4678 100644 --- a/src/exchange-lib/testing_api_cmd_refresh.c +++ b/src/exchange-lib/testing_api_cmd_refresh.c @@ -533,7 +533,7 @@ link_cb (void *cls, struct TALER_TESTING_Command *link_cmd = &rls->is->commands[rls->is->ip]; unsigned int found; - unsigned int *num_fresh_coins; + const unsigned int *num_fresh_coins; rls->rlh = NULL; if (rls->expected_response_code != http_status) @@ -613,7 +613,7 @@ link_cb (void *cls, found = 0; /* Will point to the pointer inside the cmd state. */ - struct FreshCoin *fc = NULL; + const struct FreshCoin *fc = NULL; if (GNUNET_OK != TALER_TESTING_get_trait_fresh_coins (reveal_cmd, 0, &fc)) @@ -906,7 +906,7 @@ refresh_melt_run (void *cls, const struct TALER_CoinSpendPrivateKeyP *melt_priv; struct TALER_Amount melt_amount; struct TALER_Amount fresh_amount; - struct TALER_DenominationSignature *melt_sig; + const struct TALER_DenominationSignature *melt_sig; const struct TALER_EXCHANGE_DenomPublicKey *melt_denom_pub; const struct MeltDetails *md = &rms->melted_coin; @@ -1051,7 +1051,7 @@ refresh_melt_cleanup (void *cls, */ static int refresh_melt_traits (void *cls, - void **ret, + const void **ret, const char *trait, unsigned int index) { @@ -1184,7 +1184,7 @@ TALER_TESTING_cmd_refresh_melt_with_retry (struct TALER_TESTING_Command cmd) */ static int refresh_reveal_traits (void *cls, - void **ret, + const void **ret, const char *trait, unsigned int index) { |