*/
extern std::string path_locale;
+/*
+ Path to directory for storing caches.
+*/
+extern std::string path_cache;
+
/*
Get full path of stuff in data directory.
Example: "stone.png" -> "../data/stone.png"
*/
std::string getDataPath(const char *subpath);
+/*
+ Move cache folder from path_user to the
+ system cache location if possible.
+*/
+void migrateCachePath();
+
/*
Initialize path_*.
*/
// threads in the process inherit this exception handler
void setWin32ExceptionHandler();
+bool secure_rand_fill_buf(void *buf, size_t len);
} // namespace porting
#ifdef __ANDROID__