more portably GSS library detection
[shibboleth/sp.git] / shibsp / internal.h
index 7e8e3a1..bd49761 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Copyright 2001-2007 Internet2
+ *  Copyright 2001-2011 Internet2
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
 #include "base.h"
 #include "SPConfig.h"
 
-namespace shibsp {
-    
-    /// @cond OFF
-    class SPInternalConfig : public SPConfig
-    {
-    public:
-        SPInternalConfig() {}
-
-        static SPInternalConfig& getInternalConfig();
+#include <memory>
+#include <xmltooling/logging.h>
+#include <xmltooling/io/HTTPRequest.h>
+#include <shibsp/Application.h>
 
-        bool init(const char* catalog_path);
-        void term();
-
-    private:
-    };
-    /// @endcond
+using namespace xmltooling::logging;
+using namespace xercesc;
 
+namespace shibsp {
+    void SHIBSP_DLLLOCAL limitRelayState(
+        xmltooling::logging::Category& log,
+        const Application& application,
+        const xmltooling::HTTPRequest& httpRequest,
+        const char* relayState
+        );
 };
 
 #endif /* __shibsp_internal_h__ */