Changeset View
Changeset View
Standalone View
Standalone View
src/util/system.h
Show First 20 Lines • Show All 76 Lines • ▼ Show 20 Lines | |||||
// specified. | // specified. | ||||
bool CheckDataDirOption(); | bool CheckDataDirOption(); | ||||
/** Tests only */ | /** Tests only */ | ||||
void ClearDatadirCache(); | void ClearDatadirCache(); | ||||
fs::path GetConfigFile(const std::string &confPath); | fs::path GetConfigFile(const std::string &confPath); | ||||
#ifdef WIN32 | #ifdef WIN32 | ||||
fs::path GetSpecialFolderPath(int nFolder, bool fCreate = true); | fs::path GetSpecialFolderPath(int nFolder, bool fCreate = true); | ||||
#endif | #endif | ||||
#if defined(HAVE_SYSTEM) | |||||
void runCommand(const std::string &strCommand); | void runCommand(const std::string &strCommand); | ||||
#endif | |||||
NODISCARD bool ParseKeyValue(std::string &key, std::string &val); | NODISCARD bool ParseKeyValue(std::string &key, std::string &val); | ||||
/** | /** | ||||
* Most paths passed as configuration arguments are treated as relative to | * Most paths passed as configuration arguments are treated as relative to | ||||
* the datadir if they are not absolute. | * the datadir if they are not absolute. | ||||
* | * | ||||
* @param path The path to be conditionally prefixed with datadir. | * @param path The path to be conditionally prefixed with datadir. | ||||
▲ Show 20 Lines • Show All 355 Lines • Show Last 20 Lines |