Skip to content
API Documentation
BastionGuard™
Config.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  bsc
namespace  bsc::config
namespace  bsc::config::anonymous_namespace{Config.cpp}

Typedefs

using bsc::config::json = nlohmann::json

Functions

std::string bsc::config::anonymous_namespace{Config.cpp}::expand_path (std::string path)
nlohmann::json bsc::config::anonymous_namespace{Config.cpp}::to_json (const Config &cfg)
std::string bsc::config::read_file (const std::string &path)
Config bsc::config::load_file (const std::string &path)
bool bsc::config::save_file (const Config &cfg, const std::string &path)