MySQL 8.4.2
Source Code Documentation
supported_config_options.h
Go to the documentation of this file.
1/*
2 Copyright (c) 2022, 2024, Oracle and/or its affiliates.
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License, version 2.0,
6 as published by the Free Software Foundation.
7
8 This program is designed to work with certain software (including
9 but not limited to OpenSSL) that is licensed under separate terms,
10 as designated in a particular file or component or in included license
11 documentation. The authors of MySQL hereby grant you an additional
12 permission to link the program and your derivative works with the
13 separately licensed software that they have either included with
14 the program or referenced in the documentation.
15
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
20
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, write to the Free Software
23 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24*/
25
26#ifndef MYSQL_HARNESS_SUPPORTED_OPTIONS
27#define MYSQL_HARNESS_SUPPORTED_OPTIONS
28
29#include <array>
30#include <string_view>
31
32namespace mysql_harness {
33namespace loader {
34namespace options {
35constexpr std::string_view kOrigin{"origin"};
36constexpr std::string_view kProgram{"program"};
37constexpr std::string_view kLoggingFolder{"logging_folder"};
38constexpr std::string_view kRuntimeFolder{"runtime_folder"};
39constexpr std::string_view kDataFolder{"data_folder"};
40constexpr std::string_view kPluginFolder{"plugin_folder"};
41constexpr std::string_view kConfigFolder{"config_folder"};
42constexpr std::string_view kUnknownConfigOption{"unknown_config_option"};
43} // namespace options
44} // namespace loader
45
46static constexpr std::array loader_supported_options [[maybe_unused]]{
55};
56
57} // namespace mysql_harness
58
59#endif /* MYSQL_HARNESS_SUPPORTED_OPTIONS */
static Mysys_charset_loader * loader
Definition: charset.cc:185
constexpr std::string_view kConfigFolder
Definition: supported_config_options.h:41
constexpr std::string_view kProgram
Definition: supported_config_options.h:36
constexpr std::string_view kUnknownConfigOption
Definition: supported_config_options.h:42
constexpr std::string_view kRuntimeFolder
Definition: supported_config_options.h:38
constexpr std::string_view kPluginFolder
Definition: supported_config_options.h:40
constexpr std::string_view kOrigin
Definition: supported_config_options.h:35
constexpr std::string_view kDataFolder
Definition: supported_config_options.h:39
constexpr std::string_view kLoggingFolder
Definition: supported_config_options.h:37
Definition: common.h:42
static constexpr std::array loader_supported_options
Definition: supported_config_options.h:46
Definition: options.cc:57