This commit is contained in:
twinaphex 2016-01-24 21:36:01 +01:00
parent 6580c817c2
commit d53a0c5994
2 changed files with 5 additions and 9 deletions

View File

@ -281,11 +281,6 @@ static int file_archive_extract_cb(const char *name, const char *valid_exts,
return 1;
}
const struct zlib_file_backend *file_archive_get_default_file_backend(void)
{
return &zlib_backend;
}
static uint32_t read_le(const uint8_t *data, unsigned size)
{
unsigned i;
@ -472,7 +467,6 @@ end:
return ret;
}
int file_archive_parse_file_iterate(
zlib_transfer_t *state,
bool *returnerr,
@ -638,7 +632,6 @@ end:
return ret;
}
/**
* file_archive_get_file_list:
* @path : filename path of archive
@ -702,3 +695,8 @@ bool file_archive_perform_mode(const char *path, const char *valid_exts,
return true;
}
const struct zlib_file_backend *file_archive_get_default_file_backend(void)
{
return &zlib_backend;
}

View File

@ -161,10 +161,8 @@ bool file_archive_perform_mode(const char *name, const char *valid_exts,
struct string_list *compressed_file_list_new(const char *filename,
const char* ext);
void zlib_deflate_init(void *data, int level);
const struct zlib_file_backend *file_archive_get_default_file_backend(void);
const struct zlib_file_backend zlib_backend;