Changeset View
Changeset View
Standalone View
Standalone View
src/util.h
Show First 20 Lines • Show All 213 Lines • ▼ Show 20 Lines | try { | ||||
PrintExceptionContinue(&e, name); | PrintExceptionContinue(&e, name); | ||||
throw; | throw; | ||||
} catch (...) { | } catch (...) { | ||||
PrintExceptionContinue(nullptr, name); | PrintExceptionContinue(nullptr, name); | ||||
throw; | throw; | ||||
} | } | ||||
} | } | ||||
/** | |||||
* Platform independent function to set environmental variable. | |||||
*/ | |||||
int SetEnvironmentalVariable(const char *variableName, | |||||
const char *variableValue); | |||||
const char *GetEnvironmentalVariable(const char *variableName); | |||||
std::string CopyrightHolders(const std::string &strPrefix); | std::string CopyrightHolders(const std::string &strPrefix); | ||||
#endif // BITCOIN_UTIL_H | #endif // BITCOIN_UTIL_H |