xref: /openbmc/bmcweb/config/bmcweb_config.h.in (revision 2ae81db9)
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 bmcwebEnableHealthPopulate = @BMCWEB_ENABLE_HEALTH_POPULATE@ == 1;
21
22constexpr const bool bmcwebEnableProcMemStatus = @BMCWEB_ENABLE_PROC_MEM_STATUS@ == 1;
23
24constexpr const bool bmcwebEnableMultiHost = @BMCWEB_ENABLE_MULTI_HOST@ == 1;
25
26constexpr const bool bmcwebEnableHTTP2 = @BMCWEB_ENABLE_HTTP2@ == 1;
27
28constexpr const bool bmcwebMTLSCommonNameParsingMeta = @BMCWEB_ENABLE_MTLS_COMMON_NAME_PARSING_META@ == 1;
29// clang-format on
30