aboutsummaryrefslogtreecommitdiff
path: root/src/pq/pq.h
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2023-05-06 15:21:41 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2023-05-06 15:21:41 +0200
commit25fb12006dd655e31e345593ad5da2ef724b5c45 (patch)
treef805fa3c4cf661f27fd66172bbbaeec33c389b28 /src/pq/pq.h
parentcd8d83a631c92086a606fad0952219333afc3272 (diff)
downloadgnunet-25fb12006dd655e31e345593ad5da2ef724b5c45.tar.gz
gnunet-25fb12006dd655e31e345593ad5da2ef724b5c45.zip
pq: add array-type support for PQ [WIP, 1/n]
NEWS: initial steps towards support of array-types in posgresql - added enum GNUNET_PQ_ArrayTypes - generate mapping of supported array-types and OIDs during connect()
Diffstat (limited to 'src/pq/pq.h')
-rw-r--r--src/pq/pq.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pq/pq.h b/src/pq/pq.h
index f9b59e058..e69f0ed96 100644
--- a/src/pq/pq.h
+++ b/src/pq/pq.h
@@ -98,9 +98,15 @@ struct GNUNET_PQ_Context
98 * Flags controlling the connection. 98 * Flags controlling the connection.
99 */ 99 */
100 enum GNUNET_PQ_Options flags; 100 enum GNUNET_PQ_Options flags;
101
102 /**
103 * Mapping between array types and Oid's, filled at reconnect
104 */
105 Oid arraytype2oid[GNUNET_PQ_ARRAY_MAX];
101}; 106};
102 107
103 108
109
104/** 110/**
105 * Internal API. Reconnect should re-register notifications 111 * Internal API. Reconnect should re-register notifications
106 * after a disconnect. 112 * after a disconnect.