[cpp-sp] 03/03: Windows Build: more DLLExports The IIS module uses the central SP configuration code so this has to be exported from the DLL
Rod Widdowson
rdw at steadingsoftware.com
Thu Jan 16 14:24:48 UTC 2025
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch main
in repository cpp-sp.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=2b431e18c1535dc6fc53ed16e47c12ed9d46b99e
commit 2b431e18c1535dc6fc53ed16e47c12ed9d46b99e
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Thu Jan 16 14:07:22 2025 +0000
Windows Build: more DLLExports
The IIS module uses the central SP configuration code so this has to be exported from the DLL
---
shibsp/platform/iis/ModuleConfig.h | 36 ++++++++++++++++++------------------
shibsp/util/Misc.h | 4 ++--
2 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/shibsp/platform/iis/ModuleConfig.h b/shibsp/platform/iis/ModuleConfig.h
index 7f3ec8a6..721f1ede 100644
--- a/shibsp/platform/iis/ModuleConfig.h
+++ b/shibsp/platform/iis/ModuleConfig.h
@@ -45,29 +45,29 @@ namespace shibsp {
*
* @param path optional path to config file to load
*/
- static std::unique_ptr<ModuleConfig> newModuleConfig(const char* path=nullptr);
+ SHIBSP_API static std::unique_ptr<ModuleConfig> newModuleConfig(const char* path=nullptr);
// Global
- static const char USE_VARIABLES_PROP_NAME[];
- static const char USE_HEADERS_PROP_NAME[];
- static const char AUTHENTICATED_ROLE_PROP_NAME[];
- static const char ROLE_ATTRIBUTES_PROP_NAME[];
- static const char NORMALIZE_REQUEST_PROP_NAME[];
- static const char SAFE_HEADER_NAMES_PROP_NAME[];
- static const char HANDLER_PREFIX_PROP_NAME[];
+ SHIBSP_API static const char USE_VARIABLES_PROP_NAME[];
+ SHIBSP_API static const char USE_HEADERS_PROP_NAME[];
+ SHIBSP_API static const char AUTHENTICATED_ROLE_PROP_NAME[];
+ SHIBSP_API static const char ROLE_ATTRIBUTES_PROP_NAME[];
+ SHIBSP_API static const char NORMALIZE_REQUEST_PROP_NAME[];
+ SHIBSP_API static const char SAFE_HEADER_NAMES_PROP_NAME[];
+ SHIBSP_API static const char HANDLER_PREFIX_PROP_NAME[];
- static bool USE_VARIABLES_PROP_DEFAULT;
- static bool USE_HEADERS_PROP_DEFAULT;
- static const char AUTHENTICATED_ROLE_PROP_DEFAULT[];
- static bool NORMALIZE_REQUEST_PROP_DEFAULT;
- static const char HANDLER_PREFIX_PROP_DEFAULT[];
+ SHIBSP_API static bool USE_VARIABLES_PROP_DEFAULT;
+ SHIBSP_API static bool USE_HEADERS_PROP_DEFAULT;
+ SHIBSP_API static const char AUTHENTICATED_ROLE_PROP_DEFAULT[];
+ SHIBSP_API static bool NORMALIZE_REQUEST_PROP_DEFAULT;
+ SHIBSP_API static const char HANDLER_PREFIX_PROP_DEFAULT[];
// Site
- static const char SITE_NAME_PROP_NAME[];
- static const char SITE_SCHEME_PROP_NAME[];
- static const char SITE_PORT_PROP_NAME[];
- static const char SITE_SSLPORT_PROP_NAME[];
- static const char SITE_ALIASES_PROP_NAME[];
+ SHIBSP_API static const char SITE_NAME_PROP_NAME[];
+ SHIBSP_API static const char SITE_SCHEME_PROP_NAME[];
+ SHIBSP_API static const char SITE_PORT_PROP_NAME[];
+ SHIBSP_API static const char SITE_SSLPORT_PROP_NAME[];
+ SHIBSP_API static const char SITE_ALIASES_PROP_NAME[];
};
};
};
diff --git a/shibsp/util/Misc.h b/shibsp/util/Misc.h
index bceafb0a..96e2f09c 100644
--- a/shibsp/util/Misc.h
+++ b/shibsp/util/Misc.h
@@ -61,6 +61,6 @@ namespace shibsp {
/**
* Splitter functions that trim the input and split on whitespace into a container.
*/
- std::vector<std::string>::size_type split_to_container(std::vector<std::string>& container, const char* s);
- std::set<std::string>::size_type split_to_container(std::set<std::string>& container, const char* s);
+ SHIBSP_API std::vector<std::string>::size_type split_to_container(std::vector<std::string>& container, const char* s);
+ SHIBSP_API std::set<std::string>::size_type split_to_container(std::set<std::string>& container, const char* s);
};
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list