mirror of
https://github.com/libretro/RetroArch
synced 2025-04-02 16:20:39 +00:00
(file_path.h) Cleanups
This commit is contained in:
parent
9fe1a66c3a
commit
2bf27cce2f
@ -47,8 +47,11 @@ long read_compressed_file(const char * path, void **buf);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
long read_file(const char *path, void **buf);
|
long read_file(const char *path, void **buf);
|
||||||
|
|
||||||
bool read_file_string(const char *path, char **buf);
|
bool read_file_string(const char *path, char **buf);
|
||||||
|
|
||||||
bool write_file(const char *path, const void *buf, size_t size);
|
bool write_file(const char *path, const void *buf, size_t size);
|
||||||
|
|
||||||
bool write_empty_file(const char *path);
|
bool write_empty_file(const char *path);
|
||||||
|
|
||||||
struct string_list *compressed_file_list_new(const char *filename,
|
struct string_list *compressed_file_list_new(const char *filename,
|
||||||
@ -61,7 +64,9 @@ bool path_is_compressed_file(const char *path);
|
|||||||
* E.g.: /path/to/file.7z#mygame.img
|
* E.g.: /path/to/file.7z#mygame.img
|
||||||
*/
|
*/
|
||||||
bool path_contains_compressed_file(const char *path);
|
bool path_contains_compressed_file(const char *path);
|
||||||
|
|
||||||
bool path_is_directory(const char *path);
|
bool path_is_directory(const char *path);
|
||||||
|
|
||||||
bool path_file_exists(const char *path);
|
bool path_file_exists(const char *path);
|
||||||
|
|
||||||
/* Gets extension of file. Only '.'s after the last slash are considered. */
|
/* Gets extension of file. Only '.'s after the last slash are considered. */
|
||||||
@ -178,8 +183,10 @@ void fill_short_pathname_representation(char* out_rep,
|
|||||||
|
|
||||||
void fill_pathname_expand_special(char *out_path,
|
void fill_pathname_expand_special(char *out_path,
|
||||||
const char *in_path, size_t size);
|
const char *in_path, size_t size);
|
||||||
|
|
||||||
void fill_pathname_abbreviate_special(char *out_path,
|
void fill_pathname_abbreviate_special(char *out_path,
|
||||||
const char *in_path, size_t size);
|
const char *in_path, size_t size);
|
||||||
|
|
||||||
void fill_pathname_slash(char *path, size_t size);
|
void fill_pathname_slash(char *path, size_t size);
|
||||||
|
|
||||||
#ifndef RARCH_CONSOLE
|
#ifndef RARCH_CONSOLE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user