aboutsummaryrefslogtreecommitdiff
path: root/zenhttp/include
diff options
context:
space:
mode:
Diffstat (limited to 'zenhttp/include')
-rw-r--r--zenhttp/include/zenhttp/httpcommon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zenhttp/include/zenhttp/httpcommon.h b/zenhttp/include/zenhttp/httpcommon.h
index 41ec706f4..08f1b47a9 100644
--- a/zenhttp/include/zenhttp/httpcommon.h
+++ b/zenhttp/include/zenhttp/httpcommon.h
@@ -18,8 +18,8 @@ class CbPackage;
class StringBuilderBase;
std::string_view MapContentTypeToString(HttpContentType ContentType);
-HttpContentType ParseContentType(const std::string_view& ContentTypeString);
-const char* ReasonStringForHttpResultCode(int HttpCode);
+extern HttpContentType (*ParseContentType)(const std::string_view& ContentTypeString);
+const char* ReasonStringForHttpResultCode(int HttpCode);
[[nodiscard]] inline bool
IsHttpSuccessCode(int HttpCode)