diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-08-17 21:35:21 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-08-17 21:35:21 +0200 |
commit | 4bf425c902c2047e766e0333e54188ee67a673f5 (patch) | |
tree | 8a8e1311a22b8cfafd475eded311b103834451de /src/include/taler_pq_lib.h | |
parent | cbf6281ca2c4ee0fd77eda4a6d943e3a60a21e0e (diff) |
remove currency field from databases
Diffstat (limited to 'src/include/taler_pq_lib.h')
-rw-r--r-- | src/include/taler_pq_lib.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/include/taler_pq_lib.h b/src/include/taler_pq_lib.h index 4ac0a6df2..47040ea02 100644 --- a/src/include/taler_pq_lib.h +++ b/src/include/taler_pq_lib.h @@ -94,24 +94,28 @@ TALER_PQ_query_param_absolute_time_nbo (const struct GNUNET_TIME_AbsoluteNBO *x) * Currency amount expected. * * @param name name of the field in the table + * @param currency expected currency for the @a amount * @param[out] amount where to store the result * @return array entry for the result specification to use */ struct GNUNET_PQ_ResultSpec TALER_PQ_result_spec_amount_nbo (const char *name, - struct TALER_AmountNBO *amount); + const char *currency, + struct TALER_AmountNBO *amount); /** * Currency amount expected. * * @param name name of the field in the table + * @param currency expected currency for the @a amount * @param[out] amount where to store the result * @return array entry for the result specification to use */ struct GNUNET_PQ_ResultSpec TALER_PQ_result_spec_amount (const char *name, - struct TALER_Amount *amount); + const char *currency, + struct TALER_Amount *amount); /** |