26#ifndef ROUTER_CONFIG_FILES_INCLUDED
27#define ROUTER_CONFIG_FILES_INCLUDED
31#include <system_error>
80 std::vector<std::string> config_files,
81 std::vector<std::string> extra_config_files)
82 : default_config_files_{
std::move(default_config_files)},
83 config_files_{
std::move(config_files)},
84 extra_config_files_{
std::move(extra_config_files)} {}
93 bool main_config_file_required =
true)
const;
Definition: config_files.h:65
std::vector< std::string > config_files_
Definition: config_files.h:97
std::vector< std::string > extra_config_files_
Definition: config_files.h:98
std::vector< std::string > default_config_files_
Definition: config_files.h:96
ConfigFilePathValidator(std::vector< std::string > default_config_files, std::vector< std::string > config_files, std::vector< std::string > extra_config_files)
Definition: config_files.h:79
Definition: expected.h:286
std::error_code ROUTER_LIB_EXPORT make_error_code(ConfigFilePathValidatorErrc)
Definition: config_files.cc:156
std::string use_ini_extension(const std::string &file_name)
Definition: config_files.cc:33
ConfigFilePathValidatorErrc
Definition: config_files.h:44
@ kExtraWithoutMainConfig
std::string file_name(Log_file_id file_id)
Provides name of the log file with the given file id, e.g.
Definition: log0pre_8_0_30.cc:94
Definition: gcs_xcom_synode.h:64
#define ROUTER_LIB_EXPORT
Definition: router_export.h:15
Definition: config_files.h:86
std::error_code ec
Definition: config_files.h:87
std::vector< std::string > paths_attempted
Definition: config_files.h:89
std::string current_filename
Definition: config_files.h:88