diff options
| author | Stefan Boberg <[email protected]> | 2021-09-15 22:44:32 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-15 22:44:47 +0200 |
| commit | 8f889ca565f16f41420b5e9555d6479d6dddd725 (patch) | |
| tree | e7eb81c538cfc7a7e55ecefc6caf3cb04a1f0fa1 /zenhttp/include | |
| parent | Adde reminder that the content type is embedded in the IoBuffer (diff) | |
| download | zen-8f889ca565f16f41420b5e9555d6479d6dddd725.tar.xz zen-8f889ca565f16f41420b5e9555d6479d6dddd725.zip | |
Hooked up zenhttp to the test framework so tests actually run as part of zenserver-test
Diffstat (limited to 'zenhttp/include')
| -rw-r--r-- | zenhttp/include/zenhttp/httpserver.h | 4 | ||||
| -rw-r--r-- | zenhttp/include/zenhttp/zenhttp.h | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/zenhttp/include/zenhttp/httpserver.h b/zenhttp/include/zenhttp/httpserver.h index de097ceb3..f656c69a8 100644 --- a/zenhttp/include/zenhttp/httpserver.h +++ b/zenhttp/include/zenhttp/httpserver.h @@ -268,6 +268,6 @@ private: std::unordered_map<std::string, std::string> m_PatternMap; }; -} // namespace zen - void http_forcelink(); // internal + +} // namespace zen diff --git a/zenhttp/include/zenhttp/zenhttp.h b/zenhttp/include/zenhttp/zenhttp.h index c6ec92e7c..586fc98b4 100644 --- a/zenhttp/include/zenhttp/zenhttp.h +++ b/zenhttp/include/zenhttp/zenhttp.h @@ -5,3 +5,9 @@ #include <zencore/zencore.h> #define ZENHTTP_API // Placeholder to allow DLL configs in the future + +namespace zen { + + ZENHTTP_API void zenhttp_forcelinktests(); + +} |