commit 47d28a762c352c0039a72a9faeed9115063d9f85
parent bd73b838cc8ce316930a36bdf44e91f8637da5ff
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Sun, 16 Aug 2026 08:19:23 +0200
libtalersq is dead
Diffstat:
3 files changed, 0 insertions(+), 101 deletions(-)
diff --git a/meson.build b/meson.build
@@ -285,7 +285,6 @@ if not get_option('only-doc')
['libtalerjson', '10:0:6'],
['libtalercurl', '1:0:1'],
['libtalerpq', '1:0:0'],
- ['libtalersq', '0:0:0'],
['libtalermhd', '8:0:1'],
['libtalermhd2', '0:0:0'],
['libtalertemplating', '1:1:1'],
diff --git a/src/include/taler/meson.build b/src/include/taler/meson.build
@@ -19,7 +19,6 @@ talerinclude_headers = [
'taler_mhd_lib.h',
'taler_pq_lib.h',
'taler_signatures.h',
- 'taler_sq_lib.h',
'taler_templating_lib.h',
'taler_twister_testing_lib.h',
]
diff --git a/src/include/taler/taler_sq_lib.h b/src/include/taler/taler_sq_lib.h
@@ -1,99 +0,0 @@
-/*
- This file is part of TALER
- Copyright (C) 2020 Taler Systems SA
-
- TALER is free software; you can redistribute it and/or modify it under the
- terms of the GNU General Public License as published by the Free Software
- Foundation; either version 3, or (at your option) any later version.
-
- TALER is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
- A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License along with
- TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
-*/
-/**
- * @file include/taler/taler_sq_lib.h
- * @brief helper functions for DB interactions with SQLite
- * @author Jonathan Buchanan
- */
-#ifndef TALER_SQ_LIB_H_
-#define TALER_SQ_LIB_H_
-
-#include <sqlite3.h>
-#include <jansson.h>
-#include <gnunet/gnunet_sq_lib.h>
-#include <taler/taler_util.h>
-
-/**
- * Generate query parameter for a currency, consisting of the
- * components "value", "fraction" in this order. The
- * types must be a 64-bit integer and a 64-bit integer.
- *
- * @param x pointer to the query parameter to pass
- */
-struct GNUNET_SQ_QueryParam
-TALER_SQ_query_param_amount_nbo (const struct TALER_AmountNBO *x);
-
-
-/**
- * Generate query parameter for a currency, consisting of the
- * components "value", "fraction" in this order. The
- * types must be a 64-bit integer and a 64-bit integer.
- *
- * @param x pointer to the query parameter to pass
- */
-struct GNUNET_SQ_QueryParam
-TALER_SQ_query_param_amount (const struct TALER_Amount *x);
-
-
-/**
- * Generate query parameter for a JSON object (stored as a string
- * in the DB). Note that @a x must really be a JSON object or array,
- * passing just a value (string, integer) is not supported and will
- * result in an abort.
- *
- * @param x pointer to the json object to pass
- */
-struct GNUNET_SQ_QueryParam
-TALER_SQ_query_param_json (const json_t *x);
-
-
-/**
- * Currency amount expected.
- *
- * @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_SQ_ResultSpec
-TALER_SQ_result_spec_amount_nbo (const char *currency,
- struct TALER_AmountNBO *amount);
-
-
-/**
- * Currency amount expected.
- *
- * @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_SQ_ResultSpec
-TALER_SQ_result_spec_amount (const char *currency,
- struct TALER_Amount *amount);
-
-
-/**
- * json_t expected.
- *
- * @param[out] jp where to store the result
- * @return array entry for the result specification to use
- */
-struct GNUNET_SQ_ResultSpec
-TALER_SQ_result_spec_json (json_t **jp);
-
-
-#endif /* TALER_SQ_LIB_H_ */
-
-/* end of include/taler_sq_lib.h */