xref: /openbmc/bmcweb/config/bmcweb_config.h.in (revision d9e89dfd)
1#pragma once
2
3#include <cstdint>
4#include <cstddef>
5
6// clang-format off
7constexpr const int bmcwebInsecureDisableXssPrevention =
8    @BMCWEB_INSECURE_DISABLE_XSS_PREVENTION@;
9
10constexpr const bool bmcwebInsecureEnableQueryParams = @BMCWEB_INSECURE_ENABLE_QUERY_PARAMS@ == 1;
11
12constexpr const size_t bmcwebHttpReqBodyLimitMb = @BMCWEB_HTTP_REQ_BODY_LIMIT_MB@;
13
14constexpr const char* mesonInstallPrefix = "@MESON_INSTALL_PREFIX@";
15
16constexpr const bool bmcwebInsecureEnableHttpPushStyleEventing = @BMCWEB_INSECURE_ENABLE_HTTP_PUSH_STYLE_EVENTING@ == 1;
17
18constexpr const char* bmcwebLoggingLevel = "@BMCWEB_LOGGING_LEVEL@";
19
20constexpr const bool bmcwebEnableMultiHost = @BMCWEB_ENABLE_MULTI_HOST@ == 1;
21
22constexpr const bool bmcwebEnableHTTP2 = @BMCWEB_ENABLE_HTTP2@ == 1;
23
24constexpr const bool bmcwebMTLSCommonNameParsingMeta = @BMCWEB_ENABLE_MTLS_COMMON_NAME_PARSING_META@ == 1;
25// clang-format on
26