blob: 476379645f9ff2c6b2c2012c0d15dd98fd66f406 [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 Tanous0260d9d2021-02-07 19:31:07 +00005
6// clang-format off
7constexpr const int bmcwebInsecureDisableXssPrevention =
8 @BMCWEB_INSECURE_DISABLE_XSS_PREVENTION@;
9
Ed Tanousfa0b2172022-03-24 10:25:03 -070010constexpr const bool bmcwebInsecureEnableQueryParams = @BMCWEB_INSECURE_ENABLE_QUERY_PARAMS@ == 1;
11
Ed Tanous0260d9d2021-02-07 19:31:07 +000012constexpr const size_t bmcwebHttpReqBodyLimitMb = @BMCWEB_HTTP_REQ_BODY_LIMIT_MB@;
13
14constexpr const char* mesonInstallPrefix = "@MESON_INSTALL_PREFIX@";
Ed Tanousfa0b2172022-03-24 10:25:03 -070015
Ed Tanouseb1c47d2022-02-09 11:47:27 -080016constexpr const bool bmcwebInsecureEnableHttpPushStyleEventing = @BMCWEB_INSECURE_ENABLE_HTTP_PUSH_STYLE_EVENTING@ == 1;
Myung Bae662aa6e2023-01-10 14:20:28 -060017
18constexpr const char* bmcwebLoggingLevel = "@BMCWEB_LOGGING_LEVEL@";
Willy Tu13451e32023-05-24 16:08:18 -070019
Ed Tanous7f3e84a2022-12-28 16:22:54 -080020constexpr const bool bmcwebEnableMultiHost = @BMCWEB_ENABLE_MULTI_HOST@ == 1;
Ed Tanousfca2cbe2021-01-28 14:49:59 -080021
22constexpr const bool bmcwebEnableHTTP2 = @BMCWEB_ENABLE_HTTP2@ == 1;
Marco Kawajiri0e373b52023-10-31 13:36:58 -070023
24constexpr const bool bmcwebMTLSCommonNameParsingMeta = @BMCWEB_ENABLE_MTLS_COMMON_NAME_PARSING_META@ == 1;
Ed Tanous0260d9d2021-02-07 19:31:07 +000025// clang-format on