SWC-DB
v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
Settings.cc
Go to the documentation of this file.
1
/*
2
* SWC-DB© Copyright since 2019 Alex Kashirin <kashirin.alex@gmail.com>
3
* License details at <https://github.com/kashirin-alex/swc-db/#license>
4
*/
5
6
7
#include "
swcdb/core/config/Settings.h
"
8
9
namespace
SWC
{
namespace
Config {
10
11
12
SWC_SHOULD_NOT_INLINE
13
void
init_comm_options
(
Settings
* settings) {
14
settings->
file_desc
.
add_options
()
15
(
"addr"
,
strs
(),
16
"IP-port, addr to listen on else resolved(hostname):swc.ServiceName.port"
)
17
(
"host"
,
str
(),
18
"host:port to listen on IPv4+6, swc.ServiceName.port applied if port not specified"
)
19
20
(
"swc.comm.network.priority"
,
strs
({}),
"Network Priority Access"
)
21
22
(
"swc.comm.ssl"
,
boo
(
false
),
"Use SSL in comm layer"
)
23
(
"swc.comm.ssl.secure.network"
,
strs
({}),
24
"Networks that do not require SSL"
)
25
(
"swc.comm.ssl.ciphers"
,
str
(),
"Ciphers to use"
)
26
(
"swc.comm.ssl.subject_name"
,
str
(),
27
"CRT/Cluster's domain-name, if set SRV-CRT is verified"
)
28
(
"swc.comm.ssl.crt"
,
str
(
"cluster.crt"
),
"Cluster Certificate file"
)
29
(
"swc.comm.ssl.key"
,
str
(
"server.key"
),
"Server Private-Key file"
)
30
(
"swc.comm.ssl.ca"
,
str
(),
"CA, used if set"
)
31
;
32
}
33
34
35
}}
SWC::Config::boo
Property::Value_bool::Ptr boo(const bool &v)
Definition:
PropertiesParser.cc:21
SWC::Config::init_comm_options
void init_comm_options(Settings *settings)
Definition:
Settings.cc:13
Settings.h
SWC
The SWC-DB C++ namespace 'SWC'.
Definition:
main.cc:12
SWC::Config::Settings::file_desc
ParserConfig file_desc
Definition:
Settings.h:33
SWC::Config::strs
Property::Value_strings::Ptr strs(Strings &&v)
Definition:
PropertiesParser.cc:49
SWC::Config::ParserConfig::add_options
ParserConfig &SWC_CONST_FUNC add_options()
Definition:
PropertiesParser.cc:223
SWC::Config::str
Property::Value_string::Ptr str(std::string &&v)
Definition:
PropertiesParser.cc:45
SWC::Config::Settings
Definition:
Settings.h:25
lib
swcdb
core
comm
Settings.cc
Generated on Sat Jun 3 2023 18:00:08 for SWC-DB by
1.8.20