aboutsummaryrefslogtreecommitdiff
path: root/src/pq/pq_connect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pq/pq_connect.c')
-rw-r--r--src/pq/pq_connect.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/pq/pq_connect.c b/src/pq/pq_connect.c
index 9493eb2d7..f30f989ea 100644
--- a/src/pq/pq_connect.c
+++ b/src/pq/pq_connect.c
@@ -420,6 +420,16 @@ get_array_type_oids (struct GNUNET_PQ_Context *db)
420} 420}
421 421
422 422
423Oid
424GNUNET_PQ_get_oid (
425 const struct GNUNET_PQ_Context *db,
426 enum GNUNET_PQ_DataTypes typ)
427{
428 GNUNET_assert (GNUNET_PQ_DATATYPE_MAX > typ);
429 return db->oids[typ];
430}
431
432
423void 433void
424GNUNET_PQ_reconnect (struct GNUNET_PQ_Context *db) 434GNUNET_PQ_reconnect (struct GNUNET_PQ_Context *db)
425{ 435{