diff options
author | Anthony Neal <aneal@zeroc.com> | 2002-09-09 15:45:40 +0000 |
---|---|---|
committer | Anthony Neal <aneal@zeroc.com> | 2002-09-09 15:45:40 +0000 |
commit | 215ffd983eef5af371e98264c91d0e3358d88eb6 (patch) | |
tree | f56b9b4af218aa61b024c61b03c02ab154085b37 /cpp/src/IceSSL/ConfigParser.h | |
parent | Improved diagnostics for explicit inheritance from Object. (diff) | |
download | ice-215ffd983eef5af371e98264c91d0e3358d88eb6.tar.bz2 ice-215ffd983eef5af371e98264c91d0e3358d88eb6.tar.xz ice-215ffd983eef5af371e98264c91d0e3358d88eb6.zip |
Fixes as per Marc's comments.
Diffstat (limited to 'cpp/src/IceSSL/ConfigParser.h')
-rw-r--r-- | cpp/src/IceSSL/ConfigParser.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/cpp/src/IceSSL/ConfigParser.h b/cpp/src/IceSSL/ConfigParser.h index 02f4f762836..b8b3123c5eb 100644 --- a/cpp/src/IceSSL/ConfigParser.h +++ b/cpp/src/IceSSL/ConfigParser.h @@ -30,8 +30,8 @@ public: // Construction based on the indicated config file, or config file and // certificate path. - ConfigParser(const std::string&); - ConfigParser(const std::string&, const std::string&); + ConfigParser(const std::string&, const TraceLevelsPtr&, const Ice::LoggerPtr&); + ConfigParser(const std::string&, const std::string&, const TraceLevelsPtr&, const Ice::LoggerPtr&); ~ConfigParser(); // Performs a complete parsing of the file. @@ -41,12 +41,6 @@ public: bool loadClientConfig(GeneralConfig&, CertificateAuthority&, BaseCertificates&); bool loadServerConfig(GeneralConfig&, CertificateAuthority&, BaseCertificates&, TempCertificates&); - void setTrace(const TraceLevelsPtr&); - bool isTraceSet() const; - - void setLogger(const Ice::LoggerPtr&); - bool isLoggerSet() const; - private: DOMNode* _root; @@ -78,6 +72,9 @@ private: // Populate a certificate file object, basis of all certificates. void loadCertificateFile(DOMNode*, CertificateFile&); + // Detemines if the string represents an absolute pathname. + bool isAbsolutePath(std::string&); + // Parses the certificate encoding format from a string representation // to the proper integer value used by the underlying SSL framework. int parseEncoding(std::string&); |