|
VLC
2.1.0-git
|

Functions | |
| FILE * | vlc_fopen (const char *filename, const char *mode) |
| Opens a FILE pointer. | |
| static int | dummy_select (const char *str) |
| int | vlc_loaddir (DIR *dir, char ***namelist, int(*select)(const char *), int(*compar)(const char **, const char **)) |
| Does the same as vlc_scandir(), but takes an open directory pointer instead of a directory path. | |
| int | vlc_scandir (const char *dirname, char ***namelist, int(*select)(const char *), int(*compar)(const char **, const char **)) |
| Selects file entries from a directory, as GNU C scandir(). | |
| int | vlc_mkstemp (char *template) |
|
static |
Referenced by vlc_loaddir().
| FILE* vlc_fopen | ( | const char * | filename, |
| const char * | mode | ||
| ) |
Opens a FILE pointer.
| filename | file path, using UTF-8 encoding |
| mode | fopen file open mode |
References vlc_open().
Referenced by config_OpenConfigFile(), ImageWriteUrl(), libvlc_InternalInit(), playlist_Export(), playlist_FindArtInCacheUsingItemUID(), playlist_SaveArt(), TsStorageNew(), and vout_snapshot_SaveImage().
| int vlc_loaddir | ( | DIR * | dir, |
| char *** | namelist, | ||
| int(*)(const char *) | select, | ||
| int(*)(const char **, const char **) | compar | ||
| ) |
Does the same as vlc_scandir(), but takes an open directory pointer instead of a directory path.
References dummy_select(), unlikely, and vlc_readdir().
Referenced by vlc_scandir().
| int vlc_mkstemp | ( | char * | template | ) |
References vlc_open(), and vlc_rand_bytes().
Referenced by GetTmpFile().
| int vlc_scandir | ( | const char * | dirname, |
| char *** | namelist, | ||
| int(*)(const char *) | select, | ||
| int(*)(const char **, const char **) | compar | ||
| ) |
Selects file entries from a directory, as GNU C scandir().
| dirname | UTF-8 diretory path |
| pointer | [OUT] pointer set, on successful completion, to the address of a table of UTF-8 filenames. All filenames must be freed with free(). The table itself must be freed with free() as well. |
References vlc_loaddir(), and vlc_opendir().
1.8.1.2