extract_quiet = 2048,
extract_exclude_list = 4096
};
-char *unarchive(FILE *src_stream, FILE *out_stream,
- file_header_t *(*get_header)(FILE *),
- void (*free_headers)(file_header_t *),
- const int extract_function, const char *prefix, char **extract_names);
char *deb_extract(const char *package_filename, FILE *out_stream, const int extract_function,
const char *prefix, const char *filename);
int read_package_field(const char *package_buffer, char **field_name, char **field_value);
char *unarchive(FILE *src_stream, FILE *out_stream,
file_header_t *(*get_headers)(FILE *),
void (*free_headers)(file_header_t *),
- const int extract_function, const char *prefix, char **extract_names)
+ const int extract_function, const char *prefix, const char **extract_names)
{
file_header_t *file_entry;
int extract_flag;
FILE *deb_stream = NULL;
FILE *uncompressed_stream = NULL;
file_header_t *ar_header = NULL;
- char **file_list = NULL;
+ const char **file_list = NULL;
char *output_buffer = NULL;
char *ared_file = NULL;
char ar_magic[8];