MySQL 8.3.0
Source Code Documentation
supported_router_options.h
Go to the documentation of this file.
1/*
2 Copyright (c) 2022, 2023, 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 also distributed 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 included with MySQL.
14
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
19
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23*/
24
25#ifndef ROUTER_SUPPORTED_ROUTER_OPTIONS_INCLUDED
26#define ROUTER_SUPPORTED_ROUTER_OPTIONS_INCLUDED
27
28#include <array>
29#include <string_view>
30
31#ifdef _WIN32
32static constexpr size_t router_supported_options_size = 10;
33#else
34static constexpr size_t router_supported_options_size = 9;
35#endif
36
37static constexpr std::array<std::string_view, router_supported_options_size>
39 "name",
40 "keyring_path",
41 "master_key_path",
42 "master_key_reader",
43 "master_key_writer",
44 "dynamic_state",
45 "max_total_connections",
46 "pid_file",
47#ifdef _WIN32
48 "event_source_name"
49#endif
50 };
51
52#endif /* ROUTER_SUPPORTED_ROUTER_OPTIONS_INCLUDED */
static constexpr size_t router_supported_options_size
Definition: supported_router_options.h:34
static constexpr std::array< std::string_view, router_supported_options_size > router_supported_options
Definition: supported_router_options.h:38