xref: /openbmc/bmcweb/config/bmcweb_config.h.in (revision 08bbe119)
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// clang-format on
24