aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_pq_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_pq_lib.h')
-rw-r--r--src/include/gnunet_pq_lib.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/include/gnunet_pq_lib.h b/src/include/gnunet_pq_lib.h
index 4cbc2a139..3e4ce3427 100644
--- a/src/include/gnunet_pq_lib.h
+++ b/src/include/gnunet_pq_lib.h
@@ -148,6 +148,21 @@ GNUNET_PQ_query_param_bool (bool b);
148 148
149 149
150/** 150/**
151 * Array types (in Postgres) that are supported in GNUnet.
152 */
153enum GNUNET_PQ_ArrayTypes
154{
155 GNUNET_PQ_ARRAY_UNKNOWN, /* Unsupported type */
156 GNUNET_PQ_ARRAY_BOOL,
157 GNUNET_PQ_ARRAY_INT2,
158 GNUNET_PQ_ARRAY_INT4,
159 GNUNET_PQ_ARRAY_INT8,
160 GNUNET_PQ_ARRAY_BYTEA,
161 GNUNET_PQ_ARRAY_VARCHAR,
162 GNUNET_PQ_ARRAY_MAX, /* Must be last */
163};
164
165/**
151 * Information for an array argument. 166 * Information for an array argument.
152 */ 167 */
153struct GNUNET_PQ_ArraySpec 168struct GNUNET_PQ_ArraySpec