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