summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/exports.txt
diff options
context:
space:
mode:
authorHeikki Linnakangas2015-02-03 17:57:52 +0000
committerHeikki Linnakangas2015-02-03 17:57:52 +0000
commit91fa7b4719ac583420d9143132ba4ccddefbc5b2 (patch)
tree63e014f91cb23165532517ffc6794afdb11a710f /src/interfaces/libpq/exports.txt
parent809d9a260b5d068a6a366273cd724bf9b396b026 (diff)
Add API functions to libpq to interrogate SSL related stuff.
This makes it possible to query for things like the SSL version and cipher used, without depending on OpenSSL functions or macros. That is a good thing if we ever get another SSL implementation. PQgetssl() still works, but it should be considered as deprecated as it only works with OpenSSL. In particular, PQgetSslInUse() should be used to check if a connection uses SSL, because as soon as we have another implementation, PQgetssl() will return NULL even if SSL is in use.
Diffstat (limited to 'src/interfaces/libpq/exports.txt')
-rw-r--r--src/interfaces/libpq/exports.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/interfaces/libpq/exports.txt b/src/interfaces/libpq/exports.txt
index 93da50df311..4a21bf1d2cf 100644
--- a/src/interfaces/libpq/exports.txt
+++ b/src/interfaces/libpq/exports.txt
@@ -165,3 +165,7 @@ lo_lseek64 162
lo_tell64 163
lo_truncate64 164
PQconninfo 165
+PQsslInUse 166
+PQsslStruct 167
+PQsslAttributes 168
+PQsslAttribute 169