mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Cleanup
This commit is contained in:
parent
a7a8ff387a
commit
eb5986d332
@ -528,7 +528,7 @@ void file_archive_parse_file_iterate_stop(file_archive_transfer_t *state)
|
|||||||
*
|
*
|
||||||
* Returns: true (1) on success, otherwise false (0).
|
* Returns: true (1) on success, otherwise false (0).
|
||||||
**/
|
**/
|
||||||
bool file_archive_parse_file(const char *file, const char *valid_exts,
|
static bool file_archive_parse_file(const char *file, const char *valid_exts,
|
||||||
file_archive_file_cb file_cb, void *userdata)
|
file_archive_file_cb file_cb, void *userdata)
|
||||||
{
|
{
|
||||||
file_archive_transfer_t state = {0};
|
file_archive_transfer_t state = {0};
|
||||||
|
@ -83,22 +83,6 @@ typedef int (*file_archive_file_cb)(const char *name, const char *valid_exts,
|
|||||||
const uint8_t *cdata, unsigned cmode, uint32_t csize, uint32_t size,
|
const uint8_t *cdata, unsigned cmode, uint32_t csize, uint32_t size,
|
||||||
uint32_t crc32, void *userdata);
|
uint32_t crc32, void *userdata);
|
||||||
|
|
||||||
/**
|
|
||||||
* file_archive_parse_file:
|
|
||||||
* @file : filename path of archive
|
|
||||||
* @valid_exts : Valid extensions of archive to be parsed.
|
|
||||||
* If NULL, allow all.
|
|
||||||
* @file_cb : file_cb function pointer
|
|
||||||
* @userdata : userdata to pass to file_cb function pointer.
|
|
||||||
*
|
|
||||||
* Low-level file parsing. Enumerates over all files and calls
|
|
||||||
* file_cb with userdata.
|
|
||||||
*
|
|
||||||
* Returns: true (1) on success, otherwise false (0).
|
|
||||||
**/
|
|
||||||
bool file_archive_parse_file(const char *file, const char *valid_exts,
|
|
||||||
file_archive_file_cb file_cb, void *userdata);
|
|
||||||
|
|
||||||
int file_archive_parse_file_iterate(
|
int file_archive_parse_file_iterate(
|
||||||
file_archive_transfer_t *state,
|
file_archive_transfer_t *state,
|
||||||
bool *returnerr,
|
bool *returnerr,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user