Mercurial > hg > orthanc-databases
diff Framework/PostgreSQL/PostgreSQLParameters.h @ 81:515a783630df
injecting fix to issue #105 into the mainline
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 10 Jan 2019 13:32:34 +0100 |
parents | 714c5d2bee76 |
children | 4cd7e45b671e |
line wrap: on
line diff
--- a/Framework/PostgreSQL/PostgreSQLParameters.h Mon Dec 24 13:35:26 2018 +0100 +++ b/Framework/PostgreSQL/PostgreSQLParameters.h Thu Jan 10 13:32:34 2019 +0100 @@ -38,6 +38,7 @@ std::string password_; std::string database_; std::string uri_; + bool ssl_; bool lock_; void Reset(); @@ -91,6 +92,16 @@ return database_; } + void SetSsl(bool ssl) + { + ssl_ = ssl; + } + + bool IsSsl() const + { + return ssl_; + } + void SetLock(bool lock) { lock_ = lock;