RetroArch
Macros | Functions
task_decompress.c File Reference
#include <lists/string_list.h>
#include <string/stdstring.h>
#include <file/file_path.h>
#include <file/archive_file.h>
#include <streams/file_stream.h>
#include <retro_miscellaneous.h>
#include <compat/strl.h>
#include "tasks_internal.h"
#include "../file_path_special.h"
#include "../verbosity.h"
#include "../msg_hash.h"
Include dependency graph for task_decompress.c:

Macros

#define CALLBACK_ERROR_SIZE   4200
 

Functions

static int file_decompressed_target_file (const char *name, const char *valid_exts, const uint8_t *cdata, unsigned cmode, uint32_t csize, uint32_t size, uint32_t crc32, struct archive_extract_userdata *userdata)
 
static int file_decompressed_subdir (const char *name, const char *valid_exts, const uint8_t *cdata, unsigned cmode, uint32_t csize, uint32_t size, uint32_t crc32, struct archive_extract_userdata *userdata)
 
static int file_decompressed (const char *name, const char *valid_exts, const uint8_t *cdata, unsigned cmode, uint32_t csize, uint32_t size, uint32_t crc32, struct archive_extract_userdata *userdata)
 
static void task_decompress_handler_finished (retro_task_t *task, decompress_state_t *dec)
 
static void task_decompress_handler (retro_task_t *task)
 
static void task_decompress_handler_target_file (retro_task_t *task)
 
static void task_decompress_handler_subdir (retro_task_t *task)
 
static bool task_decompress_finder (retro_task_t *task, void *user_data)
 
bool task_check_decompress (const char *source_file)
 
bool task_push_decompress (const char *source_file, const char *target_dir, const char *target_file, const char *subdir, const char *valid_ext, retro_task_callback_t cb, void *user_data)
 

Macro Definition Documentation

◆ CALLBACK_ERROR_SIZE

#define CALLBACK_ERROR_SIZE   4200

Function Documentation

◆ file_decompressed()

static int file_decompressed ( const char *  name,
const char *  valid_exts,
const uint8_t cdata,
unsigned  cmode,
uint32_t  csize,
uint32_t  size,
uint32_t  crc32,
struct archive_extract_userdata userdata 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ file_decompressed_subdir()

static int file_decompressed_subdir ( const char *  name,
const char *  valid_exts,
const uint8_t cdata,
unsigned  cmode,
uint32_t  csize,
uint32_t  size,
uint32_t  crc32,
struct archive_extract_userdata userdata 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ file_decompressed_target_file()

static int file_decompressed_target_file ( const char *  name,
const char *  valid_exts,
const uint8_t cdata,
unsigned  cmode,
uint32_t  csize,
uint32_t  size,
uint32_t  crc32,
struct archive_extract_userdata userdata 
)
static
Here is the caller graph for this function:

◆ task_check_decompress()

bool task_check_decompress ( const char *  source_file)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task_decompress_finder()

static bool task_decompress_finder ( retro_task_t task,
void user_data 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task_decompress_handler()

static void task_decompress_handler ( retro_task_t task)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task_decompress_handler_finished()

static void task_decompress_handler_finished ( retro_task_t task,
decompress_state_t dec 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task_decompress_handler_subdir()

static void task_decompress_handler_subdir ( retro_task_t task)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task_decompress_handler_target_file()

static void task_decompress_handler_target_file ( retro_task_t task)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task_push_decompress()

bool task_push_decompress ( const char *  source_file,
const char *  target_dir,
const char *  target_file,
const char *  subdir,
const char *  valid_ext,
retro_task_callback_t  cb,
void user_data 
)
Here is the call graph for this function:
Here is the caller graph for this function: