xref: /openbmc/bmcweb/config/bmcweb_config.h.in (revision 3bfa3b29c0515a9e77c7c69fe072b7ff2e0fc302)
1#pragma once
2
3#include <cstdint>
4#include <cstddef>
5
6// clang-format off
7constexpr const bool bmcwebInsecureEnableQueryParams = @BMCWEB_INSECURE_ENABLE_QUERY_PARAMS@ == 1;
8
9constexpr const size_t bmcwebHttpReqBodyLimitMb = @BMCWEB_HTTP_REQ_BODY_LIMIT_MB@;
10
11constexpr const char* mesonInstallPrefix = "@MESON_INSTALL_PREFIX@";
12
13constexpr const bool bmcwebInsecureEnableHttpPushStyleEventing = @BMCWEB_INSECURE_ENABLE_HTTP_PUSH_STYLE_EVENTING@ == 1;
14
15constexpr const char* bmcwebLoggingLevel = "@BMCWEB_LOGGING_LEVEL@";
16
17constexpr const bool bmcwebEnableMultiHost = @BMCWEB_ENABLE_MULTI_HOST@ == 1;
18
19constexpr const bool bmcwebEnableHTTP2 = @BMCWEB_ENABLE_HTTP2@ == 1;
20
21constexpr const bool bmcwebEnableTLS = @BMCWEB_ENABLE_TLS@ == 1;
22
23constexpr const bool bmcwebMTLSCommonNameParsingMeta = @BMCWEB_ENABLE_MTLS_COMMON_NAME_PARSING_META@ == 1;
24// clang-format on
25