diff options
Diffstat (limited to 'src/pq')
-rw-r--r-- | src/pq/pq_query_helper.c | 2 | ||||
-rw-r--r-- | src/pq/pq_result_helper.c | 6 | ||||
-rw-r--r-- | src/pq/test_pq.c | 10 |
3 files changed, 9 insertions, 9 deletions
diff --git a/src/pq/pq_query_helper.c b/src/pq/pq_query_helper.c index a216e6470..78f29d643 100644 --- a/src/pq/pq_query_helper.c +++ b/src/pq/pq_query_helper.c @@ -102,7 +102,7 @@ qconv_amount_tuple (void *cls, struct GNUNET_PQ_QueryParam -TALER_PQ_query_param_amount_tuple ( +TALER_PQ_query_param_amount ( const struct GNUNET_PQ_Context *db, const struct TALER_Amount *amount) { diff --git a/src/pq/pq_result_helper.c b/src/pq/pq_result_helper.c index 5384bf961..d4810c9ad 100644 --- a/src/pq/pq_result_helper.c +++ b/src/pq/pq_result_helper.c @@ -147,9 +147,9 @@ extract_amount_tuple (void *cls, struct GNUNET_PQ_ResultSpec -TALER_PQ_result_spec_amount_tuple (const char *name, - const char *currency, - struct TALER_Amount *amount) +TALER_PQ_result_spec_amount (const char *name, + const char *currency, + struct TALER_Amount *amount) { struct GNUNET_PQ_ResultSpec res = { .conv = &extract_amount_tuple, diff --git a/src/pq/test_pq.c b/src/pq/test_pq.c index 71a2d5a00..03308ba14 100644 --- a/src/pq/test_pq.c +++ b/src/pq/test_pq.c @@ -86,8 +86,8 @@ run_queries (struct GNUNET_PQ_Context *conn) json_integer (42))); { struct GNUNET_PQ_QueryParam params_insert[] = { - TALER_PQ_query_param_amount_tuple (conn, - &tamount), + TALER_PQ_query_param_amount (conn, + &tamount), TALER_PQ_query_param_json (json), TALER_PQ_query_param_array_amount (3, aamount, @@ -119,9 +119,9 @@ run_queries (struct GNUNET_PQ_Context *conn) GNUNET_PQ_query_param_end }; struct GNUNET_PQ_ResultSpec results_select[] = { - TALER_PQ_result_spec_amount_tuple ("tamount", - "EUR", - &tamount2), + TALER_PQ_result_spec_amount ("tamount", + "EUR", + &tamount2), TALER_PQ_result_spec_json ("json", &json2), TALER_PQ_result_spec_array_amount (conn, |