rename: TALER_config_get_denom->amount

This commit is contained in:
Christian Grothoff 2020-01-19 20:39:27 +01:00
parent bc812a0a51
commit 6f3c682722
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
3 changed files with 28 additions and 28 deletions

View File

@ -676,7 +676,7 @@ get_cointype_params (const char *ct,
}
params->rsa_keysize = (unsigned int) rsa_keysize;
if (GNUNET_OK !=
TALER_config_get_denom (kcfg,
TALER_config_get_amount (kcfg,
ct,
"value",
&params->value))
@ -687,7 +687,7 @@ get_cointype_params (const char *ct,
return GNUNET_SYSERR;
}
if (GNUNET_OK !=
TALER_config_get_denom (kcfg,
TALER_config_get_amount (kcfg,
ct,
"fee_withdraw",
&params->fee_withdraw))
@ -698,7 +698,7 @@ get_cointype_params (const char *ct,
return GNUNET_SYSERR;
}
if (GNUNET_OK !=
TALER_config_get_denom (kcfg,
TALER_config_get_amount (kcfg,
ct,
"fee_deposit",
&params->fee_deposit))
@ -709,7 +709,7 @@ get_cointype_params (const char *ct,
return GNUNET_SYSERR;
}
if (GNUNET_OK !=
TALER_config_get_denom (kcfg,
TALER_config_get_amount (kcfg,
ct,
"fee_refresh",
&params->fee_refresh))
@ -720,7 +720,7 @@ get_cointype_params (const char *ct,
return GNUNET_SYSERR;
}
if (GNUNET_OK !=
TALER_config_get_denom (kcfg,
TALER_config_get_amount (kcfg,
ct,
"fee_refund",
&params->fee_refund))

View File

@ -115,7 +115,7 @@ TALER_b2s (const void *buf,
* @return #GNUNET_OK on success, #GNUNET_SYSERR on error
*/
int
TALER_config_get_denom (const struct GNUNET_CONFIGURATION_Handle *cfg,
TALER_config_get_amount (const struct GNUNET_CONFIGURATION_Handle *cfg,
const char *section,
const char *option,
struct TALER_Amount *denom);

View File

@ -33,7 +33,7 @@
* @return #GNUNET_OK on success, #GNUNET_SYSERR on error
*/
int
TALER_config_get_denom (const struct GNUNET_CONFIGURATION_Handle *cfg,
TALER_config_get_amount (const struct GNUNET_CONFIGURATION_Handle *cfg,
const char *section,
const char *option,
struct TALER_Amount *denom)