[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] 04/04: pq: Added spec-API to support arrays in query results
From: |
gnunet |
Subject: |
[gnunet] 04/04: pq: Added spec-API to support arrays in query results |
Date: |
Fri, 02 Jun 2023 16:19:12 +0200 |
This is an automated email from the git hooks/post-receive script.
oec pushed a commit to branch master
in repository gnunet.
commit 212b47afc212d613d6c8378b61c3a085e1495ab1
Merge: a901ae121 5bf8a16e6
Author: Özgür Kesim <oec-taler@kesim.org>
AuthorDate: Fri Jun 2 16:18:25 2023 +0200
pq: Added spec-API to support arrays in query results
NEWS: Added spec-API to support arrays in query results
The following functions were added:
- GNUNET_PQ_result_spec_array_bool
- GNUNET_PQ_result_spec_array_uint16
- GNUNET_PQ_result_spec_array_uint32
- GNUNET_PQ_result_spec_array_uint64
- GNUNET_PQ_result_spec_array_abs_time
- GNUNET_PQ_result_spec_array_rel_time
- GNUNET_PQ_result_spec_array_timestamp
- GNUNET_PQ_result_spec_array_variable_size
- GNUNET_PQ_result_spec_array_fixed_size
- GNUNET_PQ_result_spec_auto_array_from_type
- GNUNET_PQ_result_spec_array_string
Tests for these functions are implemented, too.
src/include/gnunet_pq_lib.h | 253 ++++++++++++++++++---
src/pq/pq.h | 33 +++
src/pq/pq_query_helper.c | 36 +--
src/pq/pq_result_helper.c | 529 ++++++++++++++++++++++++++++++++++++++++++++
src/pq/test_pq.c | 108 ++++++++-
5 files changed, 890 insertions(+), 69 deletions(-)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.