Allow for use as XMLTooling extension, clean up some header use in tests.
[shibboleth/cpp-opensaml.git] / saml / internal.h
index 675a5e7..72beb8e 100644 (file)
@@ -89,8 +89,8 @@ namespace opensaml {
         static SAMLInternalConfig& getInternalConfig();
 
         // global per-process setup and shutdown of runtime
-        bool init();
-        void term();
+        bool init(bool initXMLTooling=true);
+        void term(bool termXMLTooling=true);
 
         void generateRandomBytes(void* buf, unsigned int len);
         void generateRandomBytes(std::string& buf, unsigned int len);
@@ -98,6 +98,8 @@ namespace opensaml {
         std::string hashSHA1(const char* data, bool toHex=false);
     private:
     };
+
+    void log_openssl();
     /// @endcond
 
 };