|
RetroArch
|
#include <unistd.h>#include <stdlib.h>#include <boolean.h>#include <string.h>#include <time.h>#include <errno.h>#include <file/file_path.h>#include <string/stdstring.h>#include <compat/strl.h>#include <compat/posix_string.h>#include <retro_assert.h>#include <retro_miscellaneous.h>#include <encodings/utf.h>#include "configuration.h"#include "file_path_special.h"#include "paths.h"#include "verbosity.h"Functions | |
| bool | fill_pathname_application_data (char *s, size_t len) |
| void | fill_pathname_application_special (char *s, size_t len, enum application_special_type type) |
| void | fill_short_pathname_representation_wrapper (char *out_rep, const char *in_path, size_t size) |
| bool fill_pathname_application_data | ( | char * | s, |
| size_t | len | ||
| ) |
| void fill_pathname_application_special | ( | char * | s, |
| size_t | len, | ||
| enum application_special_type | type | ||
| ) |
| void fill_short_pathname_representation_wrapper | ( | char * | out_rep, |
| const char * | in_path, | ||
| size_t | size | ||
| ) |
fill_short_pathname_representation: : output representation : input path : size of output representation
Generates a short representation of path. It should only be used for displaying the result; the output representation is not binding in any meaningful way (for a normal path, this is the same as basename) In case of more complex URLs, this should cut everything except for the main image file.
E.g.: "/path/to/game.img" -> game.img "/path/to/myarchive.7z#folder/to/game.img" -> game.img
1.8.15