34 #include <boost/thread/locks.hpp> 35 #include <boost/thread/mutex.hpp> 36 #include <system_error> 88 std::string get_special_folder_path(
int nfolder,
bool iscreate);
107 std::error_code
replace_file(
const std::string& replacement_name,
const std::string& replaced_name);
121 bool r = TRUE == ::SetConsoleCtrlHandler(&win_handler, TRUE);
139 static BOOL WINAPI win_handler(DWORD
type)
141 if (CTRL_C_EVENT ==
type || CTRL_BREAK_EVENT ==
type)
147 MGINFO_RED(
"Got control signal " <<
type <<
". Exiting without saving...");
163 static boost::mutex m_mutex;
164 boost::unique_lock<boost::mutex> lock(m_mutex);
const uint32_t T[512]
Definition: groestl_tables.h:34
#define v1(p)
Definition: aesb.c:116
type
Definition: json.h:74
#define v0(p)
Definition: aesb.c:115
POD_CLASS hash
Definition: hash.h:46