aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_pq_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-07-30 12:24:04 +0200
committerChristian Grothoff <christian@grothoff.org>2023-07-30 12:24:04 +0200
commit35011bf29b4576b8c63b71538557da1fd3ae657a (patch)
tree31fa77b7b95fcb96d26383d30aaf0ba0a251f3ea /src/include/taler_pq_lib.h
parentb9ecc4113db28da3dce9c5d9c15ac2d0317dc2fd (diff)
removing old amount logic from libtalerpq
Diffstat (limited to 'src/include/taler_pq_lib.h')
-rw-r--r--src/include/taler_pq_lib.h48
1 files changed, 0 insertions, 48 deletions
diff --git a/src/include/taler_pq_lib.h b/src/include/taler_pq_lib.h
index 4b2a1f5dd..07e00ca38 100644
--- a/src/include/taler_pq_lib.h
+++ b/src/include/taler_pq_lib.h
@@ -30,28 +30,6 @@
#include <gnunet/gnunet_pq_lib.h>
#include "taler_util.h"
-/**
- * Generate query parameter for a currency, consisting of the three
- * components "value", "fraction" and "currency" in this order. The
- * types must be a 64-bit integer, 32-bit integer and a
- * #TALER_CURRENCY_LEN-sized BLOB/VARCHAR respectively.
- *
- * @param x pointer to the query parameter to pass
- */
-struct GNUNET_PQ_QueryParam
-TALER_PQ_query_param_amount_nbo (const struct TALER_AmountNBO *x);
-
-
-/**
- * Generate query parameter for an amount, consisting of the two
- * components "value" and "fraction" in this order. The
- * types must be a 64-bit integer and a 32-bit integer
- * respectively. The currency is dropped.
- *
- * @param x pointer to the query parameter to pass
- */
-struct GNUNET_PQ_QueryParam
-TALER_PQ_query_param_amount (const struct TALER_Amount *x);
/**
* Generate query parameter (as record tuple) for an amount, consisting
@@ -181,32 +159,6 @@ TALER_PQ_query_param_array_amount (
const struct TALER_Amount *amounts,
struct GNUNET_PQ_Context *db);
-/**
- * Currency amount expected.
- *
- * @param name name of the field in the table
- * @param currency currency to use for @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,
- const char *currency,
- struct TALER_AmountNBO *amount);
-
-
-/**
- * Currency amount expected.
- *
- * @param name name of the field in the table
- * @param currency currency to use for @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,
- const char *currency,
- struct TALER_Amount *amount);
/**
* Currency amount expected, from a record-field of (DB) taler_amount type