Lines Matching defs:archive_handle
1442 static void data_extract_all_prefix(archive_handle_t *archive_handle)
1444 char *name_ptr = archive_handle->file_header->name;
1448 archive_handle->file_header->name = xasprintf("%s%s", archive_handle->buffer, name_ptr);
1449 data_extract_all(archive_handle);
1460 archive_handle_t *archive_handle;
1478 archive_handle = init_archive_deb_ar(deb_file->filename);
1479 init_archive_deb_control(archive_handle);
1486 archive_handle->sub_archive->accept = accept_list;
1487 archive_handle->sub_archive->filter = filter_accept_list;
1488 archive_handle->sub_archive->action_data = data_extract_all_prefix;
1489 archive_handle->sub_archive->buffer = info_prefix;
1490 archive_handle->sub_archive->flags |= ARCHIVE_EXTRACT_UNCONDITIONAL;
1491 unpack_ar_archive(archive_handle);
1500 archive_handle = init_archive_deb_ar(deb_file->filename);
1501 init_archive_deb_data(archive_handle);
1502 archive_handle->sub_archive->action_data = data_extract_all_prefix;
1503 archive_handle->sub_archive->buffer = (char*)"/"; /* huh? */
1504 archive_handle->sub_archive->flags |= ARCHIVE_EXTRACT_UNCONDITIONAL;
1505 unpack_ar_archive(archive_handle);
1510 while (archive_handle->sub_archive->passed) {
1512 fputs(archive_handle->sub_archive->passed->data, out_stream);
1514 archive_handle->sub_archive->passed = archive_handle->sub_archive->passed->link;
1603 archive_handle_t *archive_handle;
1608 archive_handle = init_archive_deb_ar(argv[0]);
1609 init_archive_deb_control(archive_handle);
1610 deb_file[deb_count]->control_file = deb_extract_control_file_to_buffer(archive_handle, control_list);