summaryrefslogtreecommitdiff
path: root/config/bmcweb_config.h.in
blob: ae98675d3c2fef1928669739c890780ea32ac97c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include <cstdint>
#include <cstddef>

// clang-format off
constexpr const int bmcwebInsecureDisableXssPrevention =
    @BMCWEB_INSECURE_DISABLE_XSS_PREVENTION@;

constexpr const bool bmcwebInsecureEnableQueryParams = @BMCWEB_INSECURE_ENABLE_QUERY_PARAMS@ == 1;

constexpr const size_t bmcwebHttpReqBodyLimitMb = @BMCWEB_HTTP_REQ_BODY_LIMIT_MB@;

constexpr const char* mesonInstallPrefix = "@MESON_INSTALL_PREFIX@";

constexpr const bool bmcwebInsecureEnableHttpPushStyleEventing = @BMCWEB_INSECURE_ENABLE_HTTP_PUSH_STYLE_EVENTING@ == 1;

constexpr const char* bmcwebLoggingLevel = "@BMCWEB_LOGGING_LEVEL@";
// clang-format on