MySQL 9.0.0
Source Code Documentation
config_files.h File Reference
#include <cstddef>
#include <string>
#include <system_error>
#include <vector>
#include "mysql/harness/stdx/expected.h"
#include "mysqlrouter/router_export.h"

Go to the source code of this file.

Classes

struct  std::is_error_code_enum< ConfigFilePathValidatorErrc >
 
class  ConfigFilePathValidator
 
struct  ConfigFilePathValidator::ValidateError
 

Namespaces

namespace  std
 

Enumerations

enum class  ConfigFilePathValidatorErrc { kDuplicate = 1 , kNotReadable = 2 , kExtraWithoutMainConfig = 3 , kNoConfigfile = 4 }
 

Functions

std::string use_ini_extension (const std::string &file_name)
 
std::error_code ROUTER_LIB_EXPORT make_error_code (ConfigFilePathValidatorErrc)
 

Enumeration Type Documentation

◆ ConfigFilePathValidatorErrc

enum class ConfigFilePathValidatorErrc
strong
Enumerator
kDuplicate 
kNotReadable 
kExtraWithoutMainConfig 
kNoConfigfile 

Function Documentation

◆ make_error_code()

std::error_code ROUTER_LIB_EXPORT make_error_code ( ConfigFilePathValidatorErrc  e)

◆ use_ini_extension()

std::string use_ini_extension ( const std::string &  file_name)