summaryrefslogtreecommitdiff
path: root/config/bmcweb_config.h.in
blob: d3b174c470e63250b797ec9b7d582bc7345502e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#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@";

constexpr const bool bmcwebEnableMultiHost = @BMCWEB_ENABLE_MULTI_HOST@ == 1;

constexpr const bool bmcwebEnableHTTP2 = @BMCWEB_ENABLE_HTTP2@ == 1;

constexpr const bool bmcwebEnableTLS = @BMCWEB_ENABLE_TLS@ == 1;

constexpr const bool bmcwebMTLSCommonNameParsingMeta = @BMCWEB_ENABLE_MTLS_COMMON_NAME_PARSING_META@ == 1;
// clang-format on