summaryrefslogtreecommitdiff
path: root/bmcweb_config.h.in
blob: b0a3a7bf511eb43bde3b8507bd42b765269f0597 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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;
// clang-format on