blob: eb0c79c77a472cd94d5baa2a2a2a3e80cf6deedd [file] [log] [blame]
Ed Tanous0260d9d2021-02-07 19:31:07 +00001#pragma once
2
3#include <cstdint>
Ed Tanous2205bbf2021-06-17 13:33:47 -07004#include <cstddef>
Ed Tanous36c0f2a2024-02-09 13:50:26 -08005#include <string_view>
Ed Tanous0260d9d2021-02-07 19:31:07 +00006
7// clang-format off
Ed Tanousfa0b2172022-03-24 10:25:03 -07008constexpr const bool bmcwebInsecureEnableQueryParams = @BMCWEB_INSECURE_ENABLE_QUERY_PARAMS@ == 1;
9
Ed Tanous0260d9d2021-02-07 19:31:07 +000010constexpr const size_t bmcwebHttpReqBodyLimitMb = @BMCWEB_HTTP_REQ_BODY_LIMIT_MB@;
11
12constexpr const char* mesonInstallPrefix = "@MESON_INSTALL_PREFIX@";
Ed Tanousfa0b2172022-03-24 10:25:03 -070013
Ed Tanouseb1c47d2022-02-09 11:47:27 -080014constexpr const bool bmcwebInsecureEnableHttpPushStyleEventing = @BMCWEB_INSECURE_ENABLE_HTTP_PUSH_STYLE_EVENTING@ == 1;
Myung Bae662aa6e2023-01-10 14:20:28 -060015
16constexpr const char* bmcwebLoggingLevel = "@BMCWEB_LOGGING_LEVEL@";
Willy Tu13451e32023-05-24 16:08:18 -070017
Ed Tanous7f3e84a2022-12-28 16:22:54 -080018constexpr const bool bmcwebEnableMultiHost = @BMCWEB_ENABLE_MULTI_HOST@ == 1;
Ed Tanousfca2cbe2021-01-28 14:49:59 -080019
20constexpr const bool bmcwebEnableHTTP2 = @BMCWEB_ENABLE_HTTP2@ == 1;
Marco Kawajiri0e373b52023-10-31 13:36:58 -070021
Ed Tanous8db83742024-04-13 09:11:15 -070022constexpr const bool bmcwebEnableTLS = @BMCWEB_ENABLE_TLS@ == 1;
23
Marco Kawajiri0e373b52023-10-31 13:36:58 -070024constexpr const bool bmcwebMTLSCommonNameParsingMeta = @BMCWEB_ENABLE_MTLS_COMMON_NAME_PARSING_META@ == 1;
Ed Tanous36c0f2a2024-02-09 13:50:26 -080025
26constexpr const bool bmcwebNbdProxy = @BMCWEB_VIRTUAL_MEDIA_NBD@ == 1;
27
28constexpr const bool bmcwebVmWebsocket = @BMCWEB_VIRTUAL_MEDIA_VM@ == 1;
Ed Tanous0260d9d2021-02-07 19:31:07 +000029// clang-format on