23 #ifndef __LIBRETRO_SDK_FILE_PATH_H 24 #define __LIBRETRO_SDK_FILE_PATH_H 29 #include <sys/types.h> 74 #define path_contains_compressed_file(path) (path_get_archive_delim((path)) != NULL) 185 const char *replace,
size_t size);
200 const char *ext,
size_t size);
216 const char *in_str,
const char *ext,
size_t size);
233 const char *replace,
size_t size);
263 const char *replace,
size_t size);
276 const char *in_path,
size_t size);
279 const char *in_path,
const char *ext,
295 const char *in_path,
size_t size);
308 const char *in_dir,
size_t size);
320 const char *in_dir,
size_t size);
335 const char *in_path,
size_t size);
352 const char *dir,
const char *
path,
353 const char *last,
const char *ext,
358 const char *dir,
const char *
path,
363 const char *dir,
const char *
path,
368 const char *dir,
const char *
path,
size_t size);
382 const char *
path,
const char delim,
size_t size);
385 const char *
path,
const char delim,
const char *concat,
404 const char *in_path,
size_t size);
407 const char *in_path,
size_t size);
410 const char *in_path,
size_t size);
413 const char *in_path,
size_t size);
433 #define path_char_is_slash(c) (((c) == '/') || ((c) == '\\')) 435 #define path_char_is_slash(c) ((c) == '/') 446 #define path_default_slash() "\\" 447 #define path_default_slash_c() '\\' 449 #define path_default_slash() "/" 450 #define path_default_slash_c() '/' 463 #if !defined(RARCH_CONSOLE) && defined(RARCH_INTERNAL) 464 void fill_pathname_application_path(
char *
buf,
size_t size);
465 void fill_pathname_application_dir(
char *
buf,
size_t size);
466 void fill_pathname_home_dir(
char *
buf,
size_t size);
void fill_pathname_resolve_relative(char *out_path, const char *in_refpath, const char *in_path, size_t size)
Definition: file_path.c:864
void fill_pathname_basedir_noext(char *out_dir, const char *in_path, size_t size)
Definition: file_path.c:626
void fill_pathname_join_concat(char *out_path, const char *dir, const char *path, const char *concat, size_t size)
Definition: file_path.c:923
void fill_short_pathname_representation(char *out_rep, const char *in_path, size_t size)
Definition: file_path.c:990
bool path_mkdir(const char *dir)
Definition: file_path.c:276
const char * path_get_archive_delim(const char *path)
Definition: file_path.c:364
void path_parent_dir(char *path)
Definition: file_path.c:762
void fill_pathname_join_concat_noext(char *out_path, const char *dir, const char *path, const char *concat, size_t size)
Definition: file_path.c:913
bool path_is_absolute(const char *path)
Definition: file_path.c:802
Definition: file_path.h:41
const char * path_basename(const char *path)
Definition: file_path.c:778
bool path_is_directory(const char *path)
Definition: file_path.c:233
void fill_pathname_slash(char *path, size_t size)
Definition: file_path.c:530
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:8418
int32_t path_get_size(const char *path)
Definition: file_path.c:248
GLsizei const GLchar ** path
Definition: glext.h:7901
bool fill_pathname_parent_dir_name(char *out_dir, const char *in_dir, size_t size)
Definition: file_path.c:643
void fill_pathname_base(char *out_path, const char *in_path, size_t size)
Definition: file_path.c:585
bool path_is_valid(const char *path)
Definition: file_path.c:243
char * find_last_slash(const char *str)
Definition: file_path.c:509
GLsizeiptr size
Definition: glext.h:6559
void fill_pathname_expand_special(char *out_path, const char *in_path, size_t size)
Definition: file_path.c:1010
void fill_pathname_join_delim(char *out_path, const char *dir, const char *path, const char delim, size_t size)
Definition: file_path.c:951
void fill_dated_filename(char *out_filename, const char *ext, size_t size)
Definition: file_path.c:696
void fill_pathname_join(char *out_path, const char *dir, const char *path, size_t size)
Definition: file_path.c:888
struct passwd out
Definition: missing_libc_functions.c:51
void fill_str_dated_filename(char *out_filename, const char *in_str, const char *ext, size_t size)
Definition: file_path.c:719
void fill_pathname_join_delim_concat(char *out_path, const char *dir, const char *path, const char delim, const char *concat, size_t size)
Definition: file_path.c:967
char * path_remove_extension(char *path)
Definition: file_path.c:421
void fill_pathname_noext(char *out_path, const char *in_path, const char *replace, size_t size)
Definition: file_path.c:502
void fill_pathname_basedir(char *out_path, const char *in_path, size_t size)
Definition: file_path.c:618
void fill_pathname_parent_dir(char *out_dir, const char *in_dir, size_t size)
Definition: file_path.c:676
Definition: file_path.h:46
signed int int32_t
Definition: stdint.h:123
#define RETRO_END_DECLS
Definition: retro_common_api.h:42
void path_basedir_wrapper(char *path)
Definition: file_path.c:1152
void fill_pathname_join_special_ext(char *out_path, const char *dir, const char *path, const char *last, const char *ext, size_t size)
Definition: file_path.c:900
Definition: file_path.h:43
void fill_pathname(char *out_path, const char *in_path, const char *replace, size_t size)
Definition: file_path.c:473
Definition: file_path.h:42
Definition: file_path.h:44
const char * path_get_extension(const char *path)
Definition: file_path.c:398
void fill_pathname_join_noext(char *out_path, const char *dir, const char *path, size_t size)
Definition: file_path.c:932
bool path_is_compressed_file(const char *path)
Definition: file_path.c:440
bool path_is_character_special(const char *path)
Definition: file_path.c:238
void fill_pathname_base_noext(char *out_dir, const char *in_path, size_t size)
Definition: file_path.c:595
void fill_pathname_dir(char *in_dir, const char *in_basename, const char *replace, size_t size)
Definition: file_path.c:566
void fill_pathname_abbreviate_special(char *out_path, const char *in_path, size_t size)
Definition: file_path.c:1081
void path_resolve_realpath(char *buf, size_t size)
Definition: file_path.c:828
void fill_pathname_base_ext(char *out, const char *in_path, const char *ext, size_t size)
Definition: file_path.c:601
Definition: file_path.h:45
void fill_short_pathname_representation_noext(char *out_rep, const char *in_path, size_t size)
Definition: file_path.c:1003
const char *const str
Definition: portlistingparse.c:18
void path_basedir(char *path)
Definition: file_path.c:741