rename: TALER_config_get_denom->amount
This commit is contained in:
parent
bc812a0a51
commit
6f3c682722
@ -676,10 +676,10 @@ get_cointype_params (const char *ct,
|
|||||||
}
|
}
|
||||||
params->rsa_keysize = (unsigned int) rsa_keysize;
|
params->rsa_keysize = (unsigned int) rsa_keysize;
|
||||||
if (GNUNET_OK !=
|
if (GNUNET_OK !=
|
||||||
TALER_config_get_denom (kcfg,
|
TALER_config_get_amount (kcfg,
|
||||||
ct,
|
ct,
|
||||||
"value",
|
"value",
|
||||||
¶ms->value))
|
¶ms->value))
|
||||||
{
|
{
|
||||||
GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
|
||||||
ct,
|
ct,
|
||||||
@ -687,10 +687,10 @@ get_cointype_params (const char *ct,
|
|||||||
return GNUNET_SYSERR;
|
return GNUNET_SYSERR;
|
||||||
}
|
}
|
||||||
if (GNUNET_OK !=
|
if (GNUNET_OK !=
|
||||||
TALER_config_get_denom (kcfg,
|
TALER_config_get_amount (kcfg,
|
||||||
ct,
|
ct,
|
||||||
"fee_withdraw",
|
"fee_withdraw",
|
||||||
¶ms->fee_withdraw))
|
¶ms->fee_withdraw))
|
||||||
{
|
{
|
||||||
GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
|
||||||
ct,
|
ct,
|
||||||
@ -698,10 +698,10 @@ get_cointype_params (const char *ct,
|
|||||||
return GNUNET_SYSERR;
|
return GNUNET_SYSERR;
|
||||||
}
|
}
|
||||||
if (GNUNET_OK !=
|
if (GNUNET_OK !=
|
||||||
TALER_config_get_denom (kcfg,
|
TALER_config_get_amount (kcfg,
|
||||||
ct,
|
ct,
|
||||||
"fee_deposit",
|
"fee_deposit",
|
||||||
¶ms->fee_deposit))
|
¶ms->fee_deposit))
|
||||||
{
|
{
|
||||||
GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
|
||||||
ct,
|
ct,
|
||||||
@ -709,10 +709,10 @@ get_cointype_params (const char *ct,
|
|||||||
return GNUNET_SYSERR;
|
return GNUNET_SYSERR;
|
||||||
}
|
}
|
||||||
if (GNUNET_OK !=
|
if (GNUNET_OK !=
|
||||||
TALER_config_get_denom (kcfg,
|
TALER_config_get_amount (kcfg,
|
||||||
ct,
|
ct,
|
||||||
"fee_refresh",
|
"fee_refresh",
|
||||||
¶ms->fee_refresh))
|
¶ms->fee_refresh))
|
||||||
{
|
{
|
||||||
GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
|
||||||
ct,
|
ct,
|
||||||
@ -720,10 +720,10 @@ get_cointype_params (const char *ct,
|
|||||||
return GNUNET_SYSERR;
|
return GNUNET_SYSERR;
|
||||||
}
|
}
|
||||||
if (GNUNET_OK !=
|
if (GNUNET_OK !=
|
||||||
TALER_config_get_denom (kcfg,
|
TALER_config_get_amount (kcfg,
|
||||||
ct,
|
ct,
|
||||||
"fee_refund",
|
"fee_refund",
|
||||||
¶ms->fee_refund))
|
¶ms->fee_refund))
|
||||||
{
|
{
|
||||||
GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
|
||||||
ct,
|
ct,
|
||||||
|
@ -115,10 +115,10 @@ TALER_b2s (const void *buf,
|
|||||||
* @return #GNUNET_OK on success, #GNUNET_SYSERR on error
|
* @return #GNUNET_OK on success, #GNUNET_SYSERR on error
|
||||||
*/
|
*/
|
||||||
int
|
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 *section,
|
||||||
const char *option,
|
const char *option,
|
||||||
struct TALER_Amount *denom);
|
struct TALER_Amount *denom);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -33,10 +33,10 @@
|
|||||||
* @return #GNUNET_OK on success, #GNUNET_SYSERR on error
|
* @return #GNUNET_OK on success, #GNUNET_SYSERR on error
|
||||||
*/
|
*/
|
||||||
int
|
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 *section,
|
||||||
const char *option,
|
const char *option,
|
||||||
struct TALER_Amount *denom)
|
struct TALER_Amount *denom)
|
||||||
{
|
{
|
||||||
char *str;
|
char *str;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user