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